Specifications

Table Of Contents
Chapter 20: l2-tables Commands
20 - 8 SSR Command Line Interface Reference Manual
l2-tables show port-macs
Purpose
Show information about MACs residing in a port's L2 table.
Format
l2-tables show port-macs
<port-list>
|all-ports
[[vlan
<VLAN-num>
]
[source] [destination] [multicast]
[undecoded] [no-stats] verbose]
Mode
User or Enable
Description
The
l2-tables show port-macs
command shows the information about the
learned MAC addresses in individual L2 MAC address tables. Each port has its own
MAC address table. The information includes the number of source MAc addresses
and the number of destination MAC addresses in the table. If you enter the
verbose
option, the MAC addresses also are displayed.
Parameters
port
<port-list>
|all-ports
Specifies the port(s) for which you want to display MAC
address information. You can specify a single port or a
comma-separated list of ports. If you use the
all-ports
keyword, MAC address information is displayed for all
ports.
vlan
<VLAN-num>
Specifies the type of MAC address for which you want to
show statistics.
source
Displays statistics for only source addresses.
destination
Displays statistics for only destination addresses.
multicast
Displays statistics for only multicast and broadcast ad-
dresses.
undecoded
Displays the MAC addresses in hexadecimal format rather
than undecoded format. Undecoded format dos not show
the vendor name in place of the first three hexadecimal dig-