07-07-2023 06:17 AM
Hi All
hope you are all well.
I have been struggle with bringing up a L2tpv3 over a private APN provided by a SP.
the tunnel is from a Router to a cisco ASR9k and I am seeing some results when doing a debug as per below.
l2vpn
pw-class l2tpv3
encapsulation l2tpv3
protocol l2tpv3 class L2TP-CLASS
ipv4 source 172.16.20.1 (BVI interface which is part of vlan 208)
transport-mode Ethernet
!
xconnect group l2tpv3
p2p cisco
interface Gi0/0/1/11.108
neighbor ipv4 10.19.238.37 pw-id 2008
pw-class l2tpv3
!
l2tp-class L2TP-CLASS
retransmit retries 5
retransmit initial retries 10
retransmit initial timeout max 5
retransmit timeout max 6
hidden
hello-interval 10
digest hash MD5
digest check disable
!
end
RP/0/RSP1/CPU0:LUK-PE1-THO#RP/0/RSP1/CPU0:Jul 7 15:14:18.687 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_session_disconnected:1749, PW (10.19.238.37,2008):
RP/0/RSP1/CPU0:Jul 7 15:14:18.687 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_session_disconnected:1749, : (socket_hdl:0x100f|server_hdl:0x800f|winning_svr_hdl:0x0)received disconnect event from the protocol
RP/0/RSP1/CPU0:Jul 7 15:14:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_session_disconnected:1777, PW (10.19.238.37,2008): starting retry timer
RP/0/RSP1/CPU0:Jul 7 15:14:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_action_remote_down:3770, PW (10.19.238.37,2008): action remote Down
RP/0/RSP1/CPU0:Jul 7 15:14:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_send_message:3271, PW (10.19.238.37,2008): In send message, calling receive message
RP/0/RSP1/CPU0:Jul 7 15:14:48.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_peer_id_v2:960, Found first peer-id 10.19.238.37
RP/0/RSP1/CPU0:Jul 7 15:14:48.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_vc_by_peer_v2:837, Found first PW for peer-id 10.19.238.37 (pw-id 2008)
RP/0/RSP1/CPU0:Jul 7 15:14:48.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_replay_to_signaling:1973, PW (10.19.238.37,2008):starting retry timer
RP/0/RSP1/CPU0:Jul 7 15:15:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_peer_id_v2:960, Found first peer-id 10.19.238.37
RP/0/RSP1/CPU0:Jul 7 15:15:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_vc_by_peer_v2:837, Found first PW for peer-id 10.19.238.37 (pw-id 2008)
RP/0/RSP1/CPU0:Jul 7 15:15:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_replay_to_signaling:1973, PW (10.19.238.37,2008):starting retry timer
RP/0/RSP1/CPU0:Jul 7 15:15:48.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_peer_id_v2:960, Found first peer-id 10.19.238.37
RP/0/RSP1/CPU0:Jul 7 15:15:48.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_vc_by_peer_v2:837, Found first PW for peer-id 10.19.238.37 (pw-id 2008)
RP/0/RSP1/CPU0:Jul 7 15:15:48.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_replay_to_signaling:1973, PW (10.19.238.37,2008):starting retry timer
RP/0/RSP1/CPU0:LUK-PE1-THO#RP/0/RSP1/CPU0:Jul 7 15:16:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_peer_id_v2:960, Found first peer-id 10.19.238.37
RP/0/RSP1/CPU0:Jul 7 15:16:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_vc_by_peer_v2:837, Found first PW for peer-id 10.19.238.37 (pw-id 2008)
RP/0/RSP1/CPU0:Jul 7 15:16:18.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_replay_to_signaling:1973, PW (10.19.238.37,2008):starting retry timer
RP/0/RSP1/CPU0:Jul 7 15:16:48.688 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_peer_id_v2:960, Found first peer-id 10.19.238.37
RP/0/RSP1/CPU0:Jul 7 15:16:48.689 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_db_find_first_vc_by_peer_v2:837, Found first PW for peer-id 10.19.238.37 (pw-id 2008)
RP/0/RSP1/CPU0:Jul 7 15:16:48.689 GMT+2: l2vpn_mgr[1308]: DBG-L2TP: l2tp_mgr_replay_to_signaling:1973, PW (10.19.238.37,2008):starting retry timer
07-08-2023 12:53 AM
it hard but possible config,
I think you need to config LO as L2TPv3 router-id
07-08-2023 01:44 AM
what do you mean by LO ?
07-08-2023 01:48 AM
loopback under L2TP=CLASS
l2tp-class L2TP-CLASS
07-08-2023 06:27 PM
07-08-2023 05:28 AM
the issue i am facing is that when i add a loopback into the vrf i cant route it even though i have a static route facing out and a return route from the CPE.
If you could share an example for the above suggested configs
07-09-2023 03:11 AM
sure friend,
I will try lab tonight
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide