本帖最后由 xy411381121 于 2019-6-2 22:23 编辑 ISR4331/K9,Version 15.5(3)S4b
subslot 0/1与subslot 0/2用的NIM-1GE-CU-SFP的光电复用模块,光模块为GLC-FE-100LX
因为施工单位的光纤还没到位,所以我们打算先把数据配上,但出现了点儿问题。
端口初始配置如下:
interface GigabitEthernet0/1/0
no ip address
shutdown
negotiation auto
我们需要使用光口,强制为100M全双工模式。
我知道应该使用以下命令:
no negotiation auto
media-type sfp
speed 100
duplex half
但现在的问题是,强制为SFP的时候,没有speed的命令:
Router(config-if)#int g0/2/0
Router(config-if)#media-type sfp
GigabitEthernet0/2/0: Changing media to SFP
Router(config-if)#
Router(config-if)#spe?
% Unrecognized command
Router(config-if)#sp?
spanning-tree
Router(config-if)#
Router(config-if)#duplex full
Router(config-if)#do sho run int g0/2/0
Building configuration...
Current configuration : 90 bytes
!
interface GigabitEthernet0/2/0
no ip address
media-type sfp
no negotiation auto
end
但如果强制为RJ45,就没问题:
Router(config-if)#do sho run int g0/1/0
Building configuration...
Current configuration : 115 bytes
!
interface GigabitEthernet0/1/0
no ip address
media-type rj45
speed 100
duplex half
no negotiation auto
end
请问这是为什么啊?