Question 171 of 367 from exam 200-301-CCNA: Implementing and Administering Cisco Solutions

Question 171 of 367 from exam 200-301-CCNA: Implementing and Administering Cisco Solutions

Question

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?

E00

R1

E ye Y Eo/

sw1

sw2

R1:

Swi:

sw2:

interface Ethernet0/O

no ip address
!

interface Ethernet0/0
switchport trunk encapsulation dot1q
switchport mode trunk

!

interface Ethernet0/1
switchport trunk allowed vian 10
switchport trunk encapsulation dot1q
switchport mode trunk

interface Ethernet0/1
‘switchport trunk encapsulation dotiq

‘switchport mode trunk
!

interface Ethernet0/2
‘switchport access vian 20
switchport mode access

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.