Tuesday, February 14, 2012

Nexus and IOS commands

Second Post: Two cool commands I learned today. The show interface capabilities command I ended up having to use it becasue I could not apply switchport trunk encapsulation dot1q to a interface. Once I issued show interfaces capabilities module X I was able to tell why. It only supported 802.1Q trunking so there was no need to specify it. I was googling some stuff about UDLD and I came across show errdisable detect so I figured I would share it.

6509#show interfaces capabilities module 9
GigabitEthernet9/1
  Model:                 WS-X6748-SFP
  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-(1q8t), tx-(1p3q8t)
  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,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47 (1,3,5,7,9,11,13,15,17,19,21,23)
  Remote switch uplink:  no
  Dot1x:                 yes
  Port-Security:         yes

NX-OS# show interface capabilities
Ethernet1/1
  Model:                 N5K-C5020P-BF-SUP
  Type (SFP capable):    Fabric Extender Transceiver
  Speed:                 1000,10000
  Duplex:                full
  Trunk encap. type:     802.1Q
  Channel:               yes
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(off/on),tx-(off/on)
  Rate mode:             none
  QOS scheduling:        rx-(6q1t),tx-(1p6q0t)
  CoS rewrite:           no
  ToS rewrite:           no
  SPAN:                  yes
  UDLD:                  yes
  Link Debounce:         yes
  Link Debounce Time:    yes
  MDIX:                  no
  Pvlan Trunk capable:   yes
  TDR capable:           no
  Port mode:             Switched
  FEX Fabric:            yes
  POE capable:           no


6509#show errdisable detect
(NX-OS Does not have a similar CMD)
ErrDisable Reason    Detection status
-----------------    ----------------
udld                                    Enabled
bpduguard                               Enabled
security-violation                      Enabled
channel-misconfig                       Enabled
psecure-violation                       Enabled
mac-limit                               Enabled
unicast-flood                           Enabled
vmps                                    Enabled
loopback                                Enabled
pagp-flap                               Enabled
dtp-flap                                Enabled
link-flap                               Enabled
l2ptguard                               Enabled
gbic-invalid                            Enabled
dhcp-rate-limit                         Enabled
storm-control                           Enabled
inline-power                            Enabled
arp-inspection                          Enabled
packet-buffer                           Enabled
link-monitor-failure                    Enabled
oam-remote-failure critical-event       Enabled
oam-remote-failure dying-gasp           Enabled
oam-remote-failure link-fault           Enabled
dot1ad-incomp-etype                     Enabled
dot1ad-incomp-tunnel                    Enabled
mvrp                                    Enabled
CAREXTCR1A#

No comments:

Post a Comment