1-5
Displaying and Maintaining MAC Address Table Management
To do…
Use the command…
Remarks
display mac-address
blackhole
[
vlan vlan-id
]
[
count
]
Display MAC address table
information
display mac-address
[
mac-address
[
vlan vlan-id
] |
[
dynamic
|
static
] [
interface
interface-type
interface-number
] [
vlan
vlan-id
] [
count
] ]
Display the aging timer for
dynamic MAC address entries
display mac-address
aging-time
Display MAC address statistics
display mac-address
statistics
Available in any view
MAC Address Table Management Configuration Example
Network requirements
Log onto your device from the Console port to configure MAC address table management as follows:
z
Set the aging timer to 500 seconds for dynamic MAC address entries.
z
Add a static entry 000f-e235-dc71 for port GigabitEthernet 1/0/1 in VLAN 1.
Configuration procedure
# Add a static MAC address entry.
<Sysname> system-view
[Sysname] mac-address static 000f-e235-dc71 interface gigabitethernet 1/0/1 vlan 1
# Set the aging timer for dynamic MAC address entries to 500 seconds.
[Sysname] mac-address timer aging 500
# Display the MAC address entry for port GigabitEthernet 1/0/1.
[Sysname] 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 ---
Содержание S5500-SI Series
Страница 161: ...3 10 GigabitEthernet1 0 1 2 MANUAL...
Страница 220: ...1 7 Clearing ARP entries from the ARP table may cause communication failures...
Страница 250: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 310: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 331: ...1 7 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete...
Страница 493: ...2 8...
Страница 1111: ...1 10 Installing patches Installation completed and patches will continue to run after reboot...