HPE Aruba Certified Network Security Expert (ACNSX) — Question 57
What is the correct way of associating a VRF instance to either a VLAN or an interface?
Answer options
- 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 >
Correct answer: C
Explanation
Option C is correct because it shows the proper command structure for associating a VRF with a VLAN using the VLAN configuration context. Options A and B do not follow the correct syntax for VLAN configuration, and option D lacks the necessary configuration context to attach a VRF to a VLAN correctly.