WA系列AP双网口聚合功能配置
WX3010E无线控制器、WA4620i-ACN无线接入点、无线便携机。AP两个网口链路聚合同时传输数据,起到冗余备份负载分担作用。
AC配置
#
version 5.20, Release 3507P26
#
sysname AC
#
domain default enable system
#
telnet server enable
#
port-security enable
#
oap management-ip 192.168.0.101 slot 0
#
password-recovery enable
#
vlan 1
#
vlan 2
#
vlan 10
#
vlan 100
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
dhcp server ip-pool pool-ap
network 192.168.2.0 mask 255.255.255.0
gateway-list 192.168.2.1
#
dhcp server ip-pool pool-client
network 192.168.10.0 mask 255.255.255.0
gateway-list 192.168.10.1
#
user-group system
group-attribute allow-guest
#
local-user admin
password cipher $c$3$N90Fx5EkhBXBCjNTjN+2fLb08d+NW0B9
authorization-attribute level 3
service-type telnet
#
wlan rrm
dot11a mandatory-rate 6 12 24
dot11a supported-rate 9 18 36 48 54
dot11b mandatory-rate 1 2
dot11b supported-rate 5.5 11
dot11g mandatory-rate 1 2 5.5 11
dot11g supported-rate 6 9 12 18 24 36 48 54
#
wlan service-template 1 clear
ssid H3C-test
bind WLAN-ESS 1
remote-ap keep-client-online
service-template enable
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.0.100 255.255.255.0
#
interface Vlan-interface2
ip address 192.168.2.1 255.255.255.0
#
interface Vlan-interface10
ip address 192.168.10.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
interface WLAN-ESS1
port access vlan 2
#
wlan ap-group default_group
ap ap01
#
wlan ap ap01 model WA4620i-ACN id 2
map-configuration 123.txt
serial-id 210235A1BSC145001818
radio 1
service-template 1
radio enable
radio 2
#
wlan ips
malformed-detect-policy default
signature deauth_flood signature-id 1
signature broadcast_deauth_flood signature-id 2
signature disassoc_flood signature-id 3
signature broadcast_disassoc_flood signature-id 4
signature eapol_logoff_flood signature-id 5
signature eap_success_flood signature-id 6
signature eap_failure_flood signature-id 7
signature pspoll_flood signature-id 8
signature cts_flood signature-id 9
signature rts_flood signature-id 10
signature addba_req_flood signature-id 11
signature-policy default
countermeasure-policy default
attack-detect-policy default
virtual-security-domain default
attack-detect-policy default
malformed-detect-policy default
signature-policy default
countermeasure-policy default
#
dhcp enable
#
user-interface con 0
user-interface vty 0 4
authentication-mode scheme
user privilege level 3
#
交换板配置
version 5.20, Release 3507P26
#
sysname SW
#
domain default enable system
#
telnet server enable
#
oap management-ip 192.168.0.100 slot 1
#
password-recovery enable
vlan 1
#
vlan 2 to 100
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
user-group system
#
local-user admin
password cipher $c$3$bRa+tFLu7eD2lnrRy0j206uUk/1We/zt
authorization-attribute level 3
service-type telnet
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
#
interface Bridge-Aggregation2
port access vlan 10
#
interface NULL0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
port trunk pvid vlan 2
poe enable
#
interface GigabitEthernet1/0/2
port access vlan 2
#
interface GigabitEthernet1/0/3
port access vlan 10
poe enable
#
interface GigabitEthernet1/0/4
port access vlan 10
poe enable
#
interface GigabitEthernet1/0/5
port access vlan 10
poe enable
port link-aggregation group 2
#
interface GigabitEthernet1/0/6
port access vlan 10
poe enable
port link-aggregation group 2
#
interface GigabitEthernet1/0/7
port access vlan 10
poe enable
#
interface GigabitEthernet1/0/8
port access vlan 10
poe enable
#
interface GigabitEthernet1/0/9
port access vlan 10
#
interface GigabitEthernet1/0/10
port access vlan 10
#
interface GigabitEthernet1/0/11
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
interface GigabitEthernet1/0/12
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
#
ip route-static 192.168.1.0 255.255.255.0 192.168.1.2
#
user-interface aux 0
user-interface vty 0 4
authentication-mode scheme
user-interface vty 5 15
#
#交换接口配置
[SW]interface GigabitEthernet1/0/5
[SW-GigabitEthernet1/0/5] port link-aggregation group 1
[SW]interface GigabitEthernet1/0/6
[SW-GigabitEthernet1/0/6] port link-aggregation group 1
# AP模板下发map配置文件
[AC]wlan ap ap01 model WA4620i-ACN id 2
[AC-ap-ap01] map-configuration 123.txt
#下发map文件内容:
interface GigabitEthernet1/0/1
port link-aggregation group 1
#
interface GigabitEthernet1/0/2
port link-aggregation group 1
#
观察交换侧链路聚合状态,可以看到两个端口统计到的单播报文数基本一致,并且符合无线侧的流量情况。
[SW]dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation Interface: Bridge-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Priority Oper-Key
--------------------------------------------------------------------------------
GE1/0/11 S 32768 1
GE1/0/12 S 32768 1
Aggregation Interface: Bridge-Aggregation2
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Priority Oper-Key
--------------------------------------------------------------------------------
GE1/0/5 S 32768 2
GE1/0/6 S 32768 2
[SW]dis int g1/0/5
GigabitEthernet1/0/5 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 80f6-2e96-f0ba
Description: GigabitEthernet1/0/5 Interface
Loopback is not set
Media type is twisted pair, Port hardware type is 1000_BASE_T
1000Mbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 10240
Broadcast MAX-ratio: 100%
Unicast MAX-ratio: 100%
Multicast MAX-ratio: 100%
PVID: 10
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 10
Port priority: 0
Last clearing of counters: Never
Peak value of input: 1703 bytes/sec, at 2000-04-28 14:16:32
Peak value of output: 29028 bytes/sec, at 2000-04-28 14:16:42
Last 300 seconds input: 0 packets/sec 13 bytes/sec 0%
Last 300 seconds output: 3 packets/sec 301 bytes/sec 0%
Input (total): 73325 packets, 1655884 bytes
69842 unicasts, 685 broadcasts, 2798 multicasts, 0 pauses
Input (normal): 13325 packets, 1655884 bytes
9842 unicasts, 685 broadcasts, 2798 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, - throttles
0 CRC, 0 frame, 0 overruns, 0 aborts
- ignored, - parity errors
Output (total): 15563 packets, 9367113 bytes
9103 unicasts, 4068 broadcasts, 2392 multicasts, 0 pauses
Output (normal): 15563 packets, 9367113 bytes
9103 unicasts, 4068 broadcasts, 2392 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
[SW]dis int g1/0/6
GigabitEthernet1/0/6 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 80f6-2e96-f0bb
Description: GigabitEthernet1/0/6 Interface
Loopback is not set
Media type is twisted pair, Port hardware type is 1000_BASE_T
1000Mbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 10240
Broadcast MAX-ratio: 100%
Unicast MAX-ratio: 100%
Multicast MAX-ratio: 100%
PVID: 10
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 10
Port priority: 0
Last clearing of counters: Never
Peak value of input: 2983 bytes/sec, at 2000-04-28 13:33:42
Peak value of output: 49869 bytes/sec, at 2000-04-28 13:33:52
Last 300 seconds input: 5 packets/sec 837 bytes/sec 0%
Last 300 seconds output: 3 packets/sec 572 bytes/sec 0%
Input (total): 63645 packets, 4522472 bytes
62927 unicasts, 379 broadcasts, 329 multicasts, 0 pauses
Input (normal): 63635 packets, 4521806 bytes
62927 unicasts, 379 broadcasts, 329 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, - throttles
0 CRC, 0 frame, 0 overruns, 7 aborts
- ignored, - parity errors
Output (total): 62597 packets, 65457288 bytes
61990 unicasts, 32 broadcasts, 575 multicasts, 0 pauses
Output (normal): 62597 packets, 65457288 bytes
61990 unicasts, 32 broadcasts, 575 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作