如下图所示,交换机B的端口5/1为千兆以太网接口,通信方式如图所注。下列交换机A的端15配置,正确的是()。
A.Switch-6500>(enable)set port enable 5/23
Switch-6500>(enable)set port enable 5/22
Switch-6500>(enable)set port enable 3/10
Switch-6500>(enable)set port 5/22-5/23 duplex full
Switch-6500>(enable)set port 3/10 duplex half
Switch-6500>(enable)set port speed 5/22-5/23 1000
Switch-6500>(enable)set port speed 3/10 100
B.Switch-6500>(enable)set port enable 5/23
Switch-6500>(enable)set port enable 5/22
Switch-6500>(enable)set port enable 3/10
Switch-6500>(enable)set port duplex 5/22-23 half
Switch-6500>(enable)set port duplex 3/10 half
Switch-6500>(enable)set port speed 5/22-23 1000000
Switch-6500>(enable)set port speed 3/10 100000
C.Switch-6500>(enable)set interface enable 5/23
Switch-6500>(enable)set interface enable 5/22
Switch-6500>(enable)set interface enable 3/10
Switch-6500>(enable)set interface duplex 5/22-23 half
Switch-6500>(enable)set interface duplex 3/10 half
Switch-6500>(enable)set interface speed 5/22-23 1000
Switch-6500>(enable)set interface speed 3/10 100
D.Switch-6500>(enable)set port enable 5/23
Switch-6500>(enable)set port enable 5/22
Switch-6500>(enable)set port enable 3/10
Switch-6500>(enable)set port duplex 5/22-23 full
Switch-6500>(enable)set port duplex 3/10 haft
Switch-6500>(enable)set port speed 5/22-23 1000
Switch-6500>(enable)set port speed 3/10 100
参考答案:D
解析:
配置交换机端口开启命令格式:
Switch-6500>(enable)set port enable<mod/port>
配置交换机端口通信方式命令格式:
Switch-6500>(enable)set port duplex<mod/port>full/half
配置交换机端口传输速率命令格式:
Switch-6500>(enable)set port speed<mod/port><port-speed>
另外,f0为快速以太网100Gbps,g0为千兆以太网1000Gbps。综上所述命令格式,D选项正确。