试题详情

主机PCA的IP地址为40.1.1.1,MAC地址为0011.1111.1111PCA连接在交换机SWA的
GigabitEthernet1/0/1端口上在交换机SWA上配置了如下命令:
[SWA]vlan 10 [SWA-vlan10]quit [SWA]vlan 20
[SWA-vlan20]protocol-vlan ipv4 [SWA-vlan20]quit
[SWA]vlan 30 [SWA-vlan30]quit
[SWA]mac-vlan mac-address 0011-1111-1111 vlan 30
[SWA]vlan 40
[SWA-vlan40]ip-subnet-vlan ip 40.1.1.0 255.255.255.0 [SWA-vlan40]quit
[SWA]interface GigabitEthernet 1/0/1
[SWA-GigabitEthernet1/0/1]port link-type hybrid [SWA-GigabitEthernet1/0/1]port hybrid pvid vlan 10
[SWA-GigabitEthernet1/0/1]port hybrid vlan 10 20 30 40 untagged
[SWA-GigabitEthernet1/0/1]port hybrid protocol-vlan vlan 20 0 [SWA-GigabitEthernet1/0/1]port hybrid ip-subnet-vlan vlan 40 [SWA-GigabitEthernet1/0/1]mac-vlan enable
[SWA-GigabitEthernet1/0/1]vlan precedence ip-subnet-vlan
配置完成后,可以判断PCA会加入

A VLAN 10

B VLAN20

C VLAN30

D VLAN40

E 配置命令有误