Refer to the exhibit.
What commands are needed to add a subinterface to Ethernet0/0 on R1 to allow for VLAN 20, with IP address 10.20.20.1/24?
A.R1(config)#interface ethernet0/0正确答案B
R1(config)#encapsulation dot1q 20
R1(config)#ip address 10.20.20.1 255.255.255.0 B.R1(config)#interface ethernet0/0.20
R1(config)#encapsulation dot1q 20
R1(config)#ip address 10.20.20.1 255.255.255.0 C.R1(config)#interface ethernet0/0.20
R1(config)#ip address 10.20.20.1 255.255.255.0 D.R1(config)#interface ethernet0/0
R1(config)#ip address 10.20.20.1 255.255.255.0