R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

7
Figure 1 Network diagram
Configuration procedure
# Add a static MAC address entry.
<Router> system-view
[Router] mac-address static 000f-e235-dc71 interface GigabitEthernet 4/0/1 vlan 1
# Add a destination blackhole MAC address entry.
[Router] mac-address blackhole 000f-e235-abcd vlan 1
# Set the aging timer for dynamic MAC address entries to 500 seconds.
[Router] mac-address timer aging 500
# Display the MAC address entry for GigabitEthernet 4/0/1.
[Router] display mac-address interface GigabitEthernet 4/0/1
MAC ADDR VLAN ID STATE PORT INDEX AGING STATE
000f-e235-dc71 1 Config static GigabitEthernet4/0/1 NOAGED
--- 1 mac address(es) found ---
# Display information about the destination blackhole MAC address table.
[Router] display mac-address blackhole
MAC ADDR VLAN ID STATE PORT INDEX AGING STATE
000f-e235-abcd 1 Blackhole N/A NOAGED
--- 1 mac address(es) found ---
# View the aging time of dynamic MAC address entries.
[Router] display mac-address aging-time
Mac address aging time: 500s