|
进入路由器
+ s" B+ U8 i! L A( L- T) d9 S" n
先 show run 2 ~3 M/ R" N+ s E t' e6 w% B
( z% I0 L7 E3 z5 D P6 s查看一下已配置信息/ B8 E' ]( T) A& U# V3 w5 e" U
% s' `; l( l$ L' Q4 k" n& raccess-list 100 per tcp 172.16.14.0 0.0.0.255 any eq 80# E7 p7 l1 y( i# p- _
7 Q, g0 }: w* Y# D: L5 x
route-map pbr per 10
0 Y. V, p) I9 f6 _- z, V* K: _) X( s. z @* x4 e0 B
match ip add 100
1 ]1 R7 ]) t* D; s; [ i! C. ~7 U$ @) l e" M4 H! o& q0 x
set ip next-hop 10.100.1.2; l& m/ x; |& |$ Q9 D
3 E/ f4 P6 J8 I7 q& Droute-map pbr per 20
+ I- r4 ` |1 c+ p* f2 A3 m) s3 T" N0 m/ _ G2 P( |% v
set ip next-hop 10.101.1.21 G# n+ N8 v1 E0 t# R
B" W% Z. _# e% sint f0/11 m! F- e4 i8 s; y$ Y
z2 ]' o4 }7 z& ?2 X: Eip policy route-map pbr |
|