02-17-2014 11:57 PM - edited 03-01-2019 07:31 AM
My N2K connected to N5K, why some ports can set the port speed, and some cann't set the port speed?
int eth102/1/25 !!!No speed command
(config-if)# ?
beacon Disable/enable the beacon for an interface
cdp Configure CDP interface parameters
channel-group Configure port channel parameters
description Enter description of maximum 80 characters
inherit Inherit a port-profile
ip Configure IP features
ipv6 Configure IPv6 features
lacp Configure LACP parameters
link Configure link
lldp Configure Interface LLDP parameters
logging Configure logging for interface
mvr-group MVR interface config
mvr-type MVR interface config
mvr-vlan Interface MVR Config
no Negate a command or set its defaults
rate-limit Set packet per second rate limit
service-policy Configure service policy for an interface
service-policy Policy Map
shutdown Enable/disable an interface
snmp Modify SNMP interface parameters
spanning-tree Spanning Tree Subsystem
switchport Configure switchport parameters
untagged Default to use for untagged packets on interface
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
(config-if)# int eth102/1/48 !!! include speed command
(config-if)# ?
bandwidth Set bandwidth informational parameter
beacon Disable/enable the beacon for an interface
cdp Configure CDP interface parameters
channel-group Configure port channel parameters
default Set a command to its defaults
delay Specify interface throughput delay
description Enter description of maximum 80 characters
duplex Enter the port duplex mode
fex Configure FEX fabric
flowcontrol Configure interface flowcontrol
hardware FEX Card type
inherit Inherit a port-profile
ip Configure IP features
ipv6 Configure IPv6 features
lacp Configure LACP parameters
link Configure link
lldp Configure Interface LLDP parameters
load-interval Specify interval for load calculation for an interface
logging Configure logging for interface
mac MAC
mac-address Configure interface mac address
mvr-group MVR interface config
mvr-type MVR interface config
mvr-vlan Interface MVR Config
negotiate Configure link negotiation parameters
no Negate a command or set its defaults
priority-flow-control Enable/Disable PFC
rate-limit Set packet per second rate limit
service-policy Configure service policy for an interface
service-policy Policy Map
shutdown Enable/disable an interface
snmp Modify SNMP interface parameters
spanning-tree Spanning Tree Subsystem
speed Enter the port speed
storm-control Configure Interface storm control
switchport Configure switchport parameters
untagged Default to use for untagged packets on interface
vpc Virtual Port Channel configuration
vtp Enable VTP on this interface
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
1,N5K version:
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html
Copyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.
Software
BIOS: version 3.6.0
loader: version N/A
kickstart: version 6.0(2)N1(2)
system: version 6.0(2)N1(2)
Power Sequencer Firmware:
Module 1: version v5.0
Microcontroller Firmware: version v1.0.0.2
SFP uC: Module 1: v1.1.0.0
QSFP uC: Module not detected
BIOS compile time: 05/09/2012
kickstart image file is: bootflash:///n5000-uk9-kickstart.6.0.2.N1.2.bin
kickstart compile time: 3/14/2013 1:00:00 [03/14/2013 16:53:55]
system image file is: bootflash:///n5000-uk9.6.0.2.N1.2.bin
system compile time: 3/14/2013 1:00:00 [03/14/2013 19:28:50]
Hardware
cisco Nexus 5596 Chassis ("O2 48X10GE/Modular Supervisor")
Intel(R) Xeon(R) CPU with 8262944 kB of memory.
2,N5K port
Eth102/1/1 -- connected 101 full 1000 --
Eth102/1/2 -- connected 101 full 1000 --
Eth102/1/3 -- connected 101 full 1000 --
Eth102/1/4 -- connected 101 full 1000 --
Eth102/1/5 -- connected 101 full 1000 --
Eth102/1/6 -- connected 101 full 1000 --
Eth102/1/7 -- connected 101 full 1000 --
Eth102/1/8 -- connected 101 full 1000 --
Eth102/1/9 -- connected 101 full 1000 --
Eth102/1/10 -- connected 101 full 1000 --
Eth102/1/11 -- connected 101 full 1000 --
Eth102/1/12 -- connected 101 full 1000 --
Eth102/1/13 -- connected 101 full 1000 --
Eth102/1/14 -- connected 101 full 1000 --
Eth102/1/15 -- connected 104 full 1000 --
Eth102/1/16 -- connected 104 full 1000 --
Eth102/1/17 -- connected 104 full 1000 --
Eth102/1/18 -- connected 104 full 1000 --
Eth102/1/19 -- connected 104 full 1000 --
Eth102/1/20 -- connected 104 full 1000 --
Eth102/1/21 -- connected 104 full 1000 --
Eth102/1/22 -- connected 104 full 1000 --
Eth102/1/23 -- connected 104 full 1000 --
Eth102/1/24 -- connected 104 full 1000 --
Eth102/1/25 -- notconnec 102 auto auto --
Eth102/1/26 -- notconnec 102 auto auto --
Eth102/1/27 -- connected 106 full 1000 --
Eth102/1/28 -- connected 106 full 1000 --
Eth102/1/29 -- connected 104 full 1000 --
Eth102/1/30 -- connected 104 full 1000 --
Eth102/1/31 -- connected 104 full 1000 --
Eth102/1/32 -- connected 104 full 1000 --
Eth102/1/33 -- connected 104 full 1000 --
Eth102/1/34 -- connected 104 full 1000 --
Eth102/1/35 -- connected 104 full 1000 --
Eth102/1/36 -- connected 104 full 1000 --
Eth102/1/37 -- connected 104 full 1000 --
Eth102/1/38 -- connected 104 full 1000 --
Eth102/1/39 -- notconnec 1 auto auto --
Eth102/1/40 -- notconnec 1 auto auto --
Eth102/1/41 -- notconnec 1 auto auto --
Eth102/1/42 -- notconnec 1 auto auto --
Eth102/1/43 -- notconnec 1 auto auto --
Eth102/1/44 -- notconnec 1 auto auto --
Eth102/1/45 -- notconnec 1 auto auto --
Eth102/1/46 -- notconnec 1 auto auto --
Eth102/1/47 -- notconnec 1 auto auto --
Eth102/1/48 ZTC-Switch-48 connected 105 full 100 --
3,Fex
show fex 102 det
FEX: 102 Description: AO4-N2K-FEX102 state: Online
FEX version: 6.0(2)N1(2) [Switch version: 6.0(2)N1(2)]
FEX Interim version: 6.0(2)N1(2)
Switch Interim version: 6.0(2)N1(2)
Extender Serial: FOX1742G09B
Extender Model: N2K-C2248TP-E-1GE, Part No: 73-13671-02
Card Id: 149, Mac Addr: 64:e9:50:16:08:02, Num Macs: 64
Module Sw Gen: 21 [Switch Sw Gen: 21]
post level: complete
Pinning-mode: static Max-links: 1
Fabric port for control traffic: Eth1/3
FCoE Admin: false
FCoE Oper: true
FCoE FEX AA Configured: false
Fabric interface state:
Po102 - Interface Up. State: Active
Eth1/1 - Interface Up. State: Active
Eth1/2 - Interface Up. State: Active
Eth1/3 - Interface Up. State: Active
Eth1/4 - Interface Up. State: Active
Fex Port State Fabric Port
Eth102/1/1 Up Po102
Eth102/1/2 Up Po102
Eth102/1/3 Up Po102
Eth102/1/4 Up Po102
Eth102/1/5 Up Po102
Eth102/1/6 Up Po102
Eth102/1/7 Up Po102
Eth102/1/8 Up Po102
Eth102/1/9 Up Po102
Eth102/1/10 Up Po102
Eth102/1/11 Up Po102
Eth102/1/12 Up Po102
Eth102/1/13 Up Po102
Eth102/1/14 Up Po102
Eth102/1/15 Up Po102
Eth102/1/16 Up Po102
......
02-18-2014 03:45 AM
Hi,
I don't see this behaviour on the Nexus 2248 I have here, though they are the non E model i.e., they're N2K-C2248TP-1GE and not the N2K-C2248TP-E-1GE that you have, so perhaps they behave differently anyway.
The obvious difference that I can see between the two ports you've highlighted i.e., Eth102/1/25 and Eth102/1/48 is that the status of port 25 is not connected, as opposed to port 48 which is up and operational. Is there any other difference? Can you paste a show run interface eth102/1/25 all and show run interface eth102/1/48 all so we can compare?
Do you see the same issue i.e., no speed option, for the other notconnected ports on this FEX? Do they then show the speed option as soon as the port is up and connected?
Regards
02-18-2014 10:54 PM
show run int eth102/1/25 all
!Command: show running-config interface Ethernet102/1/25 all
!Time: Tue Apr 14 14:33:38 2009
version 6.0(2)N1(2)
interface Ethernet102/1/25
no description
lacp port-priority 32768
lacp rate normal
priority-flow-control mode auto
lldp transmit
lldp receive
no switchport block unicast
no switchport block multicast
no hardware multicast hw-hash
no hardware vethernet mac filtering per-vlan
cdp enable
switchport
switchport mode access
no switchport dot1q ethertype
no switchport priority extend
switchport access vlan 102
spanning-tree port-priority 128
spanning-tree cost auto
spanning-tree link-type auto
spanning-tree port type edge
spanning-tree bpduguard enable
no spanning-tree bpdufilter
speed auto
duplex auto
flowcontrol receive off
flowcontrol send on
no link debounce
no beacon
delay 1
snmp trap link-status
logging event port link-status default
logging event port trunk-status default
mdix auto
storm-control broadcast level 100.00
storm-control multicast level 100.00
storm-control unicast level 100.00
no shutdown lan
load-interval counter 1 30
load-interval counter 2 300
no load-interval counter 3
medium broadcast
channel-group 2025 mode active
no shutdown
show run int eth102/1/48 all
!Command: show running-config interface Ethernet102/1/48 all
!Time: Tue Apr 14 14:35:08 2009
version 6.0(2)N1(2)
interface Ethernet102/1/48
description ZTC-Switch-48
lacp port-priority 32768
lacp rate normal
priority-flow-control mode auto
lldp transmit
lldp receive
no switchport block unicast
no switchport block multicast
no hardware multicast hw-hash
no hardware vethernet mac filtering per-vlan
cdp enable
switchport
switchport mode access
no switchport dot1q ethertype
no switchport priority extend
switchport access vlan 105
spanning-tree port-priority 128
spanning-tree cost auto
spanning-tree link-type auto
spanning-tree port type edge
spanning-tree bpduguard enable
no spanning-tree bpdufilter
speed auto
duplex auto
flowcontrol receive off
flowcontrol send on
no link debounce
no beacon
delay 1
snmp trap link-status
logging event port link-status default
logging event port trunk-status default
mdix auto
storm-control broadcast level 100.00
storm-control multicast level 100.00
storm-control unicast level 100.00
no shutdown lan
load-interval counter 1 30
load-interval counter 2 300
no load-interval counter 3
medium broadcast
no shutdown
Ports are connected, there is no relationship with the speed option, such as port 102/1/1 is connected, but no speed option, port 102/1/47 is notconnected, there speed options.
show int eth102/1/1
Ethernet102/1/1 is up
Belongs to Po2001
Hardware: 100/1000 Ethernet, address: 64e9.5016.0802 (bia 64e9.5016.0802)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is access
full-duplex, 1000 Mb/s
Beacon is turned off
Input flow-control is off, output flow-control is on
Switchport monitor is off
EtherType is 0x8100
Last link flapped 1d02h
int eth102/1/1
(config-if)# ?
beacon Disable/enable the beacon for an interface
cdp Configure CDP interface parameters
channel-group Configure port channel parameters
description Enter description of maximum 80 characters
inherit Inherit a port-profile
ip Configure IP features
ipv6 Configure IPv6 features
lacp Configure LACP parameters
link Configure link
lldp Configure Interface LLDP parameters
logging Configure logging for interface
mvr-group MVR interface config
mvr-type MVR interface config
mvr-vlan Interface MVR Config
no Negate a command or set its defaults
rate-limit Set packet per second rate limit
service-policy Configure service policy for an interface
service-policy Policy Map
shutdown Enable/disable an interface
snmp Modify SNMP interface parameters
spanning-tree Spanning Tree Subsystem
switchport Configure switchport parameters
untagged Default to use for untagged packets on interface
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
show int eth102/1/47
Ethernet102/1/47 is down (Link not connected)
Hardware: 100/1000 Ethernet, address: 64e9.5016.0830 (bia 64e9.5016.0830)
MTU 1500 bytes, BW 0 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is access
auto-duplex, auto-speed
Beacon is turned off
Input flow-control is off, output flow-control is on
Switchport monitor is off
EtherType is 0x8100
int eth102/1/47
(config-if)# ?
bandwidth Set bandwidth informational parameter
beacon Disable/enable the beacon for an interface
cdp Configure CDP interface parameters
channel-group Configure port channel parameters
default Set a command to its defaults
delay Specify interface throughput delay
description Enter description of maximum 80 characters
duplex Enter the port duplex mode
fex Configure FEX fabric
flowcontrol Configure interface flowcontrol
hardware FEX Card type
inherit Inherit a port-profile
ip Configure IP features
ipv6 Configure IPv6 features
lacp Configure LACP parameters
link Configure link
lldp Configure Interface LLDP parameters
load-interval Specify interval for load calculation for an interface
logging Configure logging for interface
mac MAC
mac-address Configure interface mac address
mvr-group MVR interface config
mvr-type MVR interface config
mvr-vlan Interface MVR Config
negotiate Configure link negotiation parameters
no Negate a command or set its defaults
priority-flow-control Enable/Disable PFC
rate-limit Set packet per second rate limit
service-policy Configure service policy for an interface
service-policy Policy Map
shutdown Enable/disable an interface
snmp Modify SNMP interface parameters
spanning-tree Spanning Tree Subsystem
speed Enter the port speed
storm-control Configure Interface storm control
switchport Configure switchport parameters
untagged Default to use for untagged packets on interface
vpc Virtual Port Channel configuration
vtp Enable VTP on this interface
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
02-18-2014 11:02 PM
Ok, I think I found the reason, if a physical port has been added to the port channel, duplex and speed option can only be configured in interfce port-channel mode.
Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide