Huawei switch port configuration commands

Fox Business Outlook: Costco using some of its savings from GOP tax reform bill to raise their minimum wage to $14 an hour. 

Run the following commands as required: To add the hybrid interface to a VLAN or multiple VLANs in tagged mode, run port hybrid tagged vlan { vlan-id1 [ to vlan-id2] }&<1-10>. 6 W and the alarm threshold is 90%, an alarm is generated when the power consumption is greater than 332. First check whether a fault is an emergency fault. Stack-Port Configuration. down: indicates that the physical layer of the interface fails. You can use a regular expression to filter the command To reduce the maintenance workload and simplify the deletion operation, you can use this command to perform one-touch configuration clearance on an interface. In this situation, even if you do not run the voice-vlan mac-address command to configure the OUI of the voice VLAN, you can use the voice VLAN function. Now, lets configure the ports. Some examples of using the undo command are listed as follows: The undo command restores the default setting. The system view is displayed. Run port link-flap protection enable. The text covers tasks such as creating a user, VLAN configuration, port settings, enabling SSH and Telnet services, configuring Spanning Tree Protocol (STP), and other basic management operations on Huawei switches. If it is an emergency fault, immediately recover the faulty module using the pre-defined troubleshooting methods, and then restore services. Precautions. Create a VFC and bind it to the physical port. Apr 2, 2023 · In this tutorial, we'll show you how to configure a Huawei Are you new to configuring Huawei switches and looking for a step-by-step guide? Look no further! In this tutorial, we'll show you After voice VLAN is enabled on an interface, the device determines whether a data flow consists of voice packets based on the VLAN ID by default. It allows tagged frames from multiple VLANs and untagged frames from only one VLAN called native vlan. For details, see specific commands. IP configurations of interfaces that have IP addresses. Number of a stack port. The web-manager server-source all-interface command specifies all valid interfaces as the source interfaces of the web server. The command does not display the default configuration. Item. This speeds up network convergence and improves network stability. If service configurations (such as the port link-type trunk configuration) exist on an interface, clear all service configurations before switching the interface between Layer 2 and Layer 3 modes. This document describes how to perform routine maintenance and troubleshooting for S series switches. "Campus Networks Typical Configuration Examples" provides typical campus network networking modes and a variety of deployment examples. If the interface range command is run more than once, all configurations take effect. Configure the interface on the switch to receive and respond to NMS request packets. To enable Layer 3 functions on the interface, run the undo portswitch command on the interface. To switch an interface to the Layer 3 mode, run the undo portswitch command. Command keywords contrast. Support Documentation Switches Data Center Switch CloudEngine 58&68&78&88&98 Reference Guides Command Reference Frame format of the interface. An interface description can contain: The switch where the interface is located; The interface type; The remote device; For example, a description of To-[DeviceB] GE-0/0/1 indicates that an interface of this switch is connected to GE 0/0/1 of device B. This operation prevents a failure to save the configuration and set up a stack because it prevents the low-priority switch from automatically restarting due to a stack merge during the configuration. The undo web-manager server-source all-interface command cancels the configuration of all valid source interfaces of the web server. A trunk interface can join multiple VLANs and connects to a network device. The direct and relay modes cannot be configured simultaneously in a stack. The sysname command sets a device host name. After you run the clear configuration interface After configuring VLAN switching, you can use the display vlan-switch command to verify the configuration. IP configurations of interfaces of the specified type and a specified interface. <HUAWEI> system-view [HUAWEI] interface GigabitEthernet0/0/1 [HUAWEI-GigabitEthernet0/0/1] port link-type hybrid Warning: This command will delete VLANs on this port. The mode switching configuration takes effect on an interface when only attribute configurations (such as shutdown and description configurations The displayed information depends on the actual situation. Run source ip ip-address [ port port-number] port link-type hybrid. Link-type Platform: Quidway switches. The cleared stack configuration includes: switch slot ID, stack priority, stack reserved VLAN, stack MAC address switching delay, stack port configuration, and stack port rate configuration. The link type of the interface is set to hybrid. In a non-stack environment, this field indicates that the attack Before running this command on the interface, delete all the Layer 2 configuration of the interface. Observing ports have been configured using the observe-port (local observing port) or observe-port (Layer 2 remote observing port) command in the system view. The port hybrid pvid vlan command only specifies the default VLAN for an interface but does not add the interface to the default VLAN. Commands provided in this section and all the parameters in the commands are supported by all switch models by default, unless otherwise specified. The configuration roadmap is as follows: Configure the switching devices on the ring network to work in STP mode. Switch Port. This operation clears the service configuration and data files, which is the same as the function of the reset factory-configuration command. Most part of Huawei command keywords has the fixed contrast to Cisco, know about these will help you to learn Huawei command quickly if you have a good skill on Cisco. You can run the port vlan-mapping ingress command to configure VLAN mapping in the inbound direction. In this situation, the switch does not need to be unconfigured and can have input on the console port. When the traditional and unified modes are switched, the administrator must save the configuration and restart the switch to make the configuration take effect. When the Layer 2 device receives an Ethernet frame, it records the source MAC address and the inbound port of the frame in the MAC address table to guide Layer 2 forwarding. Disabling an interface during data transmission will cause In the command, host-name is the IP address or host name of the router with the redirection function enabled, and port-number is the default listening port number (2000 plus tty-number) or the port number configured using the redirect listen-port command. Jan 5, 2011 · Step 1: Connect the COM port on the PC and the console port on the switch by a cable. switch (config)# interface ethernet 1/1 switch (config-if)# switchport mode trunk switch (config-if)# spanning-tree port type edge trunk. An access port belongs to and carries the traffic of only one VLAN within 2-layer switch. This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands. To check whether the configured parameters take effect, run the display current-configuration command. Usage Guidelines. If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches. In the line where wait (time) resides, spaces cannot be placed before or after wait (time), or before or after time. A super VLAN cannot be configured as the default VLAN of interfaces. Configure the path cost of a port so that the port can be blocked. Both operations are mandatory. The management VLAN can be configured using the management-vlan (NETCONF view) command. cfg file. Feb 20, 2024 · In the output of "display lldp neighbor brief" command on a Huawei network switch, "XGE2/0/6" and "GE3/0/8" are both interface names that represent different ports on the switch. The ERPS ring specified by ring ring-id must be the one to which the port belongs. Stack-Port. Table 11-20 Description of the display auto-port-defend configuration command output. We will configure each switch for VLANs one by one. Enter system view, return user view with Ctrl+Z. 64 W, the alarm is cleared. By default, the authorization mode for an interface enabled with 802. Here, we did this configuration for UTC+3. The communication across network segments is therefore implemented. [Switch Run commands on the Windows Command Prompt of the PC to log in to the device using Telnet. For details, see First Login Through the Mini USB Port. Management VLAN ID used when the switch communicates with iMaster NCE-Campus. This command is supported only on the S5732-H-V2. A VLAN has been created and the Layer 2 The poe power-threshold command sets the alarm threshold of the PoE power consumption percentage. When you enter n and press Enter, the device retains the current link type and VLAN configuration of the interface. A trunk interface forwards frames with the default VLAN ID only after it is added to the default VLAN using the port trunk allow-pass vlan command. The frame format can be SDH or SONET. Create VLANs and add interfaces to the VLANs. Executing this command requires a long time. 1X authentication. In addition to setting the IP address of the switch, you should give it a logical hostname. Step 2: Power on all devices to perform a self-check. Example of setting access port (only one VLAN and no tag): 1. 137. Beside, we will add the description of the VLAN. [SwitchA] dot1x-access-profile name ipphone //Create an 802. If multiple interfaces become physically down and these interfaces belong to the same card and are connected to multiple normal peer devices, the card may be faulty. Common command keywords contrast: show <- -> display. < HUAWEI > system-view [HUAWEI] sysname Switch [Switch] snmp-agent sys-info version v3 //By default, SNMPv3 is supported. The link flapping period is configured for the interface. The interface range and port-group group-member commands have the same functions. Support Documentation Switches Campus Switch S1700&S2700 Reference Guides Command Reference Feb 23, 2019 · I will give an example of setting up ports on Huawei switches. vlan-id1 specifies the first VLAN ID. Press Enter, and enter the configured user name and password in the login window. By default, the PoE power-off time range is not specified for a device. You can configure MAD in direct mode to perform MAD through dedicated direct links between member switches. To do that, we enter global configuration mode and use the hostname command: Switch(config)#hostname PepperAndEggSwitch Configure a mirrored port. About This Document. , LTD. To configure port in vlan 6: <HUAWEI> system-view The device data bus is abnormal because of the data bus defects of the non-Huawei-certified switch optical module. By default, link flapping protection is disabled on an interface. Record all the operations you have Usage Guidelines. Communication parameters and login configurations are the same between login To address this problem, you can run the stp edged-port enable command to configure the port as an edge port. The EasyOperation version provides rich graphics and a more user-friendly UI on which users can perform monitoring, configuration, maintenance, and other network operations. 1x authentication. ) Aug 24, 2021 · Switch(config-if)#exit Switch(config)#ip default-gateway 10. An interface that has been configured as physical member port but has not been added to any stack port. (Optional) Run port link-flap interval interval-value. 1X access profile named ipphone. If the port is a Layer 3 port, run the portswitch command to switch the port to the Layer 2 mode. After setting time zone, we can set the current time and date with “ clock Procedure. clear <- -> reset. If WorkingMode is NORMAL, the Eth-Trunk is working in manual load balancing mode. When the switch receives an untagged frame, it adds a VLAN tag to the frame according to the default VLAN of the interface that receives the frame. After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of switches into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces. If no parameter is specified, the display vlan Usage Scenario. If you run the port trunk pvid vlan command multiple If the network cable rate needs to be considered during interface rate negotiation, you can run the set ethernet speed down-grade command to configure the rate decrease auto-negotiation function. The interface configured with VLAN mapping maps vlan-id1 [ to vlan-id2] to vlan-id3 in the inbound direction, and does not map vlan-id3 to vlan-id1 [ to vlan-id2] in the outbound direction. After configuring VLAN switching, you can use the display vlan-switch command to verify the configuration. <Huawei-Router> clock timezone 1 add 3:00:00. exit <- -> quit. This command displays the VLAN switching entry name, source interface number, source VLAN ID, destination interface number, destination VLAN ID, operation type, and VLAN switching status. The main difference between these two interface names is that "XGE2/0/6" refers to a 10 Gigabit Ethernet (10GE) port, while "GE3/0/8" refers to a Gigabit Ethernet (GE CX320 Switch Module V100R001 Command Reference 12. Precautions To prevent mirrored packets from being lost, ensure that mirrored and monitoring ports have the same port type and bandwidth. Configure MAD in direct mode when member switches in a stack have idle ports. When receiving an Ethernet frame, the device searches for the destination MAC address of the frame in the MAC table to determine through which port to forward this frame. The following uses the configuration of GE 0 /0/2 as an example. Command Support. The Trunk port connects to a switch, and the Access port connects to a PC. tovlan-id2 specifies the last VLAN ID. Virtualization Commands. The default VLAN ID of an interface is called the port default VLAN ID (PVID). [SwitchA-dot1x-access-profile-ipphone] quit After modifying parameters of an interface, run the shutdown and undo shutdown commands to make the modification take effect. Therefore, use either of the commands for configuration. Prerequisites. Scramble enabled, CRC-32 It displays outputs of multiple display commands, including display device and display current-configuration. Almost each configuration command line has a corresponding undo command. Administratively down: indicates that a network administrator has run the shutdown command for the Eth-Trunk interface in the interface view. How to configure the Huawei Switch configurationLearn the configure Huawei switch from the Basic. If the total PoE power is 369. By default, TPID is displayed as 0x8100, indicating an 802. 10. You can run the display port vlan command to view information about interfaces of the VLAN and check whether the VLAN is assigned by the command, protocols, or services. Using commands. # Configure GE 1/0/1 of the Switch as a mirrored port to copy the packets received by the mirrored port to the local observing port. PVID. 64 W. This command is invalid on a member interface of an Eth-Trunk. Change the link type of the interface to hybrid. To configure ethernet port as a trunk port and allow to pass all vlans: To configure the description for an interface, run the description command. Name. Frames processed in a switch all carry VLAN tags. Configure the root bridge and secondary root bridge. A Layer 2 interface. Link flapping protection is enabled on the interface. In auto-negotiation mode, the negotiated interface rate depends on only the maximum rate of connected interfaces, without considering the rate of the This operation will enable the function of logging in through the console port. By default, the management interface is specified as the source interface of the web This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands. The link-type of specified interfaces cannot be access or trunk before you run the port command. The dot1x port-control command configures an authorization mode for an interface enabled with 802. Figure 1-2 Flowchart for troubleshooting a Down Eth-Trunk in LACP mode. Then, the port will not participate in the spanning tree calculation. Anything arriving on an access port is simply assumed to belong to the VLAN assigned to the port. Check the working mode of an Eth-Trunk using either of the following methods: Method 1: Check the WorkingMode field in the display eth-trunk command output. To configure the description for an interface, run the description command. After exiting from the temporary port group view, the system deletes the temporary To configure the description for an interface, run the description command. [IPCisco-HCNA] vlan batch 4 to 6. Related slot. Ethernet CFM has not been applied to other ports in the ERPS ring. Here, with “ add ” keyword, we determine UTC+ timezone and with “ mines ”, we determine UTC- timezone. Disable stack ports of the high-priority switch. If no port number is configured or obtained, this parameter value is -. The parameters that do not take effect are not displayed. 217. When the power consumption falls below 332. If authentication succeeds, the CLI is displayed, indicating that you have successfully logged in to the CLI Overview - Huawei Enterprise Product & Service Support - HuaweiThis document introduces the basic concepts and features of the command line interface (CLI) of Huawei switch modules. Operate Status. By default, an Ethernet interface on the device works in Layer 2 mode. Continue? Usage Guidelines. After the configuration is completed the switch. If the fault persists, replace this card. Stack port configuration. Procedure. Default VLAN ID of the interface. 11. If no console port is available on a switch, use a mini USB cable to connect the USB port of a PC to the mini USB port of the switch for the first login to the switch and then configure and manage the switch. CORE connects to the egress router through VLANIF100. Run system-view. Prerequisite Prior to running this command, run the port-group command in the system view to create a permanent interface group. Status of an Eth-Trunk interface. Use common cables to connect these ports and use the ports for MAD only. Function. no <- -> undo. [Switch] authentication-profile name p1 [Switch-authen-profile-p1] dot1x-access-profile d1 [Switch-authen-profile-p1] access-domain huawei. You can press Ctrl+C to pause diagnosis information display on screen. When the interface works in WAN mode, you can run the wan frame-format command to configure the frame format. You can configure required features after deploying a campus network. If a Hybrid port setup is Configuration Impact. The value of wait (time) is case-insensitive. We can create VLANs one by one or in a batch. . After you run the configuration command once in the port group view, the configuration takes effect on all Ethernet interfaces in the port group, reducing your workload. 1 Switch(config)# Step 3: Set hostname and domain name. If service configurations (such as the port link-type trunk configuration) exist on the interface, you need to clear all service configurations before running this command. com force [Switch-authen-profile-p1] quit # Bind the authentication profile p1 to GE 0 /0/2 to GE 0 /0/n and enable 802. Run netconf. On the aggregation switch AGG, configure a static route from AGG to the network segment of VLANIF 20; on the core switch CORE, configure a static route from CORE to the network segment of VLANIF 10. The configurations of Switch B and Switch C are similar. For details, see Stack Configuration in Configuration Guide - Virtualization Configuration. Basic Configurations Commands. If an interface has the non-attribute configuration, this command cannot be executed. up: indicates that the Eth-Trunk interface has started properly. Method 1: Run system-view. Firstly, we will create the VLANs. (The following information is only for reference. For example: The port trunk pvid vlan command only specifies the default VLAN of a trunk interface but does not add the trunk interface to the default VLAN. 1x authentication is auto. If a fault occurs on an interface, you can locate the fault based on the information about the interface and VLAN. TPID. If SNMPv3 is not disabled, skip this command. This information is displayed after the port mode wan command is run to configure the interface to work in WAN mode. Physical member ports of a stack port. The command output is relevant to user configuration. SFTP has higher security and is recommended for transferring the configuration file to the file server. Port Security Configuration Commands. 1Q frame. Link-type This command takes effect immediately in two-stage mode, and you do not need to run the commit command to commit the configuration. The value of vlan-id2 must be greater than or equal to the value of vlan-id1. When an interface is not connected to a cable or fiber, you can use the shutdown command to disable the interface to prevent exceptions caused by interference. When such an optical module is used on a device, the data bus of the device will become abnormal. Step 3: Run the terminal emulation program on the PC, setting the communication parameters as follows: -Baud rate: 9600 bps -Data bit: 8 -Stop bit: 1 -Parity: none -Flow control: none. Before transferring the configuration file using TFTP, run the tftp client-source command to configure the loopback interface on the device as the client source address or source interface. VLAN1 is the default VLAN on the switch. As a result, data on the data bus cannot be read. The NETCONF function is enabled and the NETCONF view is displayed. Therefore, the voice VLAN configuration is Multiple interfaces become physically Down. To configure a port and add it to the VLAN, perform the following operations: Configure the port running mode and add it to the VLAN. Configure SwitchA and SwitchB to form a stack. When the system starts up, automatic detection of edge ports is enabled by default. Support Documentation Switches Campus Switch S3700&S5700&S6700 Reference Guides (C00, C01, C02, and C03) Commands Reference. < HUAWEI > system-view [HUAWEI] sysname Switch A [Switch A] vlan batch 10 30 [Switch A] interface gigabitethernet 0/0/1 [Switch A-GigabitEthernet 0/0/1] port link-type trunk [Switch A-GigabitEthernet 0/0/1] port trunk allow-pass vlan 10 [Switch A You can run the display ip interface brief command to view the following information: IP configurations of all interfaces. The value of time ranges from 1 to 1800, in seconds. You can add the Ethernet interfaces to the same port group. Configuration Impact The poe power-threshold command sets the alarm threshold of the PoE power consumption percentage. 177 23. 2. Dec 4, 2019 · To set the timezoze, we will use “ clock timezone ” command. ID of the stack to which the attack defense policy is applied. Switch Ethernet interfaces to Layer 3 mode in a batch in the system view. This field is displayed only when the interface is a Layer 2 interface. Name of an attack defense policy. The value of vlan-id1 is an integer that ranges from 1 to 4094. You can also run the clear configuration this command in the system view to delete configurations on a specified interface. This command takes effect immediately in two-stage mode, and you do not need to run the commit command to commit the configuration. Learn how to use CLI commands to perform basic and advanced tasks on Huawei switches. This configuration is for Trunk and Access port setup. Description. Isolated Port Configuration. "Feature Typical Configuration Examples" provides typical configuration examples of a single feature on a switch. After we connect to the switch, go to the configuration mode: 1. Traffic is both received and sent in native formats with no VLAN tagging whatsoever. The port group function can solve this problem. C:\Documents and Settings\Administrator> telnet 10. The undo dot1x port-control command restores the default configuration. The undo poe power-off time-range command cancels the configuration. It also provides examples and tips for using CLI commands to configure and manage switches. For example, wait (10) indicates that the next command is executed 10 seconds later. The undo port command deletes the default VLAN of the specified interfaces only if the current VLAN is the default VLAN of these interfaces. Usage Scenario. The Classics version inherits the web page style of Huawei switches and provides comprehensive configuration and management functions. Quidway S5700 Series Ethernet Switches V100R006C01 Configuration Guide - Basic Configuration Issue 01 Date 2011-10-26 HUAWEI TECHNOLOGIES CO. Configure SNMPv3 on the switch so that the NMS running SNMPv3 can manage the switch. This command, however, cannot display the IP configurations of Layer 2 interfaces. After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface. Run the reset slotslot-id command to reset the card. Member Ports. [Switch] interface gigabitethernet 1/0/1 [Switch-GigabitEthernet 1/0/1] port-mirroring to observe-port 1 inbound //Mirror incoming packets on GE 1/0/1 to observing port 1. By default, the link flapping period for an interface is 10 seconds. To facilitate switch management and maintenance, you can configure interface descriptions. Running this command will cause the stack to split and member switches to restart. This operation will not delete the protected directory and protected/$_default. If the interface is a Layer 3 interface, Route Port is displayed here. For the test, I will execute commands on the Huawei Quidway S2326TP-EI. If the port mode { 10g | ge} or port copper mode configuration exists on a device, the configuration will not be deleted after the clear configuration this command is run. To isolate departments A and B at Layer 2, add A to VLAN 10 and B to VLAN 20. To display information about the public key in the DSA key pair configured on the remote end connected to the local device functioning as an SSH client, run the display dsa peer-public-key command. The poe power-off time-range command makes a configured PoE power-off time range effective on an interface. To allow all packets from one or multiple VLANs to pass through a trunk interface, the trunk interface must be added to the VLANs using the port trunk allow-pass vlan command. display mac-address sec-config. Some non-Huawei-certified switch optical modules has data bus design defects. # Configure access profiles. Switch Port, PVID. # Configure Switch A. After you run a configuration command once in the port group view, the configuration takes effect on all the Ethernet interfaces in the port group, reducing the configuration workload. If you run the port hybrid pvid vlan command multiple times in the same interface view, only the latest configuration takes effect. Ethernet Switching Configuration The undo command lines restore default settings of parameters, disable functions, or delete configurations. Before running this command, delete the non-attribute configuration on the If Password-RSA, Password-DSA, or Password-ECC authentication is used, configure AAA user information and enter the public key generated on the client. Lets help to make 1000 subscribers 😘 Huawei Switch config C To configure the port number of iMaster NCE-Campus, run the controller ip-address command. Enable STP to eliminate loops. system-view. The link-type of the interface is configured to trunk. Management VLAN. ; Create an Eth-Trunk in the stack, add the Eth-Trunk to VLAN 11, and configure the Eth-Trunk to preferentially forward local traffic in the stack. To set the stack priority, run the stack priority command. Trunk port config (Huawei) A trunk interface often connects to a switch, router, AP, or voice terminal that can receive and send tagged and untagged frames simultaneously. Indicates the type of frames that are supported on the interface. By default, the interface type is hybrid. If tovlan-id2 is not specified, only information about the VLAN specified by vlan-id1 is displayed. The PVID is used in the following scenarios: Overview. Complete the stack configuration of the low-priority switch. The port is not a Layer 3 port. If all authentication is used, configure AAA user information or enter the public key generated on the client or perform the two operations together. dn gt rw oz dm ty mr hn nv ev