设为首页收藏本站language 语言切换
查看: 2049|回复: 0
收起左侧

[书籍] 【华为·HCIA】网络技术实验指南——第十四章

[复制链接]
发表于 2020-11-17 13:29:15 | 显示全部楼层 |阅读模式
14.3 GRE 协议基础配置
最终配置<R1>display current-configuration
sysname R1
#
interface Ethernet2/0/0
ip address 192.168.10.1 255.255.255.0
#
interface Serial1/0/0
link-protocol ppp
ip address 10.1.12.1 255.255.255.0
#
interface NULL0
#
interface Tunnel0/0/0
ip address 172.16.1.1 255.255.255.0
tunnel-protocol gre
source 10.1.12.1
destination 10.1.23.1
#
rip 1
version 2
network 192.168.10.0
network 172.16.0.0
#
ip route-static 0.0.0.0 0.0.0.0 10.1.12.2
#
Return

<R2>display current-configuration
sysname R2
#
interface Serial1/0/0
link-protocol ppp
ip address 10.1.12.2 255.255.255.0
#
interface Serial1/0/1
link-protocol ppp
ip address 10.1.23.2 255.255.255.0
#
Return

<R3>display current-configuration
sysname R3
#
interface Ethernet2/0/0
ip address 192.168.20.1 255.255.255.0
#
interface Serial1/0/0
link-protocol ppp
ip address 10.1.23.1 255.255.255.0
#
interface NULL0
#
interface Tunnel0/0/0
ip address 172.16.1.2 255.255.255.0
tunnel-protocol gre
source 10.1.23.1
destination 10.1.12.1
#
rip 1
version 2
network 192.168.20.0
network 172.16.0.0
#
ip route-static 0.0.0.0 0.0.0.0 10.1.23.2
#
return



——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——

160310ctuvs6txvtsb655s.jpg


您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-1-31 10:33 , Processed in 0.064035 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表