BRKDCT 3101 PDF
BRKDCT 3101 PDF
BRKDCT 3101 PDF
Architecture And
Troubleshooting
Shridhar V. Dhodapkar Technical Leader (Services)
CCIE 6367 (Routing & Switching)
BRKDCT-3101
Session Abstract
This session presents briefly the architecture of the latest generation
of Nexus 9000 Series Modular switches. Topics include supervisors,
fabrics, I/O modules, forwarding engines, and physical design elements, as
well as the Top of the Rack Nexus9300 Switches.
The session will also cover how to monitor the health of the system.
We will walk you through in depth troubleshooting Tools and Techniques.
Session Goal
This session will not examine NX-OS software architecture or other Nexus
platform architectures
Related Sessions
BRKARC-2222 - Cisco Nexus 9000 architecture
BRKARC-3471 - Cisco NX-OS Software Architecture
Agenda
Introduction
Architecture
Troubleshooting Toolkit
Introduction
Architecture
Supervisor
Fabric Module
Line Card
System Controller
Fan Tray
Power Supply
FM6
FM4
FM5
HG
MUX1
HG
MUX2
HG
MUX4
45
01
23
FM3
FM2
HG
MUX3
HG
MUX5
89
10
11
7
MN6Port
01
23
Northstar 1
ASIC Name
MF Port
0
2
7
5
-Donner
3
5
68
91
1
2
62
4
1Warpcor
0
2
e 9
T2
45
7
MN6 Port
HG
MUX6
89
10
11
Northstar 2
MF Port
0
2
HG
7
5
N9K-X9564PQ
91
1
2
62
4
T2
FM1
40G
QSFP
F
P
1
1
F
P
1
2
F
P
1
4
F
P
1
5
F
P
1
6
F
P
1
7
F
P
1
8
F
P
1
9
F
P
2
0
F
P
2
1
F
P
2
2
F
P
2
3
F
P
2
4
F
P
2
5
F
P
2
6
F
P
2
7
F
P
2
8
F
P
2
9
F
P
3
0
F
P
3
1
F
P
3
2
F
P
3
3
F
P
3
4
F
P
3
5
F
P
3
6
F
P
3
7
F
P
3
8
F
P
3
9
F
P
4
0
F
P
4
1
F
P
4
2
F
P
4
3
F
P
4
4
F
P
4
5
F
P
4
6
F
P
4
7
F
P
4
8
FP FP FP FP
49 50 51 52
32 x 40G
Hi-Gig2
Trident II
ASIC-NFE
32 x 40G
Hi-Gig2
An 8-Slot chassis fabric module can provide up to 320Gbps to each Line Card slot
With 6 fabric modules, each Line Card slot can have up to 1.92Tbps duplex
forwarding bandwidth
T2
Fabric 1
T2
320 Gbps
(8x 40Gbps)
Fabric 2
T2
T2
Fabric 3
T2
T2
Fabric 4
T2
T2
Fabric 5
T2
T2
Fabric 6
T2
T2
320 Gbps
(8x 40Gbps)
320 Gbps
(8x 40Gbps)
320 Gbps
(8x 40Gbps)
320 Gbps
(8x 40Gbps)
320 Gbps
(8x 40Gbps)
320 Gbps
640 Gbps
960 Gbps
Fabric 2
Fabric 3
Fabric 4
Fabric 5
Fabric 6
Nx NFE
Nx NFE
Nx NFE
Nx NFE
Nx NFE
Nx NFE
N = 1 for N9504
N = 2 for N9508
N = 4 for N9516
2 x 42 Gbps
2 x 42 Gbps
ALE
ALE
12 x 42 Gbps
12 x 42 Gbps
NFE
NFE
ALE
ALE
12 x 42 Gbps
12 x 42 Gbps
NFE
NFE
X9400 Series
ASIC Technology
Merchant only
N9K-X9636PQ
Merchant+
N9K-X9564PX
N9K-X9564TX
N9K-X9536PQ
Merchant only
N9K-X9432PQ
N9K-X9464PX
N9K-X9464TX
Number of ASIC
3 T2
2 T2 + 2 NS
2 T2 + 2 NS
2 T2 + 2 NS
2 T2 40 gig 32 Ports
1 T2 48 1/10 gig , 4
QSFP
Non Blocking
Non Blocking
36 MB
104 MB
12 MB with one T2
24 MB with two T2
Buffer Size
N9K-C9300 Series
Fixed Chassis
1 RU or 2RU or 3RU
Expansion Module
N93128TX
N9372TX
N9372TX
N9372PX
ALE ( NorthStar)/GEM
GEM-1 NS
GEM-1 NS
No GEM-1
Donner
No GEM -1
Donner
No GEM- 1
Donner
Oversubscribed
No
1.5:1
No
No
No
Line Rate
Yes
Yes
Yes
194-Bytes)
QoS Classes
Buffer (MB)
36 (12*3)
104 (12*2+40*2)
24 (12*2)
104 (12*2+40*2)
104 (12*2+40*2)
12
x 40G
(12+12)x12
Hi-Gig2
CPU
2C 1.5GHz
(12+12)x12
Trident II
ASIC
BRCM Trident2
12 x 40G
48 10G
Ethernet
PCIe
DDR3
DIMM2
16GB Total
NorthStar
Northstar ASIC 1
Ingress
Egress
x 12 40G
Network Interfaces
1000BaseT
Mgmt Port
2 USB
Ports
eUSB
Boot Flash
12C
Fabric Module
L3 LPM Lookup & Forwarding
Ingress Line Card
Classify traffic
based on 802.1q
COS, IP Pres,
DSCP &ACL
Remark if needed
L2/L3 Lookup in
MAC Table and IP
Host Table
EoQ
ALE-NS
Ingress
Accounting &
Policing
Traffic
Classification
& Remarking
I-ACL
L2/L3
Lookup &
forwarding
T2-NFE
Output Q
& Shaping
E-ACL
Packet
Modification
Parser
Network Interface
EoQ
ALE-NS
OOBFC
Signaling
Ingress
Accounting &
Policing
Traffic
Classification
& Remarking
I-ACL
L2/L3
Lookup &
forwarding
T2-NFE
OOBFC
Signaling
Output Q
& Shaping
E-ACL
Packet
Modification
Parser
Network Interface
Additional buffer is
available for
extended out put
Ques EoQ
Class-based output
queues. Support 6
classes including
control traffic class
(16 x 10G) x 3 =
480G FP Bandwidth
HiGiG2 Interface on T2
MACF ports on the GEM and to MACN ports
DCB Engine
Content aware Engine
L2
MAC
L2/L3
Processing
Dynamic Memory
Manager
Packet
Buffer
L2/L3
Multicast
L3
Route
Information
1280G
MAC(L2) Entries
L3 Hosts
IPv4:16K min-112Kmax
IPv6:8K min-56 max
L3 Multicast Group
8K
Virtual Ports
16K
104
Counters
Host IF
North Star
Features
Information
Forwarding
10 Mbytes
30 Mbytes
24
L2
L3 Host
LPM
288K
16K
16K
224K
56K
16K
160K
90K
16K
98K
122K
16K
32K
16K
128K
Broadcom T2
Mode
CLI Command
Broadcom T2 Mode
Cli Command
Non hierarchical
routing mod
Ingress ACL
Egress ACL
SVI
TCAM Shared
L3
TCAM Shared
TCAM Shared
ACL Characteristics
Specific applications (dhcp, bfd) may install their own ACLs which must merge
with user configured racl, vacl, pacl
IPV4 RACL
1536
IPv4 L3 QOS
256
Ingress System
256
SPAN
256
Ingress CoPP
256
Redirect
256
768
Egress System
256
Ingress
Ingress
TCAM Region-N9300
IPv4 PACL
512
512
IPV4 VACL
512
512
IPV4 RACL
512
512
256
256
256
256
Ingress System
256
256
256
SPAN
256
256
Ingress CoPP
256
256
Redirect
256
256
vPC Convergence
512
512
256
512
256
512
Egress System
256
256
3X512
256
256
512
Egress
3X256
256
Egress
TCAM Banks will first get assigned to Feature which has largest region.
Next TCAM Bank will get assigned to Feature which need double Width.
T2 has 12 Mbytes of
Buffer shared by all
ports for all Traffic
Control
Shared
Buffer
12 MB
Control
Default
Shared
Buffer
12 MB
OOBFC
Default
10 MB
Buffer
NorthStar
ASIC 1
20 MB
Buffer
10 MB
Buffer
12 x 40G
Hi-Gig2
Control
Trident II
ASIC
12 x 40G
Ethernet
Shared
Buffer
SPAN
Default
ALE-NS
10 MB
Buffer
NFE
T2
10 MB
Buffer
20 MB
Buffer
Network Interface
1/10GE
1/10GE
1/10GE
1/10GE
Minimum Release
Recommended Release
6.1(2)I2(2b)
6.1(2)I3(4a)
6.1(2)I2(2b)
6.1(2)I3(4a)
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/recommend
ed_releaseb_Minimum_and_Recommended_Cisco_NXOS_Releases_for_Cisco_Nex
us_9000_Series_Switches.html
Verified Scale limits for different features and protocol for each release
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6x/scalability/guide_34/b_Cisco_Nexus_9000_Series_NXOS_Verified_Scalability_Guide_61
2I34/b_Cisco_Nexus_9000_Series_NXOS_Verified_Scalability_Guide_612I34_chapter_01.
html
CPU
D
R
A
M
D
R
A
M
12
1Sec
-----45.50%
0.50%
2.00%
0.50%
0.50%
Process
----------adjmgr
ipqosmgr
diag_port_lb
netstack
ospf
20
0S
0 0.0
0:00.00 kthreadd
3 root
20
0S
0 0.0
0:00.58 ksoftirqd/0
10
Make Sure Drops/Errors not incrementing
0
Rate statistics
Rx packet rate (current/peak) 717 / 80695 pps
Tx packet rate (current/peak) 360 / 1338 pps
drop 0, congested 0
drop 0, congested 0
Total 48 Queues
Release is 500msecs
INSTANCE: 0
---------------------------------------------------------Output Shared Service Pool Buffer Utilization (in cells)
SP-0
SP-1
SP-2
SP-3
----------------------------------------------------------Total Instant Usage
4474
89
2939
Remaining Instant
Usage
25466
14255
3405
4821
327
3060
29940
14344
6344
SP-1
SP-2
SP-3
4474
89
2939
25466
14255
3405
-------------------------------------------------------------------------
ASIC Port
[13]
Q3
Q2
Q1
Q0
UC(OOBFC)->0
CPU
SPAN
UC->
1249
332
MC->
3247
1996
CoPP Drops
N9K# show policy-map interface control-plane mod 1 | in dropped
dropped 0 packets;
dropped 0 packets;
dropped 0 packets;
dropped 0 packets;
dropped 7800 packets;
We recommend that you use the strict default CoPP policy initially and then later modify the CoPP
policies based on the data center and application requirements.
Parameters
Default
Default policy
Strict
Default Policy
9 policy entries
Config
Allowed
Dropped
Total
+----------+-----+------------+------------+-------------+
L3 glean
100
L3 mcast loc-grp
3000
access-list-log
100
bfd
10000
1352890
fex
3000
span
50
1352890
: System Manager
Device Errorcode
: 0x0000023a
ErrNum (devInfo)
: 58 (0x3a)
System Errorcode
Error Type
Align-Err
FCS-Err
Xmit-Err
Rcv-Err
UnderSize OutDiscards
-------------------------------------------------------------------------Eth4/1
100
581
Name
Status
Reason
--------------------------------------------------------------------------
Eth4/1
err-disable
link-flap
Shape
Min
Max
Qlimit
Units
-
6(D)
-------------------------SNIP--------------------------
100
6(D)
---------------------------------------------------QOS GROUP 0
Unicast
Dropped Pkts |
0|
| OOBFC Unicast
0|
Multicast
0|
-----------------------------------------------------------QOS GROUP 7
Unicast
Dropped Pkts |
0|
| OOBFC Unicast
0|
Multicast
0|
T2 #1
HG00
HG00
Fabric Module
T2 #0
T2 #1
T2 #2
Line Card
ASIC
ASIC
BCM
Port
Inst
Port
TxBitRate(BwUtil) TxPktRate
(bps)
(pps)
RxBitRate(BwUtil) RxPktRate
(bps)
(pps)
----------------------------------------------------------------------------------------ii1/1/1
HG0
170512 (0.00)
0(0.00)
-------------------------------------------Snip-----------------------------------------ii1/1/14
HG1
ii1/1/25
HG0
0( 0.00)
1790648
(0.00)
1129882872(2.51)
960753
1043
22864(0.00)
20
CLI
Physical Interface
Port-Channel
Membership
Mac Address Table
Vlan Membership
L3 interface-LIF
programming
For RIB and FIB
show consistency-checker l2
vlan 18
['Ethernet3/49', 'Ethernet2/49']
18
will be skipped
MAC Address
Type
age
Secure NTFY
Ports
MAC Address
Type
age
Secure NTFY
Ports
---------+-----------------+--------+---------+------+----+------------------
forwarding
forwarding
ipv4 unicast
No inconsistent routes.
Consistency-Checker: PASS for 1
module 1
2) PrimaryBootROM--------------->
3) SecondaryBootROM------------->
4) OBFL------------------------->
6) BootFlash-------------------->
7) AsicMemory------------------->
8) FpgaRegTest---------------- ->
9) PortLoopback:--------------- >
Port
RewriteEngineLoopback
9 10 11 12 13 14 15 16
----------------------------------------------------U
Sev1/2 Syslog
show logging logfile | incl -1-|-22015 Feb 25 10:30:17 N9508a-SJ %PLATFORM-2-MOD_PWRUP: Module 26 powered up
(Serial number SAL1738D37W)
2015 Feb 25 10:32:37 N9508a-SJ %XBAR-2-XBAR_HGLINK_NOT_UP: fabric link 1 on
module 2 unit 0 connected to fabric module 26 unit:0 is not up during module
bring up
2015 Feb 25 10:32:39 N9508a-SJ %MODULE-2-MOD_FAIL: Initialization of module 26
(Serial number: SAL1738D37W) failed
2015 Feb 25 10:32:39 N9508a-SJ %PLATFORM-2-MOD_PWRDN: Module 26 powered down
(Serial number SAL1738D37W)
Troubleshooting Toolkit
Troubleshooting Toolkit
Ethanalyzer
TCP Dump
ELAM
Packet Tracer
Flex Counter
ERSPAN
Consistency Checkers
Ethanalyzer-When To Use it
To Analyze the traffic sent and received by CPU
It uses wiresharks code (an open source software)
Netstack
Pseudo Inband
SUP
NIC-ETH2
Flap.
Note: Ethanalyzer does not allow capturing of hardware switched traffic between data
ports of the switch
Ethanalyzer-CLI
N9K# ethanalyzer local interface inband capture-filter "pim
detail
Capturing on inband
Frame 1 (60 bytes on wire, 60 bytes captured)
Arrival Time: Mar 24, 2015 10:01:10.018889000
-------Snip-----------------[Protocols in frame: eth:ip:pim]
N9K#ethanalyzer local interface inband display-filter "ospf detail
Capturing on inband
Frame 1 (82 bytes on wire, 82 bytes captured)
Arrival Time: Mar 24, 2015 10:04:11.425523000
-------------------Snip-------------------[Frame is marked: False]
[Protocols in frame: eth:ip:ospf]
:Autostop
decode-internal
header decoding
:Internal
limit-captured-frames :Maximum
number of
TCP Dump
Tcpdump command works on most flavors of Linux operating system
Helps to prints out a description of the contents of packets on a network interface
Tcpdump will, if not run with the -c flag, continue capturing packets until it is
interrupted by a SIGINT signal CTRL-C
Tcpdump output can be saved to file for further reference
More info at http://www.tcpdump.org/
Tcpdump -syntax
N9K# show feature | in bash
State
enabled
Syntax: tcpdump -h
sudo su
Password:******
bash-4.2# whoami
root
[ expression ]
bash-4.2#
0x0000:
...............
-------------------------------------more---------------------------------
tshark
bash-4.2$ tshark -i ps-inb
Capturing on inband
0.000000 00:0e:ee:01:1b:01 -> 00:00:00:ff:ff:01 0x8833 Ethernet II
12.328377 00:0e:ee:01:1b:01 -> 00:00:00:ff:ff:01 0x8833 Ethernet II
^C2 packets captured
bash-4.2$
ELAM Configuration
Init Initialize the ELAM select the Asic instance, pipeline and
select lines
module-1# debug platform internal ns elam asic
module-1(NS-elam)# trigger init ingress in-select 3 out-select 5
2. Config
3. Arm
Trigger
1. Init
4. Read
5. Reset
Egress
Ingress
NorthStar
ASIC 1
12 x 40G
Hi-Gig2
Trident II
ASIC
12 x 40G
Ethernet
Network Interfaces
IP.Add=13.13.13.10
Fabric 3
Fabric 1
Egress
N
FE
N
FE
Ingress
Line Card
North Star ASIC
12 x 40G
Hi-Gig2
12 x 40G
Ethernet
Trident II
ASIC
Network Interfaces
13.13.13.1/30
Eth6/52
Eth5/1
N9K-X9564TX
13.13.13.10/30
4 40Gig Port On NS
40 1/10 Gig On T2
start
module-6(NS-elam-insel3)#
status
module-6(NS-elam-insel3)#
report
If Packet Captured
Status: Triggered
Information
is in Hex
Convert to
Dec.
GBL_C++:
GBL_C++:
Packet Tracer-T2
FM Mod
Helps to Trace the packet inside Switch.
Only packets in the direction of the flow are traced
Trident II
ASIC
Two Acls are installed for each filter on each Line card
One ACL for Front Panel Port Group
Second ACL for traffic exiting Fabric Module and ingressing Line
card
Network Interfaces
Configure Filter
Start Tracer
rt
Stop Tracer
Check Counter
Filter
Clear/Remove-all
13.13.13.1/30
Eth6/52
13.13.13.10/30
13.13.13.10/30
Nexus9508 with N9K-X9564TX
mod 6 non-zero
Packet-tracer stats
Eth6/1
Module 6:
Filter1 installed: src-ip 13.13.13.1 dst-ip
13.13.13.10 detail-fp
Eth6/52
13.13.13.1/30
13.13.13.10/30
ASIC instance 0:
Entry 1: id = 7426, count = 5, active, fp, port 13
Ifindex
Smod
Unit
Eth6/1
1a280000
16
Hport
13
FPort
Nport
255
VPort
-1
mod 6 non-zero
Module 6:
Filter 1 installed:
ASIC instance 0:
Entry 0: id = 7425, count = 68, stopped, fp,
ASIC instance 1:
Eth8/1
Eth6/52
13.13.13.1/30
13.13.13.10/30
13.13.13.10/30
Nexus9508 with N9K-X9564TX
Eth6/1
Eth6/52
13.13.13.1/30
13.13.13.10/30
13.13.13.10/30
Sample Configuration
N9K# test hardware internal adjacency statistics nexthop ipv4 13.13.13.6
interface ethernet 6/52 show
13.13.13.10/30
Module:21 Unit:0
-----------------Adjacency counters for nhip 13.13.13.6 if Ethernet6/52:
Nexus9508 with N9K-X9564TX
Ucast: Packets 738 Bytes 90036
Mcast: Packets 0 Bytes 0
Eth6/1
Module:22 Unit:1
13.13.13.1/30
-----------------Adjacency counters for nhip 13.13.13.6 if Ethernet6/52:
Ucast: Packets 946 Bytes 115412
Mcast: Packets 0 Bytes 0
Eth6/52
13.13.13.10/30
+-----------------------------------------------------------------+
|
Unicast
| OOBFC Unicast
Multicast |
+------------------------------------------------------------------+
|
Tx Pkts |
0|
0|
0|
Tx Byts |
0|
0|
0|
Dropped Pkts |
0|
0|
0|
Dropped Byts |
0|
0|
0|
Q Depth Byts |
0|
0|
0|
SPAN Configuration
N9K(config)# monitor
N9K(config-monitor)#
N9K(config-monitor)#
N9K(config-monitor)#
N9K(config-monitor)#
N9K(config-monitor)#
Sup-eth
session 1
source interface sup-eth 0 both
source interface ethernet 6/1
e6/1
destination interface ethernet 6/2
Local SPAN
No Shut
N9K(config)#int et 6/2
show monitor
Session State
Reason
--- ---------------1
up The session is up
Local
e6/2
Description
-------------------Local SPAN Session
ERSPAN Configuration
Only Supports Source ERSPAN
N9K(config)# monitor erspan origin ip-address 13.13.13.2
global
Type-3 Header 32-bit Timestamp
N9K(config)# monitor session 1 type erspan-source
Supports on Nexus9300 only
N9K(config-erspan-src)# header-type 3
Layer 3
N9K(config-erspan-src)# source interface ethernet 6/1
N9K(config-erspan-src)# erspan-id 1
L3
N9K(config-erspan-src)# ip ttl 16
N9K(config-erspan-src)# vrf default
e6/2
e6/1
N9K(config-erspan-src)# destination ip 9.1.1.2
ERSPAN
N9K(config-erspan-src)# marker-packet-2
Marker packet carry original UTC time
N9K(config-erspan-src)# no shut
stamp to over come 32-bit wrapper
issue
Consistency Checkers-Summary
Show consistency-checker
Show consistency-checker
Show consistency-checker
Show consistency-checker
Show consistency-checker
Show consistency-checker
Show consistency-checker
Show consistency-checker
stp-state vlan
link-state
membership vlan
membership port-channels
membership port-channels
l2
l3
forwarding ipv4 unicast
Nexus 9000
Troubleshooting
Understanding T2 interfaces-Xe0/hg
N9K# bcm-shell mod 1 "show unit"
Unit 0 chip BCM56852_A2 (current)
Unit 1 chip BCM56852_A2
hg0
STP
state
hg11
hg0
lrn
inter max
T2
pause discrd Instance
ops
face frame
0
hg11
loop
T2
back
Instance 1
hg0 up
42G FD HW No
Forward
None
FAF F FXGMII
16360
F F F F F F F
F F F F FQSPF
F F F F
F F F F FQSPF
hg2 up
42G FD HW No
Forward
None
16360
P P P P P P P
P P P P PPorts
PPorts
P P PXGMII
P P P P
P P P P FA
13 14 15 16 17 18 19 20 21 22 23 24
01 02 03 04 05 06 07 08 09 10 11 12
--------------------------------Snip---------------------------------Hg11 up
42G FD HW No
Forward
None FA XGMII 16360
Xe0
Xe11
Xe0
Xe11
Xe0 !ena
40G FD HW No
Disable
None
FA XGMII
1582
Eth1/13
Eth1/24
Eth1/1
xe1 up
40G FD HW No
Disable
None
FA Eth1/12
XGMII 1582
--------------------------------Snip---------------------------------Xe11 !ena
40G FD HW No
Disable
None FA XGMII 1582
Hg=Internal Ports
Xe=Front Panel Port
Ethernet4/18 is up
admin state is up, Dedicated Interface Belongs to Po10
Hardware: 10000/40000 Ethernet, address: 7c69.f66e.d860 (bia 7c69.f66e.d860)
speed/
port
link
duplex
xe17
up
40G
FD
link
auto
scan
neg?
HW
No
STP
state
Disable
lrn inter
pause
discrd
ops
None
FA
max
face frame
SR4
9298
loop
back
Send
FlowControl
admin
Receive
oper
FlowControl
admin
RxPause
TxPause
oper
-----------------------------------------------------------------------------
Eth1/1
0
off
off
off
off
port
xe0
Wrong programming
ena/
speed/
link
auto
link
duplex
scan
neg? state
up
10G
FD
HW
No
TP
pause
Disable
discrd
TX RX
None
lrn
inter
ops
face
FA
SFI
max
loop
frame back
9298
T2
T2
T2
T2
T2
T2
N9K-C9508-FM-4
N9K-C9508-FM-8
N9K-C9516-FM-16
FM1
FM6
FM-2
HGPorts
HGPorts
LC1
LC2
Multiple Higig links failures on LC to one of the FM - Bring down the LC module
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
40 Gig Link
T2
T2
N9K-X9536PQ
N9K-C9516-FM
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
40 Gig Link
T2
T2
N9K-X9536PQ
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T
2
T2
T2
N9K-X9536PQ
T
2
T
2
T
2
T
2
FM26
HG
MUX1
FM24
HG
MUX2
HG
MUX4
012
3
456
MN7Port
75
35
6-8
911
2-
31-
2624
0
29
Warpcore
T2
012
3
02
456
MN7Port
HG
MUX6
MF Port
911
75
2624
T2
Fabric Modules
Line Card
8 9 10
11
Northstar 2
MF Port
FM21
HG
MUX3
HG
MUX5
8 9 10
11
Northstar 1
02
FM22
FM23
LC-Slot LC-Unit
5
5
LC-HGLink
MUX
FM-Slot
FM-Unit FM-HGLink
HG02
1B
25
HG12
HG03
1B
25
HG12
MUX
HG02
1A
26
HG14
HG03
1A
26
HG14
FM-25
T2-0 T2-1
FM-26
T2-0 T2-1
HG012
HG012
B
HG02
HG014
HG03
MUX
LC
T2-0 T2-1
HG014
LC-HGLink
MUX
FM-Slot
FM-Unit FM-HGLink
HG02
1B
25
HG12
HG03
1B
25
HG12
FM-26
T2-0 T2-1
FM-25
T2-0 T2-1
HG012
HG012
HG014
HG014
HG03
HG02
MUX
LC
T2-0 T2-1
MUX
HG012
HG012
HG02
1A
26
HG14
HG03
1A
26
HG14
FM-26
T2-0 T2-1
FM-25
T2-0 T2-1
B
HG02
HG014
A
HG03
MUX
LC
T2-0 T2-1
HG014
HG00
21
HG00
HG01
21
HG00
T2
#1
T2
#0
HG00
HG00
21
HG00
HG00
21
HG00
HG01
MUX
T2
#0
T2
#1
T2
#2
QOS Tx
Drops
0
0
speed/
link
up
link
duplex
scan
auto
neg?
42 FD
HW
No
STP
state
pause discrd
Forward None
lrn
ops
FA
XGMII 16360
Netstack
System Controller-SC1
Mod29
Fabric Module
Mod23
Fabric Module
Fabric Module
Mod21
NIC-Eth3
NIC-Eth2
Mod26
Eth6/1
Line Card
OSPF Hello
Line Card
North Star ASIC
Trident II
ASIC
Network Interfaces
N9K#show hardware internal interface ethernet 6/1 asic counters
Important Counters/Drops
--------------- --------- --------- --------- --------- --------- --------Interface Name
Forward
Forward Error Pkt Error Pkt
QOS Rx
QOS Tx
RxDrops
TxDrops
RxDrops
TxDrops
Drops
Drops
--------------- --------- --------- --------- --------- --------- --------Ethernet6/1
870
0
100
0
0
0
--------------- --------- --------- --------- --------- --------- --------Forward Rx Drops = [ RDBGC0 RDBGC4 RDBGC6 RDBGC7 RDBGC8 ]
Forward Tx Drops = [ TDBGC1 TDBGC3 TDBGC5 (excludes expected Multicast drops)]
ErrorPkt Rx Drops= [ IUNHGI IUNKOPC RFCS RALN RFLR RERPKT RJBR RSCHCRC RUND RMTUE]
ErrorPkt Tx Drops= [ TJBR TFCS TRPKT RMTUE TUFL TPCE ]
QOS Rx Drops
= [ RDISC DROP_PKT_ING DROP_PKT_IMTR DROP_PKT_YEL DROP_PKT_RED ]
QOS Tx Drops
= [ MCQ_DROP_PKT(0) MCQ_DROP_PKT(1) MCQ_DROP_PKT(2)
RDBGC0
Use slot <#> show hardware internal interface indiscard-stats instance <#>
N9K#bcm-shell mod 6 "listreg RALN"| grep Description
Description: Receive Alignment Error Frame Counter
SP-1
SP-2
SP-3
Q3
Q2
Q1
Q0
CPU
SPAN
[13]
UC(OOBFC)->
UC->
1249
332
MC->
3247
1996
Network Interfaces
LC-Slot
6
LC-Unit
LC-HGLink
HG10
MUX
FM-Slot
3B
FM-Unit
21
FM-HGLink
HG15
N9K# sh hardware internal fabric interface asic counters module 6 instance 0 asic-port 11
Important Counters/Drops
FabricInterface
0 / 11 / HG10
Forward
Forward
Error Pkt
Error Pkt
QOS Rx
QOS Tx
RxDrops
TxDrops
RxDrops
TxDrops
Drops
Drops
RxDrops
0 / 11 / HG15
TxDrops RxDrops
0
TxDrops
0
Drops
0
asic-port 16
Drops
0
System Controller
MVDXN-SW
Port
3
Descr
SC1EPCswitch Yes
UP
Speed
Mode
No
MVDXN-SW
FABRIC CARD
InByte
OutByte
109548011
117051401
InPkts
OutPkts
274144
587285
Port
7
Descr
FM1EPCswitch
UP
No
Speed
2
Mode
6
InByte
OutByte
InPkts OutPkts
746159513
60543666
620863
269592
Drops/Errors On Supervisor
N9K#show hardware internal cpu-mac inband counters
inb|dro
eth2
Link encap:Ethernet
in eth|ps-
HWaddr 00:00:00:01:1b:01
Link encap:Ethernet
HWaddr 00:00:00:01:1b:01
Link encap:Ethernet
Netstack
HWaddr 00:00:00:01:1b:01
Pseudo Inband
NIC-Eth2
NIC-Eth3
Supervisor Card
Drops/Errors On Supervisor-Cont.
N9K#show hardware internal cpu-mac inband stats | in
Queue Idx
Packet Count
Bytes
Drops
errors|rate|Queue
Csum Errors
Allocation Failure
Queue 0
65429
580195964
Queue 7
65429
580195964
age - seconds since last seen,+ - primary entry using vPC Peer-Link,
True, (F) - False
VLAN
*
100
Eth6/1
MAC Address
Type
547f.ee1c.06fc
age
dynamic
Mac=547f:ee1c.06fc
interface Ethernet6/1
(T) -
Eth6/1
switchport
switchport access vlan 100
| in Hit
no shutdown
Vlan
VLAN0100
Role Sts
Desg FWD
Cost
128.1537
Prio.Nbr
Type
P2p
VLAN.ipipe0[100]: <VP_GROUP_BITMAP=0x00000STG=0X67
FID_ID=0x64
FID_ID=Vlan ID.
Block: xe1-xe47
Forward: xe0,hg
no shutdown
switchport
switchport access vlan 100
interface Ethernet6/1
Eth6/1
Mac=547f:ee1c.06fc
Unicast L3 Forwarding
T2 has combination of dedicated TCAM table space and shared hash table
memory known as Unified Forwarding Table (UFT)
The UFT is partitioned into three forwarding tables
MAC Address Table
IP Host Table
Longest Prefix Match-LPM Table
To maximize the system-wide forwarding scalability UFT tables on line
cards and fabric modules for different forwarding lookup functions
Feature
Scale
L3 LPM
Table
128K
FM
Feature
Scale
120K
LC
L3 Host Table
And L2/L3
Multicast
L2 Mac Table
96K
OSPF
AM
ARP
uRIB
uFDM
Supervisor
Hardware-T2
FIB Manager
Forwarding Hardware
ARP/MAC
Check the ARP Table
Checking Route on
RIB And FIB.
Check Forwarding Route
HW Programming
On LC/FM
Use BCM commands
13.13.13.0/30
.1
.2
13.13.13.8/30
.9
.18
.17
13.13.13.16/30
Nexus3064Q-ESC#
N9K#
.10
N9508c-SJ#
1
2
13.13.13.2 (13.13.13.2)
* * *
1.124 ms
0.911 ms
0.752 ms
N9508d-SJ#
ToCpu
no
Drop
no
N9K1#show system internal ethpm info interface ethernet 6/33 | grep -i STATIC
IF_STATIC_INFO: port_name=Ethernet6/33,if_index:0x1a284000,ltl=40875,slot=5,
nxos_port=32,dmod=16,dpid=45,
ToCpu
no
Drop
no
N9K1#show system internal ethpm info interface port-channel 200 |grep I STATIC
IF_STATIC_INFO: port_name=port-channel200,if_index:0x160000c7,ltl=2597,slot=0,
nxos_port=02,dmod=0,dpid=3,
| Next-hop
13.13.13.8/30
Interface
13.13.13.6
| Labels
Ethernet6/52
196620 1 13.13.13.8/30
INTF
00:00:00:00:00:00 100008
Mac
88:f0:31:bf:ad:17
Vlan
INTF
4095
4520
17
-1
no
no
IF_STATIC_INFO:
port_name=Ethernet6/52,if_index0x1a286600,ltl=40856,slot=5,nxos_port=51,
dmod=17,dpid=10,unit=1,
Multi-Path
Mac Address
INTF
17
00:00:00:00:00:00
200256
10.164.112.22
MOD PORT
0
CLASS HIT
0
n (ECMP)
Follow same steps demonstrated for /32 Host entry to learn about Interface in multipath show cli
Consistency Checker
show consistency-checker
Virtual Port-Channel-vPC
N9k2
Keep Alive
PC1-PeerLink
SVI10
SVI-Mac 78da.6e71.9a3f
Standby 10.10.10.3
SVI10
MCT-1/1, 4/1
Eth6/20
Eth4/18
10.10.10.1/24
10.10.10.2/24
Eth6/20
Eth4/18
HSRP-Mac 0000.0c07.ac0a
Standby 10.10.10.3
HSRP-Mac 0000.0c07.ac0a
SVI20
vPC10
SVI-mac 78da.6e71.9a3f
vPC20
SVI20
SVI-mac 003a.99fc.dd7f
10.10.20.1/24
Standby 10.10.20.3
SVI-mac 003a.99fc.dd7f
Switch-A
Switch-B
10.10.20.2/24
Standby 10.10.20.3
HSRP-Mac 0000.0c07.ac14
HOST-A
Vlan-10
10.10.10.x/24
HOST-B
20.20.20.x/24
Grp Prio P
10
100
Standby addr
local
Group addr
10.10.10.3
Interface
Vlan10
Standby addr
local
Group addr
10.10.10.3
N9k1
N9k2
Keep Alive
PC1-PeerLink
MCT-1/1, 4/1
Eth6/20
Eth4/18
Eth4/18
Eth6/20
vPC10
Switch-A
vPC20
Switch-B
in Po
Member Ports
Eth1/1(P)Eth4/1(P)
Eth4/18(P)
Eth6/20(P)
N9k1
N9k2
Keep Alive
PC1-PeerLink
MCT-1/1, 4/1
Eth6/20
Eth4/18
Eth4/18
Eth6/20
vPC10
Switch-A
vPC20
Switch-B
N9k1
PC1-PeerLink
MCT-1/1, 4/1
512
Type
30f7.0d9b.d401 dynamic
vPC Peer-Link
N9k2
Keep Alive
Eth6/20
Eth4/18
Link Down
Eth4/18
Eth6/20
vPC10
Switch-A
vPC20
Switch-B
N9k1
PC1-PeerLink
MCT-1/1, 4/1
Eth6/20
N9k2
Keep Alive
Eth4/18
Eth4/18
Ln Down
Eth6/20
vPC10
vPC20
DstTrunk
Switch-A
action={act=RedirectTrunk, param0=1(0x1)
Switch-B
Nexus9000 Specific
Limitation and Goodies
extreme care
The modular unit Fabric Modules (FM) and Line Cards (LC) each contain multiple
instances of the T2 ASIC, as well as the TOR (top of rack) units
Role based access control (RBAC) can be used to limit user access
hg0
T2
Instance
Xe0
Eth1/1
FA
XGMII
hg11
T2
Instance 1
F F F F F F F
F F F F FQSPF
P P P P P P P
P P P P PPorts
01 02 03 04 05 06 07 08 09 10 11 12
hg0
hg11
Xe11
Eth1/12
F F F F F F F
F F F F FQSPF
P P P P P P P
P P P P PPorts
13 14 15 16 17 18 19 20 21 22 23 24
Xe0
Eth1/13
1582
| last 2
Xe11
Eth1/24
Python !!!!
Python-Continued
The main differences comes from the environment that they get initialized into
That sandbox mostly applies to lower privileged users, they may be prevented from doing certain things
in python
Python-Example
N9K# python
Python 2.7.5 (default, Oct
8 2013, 23:59:43)
Interpreter (Bash 1)
8 2013, 23:59:43)
Why Patching?
Many customers spend extensive time and effort to test and qualify software prior to deployment. In todays
environments, if a defect is found, effectively root-caused, and integrated, since it is rolled out through a
maintenance release, customers would need to restart their qualification cycle, wasting time, and pushing out
deployment dates
Bug Found, Diagnose, Root
Cause
Maint. Released
Restart Qual Cycle
Actual Deployment
Target Deployment
6 Months
10 Months
Continue Qual
With additional tests
6 Months
7 Months
Actual Deployment
Target Deployment
Patching Overview
NXOS platforms release major versions when introducing new features and engineering
special builds to provide bug fixes.
The new goal will be to allow customers to deploy patches for specific fixes only without
affecting the data plane of the device.
The patching architecture comes from IOS XR (SMU Software Maintenance Upgrade)
used to deliver Quick, Effective and Focused patches for specific sections of code.
Softlinks are changed from active SMU to one in backup folder (if present).
(Optional) install remove deletes the patch from the local repository
Syntax
Function
Notes
Install add
Install remove
Install activate
Install deactivate
Install commit
install commit
Function
Sample
Active Packages:
n9000-dk.6.1.1.CSCui56298.bin
Function
Sample
Important Limitations
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6x/scalability/guide_34/b_Cisco_Nexus_9000_Series_NX-OS_Verified_Scalability_Guide_612I34.html
Only one software image (called nx-os) is required to load the Cisco NX-OS operating system.
User Configured MAC address for SVI- Packets will not be flooded if Layer 2 Adjacency is missing
Diagnostic-The Port Loop back and Boot up Port Loop back tests are not supported
ASIC Memory-NS test is applicable only for the N9K-X9564PX and N9K-X9564TX line cards.
Priority flow control (PFC) is supported on Cisco Nexus 9500 Series switches with the N9KX9636PQ line card.
FEX is supported only on the Cisco Nexus 9372PX and 9396PX switches.
Cisco Nexus 9500 Series Switch can run in 8-queue mode only if all of its line cards are capable of
running 8-queue mode.
Promote your favorite speaker through Twitter and you could win $200 of Cisco
Press products (@CiscoPress)
You can submit an entry for more than one of your favorite speakers
Table Topics
Related sessions
Thank you
Backup Slides
Fabric Module
Fabric Module for Nexus 9504
NFE
NFE
Chassis Type
NFEs per Fabric Module
NFE
NFE
NFE
NFE
Fabric 2
Fabric 1
N
F
E
N
F
E
N
F
E
N
F
E
Fabric 3
N
F
E
Fabric 4
N
F
E
N
F
E
N
F
E
Fabric 5
N
F
E
Fabric 6
N
F
E
N
F
E
N
F
E
ALE 1
12 x 42
Gbps
1 x 42
Gbps
1 x 42
Gbps
NFE 1
18x 40
Gbps
Ethern
et
NFE
NFE
Network
Interfaces
NFE
18x 40Gbps
12 x 40 Gbps
12 x 40 Gbps
12 x 40 Gbps
Connect to Hosts or
Network
N9K-X9636PQ
FM1
FM2
HG Ports
FM3
FM4
HG Ports
FM5
FM6
HG Ports
T2
T2
T2
Instance 0
Instance 1
Instance 2
QSPF Ports
QSPF Ports
QSPF Ports
FP FP FP FP FP FP FP FP FP FP FP FP
01 02 03 04 05 06 07 08 09 10 11 12
FP FP FP FP FP FP FP FP FP FP FP FP
13 14 15 16 17 18 19 20 21 22 23 24
FP FP FP FP FP FP FP FP FP FP FP FP
25 26 27 28 29 30 31 32 33 34 35 36
N9K-X9464PX
FM2
FM3
FM4
MUX1-2
FM6
MUX3-4
HG Ports
T2
HG Ports
40G QSFP
FP FP FP FP
49 50 51 52
N9K-X9464TX
FM2
FM3
FM4
MUX1-2
FM6
MUX3-4
HG Ports
HG Ports
T2
100/1000/10000 T Ports
10G
PHY
10G
PHY
10G
PHY
10G
PHY
10G
PHY
10G
PHY
10G
PHY
10G
PHY
40G QSFP
10G
PHY
10G
PHY
10G
PHY
10G
PHY
FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
FP FP FP FP
49 50 51 52
N9K-X9432PQ
FM2
FM3
FM4
FM6
HG Ports
FP
01
FP
02
FP
03
FP
04
FP
05
FP
06
HG Ports
T2
T2
Instance 0
Instance 2
QSPF Ports
QSPF Ports
FP
07
FP
08
FP
09
FP
10
FP
11
FP
12
FP
13
FP
14
FP
15
FP
16
FP
17
FP
18
FP
19
FP
20
FP
21
FP
22
FP
23
FP
24
FP
25
FP
26
FP
27
FP
28
FP
29
FP
30
FP
31
FP
32
N9K-X9564PQ
FM6
FM4
FM5
HG MUX1
HG MUX2
HG MUX4
4567
0123
8 9 10 11
FM3
FM2
HG MUX3
HG MUX5
0123
7-5
4567
HG MUX6
8 9 10 11
MN Port
MN Port
Northstar 1
Northstar 2
MF Port
0-2
FM1
MF Port
3-5
6-8
9-11
0-2
9-11
2-0
31-29
26-24
7-5
26-24
Warpcore
T2
T2
40G QSFP
FP FP FP FP
49 50 51 52
N9K-X9564TX
FM6
FM4
FM5
HG MUX1
HG MUX2
HG MUX4
4567
0123
FM3
FM2
HG MUX3
HG MUX5
8 9 10 11
4567
0123
MN Port
Northstar 1
Northstar 2
MF Port
0-2
3-5
6-8
9-11
0-2
9-11
7-5
2-0
31-29
26-24
7-5
26-24
T2
T2
40G QSFP
100/1000/10000 T Ports
10G
PHY
10G
PHY
10G
PHY
10G
PHY
HG MUX6
8 9 10 11
MN Port
MF Port
10G
PHY
FM1
10G
PHY
10G
PHY
10G
PHY
10G
PHY
10G
PHY
10G
PHY
10G
PHY
FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
FP FP FP FP
49 50 51 52
Multicast L3 Forwarding
PIM
IGMP
Supervisor
MSDP
MRIB
MF DM
IP FIB
T2
Line Card
Trident II
Lkup in Host Table
& L2 Table
Trident II
Trident II
IACL
Traffic
Classification&
Remarking
Egress Q
EACL
Parser
Network Interfaces
10GE
Egress Q
EACL
L2/L3
Lookup &
Pkt rewrite
Parser
L2/L3
Lookup &
pkt rewrite
Examines ingress
packet. Get packet
headers for
processing.
IACL
Traffic
Classification
& Remarking
Network Interfaces
40GE
10GE
40GE
Multicast L3 Forwarding-MRIB
N9K# show ip mroute 239.10.10.10 shared-tree
Supervisor
PIM
IGMP
MRIB
IP FIB
MF DM
MSDP
Supervisor
PIM
IGMP
MSDP
MRIB
MF DM
IP FIB
T2
Line Card
Mod 6 is N9K-X9564TX
To reach Ethernet 6/52 which is on NS from front port of T2,Packets need to
cross Fabric module
MC IP ADDRESS
MC GROUP
13.13.13.14
239.10.10.10
0x2000007
75680
no
0.0.0.0
239.10.10.10
0x2000007
86578
no
T2
Line Card
L3MC_INDEX=7
T2
Line Card
IGM Snooping
Forwarding programming in vPC Scenario
IGMP Process Provides both Layer 3 IGMP Processing , and Layer 2 IGMP snooping functionality
Receivers use IGMP (Internet Group Management Protocol) to report their multicast group
Membership to router
Layer 2 IGMP Snooping functions of IGMP process include processing snooped multicast router
Packets Including IGMP reports and leaves sent by receiver
Once the group membership is learned , the Supervisor Engine informs I/O modules , which
program Hardware
This will Constrain data-plane multicast packets to only those ports with multicast routeror interested
receivers in HW
BCM on FM are in Mode 4. This will have L2 Table size of 32K & L3 Host Table 16K
L3 Host table will be used to program (*,G) /(S,G) entry. This will will accommodate
maximum of 8K entry.
MFDM sends two OIF List information to MFIB. One for LC (S,G) OIF List and other for
FM ( Mac, Group) OIF List in PIM disable Vlan.
MFIB will use (S,G) OIF list to program LC and Mac Group to Program FM in 32K L2 Table.
If PIM is enable FM can accommodate 8K(VRF, S,G) and will program Hardware.
Address aliasing is possible because on FM we use L2 table to program Mac Group information
With vPC IGMP will have knowledge of multi chassis Ether Channel trunk (MCT) interface.
When one of the vPC peer receives IGMP join , it will sync up this with peer over MCT link
using cFS-Cisco Fabric Services over Ethernet .
For Source in Layer 3 Cloud , Unicast best metric determines active forwarder
VPC Operational Primary in case of tie. CFS used to negotiate active Forwarder role
N9508-12
N9508-13
Eth 3/1-2
Eth 6/9/1-4
Eth1/3/1-4
vPC30
Eth 1/17-18 ,Eth 1/33-34
N93k
Eth 1/48
Ixia 10/2-Source
vPC 35
Eth 1/17,Eth 1/19 , Eth 1/33-34
N35K
Eth1/48
Ixia 10/1-Receiver
Source: 192.168.100.10
Source: 192.168.100.10
Pref/Metric: 0/0
Pref/Metric: 0/0
IGMP Join from one of the receiver enter one of the VPC Pee.
This Peer encapsulates IGMP in CFS , sends to other Peer
Both Peer have identical State
Both Peer install OIF
Data traffic flows down to Receiver, also forwarded to other Peer on Peer Link
Other Peer drop the packet either by PORT BLOCK MASK blocking or no OIF
Nexus9508-ESC-12#
Nexus9508-ESC-13#
Type Interface
D
Vlan101
Uptime
Nexus9508-ESC-12#
Nexus9508-ESC-13# sh ip igmp groups 239.10.10.10
IGMP Connected Group Membership for VRF "default" - matching Group "239.10.10.1
0"
Type: S - Static, D - Dynamic, L - Local, T - SSM Translated
Group Address
239.10.10.10
Type Interface
D
Nexus9508-ESC-13#
Vlan101
Uptime
Nexus9508-ESC-12#
Vlan101
( Mem L2 Ports: port-channel35 )
Note: On shutting down local vpc only, igmp does not send update to mfdm/ipfib to update the mroute state.
That is why you did not see mfdm/ipfib removing local vpc. So if local leg of vPC is down we will still PC in the above output.
port-channel10
Hardware Outgoing Interface List Index: 33554443
239.10.10.10 det
port-channel10
Reference Count: 1
port-channel35
port-channel10
Reference Count: 1
port-channel35
then it is LIF
L2 bridge copy.