- Duplex settings – All Cisco Gigabit Ethernet interfaces operate only in full-duplex mode.
- Flow control capabilities – Allows an interface to advertise whether it supports flow control features.
- Remote fault information.
Gigabit Ethernet interfaces have port negotiation enabled by default, and it does not require modification for most situations. The only time that needs to disable negotiation is when connecting to a device that does not support port negotiation.
The [no] speed nonegotiate interface subcommand enables / disables port negotiation for an interface, even though Gigabit Ethernet port negotiation has nothing to do with speed.
Note: The speed nonegotiate interface subcommand is only available on Fiber-based GE interfaces.
Caution: When connecting 2 Gigabit Ethernet interfaces with one end configured with this command, the end configured with this command will be UP (connected) while the other end will be DOWN (notconnect)! This is only applicable for fiber connections due to the reason above.
C2960#sh ver | in Model number Model number : WS-C2960G-24TC-L C2960# C2960#sh run int gi0/24 Building configuration... Current configuration : 37 bytes ! interface GigabitEthernet0/24 end C2960# C2960#conf t Enter configuration commands, one per line. End with CNTL/Z. C2960(config)#int gi0/24 C2960(config-if)#do sh int status | in Gi0/24 Gi0/24 notconnect 1 auto auto Not Present C2960(config-if)# C2960(config-if)#do sh int gi0/24 capabilities GigabitEthernet0/24 Model: WS-C2960G-24TC-L Type: Not Present Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.1Q Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes Multiple Media Types: rj45, sfp, auto-select C2960(config-if)# C2960(config-if)#speed ? % Unrecognized command C2960(config-if)# C2960(config-if)#media-type ? auto-select Use whichever connector is attached rj45 Use RJ45 connector sfp Use SFP connector C2960(config-if)#media-type rj45 C2960(config-if)# C2960(config-if)#do sh int status | in Gi0/24 Gi0/24 notconnect 1 auto auto 10/100/1000BaseTX C2960(config-if)# C2960(config-if)#do sh int gi0/24 capabilities GigabitEthernet0/24 Model: WS-C2960G-24TC-L Type: 10/100/1000BaseTX Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.1Q Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes Multiple Media Types: rj45, sfp, auto-select C2960(config-if)# C2960(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation 1000 Force 1000 Mbps operation auto Enable AUTO speed configuration C2960(config-if)# C2960(config-if)#media-type sfp C2960(config-if)#do sh int status | in Gi0/24 Gi0/24 notconnect 1 auto auto Not Present C2960(config-if)# C2960(config-if)#do sh int gi0/24 capabilities GigabitEthernet0/24 Model: WS-C2960G-24TC-L Type: Not Present Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.1Q Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes Multiple Media Types: rj45, sfp, auto-select C2960(config-if)# C2960(config-if)#speed ? nonegotiate Do not negotiate speed C2960(config-if)# C2960(config-if)#do sh int status | in Gi0/24 Gi0/24 notconnect 1 auto auto 10/100/1000BaseTX SFP C2960(config-if)# C2960(config-if)#do sh int gi0/24 capabilities GigabitEthernet0/24 Model: WS-C2960G-24TC-L Type: 10/100/1000BaseTX SFP Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.1Q Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes Multiple Media Types: rj45, sfp, auto-select C2960(config-if)# C2960(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation 1000 Force 1000 Mbps operation auto Enable AUTO speed configuration C2960(config-if)# C2960(config-if)#do sh int status | in Gi0/24 Gi0/24 notconnect 1 full 1000 1000BaseSX SFP C2960(config-if)# C2960(config-if)#do sh int gi0/24 capabilities GigabitEthernet0/24 Model: WS-C2960G-24TC-L Type: 1000BaseSX SFP Speed: 1000 Duplex: full Trunk encap. type: 802.1Q Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes Multiple Media Types: rj45, sfp, auto-select C2960(config-if)# C2960(config-if)#speed ? nonegotiate Do not negotiate speed C2960(config-if)# ================================================================================ C3750#sh ver | in Model number Model number : WS-C3750-24TS-S C3750# C3750#sh run int gi1/0/1 Building configuration... Current configuration : 38 bytes ! interface GigabitEthernet1/0/1 end C3750# C3750#conf t Enter configuration commands, one per line. End with CNTL/Z. C3750(config)#int gi1/0/1 C3750(config-if)#do sh int status | in Gi1/0/1 Gi1/0/1 notconnect 1 auto auto Not Present C3750(config-if)# C3750(config-if)#do sh int gi1/0/1 capabilities GigabitEthernet1/0/1 Model: WS-C3750-24TS Type: Not Present Speed: 1000 Duplex: full Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes C3750(config-if)# C3750(config-if)#speed ? nonegotiate Do not negotiate speed C3750(config-if)# C3750(config-if)#do sh int status | in Gi1/0/1 Gi1/0/1 notconnect 1 auto auto 10/100/1000BaseTX SFP C3750(config-if)# C3750(config-if)#do sh int gi1/0/1 capabilities GigabitEthernet1/0/1 Model: WS-C3750-24TS Type: 10/100/1000BaseTX SFP Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes C3750(config-if)# C3750(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation 1000 Force 1000 Mbps operation auto Enable AUTO speed configuration C3750(config-if)# C3750(config-if)#do sh int status | in Gi1/0/1 Gi1/0/1 notconnect 1 auto auto 1000BaseSX SFP C3750(config-if)# C3750(config-if)#do sh int gi1/0/1 capabilities GigabitEthernet1/0/1 Model: WS-C3750-24TS Type: 1000BaseSX SFP Speed: 1000 Duplex: full Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(none) Fast Start: yes QoS scheduling: rx-(not configurable on per port basis), tx-(4q3t) (3t: Two configurable values and one fixed.) CoS rewrite: yes ToS rewrite: yes UDLD: yes Inline power: no SPAN: source/destination PortSecure: yes Dot1x: yes C3750(config-if)# C3750(config-if)#speed ? nonegotiate Do not negotiate speed C3750(config-if)# ================================================================================ C6500#do sh int status | in Gi5/1 Gi5/1 disabled routed auto auto No Transceiver C6500# C6500#sh int gi5/1 capabilities GigabitEthernet5/1 Model: VS-S720-10G Type: No Transceiver Speed: 10,100,1000,auto Duplex: half,full,auto Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(off,on,desired) Membership: static Fast Start: yes QOS scheduling: rx-(2q4t), tx-(1p3q4t) QOS queueing mode: rx-(cos), tx-(cos) CoS rewrite: yes ToS rewrite: yes Inline power: no Inline power policing: no SPAN: source/destination UDLD yes Link Debounce: yes Link Debounce Time: yes Ports-in-ASIC (Sub-port ASIC) : 1-5 (1-2,5) Remote switch uplink: no Dot1x: yes Port-Security: yes C6500# C6500#conf t Enter configuration commands, one per line. End with CNTL/Z. C6500(config)#int gi5/1 C6500(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation 1000 Force 1000 Mbps operation auto Enable AUTO speed configuration nonegotiate Do not negotiate speed C6500(config-if)#speed nonegotiate C6500(config-if)# C6500(config-if)#do sh run int gi5/1 Building configuration... Current configuration : 80 bytes ! interface GigabitEthernet5/1 no ip address shutdown speed nonegotiate end C6500(config-if)# C6500(config-if)#do sh int status | in Gi5/1 Gi5/1 disabled routed auto auto 10/100/1000BaseT C6500(config-if)# C6500(config-if)#do sh int gi5/1 capabilities GigabitEthernet5/1 Model: VS-S720-10G Type: 10/100/1000BaseT Speed: 10,100,1000,auto Duplex: half,full Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(off,on,desired) Membership: static Fast Start: yes QOS scheduling: rx-(2q4t), tx-(1p3q4t) QOS queueing mode: rx-(cos), tx-(cos) CoS rewrite: yes ToS rewrite: yes Inline power: no Inline power policing: no SPAN: source/destination UDLD yes Link Debounce: yes Link Debounce Time: no Ports-in-ASIC (Sub-port ASIC) : 1-5 (1-2,5) Remote switch uplink: no Dot1x: yes Port-Security: yes C6500(config-if)# C6500(config-if)#do sh run int gi5/1 Building configuration... Current configuration : 61 bytes ! interface GigabitEthernet5/1 no ip address shutdown end C6500(config-if)# C6500(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation 1000 Force 1000 Mbps operation auto Enable AUTO speed configuration C6500(config-if)# C6500(config-if)#do sh int status | in Gi5/1 Gi5/1 disabled routed auto 1000 1000BaseSX C6500(config-if)# C6500(config-if)#do sh int gi5/1 capabilities GigabitEthernet5/1 Model: VS-S720-10G Type: 1000BaseSX Speed: 1000 Duplex: full Trunk encap. type: 802.1Q,ISL Trunk mode: on,off,desirable,nonegotiate Channel: yes Broadcast suppression: percentage(0-100) Flowcontrol: rx-(off,on,desired),tx-(off,on,desired) Membership: static Fast Start: yes QOS scheduling: rx-(2q4t), tx-(1p3q4t) QOS queueing mode: rx-(cos), tx-(cos) CoS rewrite: yes ToS rewrite: yes Inline power: no Inline power policing: no SPAN: source/destination UDLD yes Link Debounce: yes Link Debounce Time: yes Ports-in-ASIC (Sub-port ASIC) : 1-5 (1-2,5) Remote switch uplink: no Dot1x: yes Port-Security: yes C6500(config-if)# C6500(config-if)#speed ? 1000 Force 1000 Mbps operation nonegotiate Do not negotiate speed C6500(config-if)#
C3560#sh run int gi0/1 Building configuration... Current configuration : 55 bytes ! interface GigabitEthernet0/1 speed nonegotiate end C3560# C3560#sh run int gi0/2 Building configuration... Current configuration : 36 bytes ! interface GigabitEthernet0/2 end C3560# 00:01:29.850: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up 00:01:30.857: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up 00:01:58.874: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up C3560#sh int gi0/1 GigabitEthernet0/1 is up, line protocol is up (connected) Hardware is Gigabit Ethernet, address is 0023.04a3.5c81 (bia 0023.04a3.5c81) MTU 1500 bytes, BW 1000000 Kbit, 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 force-up, media type is 1000BaseSX SFP input flow-control is off, output flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, 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 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts (0 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 29 packets output, 5234 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out C3560# C3560#sh int gi0/2 GigabitEthernet0/2 is down, line protocol is down (notconnect) Hardware is Gigabit Ethernet, address is 0023.04a3.5c82 (bia 0023.04a3.5c82) MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive not set Auto-duplex, Auto-speed, link type is auto, media type is 1000BaseSX SFP input flow-control is off, output flow-control is unsupported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, 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 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts (0 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 0 multicast, 0 pause input 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out C3560# C3560#sh cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, D - Remote, C - CVTA, M - Two-port Mac Relay Device ID Local Intrfce Holdtme Capability Platform Port ID C3560# 00:02:28.746: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down 00:02:28.746: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down 00:02:29.753: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to down C3560# ================================================================================ C3560#sh run int gi0/3 Building configuration... Current configuration : 55 bytes ! interface GigabitEthernet0/3 speed nonegotiate end C3560# C3560#sh run int gi0/4 Building configuration... Current configuration : 55 bytes ! interface GigabitEthernet0/4 speed nonegotiate end C3560# 00:03:24.849: %LINK-3-UPDOWN: Interface GigabitEthernet0/3, changed state to up 00:03:25.487: %LINK-3-UPDOWN: Interface GigabitEthernet0/4, changed state to up 00:03:25.856: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to up 00:03:26.493: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/4, changed state to up 00:03:54.495: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up C3560# C3560#sh int gi0/3 GigabitEthernet0/3 is up, line protocol is up (connected) Hardware is Gigabit Ethernet, address is 0023.04a3.5c9b (bia 0023.04a3.5c9b) MTU 1500 bytes, BW 1000000 Kbit, 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 force-up, media type is 1000BaseSX 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:01, 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 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 20 packets input, 5492 bytes, 0 no buffer Received 20 broadcasts (20 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 20 multicast, 0 pause input 0 input packets with dribble condition detected 86 packets output, 9716 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out C3560# C3560#sh int gi0/4 GigabitEthernet0/4 is up, line protocol is up (connected) Hardware is Gigabit Ethernet, address is 0023.04a3.5c9c (bia 0023.04a3.5c9c) MTU 1500 bytes, BW 1000000 Kbit, 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 force-up, media type is 1000BaseSX 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:04, 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 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 87 packets input, 9780 bytes, 0 no buffer Received 87 broadcasts (87 multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 watchdog, 87 multicast, 0 pause input 0 input packets with dribble condition detected 20 packets output, 5492 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out C3560# C3560#sh cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, D - Remote, C - CVTA, M - Two-port Mac Relay Device ID Local Intrfce Holdtme Capability Platform Port ID C3560 Gig 0/3 172 S I WS-C3560- Gig 0/4 C3560 Gig 0/4 171 S I WS-C3560- Gig 0/3 C3560#
No comments:
Post a Comment