a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 54|回复: 0

[CCIE] CCIE复习指导:配置BGP案例八

[复制链接]
发表于 2012-8-3 20:12:39 | 显示全部楼层 |阅读模式
Case 8
9 a9 o! E/ z( J+ ]9 q( ^只允许路由器C把超网160.10.0.0/8发送给路由器A,而过滤掉网络160.10.0.0/16:" B  i5 d% m9 ^# j- @9 l
路由器C配置如下:: v% I% Y9 ?5 R! N
!! c; v9 k4 G$ W$ ^* b
router bgp 300. i0 d4 U9 C3 ~) @, B- I; a8 c
network 170.10.0.0. f4 A6 s/ E) E5 u
neighbor 3.3.3.3 remote-as 200. B) ]( n( I4 k! m; i
neighbor 2.2.2.2 remote-as 1003 C! P6 M; C. B+ c! F
neighbor 2.2.2.2 distribute-list 1 out
& Z7 \+ N8 D; m7 \/ \, J!/ R6 _# L- O. l% w4 |/ G( j% c
access-list 101 permit ip 160.0.0.0 0.255.255.255 255.0.0.0 0.255.255.255/ O8 b0 d6 r" a& G- y2 y9 d) O/ S
!
5 d) C' t) l2 P/ fAS_PATH Filtering& |3 m- I- |  [
使用AS_PATH属性过滤BGP路由的步骤如下:7 P2 s! ~$ n! ^0 n: ^: W' Y
1.定义AS_PATH ACL:3 |3 K3 z# v5 b2 i/ Z! I
Aiko(config)#ip as-path access-list {number} {permit|deny} {regex}& V) M+ F1 m1 ]4 s
2.调用AS_PATH ACL过滤BGP路由:
' T) V  \% p5 WAiko(config-router)#neighbor {ip-address} filter-list {AS_PATH ACL} {in|out}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-22 21:57 , Processed in 0.163822 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表