Lab L2tpv3

L2TPv3 配置:

静态(一般不采用)
动态
1、开启 CEF(Enable Cisco Express Forwarding)
2、配置环回口
3、Configure the L2TP Class(定义控制通道安全参数的可选项)
r2(config)#l2tp-class AA
r2(config-l2tp-class)#authentication 
r2(config-l2tp-class)#password 0 cisco

4、Configure the Pseudowire Class(指定源地址)
r2(config)#pseudowire-class T4
r2(config-pw-class)#encapsulation l2tpv3
r2(config-pw-class)#protocol l2tpv3 AA
r2(config-pw-class)#ip local interface loopback 0
r2(config-pw-class)#interworking ip(Any-to-Any)

5、Configure the Attachment Circuits(调用上述定义的伪线)
r2(config-subif)#int e0/0.12
r2(config-subif)#xconnect 10.1.1.2 120 pw-class T4

r2#show l2tun
r2#show l2tun                                                                   
                                                                                
L2TP Tunnel and Session Information Total tunnels 1 sessions 1                  
                                                                                
LocTunID   RemTunID   Remote Name   State  Remote Address  Sessn L2TP Class/    
                                                           Count VPDN Group     
1317103989 3627901902 r4            est    4.4.4.4         1     l2tp_default_cl
                                                                                
LocID      RemID      TunID      Username, Intf/      State  Last Chg Uniq ID   
                                 Vcid, Circuit                                  
2340154578 1620984577 1317103989 100, Et0/0.12:10     est    00:12:53 8         


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值