R3204P16-HP Load Balancing Module Network Management Configuration Guide-6PW101

Table Of Contents
30
The LB module replaces the VLAN tag of the packet with its own VLAN tag and then handles the packet
according to security settings.
The LB module replaces its VLAN tag of the packet with that contained in the interface number of the
egress subinterface and sends it to the switch (the egress subinterface is found through a MAC address
table lookup).
The switch forwards the packet toward the destination.
Configuring general Layer 2 forwarding
Configuration procedure
General Layer 2 forwarding is enabled by default.
Displaying and maintaining general Layer 2 forwarding
To do… Use the command…
Remarks
Display general and inline Layer 2
forwarding statistics
display mac-forwarding statistics [ interface
interface-type interface-number ]
Available in any view
Clear all general and inline Layer
2 forwarding statistics
reset mac-forwarding statistics Available in user view
Configuring inline Layer 2 forwarding
Forward type: A complete configuration contains an ID, which uniquely identifies an inline Layer 2
forwarding entry, and two interfaces. A packet coming from one interface goes out of another.
Reflect type: A complete configuration contains an ID, which uniquely identifies an inline Layer 2
forwarding entry, and one interface. A packet received on the interface goes out through this
interface.
Blackhole type: A complete configuration contains an ID, which uniquely identifies an inline Layer
2 forwarding entry, and one interface. A packet received on the interface is discarded.
Configuration procedure
Follow these steps to configure inline Layer 2 forwarding:
To do… Use the command…
Remarks
Enter system view system-view
Configure an inline Layer 2
forwarding entry
inline-interfaces id [ blackhole
| reflect ]
Required
Enter Layer 2 Ethernet
interface view
interface interface-type
interface-number