Press ESC to close

H12-811-v1-403-如下图所示的网络,交换机使用机接口和路由器的子接口对,则以下哪个配置可以实现这种需求?

如下图所示的网络,交换机使用机接口和路由器的子接口对,则以下哪个配置可以实现这种需求?

1657006047365.png

A


Interface Vlanif10

Ip address 10.0.12.1 255.255.255.0

Interface GigabitEthernet0/0/2

Port link-type hybrid

Port hybrid untag vlan 10

B


Interface Vlanif10

Ip address 10.0.12.1 255.255.255.0

Interface GigabitEthernet0/0/2

Port link-type trunk

Port trunk allow- pass vlan 10

C


Interface Vlanif10

Ip address 10.0.12.1 255.255.255.0

Interface GigabitEthernet0/0/2

Port link-type access

Port default vlan 10

D


Interface Vlanif10

Ip address 10.0.12.1 255.255.255.0

Interface GigabitEthernet0/0/2

Port link-type trunk

Port trunk pvid 10

Port trunk allow-pass vlan 10

参考答案:B