98
CLI Basics
Managing MAC address forwarding database table
This section describes the commands to view the contents of the MAC
address forwarding database table, as well as setting the age-out time for
the addresses. The following topics are covered:
•
"show mac-address-table command" (page 98)
•
"mac-address-table aging-time command" (page 99)
•
"default mac-address-table aging-time command" (page 99)
show mac-address-table command
The
show mac-address-table
command displays the current contents
of the MAC address forwarding database table. The syntax for the
show
mac-address-table
command is:
show mac-address-table [vid <1-4094>] [aging-time] [port
<LINE>][address <H.H.H> {include | exclude <pattern>}]
The
show mac-address-table
command is executed in the Privileged
EXEC command mode.
Table 15 "show mac-address-table command parameters and variables"
(page 98)
describes the parameters and variables for the show
mac-address-table command.
Table 15
show mac-address-table command parameters and variables
Parameters
and variables
Description
vid <1-4094>
Enter the number of the VLAN you want to display the
forwarding database.
Default is to display the management VLAN’s database.
aging-time
Displays the time in seconds after which an unused
entry is removed from the forwarding database.
port <LINE>
List of ports.
address <H.H.H>
Displays a specific MAC address if it exists in the
database. Enter the MAC address you want displayed.
include | exclude
<pattern>
Lets you filter the results of the command by printing
only those entries in the address table that include or
exclude a given pattern. The value for
<pattern>
must be a sequence of 1 to 6 bytes in hex, separated
by dashes.
for example:
show mac-address-table port
1/1-5 address include 00-0E-45-23
Nortel Ethernet Routing Switch 2500 Series
Overview — System Configuration
NN47215-500 (323162-B)
02.02
Standard
4.1
19 November 2007
Copyright © 2007, Nortel Networks
.
Содержание 2500 Seriess
Страница 1: ...Nortel Ethernet Routing Switch 2500 Series Overview System Configuration NN47215 500 323162 B ...
Страница 391: ......