本人空间所有文章如没有声明转载,则均为本人原创. comsyschen@163.com

9个品牌交换机的经典配置(11)

上一篇 / 下一篇  2008-02-02 22:48:39 / 个人分类:网络经典配置

cisco4232 路由模块的设置IXPUB技术博客%Gh*VS gNn-E~
IXPUB技术博客/o C:?+P;@P$G
!IXPUB技术博客2oG^ `$\ZXA
version 12.0
B v"bxx[&~J0no service padIXPUB技术博客xm[ ^4PX@F7e
service timestamps debug uptime
#Gi/`(Yqt0service timestamps log uptime
8YT7xP,B\ x0no service password-encryption
TX)j3ot? @0!
Wg Ff4zq:Q0hostname cisco4003 设置路由器的主机名IXPUB技术博客oCun%Z B
!IXPUB技术博客+W1JI `!e(Jy
enable secret 5 $1$gMBk$cIEt3 设置路由器的超级用户密码IXPUB技术博客 _8e,Fc^+m
enable password fgfgdfg 设置路由器的使能密码
QywD6q0!
oc(e;o3@Tc0dT0username lin password 0 lin 建立一个只读的用户
Jg{^4x.jC:Q0ip subnet-zero 允许子网掩码有0IXPUB技术博客{:f*VD\LxQF
ip domain-name mzzx.edu.cn 设置域名
%|:q-]P0kQFhm0ip name-server 192.168.1.3 设置DNS服务器地址
6yhP z}#R0!
x Mw!~,hw._aMs0!
[Dpt \1Y(S F,{/w0!
gr6TbW0interface Port-channel1 设置port-channel1IXPUB技术博客8KI&p;o4GQ&S~2t%or
no ip address
#},YG {)m:_`.|&_0no ip directed-broadcastIXPUB技术博客 k;us r9g*T
hold-queue 300 in
)A$u/c6HBh0!IXPUB技术博客)O.d5l \]5@
interface Port-channel1.1 设置VLAN1IXPUB技术博客lk uiNV6}K(B$_
encapsulation dot1Q 1 native 封装VLAN1使用dot1q协议
R R }3R GH1D8@#B0ip address 192.168.10.1 255.255.255.0 设置VLAN1的网关地址
M$I(Z+|(FQ po0no ip redirectsIXPUB技术博客2H6s)m ]7E
no ip directed-broadcast
#S_i)]I$Y(E0!
zk$KJ:ZG M0interface Port-channel1.2 设置VLAN2
BO\a,P/m0encapsulation dot1Q 2 封装VLAN2使用dot1q协议
%Y%I-[n ?4e0ip address 192.168.2.1 255.255.255.0 设置VLAN2的网关地址
1K TqXG$f@P0ip helper-address 192.168.1.4 设置VLAN2的DHCP服务器的地址
(ed+Ae)iK(o7]%?0no ip redirects
lks F6or3V0no ip directed-broadcastIXPUB技术博客NfB+n"b'i
!
^{8A;X,aB0interface Port-channel1.4IXPUB技术博客6\Q e.BWr
encapsulation dot1Q 4IXPUB技术博客8~G ^"X1O8c8_3\#P
ip address 192.168.3.1 255.255.255.0
/s+S/\!T%bJ0ip helper-address 192.168.1.4IXPUB技术博客T4m9O_kM$] o-A
no ip redirectsIXPUB技术博客0?J(p3p5chA$AqH
no ip directed-broadcastIXPUB技术博客.rz}|lO
!IXPUB技术博客nI q E.C*vc
interface Port-channel1.6
7x'c~r3R D`ip0encapsulation dot1Q 6IXPUB技术博客%G/~S3Y*bfJ^6s
ip address 192.168.4.1 255.255.255.0
qdO{1a_2\$f0ip helper-address 192.168.1.4IXPUB技术博客(H,d%OU0Y
no ip redirects
!T-XPuB)Ui0no ip directed-broadcastIXPUB技术博客s1T?1quW
!
[ I7])a%Y(Yc7r0interface Port-channel1.8IXPUB技术博客NA Cx(f"H};Ai
encapsulation dot1Q 8
&Dd7F I%J!i9E'c0ip address 192.168.5.1 255.255.255.0IXPUB技术博客`LS"O$@7CN
ip helper-address 192.168.1.4
B-Y/oML C}D&H7M0no ip redirectsIXPUB技术博客^%T5EIG(w.d-I L/g#O
no ip directed-broadcast
g7o-\/o'tp$qv%[ ?,[0!IXPUB技术博客#f1wADKx$h
interface Port-channel1.10
%Hi/]A M1L2Jjr0encapsulation dot1Q 10
A'B:A%p;Pov0ip address 192.168.1.1 255.255.255.0IXPUB技术博客*o1t?CW7Rx6||
ip helper-address 192.168.1.4IXPUB技术博客\)E K4Ty@i-B
no ip redirectsIXPUB技术博客p:zG(z[?
no ip directed-broadcast
/Z[6Q dtW3m0!IXPUB技术博客4lH6RvAPg R5j

E;Kn tR0interface Port-channel1.12
5[o}`)XG0encapsulation dot1Q 12IXPUB技术博客Q2[3X,j4z&b
ip address 192.168.6.1 255.255.255.0IXPUB技术博客$F-Q(]6k B7\^+L*p
ip helper-address 192.168.1.4IXPUB技术博客L&NY)~F Y
no ip redirectsIXPUB技术博客!x J)k/InAWhgK
no ip directed-broadcastIXPUB技术博客.u3Jmix E
!
d:unzX!_C4[9X0
VL0C:~:@[/S7U0!
:e0vt(n^4S0interface GigabitEthernet1 设置千兆端口1
_yO3NO2?nl0ip address 192.168.11.2 255.255.255.0 设置它的IP地址及其掩码
2N7]JYo5h0no ip directed-broadcast
p-Au4Y0q8cms0shutdown
b+U%gs?GN+gZ?0!
+g,f0ueQ-L7f0!IXPUB技术博客'l&i)y7`.OK
interface GigabitEthernet3
k;o$a%} m*U/Kc0no ip address
0\%w I~'@:J3t$g|0no ip directed-broadcastIXPUB技术博客 i} jWM0Zt
no negotiation auto
0G8}i"_*]0channel-group 1IXPUB技术博客} `J/Kz,A.c
!IXPUB技术博客y:O]CvHY Ap,J
interface GigabitEthernet4
/Z h gu"f&z0no ip address
8{hnD'l6c(o8R m:W0no ip directed-broadcastIXPUB技术博客#R+W:T2^[&a*]
no negotiation autoIXPUB技术博客QK,~f t5z6ac
channel-group 1IXPUB技术博客rY$g?D8j m1TM3R Q
!
n RZ}v5Y&z,D ^0router eigrp 1 设置动态路由边界网关协议
Yhhs C0passive-interface FastEthernet1
"ws3iP DZ1vs)f0network 192.168.1.0 设置VLAN1的动态路由IXPUB技术博客`!B9gK!WU
network 192.168.2.0IXPUB技术博客%d&xM)u1b9r}&z,_
network 192.168.3.0
7uP8[7_3EP$f+D0network 192.168.4.0IXPUB技术博客-f d,R3u9lPpY
network 192.168.5.0
H HU_ aZD:d0network 192.168.10.0
Bb|}Zb*{'@0network 192.168.11.0
4K1{;e5zN-s9T)he4o0network 192.168.6.0IXPUB技术博客+Zc.W k?sx B.?
!
n+P IWs8|l @I0ip classless 设置无类路由
*VNq9}I/K0!
7['pM gnsI0!
6seg6D-_}0line con 0 设置串口IXPUB技术博客h1rv1@2Y@
password comsydfgdfgdf 设置串口密码IXPUB技术博客/x3Ui'`]L5t5z
transport input none
u6z(i'B @iehj0line aux 0IXPUB技术博客UY?Ul(f \ K
line vty 0 4 设置四路虚拟端口IXPUB技术博客"]5V\r7SA8c }
password comfgdfgfdg 设置虚拟端口的密码IXPUB技术博客zJ$B)r euYM
loginIXPUB技术博客(OQ6| w+Qj
!
(b7A2jx"@:W Y0end

TAG: cisco4232

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

Open Toolbar