How to display the source and destination addresses of forwarded packets on S series switches

3

For S series switches (except the S1700), no command is available to display the source or destination addresses of the forwarded packets. If you want to obtain the addresses, use a tool to capture packets.

Other related questions:
Can an S series switches forward a packet if both the source and destination IP addresses of the packet are multicast addresses
The S5710-C-LI or S5700SI drops packets whose source and destination IP addresses are both multicast addresses. Other switches broadcast such packets in a VLAN.

What functions on S series switches can analyze source and destination IP addresses in data packets
NetStream and sFlow supported by S series switches (except S1700 switches) can analyze information about network flows, such as source and destination IP addresses, port numbers, and interfaces in data packets.

ACL based on source MAC addresses and destination IP addresses on S series switches
S series switches (except S1700 switches) do not support ACL based on source MAC addresses and destination IP addresses. If only the source MAC address and destination MAC address need to be specified, you can configure a Layer 2 ACL whose number ranges from 4000 to 4999. If only the source IP address and destination IP address need to be specified, you can configure an advanced ACL whose number ranges from 3000 to 3999.

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

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top