试题详情

要把交换机SWA的Ethernet1/0/1端口配置为Hybrid端口,其PVID为VLAN20,且在发送VLAN20
的数据帧时不打标签,在发送VLAN 10的数据帧时打标签,则下面的配置过程正确的是 (选择一项或多项)

A [SWA]vlan10 [SWA-vlan 10]quit [SWA]vlan 20
[SWA-vlan20]port Ethernet 1/0/1 [SWA-vlan20]quit [SWA]interface Ethernet 1/0/1
[SWA-Ethernet1 /0/1 ]port link-type hybrid [SWA-Ethernet1 /0/1]port hybridvlan 10 tagged

B [SWA]vlan10 [SWA-vlan 10]quit [SWA]vlan 20 [SWA-vlan20]quit
[SWA]interface Ethernet 1/0/1
[SWA-Ethernet1/0/1]port link-type hybrid [SWA-Ethernet1/0/1]port hybrid pvid vlan 20
[SWA-Ethernet1 /0/1 ]port hybrid vlan 10 tagged

C [SWA]vlan10 [SWA-vlan10]quit [SWA]vlan 20 [SWA-vlan20]quit
[SWA]interface Ethernet 1/0/1
[SWA-Ethernet1/0/1]port link-type hybrid [SWA-Ethernet1/0/1]port hybrid pvid vlan 20
[SWA-Ethernet1/0/1]port hybrid vlan 10 tagged [SWA-Ethernet1 /0/1 ]port hybrid vlan 20 untagged

D [SWA]interfaceEthernet 1/0/1
[SWA-Ethernet1/0/1]port link-type hybrid [SWA-Ethernet1/0/1]port hybrid pvid vlan 20
[SWA-Ethernet1/0/1]port hybrid vlan 10 tagged [SWA-Ethernet1/0/1]port hybrid vlan 20 untagged [SWA-Ethernet1/0/1]quit
[SWA]vlan 10
[SWA-vlan10]quit[SWA]vlan 20

E 以上各项均不正确