Cisco Cisco IOS Software Release 12.2(27)SBC

Página de 6
 
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:
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.
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