如下图所示网络中要实现同一Vlan内主机可以通信,正确的配置是()

1552 次浏览
  • A、[SwitchA] interface gigabitethernet 1/0/3 <br/> [SwitchA-GigabitEthernet1/0/3] port link-type trunk <br/> [SwitchA-GigabitEthernet1/0/3] port trunk allow-pass vlan 2 3
  • B、[SwitchA] interface gigabitethernet 1/0/1 <br/>[SwitchA-GigabitEthernet1/0/1] port link-type trunk <br/> [SwitchA-GigabitEthernet1/0/1] port trunk allow-pass vlan 2 3
  • C、[SwitchA] interface gigabitethernet 1/0/1 [SwitchA-GigabitEthernet1/0/1] port link-type access [SwitchA-GigabitEthernet1/0/1] port default vlan 2 3
试题分析:要实现上图中跨交换机的Vlan之间的通信,需要配置SwitchA和SwitchB之间的链路类型及通过的VLAN,实现相同业务用户通过SwitchA和SwitchB通信。[SwitchA] interface gigabitethernet 1/0/3[SwitchA-GigabitEthernet1/0/3] port link-type trunk //交换机之间相连接口类型建议使用trunk,接口默认类型不是trunk,需要手动配置为trunk[SwitchA-GigabitEthernet1/0/3] port trunk allow-pass vlan 2 3 //将接口GE1/0/3加入VLAN 2和VLAN 3
挑战成功
2年前