如下图所示的网络,交换机使用VLANIF接口和路由器的子接口对接,则以下哪个配置可以实现这种需求?
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 access
Port default vlan 10
C
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
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
参考答案:C