取消
显示结果 
搜索替代 
您的意思是: 
cancel
37028
查看次数
10
有帮助
22
回复

光口无法强制配置工作模式(duplex和speed)

triplility
Level 1
Level 1
大家好,
求大神帮忙看看,我这边有台3560x和2960x
他们的电口都可以设置duplex,在端口上输入duplex ?会给出全双工,半双工,自动的后续参数提示
但是SFP那几个口,比如3560的G1-G4, 2960的49-52,插着光模块(GLC-LH-SMD单模模块),在端口上输入duplex提示未知命令。这几个口问了一圈据说只能“自适应”没法强制到全双工或者半双工。真是真的吗?有什么办法关掉端口的auto或者强制到全双工吗?
因为电信最新的大光纤机配置的点对点专线,出来的是两根光纤,电信方面要求接入的设备必须“强制设置为全双工”否则会产生速率不达标以及严重丢包。。。
22 条回复22

justin.chow
Level 1
Level 1
这种光口一般都是negotiation auto,自适应。 和电信线路对接,需要用no negotiation命令即可,这样就可以强制了。

triplility
Level 1
Level 1
justin.chow 发表于 2018-10-25 13:57
这种光口一般都是negotiation auto,自适应。 和电信线路对接,需要用no negotiation命令即可,这样就可以 ...

这个指令也没有。。。。。。。还有别的尝试吗。。。

justin.chow
Level 1
Level 1
triplility 发表于 2018-10-25 15:07
这个指令也没有。。。。。。。还有别的尝试吗。。。

能show下光口的配置嘛

triplility
Level 1
Level 1
justin.chow 发表于 2018-10-25 15:21
能show下光口的配置嘛

这是2960x上49口的,3650差不多内容。虽然现在是duplex-full 但是电信说必须强制。因为电信将他们光纤设置为“全双工”时,插上我们的设备灯都不亮,完全不同,端口显示notconnect. 电信现在设置为“自适应"才通了。但是这个状态时他们说速率不达标,并且丢包率很高,他们一定要改回全双工
GigabitEthernet1/0/49 is up, line protocol is up (connected)
Hardware is Gigabit Ethernet, address is a0f8.493d.8db1 (bia a0f8.493d.8db1)
Description: uplink to SXXXX01 Core Fibre Optical
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseLX SFP
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:01, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 6616000 bits/sec, 1202 packets/sec
5 minute output rate 2800000 bits/sec, 808 packets/sec
154119699 packets input, 118989102148 bytes, 0 no buffer
Received 7780000 broadcasts (4504753 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 4504753 multicast, 0 pause input

justin.chow
Level 1
Level 1
triplility 发表于 2018-10-25 15:50
这是2960x上49口的,3650差不多内容。虽然现在是duplex-full 但是电信说必须强制。因为电信将他们光纤设 ...

接口的show run配置有嘛

triplility
Level 1
Level 1
justin.chow 发表于 2018-10-25 15:57
接口的show run配置有嘛

SXXX06#show run int giga 1/0/49
Building configuration...
Current configuration : 135 bytes
!
interface GigabitEthernet1/0/49
description uplink to SXXX01 Core Fibre Optical
switchport mode trunk
switchport nonegotiate
end

justin.chow
Level 1
Level 1
triplility 发表于 2018-10-25 16:25
SXXX06#show run int giga 1/0/49
Building configuration...

switchport nonegotiate 这条命令, no掉再看看

justin.chow
Level 1
Level 1
triplility 发表于 2018-10-25 16:25
SXXX06#show run int giga 1/0/49
Building configuration...

专线是trunk打通的嘛? 两端switchport nonegotiate都去掉试试

triplility
Level 1
Level 1
justin.chow 发表于 2018-10-25 16:40
专线是trunk打通的嘛? 两端switchport nonegotiate都去掉试试

这条指令,看起来是禁止协商,如果no掉,感觉是不是就成了真的“自动协商”了?

Rockyw
Spotlight
Spotlight
请参考下面文档中配置 SFP-配置接口速度和双工模式里面的描述
Cisco Small Form-Factor Pluggable (SFP)收发器模块维护和故障排除
https://www.cisco.com/c/zh_cn/support/docs/interfaces-modules/cwdm-gbic-sfp/72370-sfp-trcvr-mods.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

cisco.feng
Spotlight
Spotlight
在接口下打
media-type sfp

再打
duplex full

双模(能插RJ45模块,也能插SFP模块)的插槽要指定介质才能设

wuhao0015
Spotlight
Spotlight
一般不可以指定双工和速率

byl_qware_com
Level 8
Level 8
试试有full-duplex这条命令没有

triplility
Level 1
Level 1
cisco.feng 发表于 2018-10-30 12:26
在接口下打

SXXX06(config-if)#media-type sfp
^
% Invalid input detected at '^' marker.
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接