FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
src/plugins/l2e

set interface l2 l2-emulation

Summary/usage

set interface l2 l2-emulation <interface-name> [disable|enable]

Description

Configure l2 emulation. When the interface is in L2 mode, configure the extraction of L3 packets out of the L2 path and into the L3 path.

Example usage
vpp# set interface l2 input l2-emulation <interface-name> [disable]

Declaration and implementation

Declaration: l2_emulation_cli_node (src/plugins/l2e/l2e.c line 124)

Implementation: l2_emulation_cli.

show interface l2 l2-emulation

Summary/usage

show interface l2 l2-emulation

Description

Show l2 emulation. When the interface is in L2 mode, configure the extraction of L3 packets out of the L2 path and into the L3 path.

Example usage
vpp# show interface l2 l2-emulation

Declaration and implementation

Declaration: l2_emulation_show_node (src/plugins/l2e/l2e.c line 163)

Implementation: l2_emulation_show.