01-25-2013 05:11 PM
I directly connected two ASR9k(tenGig).Both ASRs have got 4.2.1 software.
I set static join on P2MP tunnel but multicast traffic doesn't hit to P2MP tunnel
I think that it is bug in software.
RP/0/RSP0/CPU0:HEAD#ping vrf VoIP 232.1.1.1 source 1.0.0.16
Sat Jan 26 00:12:19.162 UTC
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 232.1.1.1, timeout is 2 seconds:
.
Ping doesn't work
############################################################
RP/0/RSP0/CPU0:HEAD#sh mfib vrf VoIP route
Sat Jan 26 00:12:24.251 UTC
...
...
...
(1.0.0.16,232.1.1.1), Flags:
Up: 00:20:34
Last Used: 00:00:04
SW Forwarding Counts: 1/0/0 <----------------- it is a sent ping
SW Replication Counts: 1/0/0
SW Failure Counts: 0/0/0/0/0
Loopback1 Flags: A, Up:00:20:34
tunnel-mte10000 Flags: NS EG LVIF, Up:00:20:34
###############################################################-
multicast doesn't hit to P2MP tunnel because counter shows 0 Bytes :
RP/0/RSP0/CPU0:HEAD#sh mpls forwarding p2mp
Sat Jan 26 00:18:46.642 UTC
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
16014 289972 P2MP TE: 10000 Te0/0/0/1 10.100.1.9 0
--------------------------------------------------------------------------------
RP/0/RSP0/CPU0:HEAD#sh mfib vrf VoIP counter
Sat Jan 26 00:47:20.929 UTC
MFIB global counters are :
* Packets [no input idb] : 0
* Packets [failed route lookup] : 0
* Packets [Failed idb lookup] : 0
* Packets [Mcast disabled on input I/F] : 0
* Packets [encap drops due to ratelimit] : 0
* Packets [MC disabled on input I/F (iarm nfn)] : 0
* Packets [IC ignored due to IDB unlinked from VRF] : 0
* Packets [MVPN TTL 1 decapped] : 0
* Packets [Failed TTL check] : 0
* Packets [Outgoing list error] : 0
* Packets [Failed FSV get] : 0
* Packets [Failed fint idb lookup] : 0
* Packets [Failed to send pkt to LC] : 0
* Packets [Already delivered by HW] : 0
* Packets [Miscellaneous Failure] : 0
* Packets [Invalid interface handle] : 0
* Packets [Null route] : 0
* Packets [Drop preserved packets] : 0
* Packets [Send to fabric failed] : 0
* Packets [Preserved packet is stale] : 0
###########################################################
RP/0/RSP0/CPU0:HEAD#sh mfib vrf VoIP hardware route olist location 0/0/CPU0
Sat Jan 26 00:53:48.954 UTC
LC Type: Trident A9K-4T-L
--------------------------------------------------------------------------
Legend:
Route Information
B: BACL check S: RPF Interface signal
DC: Directly connected PL: Punt to LC CPU
PR: Punt to RP PF: Punt if forwarded
DR: Drop all RI: RPF interface
FS: Fabric slotmask G: Multicast group ID
M: Multicast leaf index NI: Not Installed
Interface Information
Intf: Interface OT: OLE Type
U: uIDB index T: Table ID
IC: HW IC flag B: HW BACL flag
--------------------------------------------------------------------------
...
...
...
Source: 1.0.0.16 Group: 232.1.1.1 Mask: 64 RPF Int: Lo1
Route Information
------------------------------------------------------------------------
B S DC PL PR PF DR RI FS G M
------------------------------------------------------------------------
F F F F F F F 0x8000aa0 0x0 17022 107
------------------------------------------------------------------------
RP/0/RSP0/CPU0:HEAD#sh pim vrf VoIP mdt cache
Sat Jan 26 08:59:21.474 UTC
Core Source Cust (Source, Group) Core Data Expires
10.100.0.16 (1.0.0.16, 232.1.1.1) [p2mp 10000/10000/10.100.0.16] never
##########################################################\
RP/0/RSP0/CPU0:W8#sh mrib vrf VoIP mpls route
Sat Jan 26 09:09:22.954 UTC
Tunnel Interface/LSMID: tunnel-mte10000
3
##########################################################
RP/0/RSP0/CPU0:HEAD#sh pim vrf VoIP mdt rsvpte
% Incomplete command.
RP/0/RSP0/CPU0:W8#sh pim vrf VoIP mdt rsvpte local
Sat Jan 26 08:59:28.583 UTC
P2MP ID/Tunel ID/ MDT Cache DIP Local Vrf routes
Extended Tunnel ID Source Count Entry Using cache
[p2mp 10000/10000/10.100.0.16]10.100.0.16 1 N Y 0
#################Head End Ruter############################
vrf VoIP
address-family ipv4 unicast
import route-target
1:9
!
export route-target
1:9
interface tunnel-mte10000
ipv4 unnumbered Loopback0
destination 10.100.0.19
path-option 20 dynamic
!
destination 10.100.0.20
path-option 20 dynamic
interface Loopback0
ipv4 address 10.100.0.16 255.255.255.255
!
interface Loopback1
vrf VoIP
ipv4 address 1.0.0.16 255.255.255.255
!
interface TenGigE0/0/0/1
ipv4 address 10.100.1.10 255.255.255.252
!
router ospf 1
log adjacency changes detail
router-id 10.100.0.16
area 0
mpls traffic-eng
interface Loopback0
!
interface TenGigE0/0/0/1
!
!
mpls traffic-eng router-id Loopback0
router bgp 65111
bgp router-id 10.100.0.16
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
address-family ipv4 mvpn
!
af-group af_ipv4-RR-U address-family ipv4 unicast
soft-reconfiguration inbound always
!
af-group af_mvpn-RR-U address-family ipv4 mvpn
!
af-group af_vpnv4-RR-U address-family vpnv4 unicast
soft-reconfiguration inbound always
!
session-group sg-RR-U
remote-as 65111
update-source Loopback0
session-open-mode active-only
!
neighbor-group ng-RR-U
use session-group sg-RR-U
address-family ipv4 unicast
use af-group af_ipv4-RR-U
!
address-family vpnv4 unicast
use af-group af_vpnv4-RR-U
!
address-family ipv4 mvpn
use af-group af_mvpn-RR-U
!
!
neighbor 10.100.0.18
use neighbor-group ng-RR-U
shutdown
!
neighbor 10.100.0.20
use neighbor-group ng-RR-U
!
vrf VoIP
rd 1:9
bgp router-id 10.100.0.16
address-family ipv4 unicast
redistribute connected
!
address-family ipv4 mvpn
rsvp
interface TenGigE0/0/0/1
bandwidth 10000000
mpls traffic-eng
interface TenGigE0/0/0/1
multicast-routing
address-family ipv4
interface Loopback0
enable
!
mdt source Loopback0
!
vrf VoIP
address-family ipv4
bgp auto-discovery rsvpte
mdt static p2mp-te tunnel-mte10000
interface all enable
!
!
!
router igmp
vrf VoIP
interface tunnel-mte10000
static-group 232.1.1.1 1.0.0.16
###############Tail End Ruter#######################
vrf VoIP
address-family ipv4 unicast
import route-target
1:9
!
export route-target
1:9
!
interface Loopback0
ipv4 address 10.100.0.20 255.255.255.255
!
interface Loopback1
vrf VoIP
ipv4 address 1.0.0.20 255.255.255.255
!
interface TenGigE0/0/0/0
ipv4 address 10.100.1.9 255.255.255.252
!
router ospf 1
log adjacency changes detail
router-id 10.100.0.20
area 0
mpls traffic-eng
interface Loopback0
!
interface TenGigE0/0/0/0
mpls traffic-eng router-id Loopback0
router bgp 65111
bgp router-id 10.100.0.20
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
address-family ipv4 mvpn
!
af-group af_ipv4-RR-U address-family ipv4 unicast
soft-reconfiguration inbound
!
af-group af_mvpn-RR-U address-family ipv4 mvpn
!
af-group af_vpnv4-RR-U address-family vpnv4 unicast
soft-reconfiguration inbound
!
session-group sg-RR-U
remote-as 65111
update-source Loopback0
session-open-mode both
!
neighbor-group ng-RR-U
use session-group sg-RR-U
address-family ipv4 unicast
use af-group af_ipv4-RR-U
!
address-family vpnv4 unicast
use af-group af_vpnv4-RR-U
!
address-family ipv4 mvpn
use af-group af_mvpn-RR-U
!
!
neighbor 10.100.0.16
use neighbor-group ng-RR-U
!
vrf VoIP
rd 1:9
bgp router-id 10.100.0.20
address-family ipv4 unicast
redistribute connected
!
address-family ipv4 mvpn
mpls oam
!
rsvp
interface TenGigE0/0/0/0
bandwidth 10000000
!
!
mpls traffic-eng
interface TenGigE0/0/0/0
!
logging events frr-protection
reoptimize 60
signalling advertise explicit-null
reoptimize timers delay installation 0
!
mpls ldp
!
multicast-routing
address-family ipv4
mdt source Loopback0
interface all enable
!
vrf VoIP
address-family ipv4
core-tree-protocol rsvp-te
interface all enable
!
!
!
router igmp
vrf VoIP
interface Loopback1
join-group 232.1.1.1 1.0.0.16
!
!
---------------------------------------------
Tail End has received 2 mvpn routes
I-PMSI AD and S-PMSI AD (see below):
-----------------------------------------------
RP/0/RSP0/CPU0:TAIL#sh bgp ipv4 mvpn
Sat Jan 26 00:28:24.448 UTC
BGP router identifier 10.100.0.20, local AS number 65111
BGP generic scan interval 60 secs
BGP table state: Active
Table ID: 0x0 RD version: 3890838096
BGP main routing table version 146
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:9 (default for vrf VoIP)
*>i[1][10.100.0.16]/40
10.100.0.16 100 0 i
*>i[3][32][1.0.0.16][32][232.1.1.1][10.100.0.16]/120
10.100.0.16 100 0 i
Processed 2 prefixes, 2 paths
###########################################################
RP/0/RSP0/CPU0:TAIL#sh bgp vpnv4 unicast vrf VoIP 1.0.0.16/32
Sat Jan 26 00:30:00.499 UTC
BGP routing table entry for 1.0.0.16/32, Route Distinguisher: 1:9
Versions:
Process bRIB/RIB SendTblVer
Speaker 399 399
Last Modified: Jan 25 19:31:27.932 for 04:58:32
Paths: (1 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
Local
10.100.0.16 (metric 2) from 10.100.0.16 (10.100.0.16)
Received Label 16003
Origin incomplete, metric 0, localpref 100, valid, internal, best, group-best, import-candidate, imported
Received Path ID 0, Local Path ID 1, version 399
Extended community: RT:1:9 VRF Route Import:10.100.0.16:1
Connector: type: 1, Value:1:9:10.100.0.16[
############################################################
RP/0/RSP0/CPU0:TAIL#sh mrib vrf VoIP route
Sat Jan 26 00:32:30.862 UTC
...
...
...
(1.0.0.16,232.1.1.1) RPF nbr: 10.100.0.16 Flags: MPLS
Up: 00:37:05
Outgoing Interface List
Loopback1 Flags: F IC NS II LI, Up: 00:37:05
##############################################################
Tomek
Solved! Go to Solution.
01-28-2013 11:17 PM
Yes, indeed, that is vrf specific. We’ve been questioning that ourself and opened CSCud77965 Cannot ping vrf loopback address that joined mcast on MVPN.
The explanation is that multicast ping requires an mhost interface to send ICMP. In the case of non-default vrf, Loopback will not be selected as the mhost default interface, so the ping will fail as expected.
Regards,
/A
Please visit http://cisco.com/go/testdrive or contact your account rep to schedule nV tech demo.
01-27-2013 07:10 AM
XR does not support loopbacks to source/receive mcast flows. Connect a real host in vrf VoIP to source some test mcast packets.
I have P2MP on my ASR9k running 4.2.3 and see the traffic is sent out of MTE tunnel.
Regards,
/A
Please visit http://cisco.com/go/testdrive or contact your account rep to schedule nV tech demo.
01-28-2013 08:28 AM
Thanks for reply Alexei, if it works I will let you know.
I tested loopback interfaces and they receive and send mcast flow but they have to be in default VRF and use pure PIM-SM or SSM over IP (without P2MP,mLDP etc).
Do you know why?
01-28-2013 11:17 PM
Yes, indeed, that is vrf specific. We’ve been questioning that ourself and opened CSCud77965 Cannot ping vrf loopback address that joined mcast on MVPN.
The explanation is that multicast ping requires an mhost interface to send ICMP. In the case of non-default vrf, Loopback will not be selected as the mhost default interface, so the ping will fail as expected.
Regards,
/A
Please visit http://cisco.com/go/testdrive or contact your account rep to schedule nV tech demo.
01-30-2013 01:49 AM
I know that mhost doesn't support vrf (Does cisco plan to add vrf option to mhost command?)but
I configured PIM-SM ASM in VRF without MPLS
if XR doesn't support VRF why does it work?
#####HEAD
vrf VoIP
vpn id 1:9
address-family ipv4 unicast
import route-target
1:9
!
export route-target
1:9
interface Loopback1
vrf VoIP
ipv4 address 1.0.0.16 255.255.255.255
!
interface TenGigE0/0/0/1
vrf VoIP
ipv4 address 10.100.1.10 255.255.255.252
!
multicast-routing
vrf VoIP
address-family ipv4
interface all enable
!
!
!
router pim
vrf VoIP
address-family ipv4
rp-address 1.0.0.16
!
#######TAIL
vrf VoIP
vpn id 1:9
address-family ipv4 unicast
import route-target
1:9
!
export route-target
1:9
interface Loopback1
vrf VoIP
ipv4 address 1.0.0.20 255.255.255.255
!
interface TenGigE0/0/0/0
vrf VoIP
ipv4 address 10.100.1.9 255.255.255.252
!
router static
vrf VoIP
address-family ipv4 unicast
1.0.0.16/32 10.100.1.10
multicast-routing
vrf VoIP
address-family ipv4
interface all enable
!
!
!
router igmp
vrf VoIP
interface Loopback1
join-group 231.1.1.1 1.0.0.16
!
!
!
router pim
vrf VoIP
address-family ipv4
rp-address 1.0.0.16
!
################################################
RP/0/RSP0/CPU0:TAIL#sh mfib vrf VoIP route statistics 231.1.1.1
Tue Jan 29 18:24:07.786 UTC
(1.0.0.16,231.1.1.1), Flags:
Up: 01:02:13
Last Used: never
SW Forwarding Counts: 0/0/0
SW Replication Counts: 0/0/0
SW Failure Counts: 0/0/0/0
HW Forwarding Counts: N/A /N/A /N/A
HW Replication Counts: N/A /N/A /N/A
HW Drop Counts: N/A /N/A
HW Forwarding Rates: N/A /N/A /N/A /N/A
Loopback1 Flags: IC NS EG, Up:01:02:13
TenGigE0/0/0/0 Flags: A, Up:00:09:13
########################################################################################
RP/0/RSP0/CPU0:HEAD#sh mfib vrf VoIP hardware route statistics detail 231.1.1.1 location 0/0/CPU0
Tue Jan 29 18:26:11.483 UTC
LC Type: Trident A9K-4T-L
--------------------------------------------------------------------------
Legend:
N: NP ID R: Received
F: Forwarded P: Punted to CPU
ID: Ingress Drop ED: Egress Drop
Source: 1.0.0.16 Group: 231.1.1.1 Mask:64
-------------------------------------------------------------------------
NP R(packets:bytes)/F(packets:bytes)/P(packets)/ID(packets)/ED(packets)
-------------------------------------------------------------------------
0 0:0 / 0:0 / 0 / 0 / 0
1 0:0 / 0:0 / 0 / 0 / 0
2 0:0 / 0:0 / 0 / 0 / 0
3 0:0 / 0:0 / 0 / 0 / 0
-------------------------------------------------------------------------
No OLIST interfaces found for this route
########################################################################################
RP/0/RSP0/CPU0:HEAD(config)#do ping vrf VoIP 231.1.1.1 so 1.0.0.16
Tue Jan 29 18:24:52.368 UTC
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 231.1.1.1, timeout is 2 seconds:
Reply to request 0 from 1.0.0.20, 3 ms
#########################################################################################
RP/0/RSP0/CPU0:TAIL#sh mfib vrf VoIP route statistics 231.1.1.1
Tue Jan 29 18:27:25.588 UTC
IP Multicast Forwarding Information Base
Entry flags: C - Directly-Connected Check, S - Signal, D - Drop,
IA - Inherit Accept, IF - Inherit From, MA - MDT Address,
ME - MDT Encap, MD - MDT Decap, MT - MDT Threshold Crossed,
MH - MDT interface handle, CD - Conditional Decap,
DT - MDT Decap True
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
EG - Egress, EI - Encapsulation Interface, MI - MDT Interface
SW/HW Forwarding/Replication Counts: Packets in/Packets out/Bytes out
SW Failure Counts: RPF / TTL / Empty Olist / Encap RL / Other
HW Drop Counts: Ingress / Egress
HW Forwarding Rates: bps In/pps In/bps Out/pps Out
(1.0.0.16,231.1.1.1), Flags:
Up: 01:05:31
Last Used: never
SW Forwarding Counts: 0/1/100
SW Replication Counts: 0/0/0
SW Failure Counts: 0/0/0/0
HW Forwarding Counts: N/A /N/A /N/A
HW Replication Counts: N/A /N/A /N/A
HW Drop Counts: N/A /N/A
HW Forwarding Rates: N/A /N/A /N/A /N/A
Loopback1 Flags: IC NS EG, Up:01:05:31
TenGigE0/0/0/0 Flags: A, Up:00:12:30
##########################################################################################
RP/0/RSP0/CPU0:TAIL#sh mfib vrf VoIP hardware route statistics detail 231.1.1.1 location 0/0/CPU0
Tue Jan 29 18:27:28.486 UTC
LC Type: Trident A9K-4T-L
--------------------------------------------------------------------------
Legend:
N: NP ID R: Received
F: Forwarded P: Punted to CPU
ID: Ingress Drop ED: Egress Drop
Source: 1.0.0.16 Group: 231.1.1.1 Mask:64
-------------------------------------------------------------------------
NP R(packets:bytes)/F(packets:bytes)/P(packets)/ID(packets)/ED(packets)
-------------------------------------------------------------------------
0 0:0 / 0:0 / 0 / 0 / 0
1 0:0 / 0:0 / 0 / 0 / 0
2 0:0 / 0:0 / 0 / 0 / 0
3 1:100 / 0:0 / 1 / 0 / 0
-------------------------------------------------------------------------
No OLIST interfaces found for this route
01-30-2013 05:21 AM
Hi Tomasz,
That does not work for loopbacks in VRF. When there is a phy interface in the same VRF, then it would be used for mhost.
Regards,
/A
Please visit http://cisco.com/go/testdrive or contact your account rep to schedule nV tech demo.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: