Refer to the exhibit. An engineer must assign an IP address of 192.168.1.1/24 to the GigabitEthernet1 interface. Which two commands must be added to the existing configuration to accomplish this task? (Choose two.)
A.
Router(config-if)#ip address 192.168.1.1 255.255.255.0
B.
Router(config-vrf)#address-family ipv4
C.
Router(config-vrf)#ip address 192.168.1.1 255.255.255.0
A and B
If you create the VRF without address family then try to add an IP to the interface, it fails and you will receive the following error
Router(config-if)#vrf forwarding STAFF
Router(config-if)#ip add 192.168.1.1 255.255.255.0
%GigabitEthernet0/0 is linked to a VRF. Enable IPv4 on that VRF first.
When you add the address family option, it works
Router(config)#vrf definition STAFF
Router(config-vrf)#address-family ipv4
Router(config-vrf-af)#exit
Router(config-vrf)#int gi0/0
Router(config-if)#vrf forwarding STAFF
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#
address family is always configured under "vrf" section. ip obviously in "interface" section. in the old days, I don't think you needed ipv4 address family under vrf, but with ipv6 IOS, its probably required. so A & B.
Only answer A is correct. There is no second command required. Why configure address family? If there is no reason, you can as well configure any other feature just for fun.
I mean you could configure AAA just to be sure, but that doesn't change anything about the missing address family for the VRF definition..
The vrf isn't defined as "ip vrf STAFF", which enables the IPv4 VRF STAFF, but rather "vrf definition STAFF", which does not enable IPv4/IPv6 - they need to be manually specified under the vrf definition. If you don't want to believe me, you can spin a lab and test it in under 2 minutes.
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
loosi1210
Highly Voted 3 years, 6 months agociscogear
2 years, 9 months agoind_RuzRb
Highly Voted 3 years, 6 months ago[Removed]
Most Recent 5 months agoKP001
1 year, 2 months agoCCNPWILL
1 year, 2 months agotechriese
1 year, 3 months agowr4net
1 year, 5 months agoDeu_Inder
2 years, 1 month agoMerlinTheWizard
1 year, 9 months agoAJMD
2 years, 3 months agoAldebeer
2 years, 6 months agoAldebeer
2 years, 6 months agoAldebeer
2 years, 6 months agoEddgar0
2 years, 6 months agobetashow
2 years, 6 months agoaohashi
2 years, 8 months agoTom_He
2 years, 8 months agoGarosTurbo
2 years, 8 months agodanielponce7
2 years, 9 months ago