R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
138
Configuring Layer 2 forwarding
Layer 2 forwarding falls into the following categories: general and inline.
Feature and hardware compatibility
Feature F1000-A-EI/S-EI
F1000-E
F5000 Firewall module
Inline forwarding Yes Yes No Yes
Configuring general Layer 2 forwarding
NOTE:
General Layer 2 forwarding is available only at the command line interface (CLI).
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.
Configuration procedure
General Layer 2 forwarding is enabled by default.
Displaying and maintaining general Layer 2 forwarding
Task Command
Remarks
Display general and inline 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 and inline Layer
2 forwarding statistics.
reset mac-forwarding statistics Available in user view
Configuring inline Layer 2 forwarding
Working mechanism
The inline Layer 2 forwarding feature falls into the following types: