Enabling VLAN Segmentation Using Next Hop Forwarding
To configure VLAN segmentation on UPF using next hop forwarding, use the following configuration:
config
port ethernet slot/port
no shutdown
vlan vlan_tag_ID
no shutdown
bind interface interface_name context_name
end
context context_name
{ ip | ipv6 } address address subnetmask [ secondary ]
end
NOTES:
-
port ethernet slot/port —Ethernet port or slot that will contain the VLAN tag.
-
no shutdown —It enables or disables the traffic over a specified VLAN.
-
vlan vlan_tag_ID —Enters the VLAN configuration mode.
-
no shutdown —Enables or disables traffic over the current VLAN.
-
bind interface interface_name context_name —It binds a virtual interface and context to support VLAN service.
-
context context_name —Configures the context to in which the interface is created.
-
{ ip | ipv6 } address address subnetmask [ secondary ] —Maps the IP pools with the configured VLANs. The [ secondary ] keyword assigns multiple IP addresses to the interface.