Академический Документы
Профессиональный Документы
Культура Документы
ASR9000
Multicast
troubleshooting
Document
Cisco
Systems
ASR9000
Deployment
team
Table
of
Contents
1
Introduction:
...............................................................................................................................
3
1.1
Fabric
Replication:
.......................................................................................................................................................................
3
1.2
FIA
and
Bridge
replication:
......................................................................................................................................................
4
1.3
NP
Replication:
..............................................................................................................................................................................
5
2
Multicast
software
Architecture:
.................................................................................................
6
3
Packet
flow
and
debugging
commands
at
high
level:
...................................................................
8
4
Testbed
topology:
.......................................................................................................................
9
5
Verifying
the
mrib,
mfib
and
IGMP
info
.....................................................................................
10
5.1
Explanation
of
the
mfib
and
mrib
flags
...........................................................................................................................
13
5.2
MGID
and
FGID
programming:
............................................................................................................................................
13
5.3
Checking
multicast
programming
in
MFIB:
...................................................................................................................
15
6
Verifying
hardware
mroute/mfib
Table
.....................................................................................
17
7
Tracing
the
packet
through
Fabric
and
ASICs:
............................................................................
19
7.1
Ingress
NP
counters:
................................................................................................................................................................
19
7.2
Ingress
FIA
counters
................................................................................................................................................................
19
7.3
Egress
LC
FIA
counters:
..........................................................................................................................................................
20
7.4
Egress
NP
counters
...................................................................................................................................................................
20
8
Debugging
multicast
Process
Memory:
......................................................................................
21
9
Debugging
Multicast
and
related
processes:
..............................................................................
21
10
Additional
Commands:
..............................................................................................................
23
11
Multicast
drops
counters
in
NP:
................................................................................................
23
12
Checking
multicast
resource
Allocation
in
hardware/software:
.................................................
24
PHY NP2 E 3x
IGMP joins
B1 NP3 10G 3x10GE
SFP +
Multicast
NP3 Switch 2 FIA 3x
Source PHY Fabric NP4 10G 3x10GE
Trident LC SFP +
Switch Fabric
3x
10G 3x10GE
NP5
ASIC
SFP +
FIA 3x
10G 3x10GE
NP6 SFP +
FGID – Fabric Group ID
3x
MGID – Multicast Group ID 10G 3x10GE
NP7 SFP +
MFIB – Multicast Forwarding Information Base Typhoon LC FIA 3x
10G 3x10GE
NP8 SFP +
14
Presentation_ID © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public
FGIDs: 10 Slot Chassis FGIDs: 6 Slot Chassis
Phy
Logical
Slot
Slot
Number Logical
5 Slot
LC 3
4 LC 2
LC 7
LC 6
LC 5
LC 4
RSP 0
RSP 1
LC 3
LC 2
LC 1
LC 0
3 LC 1
2 LC 0
9 8 7 6 5 4 3 2 1 0 1 RSP 1
0 RSP 0
32
Presentation_ID © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public
1.3 NP
Replication:
NP
replicates
the
packets
to
one
or
more
directly
connected
interfaces
from
which
it
receives
IGMP
joins.
• If
given
NP
has
more
than
one
outgoing
ports,
packet
will
be
replicated
in
TM
loopback
in
the
NP.
In
the
second
pass
all
the
egress
features
will
be
applied.
Multicast Packet Replication
Inside NP
To egress
port Second lookup
TM
NP
! Initial Lookup
– Original packet is lookup in the MFIB/L2FIB returning the number of copies
to be replicated on the given NPU, each copy per output logical interface
– Packet is sent to a TM (traffic manager). TM replicates the packets and send
the copy to the processing engine
! Second Lookup
– Each copy is processed and sent out of interface. Egress feature like QoS,
ACL is applied at this pass
13
Presentation_ID © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public
1. Incoming*IGMP*and*PIM*packets*are*punted*to*RP*CPU*
2. Protocols*(PIM/IGMP)*send*their*Route/OLIST*InformaEon*to*MRIB*process*to*build*
mulEcast*route/olist*table*
3. MRIB*sends*the*mulEcast*state*informaEon*to*MFIB*process*on*all*LCs*
4. MFIB*program*HW*forwarding*tables*in*NP,*Bridge*FPGA*and*Fabric*interface*ASIC*
5. SoRware*switched*mulEcast*packet*or*data*packet*for*protocol*signaling*is*sent*to*
local*line*card*CPU*
Multicast
control
packets
destined
to
LC/RP
CPU
will
undergo
CoPP
(LPTS
:
Local
Packet
Transport
System)
to
protect
RP/LC
CPU
from
excessive
control
packets.
Following
diagram
shows
policing
rate
for
PIM/IGMP
packets.
RP/0/RSP0/CPU0:asr9k-‐3#show
lpts
pifib
hardware
police
loc
0/4/CPU0
|
in
“IGMP|PIM”
-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐
Node
0/4/CPU0:
-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐
Burst
=
100ms
for
all
flow
types
-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐
FlowType
Policer
Type
Cur.
Rate
Def.
Rate
Accepted
Dropped
-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐
-‐-‐-‐-‐-‐-‐-‐
-‐-‐-‐-‐-‐-‐-‐
-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐
-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐
-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐-‐
-‐-‐-‐
PIM-‐mcast-‐default
109
Static
2000
2000
0
0
PIM-‐mcast-‐known
176
Static
2000
2000
0
0
PIM-‐ucast
110
Static
1500
1500
0
0
IGMP
111
Static
3000
3000
369376
0
RP/0/RSP0/CPU0:asr9k-‐3#
RP/0/RSP0/CPU0:asr9k-‐3#show
lpts
pifib
hardware
entry
statistics
location
0/5/CPU0
12
IPV4
*
IGMP
Te0/5/0/1
LU(30)
251/0
224.0.0.1,any
any,any
14
IPV4
*
PIM
Te0/5/0/1
LU(30)
501/0
224.0.0.13,any
any,any
236
IPV4
*
IGMP
any
LU(30)
6967/0
any,any
any,any
237
IPV4
*
PIM
any
LU(30)
0/0
any,any
any,any
261
IPV4
*
IGMP
Optimized
LU(30)
0/0
224.0.0.22,any
any,any
Trident LC Typhoon LC
NP3
3x10G
NP1 E
SFP +
RSP
FIA 3x
10G 3x10G
Br1 NP2 E
SFP +
3x
NP2 10G 3x10G
NP3 E
SFP +
FIA 3x
10G 3x10G
NP4 E
Switch Fabric ASIC
SFP +
FIA 3x
FABRIC 10G 3x10G
NP5 E
NP1 SFP +
FIA 3x
10G 3x10G
Br0 NP6 E
SFP +
3x
10G 3x10G
NP7 E
NP0 SFP +
controller np ports all loc <> FIA 3x
10G 3x10G
Show controller np counters <np> loc < controller np ports all loc <> NP8 E
Ingress NP: Show controller np counters <np> loc < SFP +
ENET RX ! From Port Egress NP:
FAB TX ! To fabric ENET FAB RX ! From Fabric
IPv4MC_DO_ALL_BUT_FRD " Punt only FAB TX ! to TM
IPv4MC_DO_ALL ! punt to LC CPU LOOPBACK RX ! from TM
IFIB ! IGMP, PIM Control packets ENET TX ! to port
Presentation_ID © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Presentation_ID © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
4
Testbed
topology:
Following
testbed
topology
used
for
demonstrating
troubleshooting
section
as
well
to
explain
packet
path.
(142.0.0.2,
(142.0.0.2, (142.0.0.2,
225.0.0.1/225.0.0.2)
225.0.0.1/225.0.0.2) 225.0.0.1/225.0.0.2)
Receiver
Gig0/4/0/10.101 Gig0/4/0/2
Join 225.0.0.1, Source
Ten0/5/0/1 Gig0/4/0/10.100
225.0.0.2
Receiver
Gig0/4/0/3.102 igmp v2
Join 225.0.0.1
multicast;routing!
interface)GigabitEthernet0/4/0/10.101)
!address;family!ipv4!
!ipv4!address!33.0.2.1!255.255.255.0!
interface!all!enable!
!encapsulation!dot1q!101!
router!pim!
interface)GigabitEthernet0/4/0/3.102)
!address;family!ipv4!
!ipv4!address!42.0.1.2!255.255.255.0!
!)rp:address)110.0.0.24)
!encapsulation!dot1q!102!
interface)GigabitEthernet0/4/0/2)
interface)TenGigE0/5/0/1)
!!!enable!
!ipv4!address!40.0.75.2!255.255.255.0!
interface)GigabitEthernet0/4/0/10.100)
!!
!!!enable!
multicast;routing!
RP/0/RSP0/CPU0:ASR9K;2#!
!address;family!ipv4!
interface!all!enable!
router!pim!
!address;family!ipv4!
!!rp;address!110.0.0.24!
interface)TenGigE0/5/0/1)
)))enable)
))interface)GigabitEthernet0/4/0/3.102)
)))enable)
interface)GigabitEthernet0/4/0/10.101)
)))enable)
RP/0/RSP0/CPU0:ASR9K;3#!
39
Presentation_ID © 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public
10 Additional
Commands:
Some
additional
useful
commands:
• Show
mfib
interface
loca
<ingress/egress
LC>
• Show
pim
topology
• Show
drops
ç
Take
this
output
2-‐3
times
with
some
gap
• Show
controller
fabric
fia
q-‐depth
loc
<ingress/egress
LC>
ç
2-‐3
times
• Show
controller
pm
location
<ingress/Egress
LC>
• Show
controller
fabric
fia
stat
loc
<ingress/egress
LC>
ç
2-‐3
times
• Show
log
• Show
tech-‐support
multicast
hardware
<group>
loc
<ingress/egress
LC>
• Show
controllers
np
tm
counter
loc
<ingress/egress
LC>
ç
2-‐3
times
• Show
tech-‐support
fabric
• Show
mfib
hardware
<route/connection/interface>
loc
• Show
mfib
hardware
ltrace
<init/error/warning/event>
• Show
controllers
np
struct
22
all
location
[egress]
• Show
mfib
hardware
route
summary
loc
<>
• Show
mfib
hardware
trace
location
<>