请选择 进入手机版 | 继续访问电脑版

设为首页 收藏本站
思科社区 关注
思科社区

   思科 CCO 登录 推荐
 找回密码
 立即注册

搜索
热搜: 邮件服务器
查看: 1322|回复: 5

关于cisco ISR4431端口下negotiation auto的一个提醒

[复制链接]
发表于 2019-1-16 09:42:13 | 显示全部楼层 |阅读模式
一个提醒:
ISR4431的设备,关于端口下的negotiation。如果需要修改协商速率和双工模式,需要在端口下no nerotiation auto,且端口需要连接线路up后方可配置[speed 100]、[duplex full],这两个配置。
在未接线的端口即使在端口下no nerotiation auto,也无法配置和tab  [speed 10/100/1000]、[duplex full],这两个配置。

虽然不知道大家有没有已经知道了这个的点,前几天正好遇见,还是先分享给大家。
是有什么版本的原因暂时没有很清楚,只找到了以下一些资料,欢迎大家补充。

已剪辑自: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/interface/command/ir-cr-book/ir-l2.html?bookSearch=true#wp1005143472
Toenable advertisement of speed, duplex mode, and flow control on a GigabitEthernet interface, use the negotiation command in interface configurationmode. To disable automatic negotiation, use the no negotiation auto command.
negotiation{ forced | auto }
nonegotiation auto
Syntax Description
  
forced
  
  
Disables flow  control and configures the Gigabit Ethernet interface in 1000/full-duplex  mode.
  
This keyword is not  supported on the 2-port 10/100/1000 Gigabit Ethernet shared port adapter  (SPA) on the Cisco 7304 router.
  
  
auto
  
  
Enables the  autonegotiation protocol to configure the speed, duplex, and automatic flow  control of the Gigabit Ethernet interface. This is the default.
  

Command Default
Autonegotiationis enabled.
Command Modes
Interfaceconfiguration (config-if)
Command History
Release
Modification
  
  
  
  
  
11.1CC
  
  
This command was  introduced.
  
  
12.0(7)S
  
  
This command was  modified. The forced keyword was added.
  
  
12.0(6)T
  
  
This command was  modified. The forced keyword was added.
  
  
12.1(3a)E
  
  
This command was  integrated into Cisco IOS Release 12.1E and implemented on the Cisco  7200-I/O-GE+E controller.
  
  
12.1(5)T
  
  
This command was  integrated into Cisco IOS Release 12.1(5)T.
  
  
12.2(20)S2
  
  
This command was  implemented on the 2-port 10/100/1000 Gigabit Ethernet SPA on the Cisco 7304  router. The forced keyword is not supported.
  
  
12.2(33)SRA
  
  
This command was  integrated into Cisco IOS Release 12.2(33)SRA.
  
  
12.2SX
  
  
This command is  supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX  release of this train depends on your feature set, platform, and platform  hardware.
  
  
12.2(33)SCB
  
  
This command was  integrated into Cisco IOS Release 12.2(33)SCB.
  

Usage Guidelines
Thenegotiation command is applicable to the Gigabit Ethernet interface of theCisco 7200-I/O-GE+E and interfaces on the 2-port 10/100/1000 Gigabit EthernetSPA that are using fiber media. The negotiation auto command is used instead ofthe duplex and speed commands (which are used on Ethernet and Fast Ethernetinterfaces, and interfaces on the 2-port 10/100/1000 Gigabit Ethernet SPA thatare using RJ-45 media) to automatically configure the duplex and speed settingsof the interfaces.
Thenegotiation forced command is used to configure the Gigabit Ethernet interfaceof the Cisco 7200-I/O-GE+E to be 1000/full-duplex only and to disable flowcontrol. The negotiation forced command is not supported by the 2-port10/100/1000 Gigabit Ethernet SPA.
TheGigabit Ethernet interface of the Cisco 7200-I/O-GE+E and the interfaces on the2-port 10/100/1000 Gigabit Ethernet SPA that are using fiber media arerestricted to 1000 Mbps/full-duplex only. Autonegotiation advertises andnegotiates only to these values.
Theno negotiation auto command is used to disable the autonegotiation in the Cisco3800 series routers. If the speed is set to 1000 Mbps and full-duplex is setfor the Gigabit Ethernet interface in small form-factor pluggable (SFP) mode,then the autonegotiation is disabled (forced mode) using the no negotiationauto command.
However,for RJ-45 media the autonegotiation is always enabled for fixed speed andduplex setting. For SFP mode of operation, the autonegotiation can be disabledby using the no negotiation auto command.
Cisco uBR10012 Universal Broadband Router
Autonegotiationis enabled by default and can be disabled on the 5-port Gigabit Ethernet SPA.During autonegotiation, advertisement for flow control, speed, and duplexoccurs. If autonegotiation is disabled on one end of a link, it must bedisabled on the other end of the link. If one end of a link has autonegotiationdisabled and the other end of the link does not, the link does not come upproperly on both ends. Flow control is always negotiated when autonegotiationis enabled.
  
file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image001.gif
  

    Note
  
  
Autonegotiation is  not supported on the 1-port 10-Gigabit Ethernet SPA in Cisco IOS Release  12.2(33)SCB.
  

Examples
Thefollowing example shows how to enable the second interface (port 1) on a 2-port10/100/1000 Gigabit Ethernet SPA for autonegotiation, where the SPA isinstalled in the bottom subslot (1) of the modular services card (MSC), and theMSC is installed in slot 2 of the Cisco 7304 router:

Router(config)# interfacegigabitethernet 2/1/1
Router(config-if)#media-type gbic
Router(config-if)#negotiation auto
Thefollowing example shows how to disable the second interface (port 1) on a2-port 10/100/1000 Gigabit Ethernet SPA for autonegotiation, where the SPA isinstalled in the bottom subslot (1) of the MSC, and the MSC is installed inslot 2 of the Cisco 7304 router:

Router(config)# interfacegigabitethernet 2/1/1
Router(config-if)#no negotiation auto
Related Commands
Command
Description
  
  
  
  
  
show interfaces  gigabitethernet
  
  
Displays  information about the Gigabit Ethernet interfaces.
  


  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分4 (1 评价)
发表于 2019-1-17 14:37:20 来自手机 | 显示全部楼层
Down情况,未知接口介质
设media-type rj45/sfp即可配speed/duplex
  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分0 (0 评价)
发表于 2019-1-17 20:38:52 | 显示全部楼层
谢谢楼主分享,感谢
  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分0 (0 评价)
发表于 2019-1-19 09:00:00 | 显示全部楼层
谢谢分享,学习了!
  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分0 (0 评价)
发表于 2019-2-11 16:32:46 | 显示全部楼层
combo接口需要先设media-type rj45,然后才可以配speed/duplex。
  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分0 (0 评价)
 楼主| 发表于 2019-2-14 09:04:21 | 显示全部楼层
zeyang0009 发表于 2019-2-11 16:32
combo接口需要先设media-type rj45,然后才可以配speed/duplex。

涨知识了,非常感谢
  • 1
  • 2
  • 3
  • 4
  • 5
  • 1
  • 2
  • 3
  • 4
  • 5
平均得分0 (0 评价)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver | 思科社区  

GMT+8, 2019-7-22 08:06 , Processed in 0.091764 second(s), 44 queries .

京ICP备09041801号-187

版权所有 :copyright:1992-2019 思科系统  重要声明 | 保密声明 | 隐私权政策 | 商标 |

快速回复 返回顶部 返回列表