Do you know about Huawei router commands?

Source: Internet
Author: User

Huawei router commandsSimilar to cisco, using it can greatly facilitate our daily work. Let's take a look at the following Huawei router commands.

Huawei router command 1

1. Delete the device configuration: reset saved-configuration

2. Restart: reboot

3. Check the current configuration file: display current-configuration

4. Change the device name to sysname.

5. save configuration: save

6. Enter the privileged mode: sysview

Note:Huawei only has two-layer mode, unlike the conf t after cisco enale.

7. Define acl:

 
  1. Acl nubmere XXXX3000 or above)
  2. Rule permit/deny IP/TCP/UDP and other source XXX. XXX (reverse)
  3. Destination XXX. XXX (reverse) eq

Note:By default, Huawei does not have deny any

8. firewall port loading ACL: [Quidway-Ethernet0/0] firewall packet-filter 3000 inbound

9. Add a new user on the firewall: local-user XXX user Name) password simple XXX password) local-user XXX service-type ppp

10. delete a command: undo is similar to cisco's no)

Huawei router command 2

1. On the master vrrp device, specify:

 
  1. stp instance 0 root primary
  2. stp TC-protection enable
  3. stp enable

2. Specify the following on the vrrp device:

 
  1. stp instance 0 root secondary
  2. stp TC-protection enable
  3. stp enable

3. attach an acl to a vswitch:

First enter the interface mode, enter the qos command: [shzb-crsw-s6506-1-GigabitEthernet1/0/1] qos

Enter the following command: [shzb-crsw-s6506-1-qoss-GigabitEthernet1/0/1] packet-filter inbound ip-group 3000

Note:Huawei switches can only specify the inbound direction

4. Enable ospf:

 
  1. [shzb-crsw-s6506-1]ospf 100
  2. [shzb-crsw-s6506-1-ospf-100]area 0
  3. [shzb-crsw-s6506-1-ospf-100-area-0.0.0.0]network XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX

5. Configure the re-release of ospf:

 
  1. [shzb-crsw-s6506-1-ospf-100-area-0.0.0.0]quit
  2. [shzb-crsw-s6506-1-ospf-100]import-route static

Establish a link-group similar to cisco channel-group): link-aggregation group 1 mode manual, and then enter the interface: port link-aggregation group 1

Note:Before enabling VRRP, enter vrrp ping-enable to enable the customer to ping the gateway.

The Study of Huawei router commands is not complete yet. We will continue to summarize it in the next article. Please look forward to the following: basic summary of Huawei router commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.