双出口路由配置实例
拓扑:

R1
R1# show running-config
Building configuration...
.
!
interface Ethernet0/0
ip address 100.100.100.1 255.255.255.0
ip policy route-map blah
!
interface Serial1/0
ip address 10.10.10.1 255.255.255.0
!
interface Serial2/0
ip address 20.20.20.1 255.255.255.0
!
router ospf 1
!--- OSPF is not configured on Serial1/0.
log-adjacency-changes
network 20.20.20.0 0.0.0.255 area 0
network 100.100.100.0 0.0.0.255 area 0
!
ip classless
no ip http server
!
access-list 100 permit ip host 100.100.100.3 host 200.200.200.4
!
route-map blah permit 10
match ip address 100
set ip default next-hop 10.10.10.2
.
.
!
end
R2
R2# show running-config
Building configuration...
.
!
!
interface Ethernet0/0
ip address 200.200.200.2 255.255.255.0
ip policy route-map blah
!
interface Serial1/0
ip address 10.10.10.2 255.255.255.0
fair-queue
!
interface Serial2/0
ip address 20.20.20.2 255.255.255.0
!
router ospf 1
!--- OSPF is not configured on Serial1/0.
log-adjacency-changes
network 20.20.20.0 0.0.0.255 area 0
network 200.200.200.0 0.0.0.255 area 0
!
ip classless
no ip http server
!
access-list 100 permit ip host 200.200.200.4 host 100.100.100.3
!
route-map blah permit 10
match ip address 100
set ip default next-hop 10.10.10.1
!
end
相关专题
- 路由安全配置专题 (11761篇文章)
- 电脑配置手册 (8308篇文章)
- 服务器配置专栏 (10894篇文章)
- Linux下的路由的配置与应用 (11721篇文章)
- Cisco 网络教材之路由器的配置详细解析 (44次浏览)
- 合理配置路由命令 管好网络带宽 (14次浏览)
- 如何保持路由器配置的安全性? (14次浏览)
- 路由器启动配置文件丢失故障解决方法 (9次浏览)
- 将路由配置为抵御攻击第一道安全屏障 (1次浏览)



