XS26GS Managed Optical Ethernet Switch User Manual
116
dynamic
: displays dynamic MAC address entries.
blackhole
: displays blackhole MAC address entries.
interface ethernet
interface-number
: specifies a port by its interface type and
number, of which the MAC address entries are displayed.
vlan
vlan-id
: specifies a VLAN by its ID in a range from 1 to 4094, for which the MAC
address entries are displayed.
address
mac
-
address
: specifies a MAC address, in the form of H-H-H-H-H-H.
count
: displays the total number of MAC address entries.
Description
Use
show mac-address
command to display information of certain MAC address
entries in MAC address table, including: MAC address, VLAN and port corresponding
to the MAC address, the type (static or dynamic) of a MAC address entry, whether
a MAC address is within the aging time, and so on.
Examples
#display the static MAC address entries for the vlan 1
XS#
show mac-address static vlan
1
MAC ADDRESS VLAN ID STATE PORT AGING
00-1d-72-23-ed-8f 1 Static 2 No
00-1d-72-23-ed-8e 1 Static 1 No
2 static mac addresses found in 1 vlan
#display the MAC address entries for the port Ethernet 0/1
XS#
show mac-address interface ethernet
0/1
MAC ADDRESS VLAN ID STATE PORT AGING
00-1d-72-23-ed-8d 1 BlackHole Ethernet0/1 No
00-1d-72-23-ed-8e 1 Static Ethernet0/1 No
2 mac addresses found on port Ethernet0/1
mac-address
Syntax
In
System
view:
mac-address { static | dynamic | blackhole }
mac-address
interface
ethernet
interface-number
vlan
vlan-id
no mac-address { static | dynamic | blackhole }
mac-address
vlan
vlan-id
no mac-address interface ethernet
interface-number
no mac-address vlan
vlan-id
no mac-address vlan
vlan-id mac-address
In Ethernet port view:
mac-address { static | dynamic | blackhole }
mac-address
vlan
vlan-id
no mac-address { static | dynamic | blackhole }
mac-address
vlan
vlan-id
View
System view, Ethernet port view
Parameters
static
: specifies a static MAC address entry.
dynamic
: specifies a dynamic MAC address entry.
blackhole
: specifies a blackhole MAC address entry.
mac
-
address
: specifies a MAC address, in the form of H-H-H-H-H-H.