R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

309
display bridge address-table
Use display bridge address-table to view the bridge table information.
Syntax
display bridge address-table [ bridge-set bridge-set | dlsw | interface interface-type interface-number |
mac mac-address] [ dynamic | static ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
bridge-set bridge-set: Specifies the bridge set number, an integer in the range of 1 to 255.
dlsw: Displays the bridge table information about DLSw.
interface interface-type interface-number: Specifies an interface by its name and number.
mac mac-address: Specifies the MAC address in the format of H-H-H.
dynamic: Displays the information about dynamically learned addresses in the bridge table.
static: Displays the information about manually configured addresses in the bridge table.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# View the information about all the manually configured entries in the bridge table.
<Sysname> display bridge address-table static
The total of the address-items is 1
Mac-address Set Flag Aging-time Receive Send Interface-name
0000-0001-0001 2 NS 00:02:04 0 0 Ethernet1/1
Flag meaning: P--PERMIT N--DENY D--DYNAMIC S--STATIC
# View the information about a dynamically learned MAC address 1234-5678-1234 in the bridge table.
<Sysname> display bridge address-table mac 1234-5678-1234 dynamic
Mac-address Set Flag Aging-time Receive Send Interface-name
1234-5678-1234 1 PD 00:02:48 36 0 Ethernet1/1
Flag meaning: P--PERMIT N--DENY D--DYNAMIC S--STATIC
Table 61 Command output
Field Descri
p
tion
Mac-address MAC address.
Set Bridge set number.