Use the interface vlan command to configure an SVI interface, and the vrf forwarding command to associate
a VRF instance to the interface.
The VRF-to-VLAN assignment is retained even when the assignment becomes inactive. It is reactivated when
the SVI is removed or when the SVI IP address is changed. When reactivated, the IP–SGT bindings are moved
back from the FIB table associated with the VRF of the SVI to the FIB table associated with the VRF assigned
by the cts role-based l2-vrf command.
Examples
The following example shows how to select a list of VLANS to be assigned to a VRF instance:
Switch(config)# cts role-based l2-vrf vrf1 vlan-list 20
The following example shows how to configure an SVI interface and associate a VRF instance:
Switch(config)# interface vlan 101
Switch(config-if)# vrf forwarding vrf1
Related Commands
DescriptionCommand
Configures a VLAN interface.interface vlan
Associates a VRF instance or a virtual network with
an interface or subinterface.
vrf forwarding
Displays the SGACL permission list.show cts role-based permissions
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
734
cts role-based l2-vrf