

华为园区网一般采用三层或二层扁平架构:
企业办公楼 1 栋,共三层,终端约 600 台。
┌──────── Internet ───────┐
│ │
┌────────┐ ┌──────────┐
│ 防火墙 │──────────────│ 出口路由器 │
└────────┘ └──────────┘
│
┌────────────────┐
│ 核心 S12700 │ 三层网关、VXLAN可选
└────────────────┘
│ │
┌────────────────┐ ┌────────────────┐
│ 汇聚 S6730-1 │ │ 汇聚 S6730-2 │
└────────────────┘ └────────────────┘
│ │
(Eth-Trunk 聚合)
│
┌──────────────────┐
│ 多台 S5731 接入层 │
└──────────────────┘
VLAN | 名称 | IP 网关 |
|---|---|---|
10 | 办公网 | 192.168.10.1/24 |
20 | 财务 | 192.168.20.1/24 |
30 | VOIP | 192.168.30.1/24 |
40 | 监控 | 192.168.40.1/24 |
50 | 访客 | 192.168.50.1/24 |
vlan batch 10 20 30 40 50
interface Vlanif10
ip address 192.168.10.1 255.255.255.0
interface Vlanif20
ip address 192.168.20.1 255.255.255.0
interface Vlanif50
ip address 192.168.50.1 255.255.255.0
dhcp select global # 为访客WiFi提供DHCP
ip route-static 0.0.0.0 0.0.0.0 202.100.1.1 # 上联防火墙
interface Eth-Trunk1
mode lacp-static
trunkport GigabitEthernet0/0/1 to GigabitEthernet0/0/2
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10 20 30 40 50
interface GigabitEthernet0/0/10
port link-type access
port default vlan 10 # 办公网
interface GigabitEthernet0/0/20
port link-type trunk
port trunk allow-pass vlan 10 50 # 办公与访客WiFi
核心上配置 ACL:
acl number 3000
rule 5 deny ip source 192.168.50.0 0.0.0.255 destination 192.168.0.0 0.0.255.255
rule 10 permit ip
业务特点:
┌──────────────┐
│ NCE Campus │ 控制器
└──────────────┘
│
┌────────────────────────┐
│ Core 9800 (Spine) │ VXLAN BGP EVPN
└────────────────────────┘
│ │
┌─────────────┐ ┌─────────────┐
│ Aggr 6730 │ │ Aggr 6730 │ Anycast GW
└─────────────┘ └─────────────┘
│ │ │
┌─────────────┐ ┌─────────────┐
│ Access 5731 │ ... │ Access 5731 │
└─────────────┘ └─────────────┘
bgp 65000
peer 1.1.1.1 as-number 65000
peer 2.2.2.2 as-number 65000
l2vpn-family evpn
vxlan vni 10010
bridge-domain 10
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
vrrp vrid 10 virtual-ip 10.10.10.254
interface GigabitEthernet0/0/5
authentication enable
authentication mode hybrid
authentication port-method mac-auth
故障 | 原因 | 排查方式 |
|---|---|---|
VLAN 不通 | Trunk 未放通 | display interface brief / display vlan |
网关不可达 | Vlanif 未启动 | display ip interface brief |
叠堆 / Eth-Trunk 不负载 | 未配置一致 | display trunk |
无线认证不上线 | Radius 配置错误 | display authentication session |