beautypg.com

Configuration procedure, Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 41

background image

30

Configuration procedure

# Add a static MAC address entry for MAC address 000f-e235-dc71 on Ten-GigabitEthernet 1/0/1 that

belongs to VLAN 1.

system-view

[Device] mac-address static 000f-e235-dc71 interface ten-gigabitethernet 1/0/1 vlan 1

# Add a blackhole MAC address entry for MAC address 000f-e235-abcd that belongs to VLAN 1.

[Device] mac-address blackhole 000f-e235-abcd vlan 1

# Set the aging timer for dynamic MAC address entries to 500 seconds.

[Device] mac-address timer aging 500

Verifying the configuration

# Display the static MAC address entry for interface Ten-GigabitEthernet 1/0/1.

[Device] display mac-address static interface ten-gigabitethernet 1/0/1

MAC Address VLAN ID State Port/NickName Aging

000f-e235-dc71 1 Static XGE1/0/1 N

# Display information about the blackhole MAC address entries.

[Device] display mac-address blackhole

MAC Address VLAN ID State Port/NickName Aging

000f-e235-abcd 1 Blackhole N/A N

# View the aging time of dynamic MAC address entries.

[Device] display mac-address aging-time

MAC address aging time: 500s.

This manual is related to the following products: