Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Huawei router command
Huawei router command
Huawei router command daquan

Huawei router commands are similar to Cisco. Using it well can greatly facilitate our daily work. I provide you with the following Huawei router commands, hoping to help your work!

Huawei router command 1

1. Delete device configuration: reset the saved configuration.

2. Reboot: Reboot

3. View current configuration file: display the current configuration.

4. Change the device name: sysname

5. Save the configuration: Save.

6. enter privileged mode: sysview

Note: Huawei has only two-tier mode, unlike Cisco enale, which needs conf t.

7. Define acl:

After xxxx (above 3000) enters ACL, the rules allow/deny IP/TCP/UDP and other sources.

Xxx.xxx.xxx.xxx.xxx.xxx.xxx (reverse) destination xxx.xxx.xxx.xxx.xxx.xxx.

XXX。 XXX.XXX.XXX (anti) eq Note: Huawei has not denied any breach of contract.

8. Port loading ACL on firewall ACL: [quidway-Ethernet 0/0]/0] Firewall packet filtering 3000 inbound.

9. Newly added users on the firewall: local user XXX (user name) password is simple XXX (password) local user XXX.

Service ppp

10. Delete command: Undo (similar to cisco no)

Huawei Router Command 2

1. On the primary vrrp device, you should specify:

Stp Instance 0 Root Primary stp TC- Protection Enabled STP Enabled

2. On the slave vrrp device, specify:

Stp Instance 0 Root Secondary stp TC- Protection Enabled STP Enabled

3. Binding acl under the switch:

First, enter the interface mode and enter the qos command: [SHZB-CRSW-S6506- 1 Gigabit Ethernet11] QoS.

Enter the following command: [shzb-crsw-s6506-1-Qoss-Gigabit Ethernet11] packet filtering inbound.

Ip group 3000

Note: Huawei switches can only specify the inbound direction.

4. Enable ospf:

[shz b-crsw-s 6506- 1]OSPF 100

Region 0

[shzb-crsw-s6506-1-OSPF-100-area-0.0.0] network XXX. XXX.XXX.XXX

XXX。 XXX.XXX.XXX

5. Configure ospf republishing:

[shzb-crsw-s6506-1-OSPF-100-area-0.0.0] exit.

[shzb-crsw-s6506-1-OSPF-100] Import-Routing Static

Establish a link group (similar to Cisco's channel group): link aggregation group 1 mode.

Manually, and then enter the interface: port link aggregation group 1.

Note: Before enabling VRRP, you must enter: vrrp ping-enable so that customers can ping the gateway.

;