Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

10. Huawei switching routing basic Operation

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Working mode:

Privileged mode

[huawei]: global mode

[huawei-Ethernet0/0/0]: interface mode

The command is roughly divided into:

V privileged mode is mostly Display viewing classes and operating on the system class commands.

V most of the configuration commands are in global mode.

Most of the configuration commands are for the interface in v interface mode.

Huawei H3C basic common commands

Command

Description

System-view

Enter global mode

[huawei] interface Ethernet0/0/0 (API name)

Enter import mode

[huawei] return

Return to privileged mode

[huawei-Ethernet0/0/0] quit

Exit to parent mode

Reboot

Restart the Devic

Save

Save the configuration to NVRAM

Reset saved-configuration

Clear all configurations in NVRAM

Display version

View IOS system version

Display interface brief

View device interface information

Display interface e0ap0gam0 (API name)

View the operating mode and rate of the interface

Display mac-address

View MAC addr

Display ip routing-table

View routing tabl

Display current-configuration

View temporary configuration in RAM

Display saved-configuration

View permanent configuration in NVRAM

[huawei] sysname R1 (hostname)

Configure a new hostname

[huawei] user-interface console 0

Enter the Console management port

[huawei-ui-console0] idle-timeout 0 0

Configure the Console interface to never time out

[huawei-ui-console0] set authentication password cipher 123 (password)

Configure Console interface password

Undo terminal monitor

Configure anti-interruption

[huawei-Ethernet0/0/0] ip add 192.168.1.1 255.255.255.0

Configure the interface with an IP address

[huawei-Ethernet0/0/0] undo shutdown

Open the interface

[huawei-Ethernet0/0/0] shutdown

Shut down the interface

[huawei-Ethernet0/0/0] duplex full (full duplex) or half (half duplex) or auto (10 amp 100 adaptive)

Configure the duplex mode of the interface

[huawei-Ethernet0/0/0] speed 10 or 100 or 1000 or auto

Configure interface rate

Note: all commands can be supplemented by using the Tab key. You can see which commands are available at the current location, and you can go directly back to privileged mode using the Ctrl+ Z key. Cancel the operation Cisco uses the no command, Huawei uses undo.

Interface: Ethernet stands for 10 megabits, Fastethernet for 100 megabits, Gigabitethernet for gigabytes, and Tengigabitrthernet for 10 gigabytes.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report