Monday, January 16, 2017

configure xconnect on cisco router

*** diagram

c1-router ---> f0/0 R1 f0/1-----> f0/1 R3 f0/0 -----> c2-router


*** R1 configuration
l2tp-class c1
 cookie size 4
!
ip tcp synwait-time 5
pseudowire-class test
 encapsulation l2tpv3
 protocol none
 ip local interface FastEthernet0/0
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 no cdp enable
 xconnect 1.1.1.2 1000 encapsulation l2tpv3 manual pw-class test
  l2tp id 1 2
!
interface FastEthernet0/1
 ip address 1.1.1.1 255.255.255.0
 duplex auto
 speed auto




*** R2 configuration
 l2tp-class c1
 cookie size 4
!
ip tcp synwait-time 5
pseudowire-class test
 encapsulation l2tpv3
 protocol none
 ip local interface FastEthernet0/0
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 no cdp enable
 xconnect 1.1.1.1 1000 encapsulation l2tpv3 manual pw-class test
  l2tp id 2 1
!
interface FastEthernet0/1
 ip address 1.1.1.2 255.255.255.0
 duplex auto
 speed auto




*** show command

R3#show l2tun        

%No active L2F tunnels

L2TP Tunnel and Session Information Total tunnels 0 sessions 1

LocID      RemID      TunID      Username, Intf/      State  Last Chg Uniq ID  
                                 Vcid, Circuit                                 
2          1          0          1000, Fa0/0          est    00:07:49 6     

%No active PPTP tunnels

No comments:

Post a Comment