GRE vpn 的配置 | 您所在的位置:网站首页 › 华三acl配置阻断某个ip › GRE vpn 的配置 |
HQ: [HQ]int Tunnel 0/0/1 //创建Tunnel接口 [HQ-Tunnel0/0/1]tunn [HQ-Tunnel0/0/1]tunnel-protocol gre //封装协议 [HQ-Tunnel0/0/1]ip add 200.1.1.1 24 //配置接口IP地址 [HQ-Tunnel0/0/1]source 10.1.1.2 //配置源IP地址 [HQ-Tunnel0/0/1]destination 20.1.1.2 //指定目的IP地址 [HQ-Tunnel0/0/1]q [HQ]ip route-static 192.168.20.0 24 tunnel 0/0/1 Branch: [Branch]int Tunnel 0/0/1 [Branch-Tunnel0/0/1]tunnel-prot [Branch-Tunnel0/0/1]tunnel-protocol gre [Branch-Tunnel0/0/1]ip add 200.1.1.2 24 [Branch-Tunnel0/0/1]source 20.1.1.2 [Branch-Tunnel0/0/1]destination 10.1.1.2 [Branch-Tunnel0/0/1]q [Branch]ip route-static 192.168.10.0 24 Tunnel 0/0/1 |
CopyRight 2018-2019 实验室设备网 版权所有 |