How to configure CE series switches to ignore the destination MAC address of packets for Layer 3 forwarding

During network maintenance, traffic is often mirrored and then forwarded to a specific device for analysis. In most cases, a switch forwards only packets whose destination MAC address is the local Layer 3 interface's MAC address according to routes. The switch forwards other packets at Layer 2 or discards them. If necessary, the switch can also forward other packets at Layer 3 after it is configured to ignore the destination MAC address of packets. Only CE12800 and CE6870EI series switches support this configuration.
# Configure a switch to ignore the destination MAC address of packets.
system-view
[~HUAWEI] ip routing ignore-mac
[*HUAWEI] commit

Scroll to top