What is the correct way of associating a VRF instance to either a VLAN or an interface?
What is the correct way of associating a VRF instance to either a VLAN or an interface?
To associate a VRF instance to a VLAN, the correct syntax typically involves entering VLAN configuration mode and then attaching the VRF. The correct way is to first specify the VLAN, switch to VLAN configuration mode, and then attach the VRF. This ensures that the VRF instance is properly linked to the specified VLAN. Therefore, the proper command sequence is: Switch(config)# vlan <VLAN-ID>, followed by Switch(config-vlan-<VLAN-ID>)# vrf attach <vrf-name>. This is accurately represented by option C.
Actually, none of these answers is correct. The correct syntax would be as follows. Switch1(config)# inter vlan 11 Switch1(config-if-vlan)# vrf attach testvrf
While I agree that C is correct, when attaching a VRF to a VLAN, I notice that the configuration context changes to "config-vlan-<VLAN-ID", and not just "config-vlan", as show on p. 942 in the Study Guide. A is correct, according to Study Guide.
now all the answers are wrong, VRF will be assigned as below: INT: switch(config)# interface 1/1/1 switch(config-if)# vrf attach test SVI: switch(config)# vlan 3 switch(config-vlan)# exit switch(config)# interface vlan 3 switch(config-if-vlan)# vrf attach test If we follow the SG from Aruba, we should use C. Checked with SG, Figure14-4.
Page 518 Lab Guide: ICX-Tx-Core1(config-if-vlan)# vrf attach blue
@Omen, there is also another option we can configure just like in option A if this for a layer 3 routed interface . Option A is correct
C Option A is alyer 2 interface, can't be attached to a VRF
C is correct.
E: It is... as Alialo explained none are correct and his explanation is correct. #>interface vlan101 #>>vrf attach campus Page: 892 study guide.