Cisco Certified Network Associate (200-301 CCNA) – Question354

Refer to the exhibit. What commands are needed to add a sub-interface to Ethernet0/0 on R1 to allow for VLAN 20, with IP address 10.20.20.1/24?


A.
R1(config)#interface ethernet0/0
R1(config-if)#encapsulation dot1q 20
R1(config-if)#ip address 10.20.20.1 255.255.255.0
B. R1(config)#interface ethernet0/0.20
R1(config-if)#encapsulation dot1q 20
R1(config-if)#ip address 10.20.20.1 255.255.255.0
C. R1(config)#interface ethernet0/0.20
R1(config-if)#ip address 10.20.20.1 255.255.255.0
D. R1(config)#interface ethernet0/0
R1(config-if)#ip address 10.20.20.1 255.255.255.0

Correct Answer: B