|
发表于 2013-4-3 00:40:12
|
显示全部楼层
本帖最后由 Dreamix.Q 于 2013-4-3 00:48 编辑
R1配置
router ospf 1
log-adjacency-changes
redistribute connected subnets route-map aaa
network 12.1.1.1 0.0.0.0 area 0
!
no ip http server
no ip http secure-server
!
!
!
access-list 1 permit 1.1.1.0
!
route-map aaa permit 10
match ip address 1
set metric 100
!
route-map aaa permit 20
!
1.0.0.0/24 is subnetted, 1 subnets
O E2 1.1.1.0 [110/100] via 12.1.1.1, 00:00:00, Serial0/1
2.0.0.0/24 is subnetted, 1 subnets
O E2 2.2.2.0 [110/20] via 12.1.1.1, 00:00:00, Serial0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, Serial0/1 |
7#
2013-4-3 00:40:12
回复(0)
收起回复
|