中型企业网络的规划与设计(中型企业网络设计方案)
导语:中型企业网络规划方案(五)
无线网络配置之一
所有交换机调整MSTP配置 加入无线用户VLAN
vlan batch 100 to 101 800 to 801
stp region-configuration
instance 10 vlan 10 40 100 800 to 801
instance 20 vlan 20 101
active region-configuration
核心交换机SW1配置
sys
dh en
vl b 100 101 800 801
ip pool 800
gateway-list 10.10.10.254
network 10.10.10.0 mask 255.255.255.0
option 43 sub-option 2 ip-address 1.1.1.1
ex 10.10.10.150 10.10.10.253
//OPTION43携带AC的源地址
ip pool 100
n 192.168.100.0 m 24
g 192.168.100.254
ex 192.168.100.150 192.168.100.253
ip pool 101
n 192.168.101.0 m 24
g 192.168.101.254
ex 192.168.101.1 192.168.101.149
ex 192.168.101.252 192.168.101.253
//配置无线部分DHCP服务,演示DHCP部署在核心的方法
int v 800
ip ad 10.10.10.252 24
vrrp v 8 v 10.10.10.254
vrrp v 8 p 200
vrrp v 8 p t d 1
dh se gl
int v 801
ip ad 10.10.20.252 24
vrrp v 9 v 10.10.20.254
vrrp v 9 p 200
vrrp v 9 p t d 1
int v 100
ip ad 192.168.100.252 24
vrrp v 100 v 192.168.100.254
vrrp v 100 p 200
vrrp v 100 p t d 1
dh sel gl
int v 101
ip ad 192.168.101.252 24
vrrp v 101 v 192.168.101.254
dh se gl
//相关VLAN VRRP接口配置方法同二层接入
interface GigabitEthernet0/0/7
port link-type trunk
port trunk allow-pass vlan 2 to 4094
p t p v 801
ip route-static 1.1.1.1 32 10.10.20.251
//配置访问AC的路由
SW2配置(说明见SW1)
sys
dh en
vl b 100 101 800
ip pool 800
gateway-list 10.10.10.254
network 10.10.10.0 mask 255.255.255.0
option 43 sub-option 2 ip-address 1.1.1.1
ex 10.10.10.1 10.10.10.149
ex 10.10.10.252 10.10.10.253
ip pool 100
n 192.168.100.0 m 24
g 192.168.100.254
ex 192.168.100.1 192.168.100.149
ex 192.168.100.252 192.168.100.253
ip pool 101
n 192.168.101.0 m 24
g 192.168.101.254
ex 192.168.101.150 192.168.101.253
int v 800
ip ad 10.10.10.253 24
vrrp v 8 v 10.10.10.254
dh se gl
int v 801
ip ad 10.10.20.253 24
vrrp v 9 v 10.10.20.254
int v 100
ip ad 192.168.100.253 24
vrrp v 100 v 192.168.100.254
dh sel gl
int v 101
ip ad 192.168.101.253 24
vrrp v 101 v 192.168.101.254
vrrp v 101 p 200
vrrp v 101 p t d 1
dh se gl
interface GigabitEthernet0/0/7
port link-type trunk
port trunk allow-pass vlan 2 to 4094
p t p v 801
ip route-static 1.1.1.1 32 10.10.20.251
接入交换机SW3SW4 配置
interface GigabitEthernet0/0/5
port link-type trunk
port trunk pvid vlan 800
port trunk allow-pass vlan 2 to 4094
//放行AP相关VLAN配置PVID
AC接入交换机SW8配置
原理同其他二层接入交换机
Sys
Sys SW8
v b 10 20 40 100 101 800 801
stp re
re HUAWEI
re 12
in 10 v 10 40 100 800 801
in 20 v 20 101
ac re
q
int g 0/0/1
p l t
p t a v a
int g 0/0/2
p l t
p t a v a
int g 0/0/3
p l t
p t a v a
配置完成检查核心MSTP和VRRP配置结果正确
本文内容由小春整理编辑!