• 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         


     

  • 相关阅读:
    [转]ASP.Net+XML打造留言薄
    [导入]如何构造一个C#语言的爬虫蜘蛛程序
    [导入]CSS基本布局16例
    [导入]ASP.NET26个常用性能优化方法
    javascript控制cookies及在跳出本页给出提示,是否放弃操作!!
    RunOnBeforeUnload()
    [导入]网易娱乐频道也在用风讯CMS
    etcd集群配置
    openstack上传镜像
    Ambari 节点坏掉不要的节点 无法删除解决方法
  • 原文地址:https://www.cnblogs.com/cyrusxx/p/12824124.html
Copyright © 2020-2023  润新知