Enabling VLAN Segmentation Using VRF

To enable VLAN segmentation using VRF on UPF, use 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 vrf vrf_name 
         { ip | ipv6 } address address subnetmask [ secondary ]  
         end 

NOTES:

  • ip vrf vrf_name —Creates a VRF in the router and assigns a VRF-ID.