Cisco Cisco IOS Software Release 12.2(27)SBC
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
VPDN Multihop by DNIS
vpdn multihop
3
Examples
The following example configures the NAS, tunnel switch, and tunnel server to establish a multihop
VPDN tunnel using L2TP:
VPDN tunnel using L2TP:
NAS Configuration
! Configure the NAS to initiate VPDN dial-in sessions to the tunnel switch
vpdn-group 1
request-dialin
protocol l2tp
domain cisco.com
!
initiate-to ip 172.22.66.25
local name ISP-NAS
Tunnel Switch Configuration
!Enable multihop
vpdn multihop
!
! Configure the tunnel switch to use the multihop hostname in the authentication search.
vpdn search-order multihop-hostname domain dnis
!
! Configure the tunnel switch to accept dial-in sessions from the NAS
vpdn-group tunnelin
accept-dialin
protocol l2tp
virtual-template 1
!
terminate-from hostname ISP-NAS
local name ISP-Sw
!
! Configure the tunnel switch to initiate VPDN dial-in sessions to the tunnel server
vpdn-group tunnelout
request-dialin
protocol l2tp
multihop-hostname ISP-NAS
!
initiate-to ip 10.2.2.2
local name ISP-Sw
Tunnel Server Configuration
! Configure the tunnel server to accept dial-in sessions from the NAS
vpdn-group 1
accept-dialin
protocol l2tp
virtual-template 1
!
terminate-from hostname ISP-Sw
local name ENT-TS
The following example configures one member of a stack group and a NAS for dial-in L2F VPDN
tunneling. Multihop VPDN must be enabled on each stack group member to allow calls to be forwarded
to the bundle owner.
tunneling. Multihop VPDN must be enabled on each stack group member to allow calls to be forwarded
to the bundle owner.
Tunnel Server A Configuration
!Enable multihop VPDN
vpdn multihop
!
!Configure the tunnel server to accept L2F tunnels from the NAS
vpdn-group group1
accept-dialin