- Table of Contents
-
- 03-Layer 2 Configuration Guide
- 00-Preface
- 01-Ethernet Interface Configuration
- 02-Loopback and Null Interface Configuration
- 03-MAC Address Table Configuration
- 04-Spanning Tree Configuration
- 05-Loopback Detection Configuration
- 06-VLAN Configuration
- 07-Layer 2 Forwarding Configuration
- 08-PPP Configuration
- 09-Ethernet Link Aggregation Configuration
- 10-DCC Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
07-Layer 2 Forwarding Configuration | 50.08 KB |
Configuring Layer 2 forwarding
Configuring normal Layer 2 forwarding
Displaying and maintaining normal Layer 2 forwarding
Layer 2 forwarding falls into the following categories:
· Normal
· Fast
· Inline
· Cut-through
· Inter-VLAN
The device only supports normal Layer 2 forwarding.
Configuring normal Layer 2 forwarding
If the destination MAC address of an incoming packet matches the MAC address of the receiving Layer 3 interface, the device forwards the packet through that interface. If not, the device performs normal Layer 2 forwarding through a Layer 2 interface. The device looks up the MAC address table according to the destination MAC address of the incoming packet, obtains the outgoing interface, and then forwards the packet through the interface.
Configuration procedure
Normal Layer 2 forwarding is enabled by default.
Displaying and maintaining normal Layer 2 forwarding
Task |
Command |
Remarks |
Display normal Layer 2 forwarding statistics. |
display mac-forwarding statistics [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Clear all normal Layer 2 forwarding statistics. |
reset mac-forwarding statistics |
Available in user view. |