用户路由表有些庞大,于是便动手试做了一下路由过滤,实现如下:
config
ip prefix-list 1 seq 5 permit 10.0.0.0/8 le 16
ip prefix-list 1 seq 10 permit 10.65.0.0/16 le 32
其中 :
prefix-list --prefix list definition
router ospf 1
filter Serial0/2 in prefix 1
config
ip prefix-list 1 seq 5 permit 10.0.0.0/8 le 16
ip prefix-list 1 seq 10 permit 10.65.0.0/16 le 32
其中 :
prefix-list --prefix list definition
router ospf 1
filter Serial0/2 in prefix 1