02-07-2012 06:02 AM - edited 03-10-2019 06:48 PM
Hi,
We have 2 devices 7401 (LNS) and 7401 (LNSBackup). When calls are received, we want SGBP to offloaded between the two LNSs, which means both devices are acting as an LNS and offload server. We have 2 active vpdn tunnels, account1 and account2 both being handled by LNS - problem is we want LNS to offload account2 to LNSBackup. Is this possible?
#sh vpdn
%No active L2F tunnels
L2TP Tunnel and Session Information Total tunnels 2 sessions 2
LocID RemID Remote Name State Remote Address Port Sessions L2TP Class/
VPDN Group
38462 61897 bipac est aaa.aaa.aaa.aaa 1701 1 1
LocID RemID TunID Username, Intf/ State Last Chg Uniq ID
Vcid, Circuit
13 1 38462 account1, Vi2.2 est 23:21:05 10
LocID RemID Remote Name State Remote Address Port Sessions L2TP Class/
VPDN Group
16641 13836 bipac est bbb.bbb.bbb.bbb 1701 1 1
LocID RemID TunID Username, Intf/ State Last Chg Uniq ID
Vcid, Circuit
14 1 16641 account2, Vi2.3 est 15:21:49 11
SGBP isn't succeeding in load balancing L2TP yet but I have some more debugging logs (below). I believe the most interesting lines are as follows:
========================================================================
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: Result code(2): 2: Call disconnected, refer to error msg
Feb 6 16:13:53.319: Error code(4): Insufficient resources
Feb 6 16:13:53.319: Optional msg: No virtual-template specified
========================================================================
If I've interpreted that correctly it means we don't have the LNS<->LNS offload set up correctly for account2@isp.net. Agree?
Logging output:
Feb 6 16:13:53.111: %SGBP-7-SENT: MQ Open to 196.1.56.36 for query 9:0, bundle account1@isp.net, bid 4999, prot l2tp, len 90
Feb 6 16:13:53.211: %SGBP-7-MQ: Bid (0x11) for query 9:8, bundle account1@isp.net, bid 5000, len 91
Feb 6 16:13:53.211: %SGBP-7-RCVD: MQ Bid from 196.1.56.36 for query 9:0, bundle account1@isp.net, bid 5000, prot l2tp
Feb 6 16:13:53.311: SGBP: Sending protocol 0x2 in MQ Accept
Feb 6 16:13:53.311: %SGBP-7-SENT: MQ Accept to 196.1.56.36 for query 9:0, bundle account1@isp.net, bid 4999, prot l2tp, len 90
Feb 6 16:13:53.311: %SGBP-7-DONE: Query #9 for bundle account1@isp.net, count 1, master is 196.1.56.36
Feb 6 16:13:53.311: %SGBP-7-MQB: Bundle: account1@isp.net State: Done OurBid: 4999
Feb 6 16:13:53.311: Tnl/Sn 60283/12 L2TP: Session state change from idle to wait-for-tunnel
Feb 6 16:13:53.311: uid:9 Tnl/Sn 60283/12 L2TP: Create session
Feb 6 16:13:53.311: Tnl 60283 L2TP: SM State idle
Feb 6 16:13:53.311: Tnl 60283 L2TP: O SCCRQ
Feb 6 16:13:53.311: Tnl 60283 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.311: Tnl 60283 L2TP: Tunnel state change from idle to wait-ctl-reply
Feb 6 16:13:53.311: Tnl 60283 L2TP: SM State wait-ctl-reply
Feb 6 16:13:53.315: Tnl 60283 L2TP: I SCCRP from TEST
Feb 6 16:13:53.315: Tnl 60283 L2TP: Got a challenge from remote peer, TEST
Feb 6 16:13:53.315: Tnl 60283 L2TP: Got a response from remote peer, TEST
Feb 6 16:13:53.315: Tnl 60283 L2TP: Tunnel Authentication success
Feb 6 16:13:53.315: Tnl 60283 L2TP: Tunnel state change from wait-ctl-reply to established
Feb 6 16:13:53.315: Tnl 60283 L2TP: O SCCCN to TEST tnlid 21254
Feb 6 16:13:53.315: Tnl 60283 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.315: Tnl 60283 L2TP: SM State established
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: O ICRQ to TEST 21254/0
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: Session state change from wait-for-tunnel to wait-reply
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: Session state change from wait-reply to established
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: VPDN session up
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: O ICCN to TEST 21254/3
Feb 6 16:13:53.315: Tnl 60283 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Session state change from wait-for-service-selection-iccn to established
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: VPDN session up
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: Result code(2): 2: Call disconnected, refer to error msg
Feb 6 16:13:53.319: Error code(4): Insufficient resources
Feb 6 16:13:53.319: Optional msg: No virtual-template specified
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: I CDN from TEST tnl 21254, cl 3
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: disconnect (L2X) IETF: 9/nas-error Ascend: 62/VPDN No Resources
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: Destroying session
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: Session state change from established to idle
Feb 6 16:13:53.319: Tnl 60283 L2TP: Tunnel state change from established to no-sessions-left
Feb 6 16:13:53.319: Tnl 60283 L2TP: No more sessions in tunnel, shutdown (likely) in 15 seconds
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: disconnect (AAA) IETF: 9/nas-error Ascend: 62/VPDN No Resources
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: O CDN to bipac 58877/1
Feb 6 16:13:53.319: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Destroying session
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Session state change from established to idle
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Accounting stop sent
Feb 6 16:13:53.319: Tnl 16568 L2TP: Tunnel state change from established to no-sessions-left
Feb 6 16:13:53.319: Tnl 16568 L2TP: No more sessions in tunnel, shutdown (likely) in 10 seconds
Feb 6 16:13:54.319: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:14:03.319: Tnl 60283 L2TP: I StopCCN from TEST tnl 21254
Feb 6 16:14:03.319: Tnl 60283 L2TP: Tunnel state change from no-sessions-left to shutting-down
Feb 6 16:14:03.319: Tnl 60283 L2TP: Shutdown tunnel
Feb 6 16:14:03.319: Tnl 60283 L2TP: Tunnel state change from shutting-down to idle
Feb 6 16:14:03.323: Tnl 16568 L2TP: O StopCCN to bipac tnlid 58877
Feb 6 16:14:03.323: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:14:03.323: Tnl 16568 L2TP: Tunnel state change from no-sessions-left to shutting-down
Feb 6 16:14:04.323: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:14:08.323: Tnl 16568 L2TP: Shutdown tunnel
Feb 6 16:14:08.323: Tnl 16568 L2TP: Tunnel state change from shutting-down to idle
=======================================
sh debugging
MLPVT group:
SGBP dial-bids debugging is on
SGBP messages debugging is on
SGBP mastership queries debugging is on
SGBP events debugging is on
SGBP fsm events debugging is on
VPN:
L2X protocol events debugging is on
L2X protocol errors debugging is on
VPDN events debugging is on
VPDN errors debugging is on
====================
Current Running config
Version 12.4(21a), RELEASE SOFTWARE (fc1)
sgbp group TEST
sgbp protocol l2tp
sgbp seed-bid 5000
sgbp member 10.10.10.2
sgbp ppp-forward
sgbp source-ip 10.10.10.1
vpdn enable
vpdn multihop
!
vpdn-group 1
! Default L2TP VPDN group
accept-dialin
protocol l2tp
virtual-template 1
no l2tp tunnel authentication
!
l2tp-class TestL2TP
username TEST password 7 094F471A1A0A57
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
media-type rj45
channel-group 1
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
media-type rj45
channel-group 1
!
interface ATM1/0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Virtual-Template1
ip unnumbered GigabitEthernet0/0
peer default ip address pool default
ppp authentication chap pap ms-chap ms-chap-v2 vpdn
========================================================================
Feb 6 16:13:53.111: %SGBP-7-SENT: MQ Open to 196.1.56.36 for query 9:0, bundle cisco-anthony@vpn.frogfoot.net, bid 4999, prot l2tp, len 90
Feb 6 16:13:53.211: %SGBP-7-MQ: Bid (0x11) for query 9:8, bundle cisco-anthony@vpn.frogfoot.net, bid 5000, len 91
Feb 6 16:13:53.211: %SGBP-7-RCVD: MQ Bid from 196.1.56.36 for query 9:0, bundle cisco-anthony@vpn.frogfoot.net, bid 5000, prot l2tp
Feb 6 16:13:53.311: SGBP: Sending protocol 0x2 in MQ Accept
Feb 6 16:13:53.311: %SGBP-7-SENT: MQ Accept to 196.1.56.36 for query 9:0, bundle cisco-anthony@vpn.frogfoot.net, bid 4999, prot l2tp, len 90
Feb 6 16:13:53.311: %SGBP-7-DONE: Query #9 for bundle cisco-anthony@vpn.frogfoot.net, count 1, master is 196.1.56.36
Feb 6 16:13:53.311: %SGBP-7-MQB: Bundle: cisco-anthony@vpn.frogfoot.net State: Done OurBid: 4999
Feb 6 16:13:53.311: Tnl/Sn 60283/12 L2TP: Session state change from idle to wait-for-tunnel
Feb 6 16:13:53.311: uid:9 Tnl/Sn 60283/12 L2TP: Create session
Feb 6 16:13:53.311: Tnl 60283 L2TP: SM State idle
Feb 6 16:13:53.311: Tnl 60283 L2TP: O SCCRQ
Feb 6 16:13:53.311: Tnl 60283 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.311: Tnl 60283 L2TP: Tunnel state change from idle to wait-ctl-reply
Feb 6 16:13:53.311: Tnl 60283 L2TP: SM State wait-ctl-reply
Feb 6 16:13:53.315: Tnl 60283 L2TP: I SCCRP from FROGFOOT
Feb 6 16:13:53.315: Tnl 60283 L2TP: Got a challenge from remote peer, FROGFOOT
Feb 6 16:13:53.315: Tnl 60283 L2TP: Got a response from remote peer, FROGFOOT
Feb 6 16:13:53.315: Tnl 60283 L2TP: Tunnel Authentication success
Feb 6 16:13:53.315: Tnl 60283 L2TP: Tunnel state change from wait-ctl-reply to established
Feb 6 16:13:53.315: Tnl 60283 L2TP: O SCCCN to FROGFOOT tnlid 21254
Feb 6 16:13:53.315: Tnl 60283 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.315: Tnl 60283 L2TP: SM State established
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: O ICRQ to FROGFOOT 21254/0
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: Session state change from wait-for-tunnel to wait-reply
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: Session state change from wait-reply to established
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: VPDN session up
Feb 6 16:13:53.315: uid:9 Tnl/Sn 60283/12 L2TP: O ICCN to FROGFOOT 21254/3
Feb 6 16:13:53.315: Tnl 60283 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Session state change from wait-for-service-selection-iccn to established
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: VPDN session up
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: Result code(2): 2: Call disconnected, refer to error msg
Feb 6 16:13:53.319: Error code(4): Insufficient resources
Feb 6 16:13:53.319: Optional msg: No virtual-template specified
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: I CDN from FROGFOOT tnl 21254, cl 3
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: disconnect (L2X) IETF: 9/nas-error Ascend: 62/VPDN No Resources
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: Destroying session
Feb 6 16:13:53.319: uid:9 Tnl/Sn 60283/12 L2TP: Session state change from established to idle
Feb 6 16:13:53.319: Tnl 60283 L2TP: Tunnel state change from established to no-sessions-left
Feb 6 16:13:53.319: Tnl 60283 L2TP: No more sessions in tunnel, shutdown (likely) in 15 seconds
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: disconnect (AAA) IETF: 9/nas-error Ascend: 62/VPDN No Resources
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: O CDN to bipac 58877/1
Feb 6 16:13:53.319: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Destroying session
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Session state change from established to idle
Feb 6 16:13:53.319: uid:9 Tnl/Sn 16568/11 L2TP: Accounting stop sent
Feb 6 16:13:53.319: Tnl 16568 L2TP: Tunnel state change from established to no-sessions-left
Feb 6 16:13:53.319: Tnl 16568 L2TP: No more sessions in tunnel, shutdown (likely) in 10 seconds
Feb 6 16:13:54.319: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:14:03.319: Tnl 60283 L2TP: I StopCCN from FROGFOOT tnl 21254
Feb 6 16:14:03.319: Tnl 60283 L2TP: Tunnel state change from no-sessions-left to shutting-down
Feb 6 16:14:03.319: Tnl 60283 L2TP: Shutdown tunnel
Feb 6 16:14:03.319: Tnl 60283 L2TP: Tunnel state change from shutting-down to idle
Feb 6 16:14:03.323: Tnl 16568 L2TP: O StopCCN to bipac tnlid 58877
Feb 6 16:14:03.323: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:14:03.323: Tnl 16568 L2TP: Tunnel state change from no-sessions-left to shutting-down
Feb 6 16:14:04.323: Tnl 16568 L2TP: Control channel retransmit delay set to 1 seconds
Feb 6 16:14:08.323: Tnl 16568 L2TP: Shutdown tunnel
Feb 6 16:14:08.323: Tnl 16568 L2TP: Tunnel state change from shutting-down to idle
02-08-2012 01:11 AM
sorry, I have logged this post under the wrong category...It has since been reposted under Service Providers
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