Examine the following configuration snippet on a Cisco IOS-XE router: interface GigabitEthernet0/1 ip vrf forwarding BLUE ip address 192.168.1.1 255.255.255.0 no shutdown What is the effect of this configuration?
Configuring 'vrf forwarding BLUE' on an interface assigns that interface to VRF BLUE, removing it from the global routing context. Any IPv4 or IPv6 address subsequently configured on the interface is installed in VRF BLUE's separate routing and forwarding tables. As a result, all traffic transiting the interface is looked up exclusively in the VRF BLUE table, providing complete path isolation from the global table.
Why this answer
The 'ip vrf forwarding BLUE' command associates the interface with VRF BLUE, which creates a separate routing table instance. All traffic entering or exiting this interface is forwarded using the VRF BLUE routing table, not the global routing table. This isolates the interface's traffic from the global routing domain.
Exam trap
Candidates may incorrectly think that the 'ip vrf forwarding BLUE' command on an interface creates the VRF automatically. In Cisco IOS-XE, the VRF must first be defined using 'vrf definition BLUE' before the interface can be associated with it. If the VRF does not exist, the command will be rejected.
How to eliminate wrong answers
Option B is wrong because the interface is not in the global routing table; 'ip vrf forwarding' moves the interface entirely into the VRF, and route leaking is an explicit additional configuration (e.g., using 'route-map' and 'import/export' commands) not implied here. Option C is wrong because the IP address is assigned within the VRF context, not from the global routing table; the VRF must already exist or be created dynamically, and the address belongs to the VRF's address space. Option D is wrong because the configuration is valid; VRF BLUE can be created implicitly by the 'ip vrf forwarding' command on the interface, or it may have been created earlier via 'vrf definition BLUE' or 'ip vrf BLUE' (legacy), but the snippet alone does not show an error.