思科3640策略路由如何配置
時(shí)間:
權(quán)威724由 分享
思科公司制造的路由器、交換機(jī)和其他設(shè)備承載了全球80%的互聯(lián)網(wǎng)通信,成為了網(wǎng)絡(luò)應(yīng)用的成功實(shí)踐者之一,那么你知道思科3640策略路由如何配置嗎?下面是學(xué)習(xí)啦小編整理的一些關(guān)于思科3640策略路由如何配置的相關(guān)資料,供你參考。
思科3640策略路由配置的方法:
策略路由是一種路由規(guī)劃,它可以使數(shù)據(jù)包按照用戶(hù)指定的策略進(jìn)行轉(zhuǎn)發(fā)。對(duì)于某些管理目的,如QoS需求或拓?fù)浣Y(jié)構(gòu),要求某些路由必須經(jīng)過(guò)特定的路徑,就可以使用策略路由。例如,一個(gè)策略可以指定從某個(gè)網(wǎng)絡(luò)發(fā)出的數(shù)據(jù)包只能轉(zhuǎn)發(fā)到某個(gè)特定的接口。
策略路由使用rout maps 實(shí)現(xiàn)的,它和訪問(wèn)控制列表很相似。
3640#show run Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname 3640 ! ! ip subnet-zeroR>! ! ! ! ! interface Ethernet0/0 ip address 172.16.0.1 255.255.255.0 no ip redirects no ip directed-broadcast standby 1 priority 120 preempt /*雙機(jī)熱備配置*/ standby 1 ip 172.16.0.100 standby 1 track Serial0/0 50 /*雙機(jī)熱備配置*/ interface Serial0/0 ip address 10.10.10.1 255.255.255.0 no ip directed-broadcast encapsulation ppp no ip mroute-cache no fair-queue ! interface Serial0/1 ip address 10.10.10.10 255.255.255.0 no ip directed-broadcast encapsulation ppp no ip mroute-cache no fair-queue ! interface Serial1/0 no ip address no ip directed-broadcast shutdown ! interface Serial1/1 no ip address no ip directed-broadcast shutdown ! interface Serial1/2 no ip address no ip directed-broadcast shutdown priority-group 5 /*CQ 5 配置應(yīng)用*/ CQ:定制隊(duì)列 ! interface Serial1/3 no ip address no ip directed-broadcast shutdown priority-group 2 /*PQ 2 配置應(yīng)用*/ PQ:優(yōu)先級(jí)隊(duì)列 ! interface Serial3/0 no ip address no ip directed-broadcast ip policy route-map mail /*策略路由mail應(yīng)用*/ shutdown ! interface Serial3/1 no ip address no ip directed-broadcast ip route-cache policy /*啟動(dòng)策略路由mytest的快速轉(zhuǎn)發(fā)*/ ip policy route-map mytest /*策略路由mytest應(yīng)用*/ shutdown no fair-queue ! interface Serial3/2 no ip address no ip directed-broadcast shutdown ! |
看過(guò)文章“思科3640策略路由如何配置”的人還看了: