中小型企业部分拓朴结构配置方法

����瀛�娴�
配置命令
-----------------------------
Router-A
----------------------------
en
conf t
no ip do lo
lin c 0
no exec-t
logg s
exit
 
int s3/0
ip add 6.6.6.254 255.255.255.0
no sh
int f0/0
ip add 1.1.1.254 255.255.255.0
no sh
int f1/0
ip add 2.2.2.254 255.255.255.0
no sh
int f2/0
ip add 5.5.5.254 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 s0/3
router r
ver 2
no au
netw 1.1.1.0
netw 2.2.2.0
netw 5.5.5.0
netw 6.6.6.0
                    
----------------------------
Router-B
----------------------------
en
conf t
no ip do lo
lin c 0
no exec-t
logg s
exit
 
int s3/0
ip add 7.7.7.254 255.255.255.0
no sh
int f0/0
ip add 4.4.4.254 255.255.255.0
no sh
int f1/0
ip add 3.3.3.253 255.255.255.0
no sh
int f2/0
ip add 5.5.5.253 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 s0/3
router r
ver 2
no au
netw 3.3.3.0
netw 4.4.4.0
netw 5.5.5.0
netw 7.7.7.0
 
----------------------------
Router-C
----------------------------
en
conf t
no ip do lo
lin c 0
no exec-t
logg s
exit
 
int s0/1
ip add 6.6.6.253 255.255.255.0
no sh
int s0/2
ip add 7.7.7.253 255.255.255.0
no sh
int l 0
ip add 8.8.8.8 255.255.255.0
no sh
exit
router r
ver 2
no au
netw 6.6.6.0
netw 7.7.7.0
netw 8.8.8.0
 
----------------------------
SWA-3L
----------------------------
en
conf t
no ip do lo
lin c 0
no exec-t
logg s
exit
 
int r f0/11 - 14
sw m t
int r f0/5 - 6
channel-g 1 m o
exit
int p 1
sw m t
end
vl d
vl 2
vl 3
vl 4
vtp do cisco
exit
conf t
sp v 1 r p
sp v 2 r p
sp v 3 r s
sp v 4 r s
int f0/0
no sw
ip add 1.1.1.254 255.255.255.0
no sh
int f0/1
no sw
ip add 3.3.3.254 255.255.255.0
no sh
int vlan 1
ip add 192.168.1.254 255.255.255.0
no sh
int vlan 2
ip add 192.168.2.254 255.255.255.0
no sh
int vlan 3
ip add 192.168.3.254 255.255.255.0
no sh
int vlan 4
ip add 192.168.4.254 255.255.255.0
no sh
sp v 1 r p
sp v 2 r p
sp v 3 r s
sp v 4 r s
sp backbonefast
int vl 1
st 1 ip 192.168.1.1
st 1 pre
st 1 pri 200
st 1 tra f0/0 60
int vl 2
st 2 ip 192.168.2.1
st 2 pre
st 2 pri 200
st 2 tra f0/0 60
int vl 3
st 3 ip 192.168.3.1
st 3 pri 150
int vl 4
st 4 ip 192.168.4.1
st 4 pri 150
exit
router r
ve 2
no au
netw 1.1.1.0
netw 3.3.3.0
netw 192.168.1.0
netw 192.168.2.0
netw 192.168.3.0
netw 192.168.4.0
exit
 
----------------------------
SWB-3L
----------------------------
en
conf t
no ip do lo
lin c 0
no exec-t
logg s
exit
 
int r f0/11 - 14
sw m t
int r f0/5 - 6
channel-g 1 m o
exit
int p 1
sw m t
end
vl d
vtp do cisco
exit
conf t
sp v 1 r s
sp v 2 r s
sp v 3 r p
sp v 4 r p
int f0/0
no sw
ip add 4.4.4.253 255.255.255.0
no sh
int f0/1
no sw
ip add 2.2.2.253 255.255.255.0
no sh
int vlan 1
ip add 192.168.1.253 255.255.255.0
no sh
int vlan 2
ip add 192.168.2.253 255.255.255.0
no sh
int vlan 3
ip add 192.168.3.253 255.255.255.0
no sh
int vlan 4
ip add 192.168.4.253 255.255.255.0
no sh
sp v 1 r s
sp v 2 r s
sp v 3 r p
sp v 4 r p
sp backbonefast
int vl 1
st 1 ip 192.168.1.1
st 1 pri 150    
int vl 2
st 2 ip 192.168.2.1
st 2 pri 150
int vl 3
st 3 ip 192.168.3.1
st 3 pre
st 3 pri 200
st 3 tra f0/0 60
int vl 4
st 4 ip 192.168.4.1
st 4 pre
st 4 pri 200
st 4 tra f0/0 60
exit
router r
ve 2
no au
netw 2.2.2.0
netw 4.4.4.0
netw 192.168.1.0
netw 192.168.2.0
netw 192.168.3.0
netw 192.168.4.0
exit
 
----------------------------
SWA-2L
----------------------------
en
conf t
no ip do lo
no ip routing
lin c 0
no exec-t
logg s
end
 
vl d
vtp do cisco
vtp c
exit
conf t
int r f0/14 - 15
sw m t
 
----------------------------
SWB-2L
----------------------------
en
conf t
no ip do lo
no ip routing
lin c 0
no exec-t
logg s
end
 
vl d
vtp do cisco
vtp c
exit
conf t
int r f0/14 - 15
sw m t
int f0/2
sw a v 2
 
----------------------------
SWC-2L
----------------------------
en
conf t
no ip do lo
no ip routing
lin c 0
no exec-t
logg s
end
 
vl d
vtp do cisco
vtp c
exit
conf t
int r f0/14 - 15
sw m t
int f0/3
sw a v 3
 
----------------------------
SWD-2L
----------------------------
en
conf t
no ip do lo
no ip routing
lin c 0
no exec-t
logg s
end
 
vl d
vtp do cisco
vtp c
exit
conf t
int r f0/14 - 15
sw m t
int f0/4
sw a v 4
                           
----------------------------
VPC
----------------------------
ip 192.168.1.10 192.168.1.1
2
ip 192.168.2.10 192.168.2.1
3
ip 192.168.3.10 192.168.3.1
4
ip 192.168.4.10 192.168.4.1
s

你可能感兴趣的:(职场,休闲)