Common configuration commands of S series switches for Ethernet features of other vendors

The followings are common configuration commands of S series switches (except the S1700) for Ethernet features of other vendors:
1. Configure the STP mode.
[HUAWEI] stp mode stp
2. Disable MAC address learning
- Disable MAC address learning on an interface.
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] mac-address learning disable
- Disable MAC address learning on a VLAN
[HUAWEI] vlan 2
[HUAWEI-vlan2] mac-address learning disable

3. Configure a blackhole MAC address.
[HUAWEI] vlan batch 5
[HUAWEI] mac-address blackhole 0004-0004-0004 vlan 5

For other configuration commands, refer to Common Operation Guide.

Scroll to top