MAC ADDRESS TABLE MANAGEMENT

165 CONFIGURATION COMMANDS

n

Interfaces that MAC address table management involves can only be Layer 2

Ethernet interfaces.

 

 

display mac-address

 

Syntax

display mac-address blackhole [ vlan vlan-id] [ count ]

 

display mac-address [ mac-address[ vlan vlan-id] [ dynamic static ] [ interface

 

interface-type interface-number ] [ vlan vlan-id ] [ count ] ]

View

Any view

Parameter

blackhole: Displays blackhole MAC address entries. These entries do not age but

 

you can add or remove them. The packets whose destination MAC addresses

 

match blackhole MAC address entries are dropped.

 

vlan vlan-id: Displays MAC address entries of the specified VLAN, where vlan-idis

 

in the range 1 to 4094.

 

count: Displays the total number of MAC addresses in the MAC address table.

 

mac-address: Specifies a MAC address in the format of H-H-H.

 

dynamic: Displays dynamic MAC address entries. Aging time is set for these

 

entries.

 

static: Displays static MAC address entries. Similar to blackhole MAC address

 

entries, these entries do not age but you can add or remove them.

 

interface interface-typeinterface-number: Displays the MAC address entry of a

 

specified interface, where interface-typeinterface-numberspecifies an interface

 

by its type and number.

Description

Use the display mac-addresscommand to display information about the MAC

 

address table.

Related commands:

mac-address (system view), mac-address (Ethernet interface view),

 

mac-address timer.

Example # Display the MAC address table entry for MAC address 00e0-fc01-0101.

Page 2477
Image 2477
3Com MSR 50, MSR 30 manual MAC Address Table Management Configuration Commands, Display mac-address, Ethernet interfaces