H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 48

Advertising
background image

38

<AC> system-view

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

# Add a destination blackhole MAC address entry.

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

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

[AC] mac-address timer aging 500

# Display the MAC address entry for port GigabitEthernet 1/0/1.

[AC] display mac-address interface gigabitethernet 1/0/1

MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)

000f-e235-dc71 1 Config static GigabitEthernet 1/0/1 NOAGED

--- 1 mac address(es) found ---

# Display information about the destination blackhole MAC address table.

[AC] display mac-address blackhole

MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)

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

--- 1 mac address(es) found ---

# View the aging time of dynamic MAC address entries.

[AC] display mac-address aging-time

Mac address aging time: 500s

Advertising