86
Syntax
reset mac-forwarding statistics
Views
User view
Default command level
1: Monitor level
Examples
# Clear all Layer 2 forwarding statistics.
<Sysname> reset mac-forwarding statistics
Fast Layer 2 forwarding configuration commands
display mac-fast-forwarding cache
Use display mac-fast-forwarding cache to display fast Layer 2 forwarding entries.
Syntax
display mac-fast-forwarding cache { all | { destination-mac mac-address | source-mac mac-address |
vlan vlan-id }* } [ verbose ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
all: Displays all fast Layer 2 forwarding entries.
destination-mac mac-address: Displays the fast Layer 2 forwarding entries of the specified destination
MAC address.
source-mac mac-address: Displays the fast Layer 2 forwarding entries of the specified source MAC
address.
vlan vlan-id: Displays the fast Layer 2 forwarding entries of the specified VLAN. The value range of the
vlan-id argument is 1 to 4094.
verbose: Displays detailed information about fast Layer 2 forwarding.
|: 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.