Configuring Layer 2 Features > About Port Hairpinning
Was this helpful?
About Port Hairpinning
Port hairpinning allows Layer 2 bridged traffic to exit out of the same switch-port where the packet arrived. The feature supports hosting containers with Single Root I/O Virtualization (SR-IOV) network interfaces and classifies traffic sent to the applications.
This feature also allows the first-hop switch to enforce policies and security rules in hardware, through vflows, and may be used where a Netvisor ONE-enabled switch micro-segments traffic, such as whitelists
You can use this feature when modifying a port configuration and when creating or modifying a trunk configuration with link aggregation.
 
Informational Note: If you configure this feature on a port not connected to a server, it may cause network issues.
The following types of traffic to bridge back:
Layer 2 Unicast traffic
Layer 2 Broadcast, Unknown Unicast, Multicast (BUM) traffic
CPU originated packets
To enable this feature, use the following command:
CLI network-admin@Leaf1 > port-config-modify port port-list reflect
To disable :
CLI network-admin@Leaf1 > port-config-modify port port-list no-reflect