zoukankan      html  css  js  c++  java
  • 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         


     

  • 相关阅读:
    好代码收藏
    JVM
    关于Redis
    记录ok6410 使用ov9650摄像头的过程
    记录一下在uyuv 转 planar yuv420 的做法
    mini2440 使用的mkyaffs2image 工具的源码
    hi3516a imx178 uboot 默认启动参数
    记录ok6410 使用fast150u 无线网卡的过程 其中部分内容为转载 没有修改
    ubuntu建立tftp服务器有两种方式
    转载hi3516 sd 只读解决
  • 原文地址:https://www.cnblogs.com/cyrusxx/p/12824124.html
Copyright © 2011-2022 走看看