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

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

zjliao
Spotlight
Spotlight
一个提醒:
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.



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.

5 条回复5

cisco.feng
Spotlight
Spotlight
Down情况,未知接口介质
设media-type rj45/sfp即可配speed/duplex

18653465190
Spotlight
Spotlight
谢谢楼主分享,感谢

fortune
VIP Alumni
VIP Alumni
谢谢分享,学习了!

zeyang0009
Level 1
Level 1
combo接口需要先设media-type rj45,然后才可以配speed/duplex。:D

zjliao
Spotlight
Spotlight
zeyang0009 发表于 2019-2-11 16:32
combo接口需要先设media-type rj45,然后才可以配speed/duplex。

涨知识了,非常感谢
入门指南

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

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









快捷链接