|
进入路由器" W1 l7 Q* ^6 C- y8 O
8 @' T* F& G, L* J \5 {. r先 show run
% a& t/ x* K% V: \
& L; i$ ^1 ?- v N* }* ]0 N# Q查看一下已配置信息; q" D+ b% f$ j4 g
" C1 J" G- G+ gaccess-list 100 per tcp 172.16.14.0 0.0.0.255 any eq 80
+ G4 S6 g6 [& ]- e( p( D9 E9 H$ j/ W4 F7 x, ^. A8 t
route-map pbr per 10
* \1 s+ e" U# H! L: S4 F8 N. P. L0 }
2 d" a# }+ A+ x9 t1 Dmatch ip add 100
/ _; P9 G8 C) z. z4 z P7 a0 d$ Z+ t+ F# x( i4 `% R" [ _: N
set ip next-hop 10.100.1.2; `" o4 }( S& F$ W7 b' U# B- u
1 {$ t7 q9 C3 k5 U/ m: Nroute-map pbr per 20& W! I) P i% `1 @% y% p* P
- b1 J! D t" x% g4 h0 T ^, tset ip next-hop 10.101.1.2
, Q3 z& ]# i8 W' M! } q C7 \5 x, |6 H; o; I' G$ V* T
int f0/1# ~; G% ~0 G- H4 M8 k, J
/ i6 W$ d& o# K: b3 @4 o' q: V3 [
ip policy route-map pbr |
|