
interface Ethernet0/0
9 q' p( G$ M4 x& w# Y speed 100
( T9 [/ b" b0 Z/ J' {4 P8 C6 [! \ description "Connect to GGSN"
7 E( @, ]4 u1 J( w tcp mss 13501 N0 b$ }& o0 S& y; l* ^. t
ip address 120.237.75.115 255.255.255.224
, h% G" W8 y, T+ ?#
N8 T: V& M3 o+ L# l7 linterface Ethernet0/13 ~+ m; m5 o+ x: V c5 M
description "Connect to LAN"2 y3 B. S; t4 Q
ip address 192.168.200.1 255.255.255.0% K9 e# o: K* K5 Z, N6 P# f( \
#
* L6 ~) v0 J: Jinterface Tunnel10 @. l- |6 ?& m S
description "GRE Tunnel to GGSN"! Y9 h4 G `' B5 n1 \/ h. L
ip address unnumbered interface Ethernet0/0% D8 Q% O+ } p- m$ g, E9 @
source Ethernet0/0" d) }7 i1 [& Q
destination 211.139.129.52; \# Q' }- d* C/ i
gre key 1350
6 ]* D$ J- I: t' @#
, H5 V9 i$ H2 G) s' @& |9 jinterface NULL0* O; d: i$ ~5 [! m5 \+ M
#: } G% c2 H6 k8 X% d
ip route-static 0.0.0.0 0.0.0.0 120.237.75.97 preference 604 C! L& ]( Q& Q! \- K) i6 M
ip route-static 188.188.0.0 255.255.0.0 Tunnel 1 preference 60( Q( f) P/ ^1 y V$ L- ~
上面是华为的路由器,如果用思科的2600是怎么配置出红色部分命令呢?谢谢 |
|