网络拓扑

这个文档使用以下拓扑

配置如下:

S3-3640
interface Serial1/0 
  ip address 172.16.1.1 255.255.255.0
  ip rip triggered
 ! 
 router rip
  network 172.16.0.0 
S3-3620
interface Loopback8
 ip address 172.19.1.1 255.255.255.0
!
interface Ethernet0/3
 ip address 172.18.1.1 255.255.255.0
!
interface Serial1/0
 ip address 172.16.1.2 255.255.255.0
 ip rip triggered
!
router rip
 network 172.16.0.0
 network 172.18.0.0
 network 172.19.0.0

验证:

通过  ip rip triggered 学习到的条目显示为permanent,即在路由表里和数据库没有计时。
 
  • show ip route - 显示当前路由表
  • show ip rip database - 显示RIP汇总路由和接收到条目(永久)
    S3-3640# show ip route
    C       172.16.1.0/24 is directly connected, Serial1/0
    R    172.19.0.0/16 [120/1] via 172.16.1.2, Serial1/0
    R    172.18.0.0/16 [120/1] via 172.16.1.2, Serial1/0

    S3-3640# show ip rip database
    172.18.0.0/16    auto-summary
    172.18.0.0/16
        [1] via 172.16.1.2, 00:02:44 ( permanent), Serial1/0
    * Triggered Routes:
         - [1] via 172.16.1.2, Serial1/0
    172.19.0.0/16    auto-summary
    172.19.0.0/16
        [1] via 172.16.1.2, 00:02:45 ( permanent),Serial1/0
      * Triggered Routes:
         - [1] via 172.16.1.2, Serial1/0
  • 更多精华帖 请见论坛:[url]www.one-tom.com/bbs[/url]
  • 网站:[url]www.one-tom.com[/url]