Huawei Switch configuration command

Source: Internet
Author: User


The Huawei Switch configuration command [Quidway] dis cur; displays the current configuration [Quidway] display current-configuration; displays the current configuration [Quidway] display interfaces; displays the interface information [Quidway] display vlan all; display route information [Quidway] display version; display version information www.2cto.com [Quidway] super password; modify the privileged user password [Quidway] sysname; Switch name [Quidway] interface ethernet 0/1; go to interface view [Quidway] interface vlan x; go to interface view [Quidway-Vlan-interfacex] ip address 10.65.1.1 255.255.0.0; configure the VLAN ip address [Quidway] Ip route-static 0.0.0.0 0.0.0.0 10.65.1.2; default route = gateway [Quidway] rip; layer-3 switch supports [Quidway] local-user ftp [Quidway] user-interface vty 0 4; go to the virtual terminal [S3026-ui-vty0-4] authentication-mode password; set password mode [S3026-ui-vty0-4] set authentication-mode password simple 555 set password [S3026-ui-vty0-4] user privilege level 3 user level [Quidway] interface ethernet 0/1; enter port mode [Quidway] int e0/1 www.2cto.com; enter port mode [Quidway-Ethernet0/1] duple X {half | full | auto}; Configure port working status [Quidway-Ethernet0/1] speed {10 | 100 | auto}; Configure port working rate [Quidway-Ethernet0/1] flow-control; configure port throttling [Quidway-Ethernet0/1] mdi {traffic SS | auto | normal }; configure port flat connections [Quidway-Ethernet0/1] port link-type {trunk | access | hybrid}; set port working mode [Quidway-Ethernet0/1] port access vlan 3; the current port is added to the VLAN [Quidway-Ethernet0/2] port trunk permit vlan {ID | All}; set the VLAN allowed by the trunk [Quidway-Ethernet0/3] port trunk pvid vla N 3; Set PVID for the trunk port [Quidway-Ethernet0/1] undo shutdown; activate port [Quidway-Ethernet0/1] shutdown; close port [Quidway-Ethernet0/1] quit; return to [Quidway] vlan 3; Create VLAN [Quidway-vlan3] port ethernet 0/1; add port [Quidway-vlan3] port e0/1 in VLAN; [Quidway-vlan3] port ethernet 0/1 to ethernet 0/4; add port [Quidway-vlan3] port e0/1 to e0/4 in VLAN; [Quidway] monitor-port <interface_type interface_num>; specify the Image port [Quidway] port mirror <Interface_type interface_num>; specify the port [Quidway] port mirror int_list observing-port int_type int_num; specify the image and the image [Quidway] description string; specify VLAN description character [Quidway] description Delete VLAN description character [Quidway] display vlan [vlan_id]; view VLAN settings www.2cto.com [Quidway] stp {enable | disable}; Set spanning tree, [Quidway] stp priority 4096 is disabled by default; vswitch priority is set [Quidway] stp root {primary | secondary}; backup set as root or root [Quidway-Ethernet0/1] stp cost 200; settings [Quidway] link-aggregation e0/1 to e0/4 ingress | both; port aggregation [Quidway] undo link-aggregation e0/1 | all; the first port is the channel number [SwitchA-vlanx] isolate-user-vlan enable; the first port is the primary vlan [SwitchA] isolate-user-vlan <x> secondary <list>; set the sub-vlan [Quidway-Ethernet0/2] port hybrid pvid vlan <id> included in the primary vlan; set the pvid of the vlan [Quidway-Ethernet0/2] port hybrid pvid; remove vlan pvid [Quidway-Ethernet0/2] port hybrid vlan vlan_id_list untagged If the vlan id of the package is the same as that of the PVId, the vlan information is removed. The default value is PVID = 1. Therefore, set the PVID to the vlan id and the vlan that can communicate with each other as untagged.

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.