Ethernet Switching
Link Aggregation Configuration
\[Command] show link-aggregation summary \[Purpose] Display LAG configuration information \[View] System view \[Use Cases] Description of the show link-aggregation summary command output \[Command] interface link-aggregation lag-id no interface link-aggregation lag-id \[Purpose] Add aggregation groups \[Parameter] \[View] System configuration view \[Use Cases] \[Command] link-aggregation-group lag-id \[port-priority port-priority ] no link-aggregation-group lag-id \[Purpose] Add member ports to an aggregation group \[Parameter] \[View] Interface view \[Usage Scenario] Configuring interface priority is done to differentiate between different interfaces on the same device. Interfaces with higher priority will be selected as active interfaces.
MC-LAG Configuration
\[Command] show mclag state \[Purpose] View information about MC-LAG \[View] System view \[Use Cases] \[Command] show mclag consistency check result \[Purpose] View the results of the membership consistency check \[View] System view \[Usage Scenario] MCLAG (Multi-Chassis Link Aggregation Group) consists of two devices that together form a dual-active system. These two MCLAG devices are logically virtualized as a single device, creating a unified Layer 2 logical node.
LLDP Configuration
\[Command] show lldp neighbors interface-name show lldp table \[Purpose] Show LLDP neighbors \[Parameter] \[View] System view \[Use Cases] \[Command] show lldp ports med-policy \[Purpose] Display interface LLDP MED configuration policy \[View] System view \[Use Cases] \[Command] lldp enable no lldp enable \[Purpose] Enable LLDP \[View] System configuration view \[Use Cases] \[Command] lldp mgmt-ip A. B.
VLAN Configuration
VLAN(Virtual Local Area Network)The commands for creating, deleting and adding members are shown in the table. \[Command] show vlan summary \[Purpose] Display VLAN summary information \[View] System view \[Use Cases] Description of the show vlan summary command output \[Command] show vlan vid vlan-id show vlan all \[Purpose] Display VLAN specific information \[View] System view \[Use Cases] \[Command] show vlan mac-trigger \[vlan-id vlan-id ] \[Purpose] Show all VLAN mac-trigger details \[View] System view \[Use Cases] \[Command] vlan vlan-id no vlan vlan-id \[Purpose] Create VLAN \[Parameter] \[View] System configuration view \[Use Cases] \[Command] switchport {trunk|access} vlan vlan-id \[Purpose] Add interface to VLAN \[Parameter] \[View] Interface view \[Usage Scenario] Frames sent by user hosts are untagged, and frames received by the interface from the peer device may be tagged.
MAC Configuration
\[Command] show mac-flapping config \[Purpose] View the configuration information of MAC address flapping detection function \[View] System view \[Use Cases] \[Command] show mac-flapping status \[Purpose] View records of MAC address flapping \[View] System view \[Use Cases] Description of the show mac-flapping status command output \[Command] show mac-address \[interface-type interface-name ] \[Purpose] Display MAC table \[Parameter] \[View] System view \[Use Cases] \[Command] show mac-limit \[{port interface-name | vlan vlan-id }] \[Purpose] View the configured limit on the number of MAC address learning entries \[View] System view \[Use Cases] \[Command] clear mac-address \[{ethernet|link-aggregation} interface-name | vlan vlan-id ] dynamic \[Purpose] Empty the MAC table \[Parameter] \[View] System view \[Usage Scenario] The MAC address table space on a device is limited. When the MAC address table becomes full, it cannot learn new MAC address entries until the aging time expires.
Interface Isolation Group Configuration
\[Command] show port-isolate-group \[group-id group id ] \[Purpose] View the configured interface isolation group information \[Parameter] \[View] System view \[Use Cases] \[Command] port-isolate-group group id no port-isolate-group group id \[Purpose] Create interface isolation groups \[Parameter] \[View] System configuration view \[Usage Scenario] The isolation feature refers to isolating and forwarding broadcast, multicast, and unicast packets among interfaces within the same isolation group. When combined with other business functions, it can implement a more secure network architecture and greatly reduce the occurrence of broadcast storms.
STP Configuration
\[Command] show stp mstp \[Purpose] View spanning tree status \[View] System view \[Use Cases] \[Command] show stp stpid stp-instance-id \[Purpose] View spanning tree status of interfaces under the specified STP instance \[View] System view \[Use Cases] \[Command] show stp stpid stp-instance-id \[ethernet ethernet-id | link-aggregation lag-id ] \[Purpose] View the spanning tree status of a specific interface in a particular STP instance. \[View] System view \[Use Cases] \[Command] show stp mstp \[Purpose] Check the binding relationship between the specified STP instance and the VLAN.
QinQ Configuration
\[Command] show interface vlan-stack \[Purpose] View the VLAN stack function configuration of the interface \[View] System view \[Use Cases] \[Command] show interface qinq protocol \[interface name] \[Purpose] View the qinq protocol configuration of the interface \[View] System view \[Use Cases] \[Command] qinq enable \[Purpose] Enable basic QinQ functionality on the interface \[View] Interface view \[Usage Scenario] When the port enable switch is activated, all traffic entering the device from this port will be tagged with an additional layer corresponding to the Port VLAN ID (PVID). If the packet does not have a VLAN tag, it will be encapsulated with a layer corresponding to the PVID VLAN.
MVRP Configuration
\[Command] show mvrp interfaces \[Purpose] View the MVRP status of the interface \[View] System view \[Use Cases] Description of the show mvrp interfaces command output \[Command] mvrp enable \[Purpose] Enable MVRP function globally \[View] System view \[Use Cases] \[Command] mvrp enable \[Purpose] Port enables MVRP function \[View] Interface view \[Use Cases] \[Command] mvrp {jointimer|leavealltimer|leavetimer|periodictimer} time-value \[Purpose] Configure MVRP timer time \[Parameter] \[View] Interface view \[Use Cases]