cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
226
Views
0
Helpful
1
Replies

SRv6 end.dt4 encap. fail

Ktry
Level 1
Level 1

Hi,

I've got this topo:
CE1 --- Hu0/0/0/8<vrf>(local NCS)Hu0/0/0/6 --- (P nodes) --- (remote NCS)vrf --- CE2 (10.242.0.0/16)
# end.dt4 is used.

The problem is the local NCS doesn't forward traffic from CE1 to P.
As far as I checked, CEF of vrf and P side is fine.
May I ask what I'm missing?


Here's Remote PE's info:

///
/// SID info (of remote PE)
///

# show segment-routing srv6 sid detail

SID Behavior Context Owner State RW
-------------------------- ---------------- ------------------------------ ------------------ ----- --
(snip)

2400:2020:2:4b:42:: End.DT4 'VPRN-123' bgp-17676 InUse Y
SID Function: 0x42
SID context: { table-id=0xe0000001 ('VPRN-123':IPv4/Unicast) }
Locator: 'default'
Allocation type: Dynamic
Created: Feb 4 14:13:20.066 (08:22:11 ago)
------
2400:2020:2:4b:42:: is propagated via RR.

This is local PE's info:
In CEF and RIB of vrf side is ok.


///
/// CEF entry of the dst addr in local PE (vrf side)
///
#show cef vrf VPRN-123 10.242.0.0/16 detail
(snip)

via 2400:2020:2:4b::/128, 3 dependencies, recursive [flags 0x6000]
path-idx 0 NHID 0x0 [0x8ae99d10 0x0]
next hop VRF - 'default', table - 0xe0800000
next hop 2400:2020:2:4b::/128 via 2400:2020:2:4b::/64
SRv6 H.Encaps.Red SID-list {2400:2020:2:4b:42::}

Load distribution: 0 (refcount 1)

Hash OK Interface Address
0 Y Bundle-Ether101 fe80::12e8:78ff:fe34:9a6
----
Then the Dst (Full SID) is reachable:
#ping 2400:2020:2:4b:42::
Sun Feb 4 22:45:18.554 JST
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2400:2020:2:4b:42::, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/28/136 ms

///
/// CEF entry of the dst addr in local PE
///
#show cef ipv6 2400:2020:2:4b:42::
Sun Feb 4 22:36:57.025 JST
2400:2020:2:4b::/64, version 45353, internal 0x1000001 0x220 (ptr 0x8ae99d10) [3], 0x0 (0x8b031be8), 0x0 (0x0)
Updated Feb 4 21:19:24.345
local adjacency to Bundle-Ether101

Prefix Len 64, traffic index 0, precedence n/a, priority 2
via fe80::12e8:78ff:fe34:9a6/128, Bundle-Ether101, 7 dependencies, weight 0, class 0 [flags 0x0]
path-idx 0 NHID 0x0 [0x89f646f0 0x0]
next hop fe80::12e8:78ff:fe34:9a6/128
local adjacency


But the mystery is why the traffic is not going through to the remote PE.
As far as I checked by monitor command, this local PE doesn't process.
///
/// monitor result (IN)
///

HundredGigE0/0/0/8 is up, line protocol is up
Encapsulation ARPA

Traffic Stats:(2 second rates) Delta
Input Packets: 24849963 0
Input pps: 1000
Input Bytes: 3081287574 0
Input Kbps (rate): 992 ( 0%)

///
/// monitor result (OUT)
///
HundredGigE0/0/0/6 is up, line protocol is up
Encapsulation ARPA

Traffic Stats:(2 second rates) Delta

Output Packets: 6673810 0
Output pps: 20 <<< 1000 IN V 20 OUT
Output Bytes: 1044531238 0
Output Kbps (rate): 18 ( 0%)


Any comment would be highly appreciated.

Regards,

1 Reply 1

Ktry
Level 1
Level 1

Hi,

Self-resolved.
The params related to "hw-module profile segment-routing srv6" was incorrect.

I configured "hw-module profile segment-routing srv6 mode base" as the manual goes, and working fine.

Regards,

Review Cisco Networking for a $25 gift card