FD.io VPP  v19.01.3-6-g70449b9b9
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 149)

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 187)

Implementation: l2_emulation_show.