浮動靜態路由配置主要步驟和配置語句的詳解
作者:佚名
也許很多人對浮動靜態路由配置還不是特別的了解,下面我們主要針對此問題,詳細的分析浮動靜態路由配置主要步驟和配置語句。
了解一些關于浮動靜態路由配置的知識還是非常有用的,于是我研究了一下靜態路由配置主要步驟和配置語句,在這里拿出來和大家分享一下,希望對大家有用。浮動靜態路由配置步驟:
1、正確配置主干線路,保證其能正常通信
2、配置主干線路的動態路由
3、正確配置備份線路,保證其能正常通信
4、浮動靜態路由配置通過備份線路的靜態路由
ip route 目地子網地址 子網掩碼 相鄰路由器相鄰端口地址權值其中,權值數值越高其路由優先權越低權值范圍在1-255之間,CISCO 2501-above的浮動靜態路由配置:
- Current confignration:!version 11.2no service udp-small-servers
- no service tcp-small-servers
- !
- hostname above
- !
- enable secret 5 $1$O1aq$KxgpIA0Eulqug8SbCm6rd1
- enable password cisco
- !
- username down password 7 095C5E19
- chat-scrip lab ABORT ERROR ABORT BUSY ABORT "NO ANSWER" "" "AT H" OK "ATDT \T" TIMEOUT 60 CONNECT \c
- !
- interface Ethernet0
- ip address 192.192.193.1 255.255.255.0
- !interface Serial0
- iu address 192.192.192.1 255.255.255.0
- bandwidth 64
- clockrate 64000
- !
- interface Serial1
- no ip address
- shutdown
- interface Asyncl
- ip address 166.71.70.1 255.255.255.0
- encapsulation pppasync dynamic address
- async dynamic routing
- async mode dedicated
- dialer in-banddialer ip 166.71.70.2 name down modem-script lab broadcast 3631
- dialer-group 1
- no cdp enableppp authentication chap
- !router rip
- network 192.192.192.0
- network 192.192.193.0
- !
- no ip classless
- ip route 0.0.0.0 0.0.0.0 166.71.70.2 150
- ip route 192.192.191.0 255.255.255.0 166.71.70.2 150
- dialer-list 1 protocol ip permit
- !line con 0
- line aux 0
- modem InOutmodem autoconfigure discoverystopbits 1rxspeed 38400txspeed 38400flowcontrol hardware
- line vty 0 4
- no login
- !
- end
- Cisco 2501-down 的配置Current configuration:
- !
- version 11.2no service udp-small-serversno service tep-small-servers!hostname down!enable secret 5 $1$m8S4
- $InrkhnJDtCVtSvTpXO8v/0enable password cisco
- !
- username above password 7 095C5E19
- chat-script lab ABORT ERROR ABORT BUSY ABORT "NO ANSWER" "" "AT H" OK "ATDT \T" TIMEOUT 60 CONNECT \c
- !
- interface Ethernet0
- ip address 192.192.191.1 255.255.255.0
- !
- interface Serial0
- ip address 192.192.192.3 255.255.255.0
- !
- interface Serial1
- no ip address
- shutdown
- !
- interface Asyncl
- ip address 166.71.70.2 255.255.255.0encapsulation pppasync dynamic addressasync dynamic routingasync mode dedicateddialer in
- -banddialer map ip 166.71.70.1 name above modem-script lab broadcast 3621
- dialer-group 1
- no cdp enable
- ppp authentication chap
- !
- router rip network 192.192.192.0
- network 192.192.191.0
- !
- no ip classless
- ip route 0.0.0.0 0.0.0.0 166.71.70.1 150
- ip route 192.192.193.0 255.255.255.0 166.71.70.1 150
- dialer-list 1 protocol ip permit
- !
- line con 0
- line aux 0
- modem InOutmodem autoconfigure discovery
- stopbits 1
- rxspeed 38400
- txspeed 38400
- flowcontrol hardware
- line vty 0 4
- no login
責任編輯:王曉東
來源:
計世網