05-Network Connectivity

HomeSupportConfigure & DeployConfiguration GuidesH3C Access Controllers Configuration Guides(R5426P02)-6W10405-Network Connectivity
21-Layer 2 forwarding configuration
Title Size Download
21-Layer 2 forwarding configuration 49.98 KB

Configuring normal Layer 2 forwarding

About normal Layer 2 forwarding

When an incoming frame's destination MAC address does not match any Layer 3 interface's MAC address, normal Layer 2 forwarding forwards the frame through a Layer 2 interface.

The device uses the destination MAC address of the frame to look for a match in the MAC address table.

·     The device forwards the frame out of the outgoing interface in the matching entry if a match is found.

·     The device floods the frame to all interfaces in the VLAN of the frame if no match is found.

Normal Layer 2 forwarding is enabled by default.

Display and maintenance commands for Layer 2 forwarding

Execute display commands in any view and reset commands in user view.

Task

Command

Display Layer 2 forwarding statistics.

display mac-forwarding statistics [ interface interface-type interface-number ]

Clear Layer 2 forwarding statistics.

reset mac-forwarding statistics


Configuring fast Layer 2 forwarding

About fast Layer 2 forwarding

Fast Layer 2 forwarding improves packet forwarding efficiency by using a high-speed cache and flow-based technology. It identifies a flow by using the following items:

·     Source IP address.

·     Source port number.

·     Destination IP address.

·     Destination port number.

·     Protocol number.

·     Input interface.

·     Output interface.

·     VLAN ID.

Fast Layer 2 forwarding creates an entry in a high-speed cache by obtaining the forwarding information of a flow's first packet. Subsequent packets of the flow are forwarded based on the entry.

Fast Layer 2 forwarding is enabled by default.

Restrictions: Command and hardware compatibility

The WX1800H series, WX2500H series, and WX3000H series access controllers do not support parameters or commands that are available only in IRF mode.

Display and maintenance commands for fast Layer 2 forwarding

Execute display commands in any view.

Task

Command

Display IPv4 fast forwarding entries.

In standalone mode:

display mac-forwarding cache ip [ ip-address ]

In IRF mode:

display mac-forwarding cache ip [ ip-address ] [ slot slot-number ]

Display IPv4 fast forwarding entries for fragments.

In standalone mode:

display mac-forwarding cache ip fragment [ ip-address ]

In IRF mode:

display mac-forwarding cache ip fragment [ ip-address ] [ slot slot-number ]

Display IPv6 fast forwarding entries.

In standalone mode:

display mac-forwarding cache ipv6 [ ipv6-address ]

In IRF mode:

display mac-forwarding cache ipv6 [ ipv6-address ] [ slot slot-number ]

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网