HCIP(十四)
HCIP笔记
一、BGP的路由过滤
1,通过路由策略进行过滤
[r1]ip ip-prefix aa permit 192.168.1.0 24
[r1]route-policy aa deny node 10
Info: New Sequence of this List.
[r1-route-policy]if-match ip-prefix aa
[r1-route-policy]q
[r1]route-policy aa permit no 20
Info: New Sequence of this List.
[r1-route-policy]q
[r1]bgp 1
[r1-bgp]peer 12.0.0.2 route-policy aa export
2,通过前缀列表来进行过滤
[r2]ip ip-prefix aa deny 192.168.2.0 24
[r2]ip ip-prefix aa
HCIP(十四)最先出现在Python成神之路。
共有 0 条评论