89
Field Description
Cache Context
Fast forwarding information.
mac-fast-forwarding
Use
mac-fast-forwarding
to enable fast Layer 2 forwarding.
Use
undo mac-fast-forwarding
to disable fast Layer 2 forwarding.
Syntax
mac-fast-forwarding
undo mac-fast-forwarding
Default
Fast Layer 2 forwarding is enabled.
Views
System view
Default command level
2: System level
Examples
# Enable fast Layer 2 forwarding.
<Sysname> system-view
[Sysname] mac-fast-forwarding
reset mac-fast-forwarding cache
Use
reset mac-fast-forwarding cache
to clear fast Layer 2 forwarding entries.
Syntax
reset mac-fast-forwarding cache
{
all
| {
destination-mac
mac-address
|
source-mac
mac-address
|
vlan
vlan-id
}* }
Views
User view
Default command level
2: System level
Parameters
all
: Clears all fast Layer 2 forwarding entries.
destination-mac
mac-address
: Clears the fast Layer 2 forwarding entries of the specified destination
MAC address.
source-mac
mac-address
: Clears the fast Layer 2 forwarding entries of the specified source MAC
address.
vlan
vlan-id
: Clears the fast Layer 2 forwarding entries of the specified VLAN. The value range of the
vlan-id
argument is 1 to 4094.