R2511-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V5)

8
Layer 2 forwarding configuration
Layer 2 forwarding includes the following categories: general, fast, inline, cut-through, and inter-VLAN.
Because the HP MSR routers support only general Layer 2 forwarding among these categories, the
following sections describe the working mechanism and configuration procedure about general Layer 2
forwarding only.
Working mechanism
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 general
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.
Configuring general Layer 2 forwarding
General Layer 2 forwarding is enabled by default.
Displaying and maintaining general Layer 2
forwarding
Task Command Remarks
Display general Layer 2
forwarding statistics.
display mac-forwarding statistics [ interface
interface-type interface-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Clear all general Layer 2
forwarding statistics.
reset mac-forwarding statistics Available in user view.