Topic: HPE6-A73 topic 1 question 72

What is the correct way of associating a VRF instance to either a VLAN or an interface?

A.
Switch(config)# interface <interface-ID> Switch(config-if)# vlan access <VLAN-ID> vrf attach <vrf-name>
B.
Switch(config)# vlan <VLAN-ID> vrf attach < vrf-name >
C.
Switch(config)# vlan <VLAN-ID> Switch(config-vlan-<VLAN-ID># vrf attach < vrf-name >
D.
Switch(config)# vlan <VLAN-ID> vrf < vrf-name >

Re: HPE6-A73 topic 1 question 72

E:
It is... as Alialo explained none are correct and his explanation is correct.
#>interface vlan101
#>>vrf attach campus
Page: 892 study guide.

Re: HPE6-A73 topic 1 question 72

Page 518 Lab Guide:
ICX-Tx-Core1(config-if-vlan)# vrf attach blue

Re: HPE6-A73 topic 1 question 72

C is correct.

Re: HPE6-A73 topic 1 question 72

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.

Re: HPE6-A73 topic 1 question 72

C
Option A is alyer 2 interface, can't be attached to a VRF

Re: HPE6-A73 topic 1 question 72

@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

Re: HPE6-A73 topic 1 question 72

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

Re: HPE6-A73 topic 1 question 72

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.