115-H3C无线控制器二层静态聚合典型配置举例
本章节下载: 115-H3C无线控制器二层静态聚合典型配置举例 (180.53 KB)
H3C无线控制器二层静态聚合典型配置举例
Copyright © 2023 新华三技术有限公司 版权所有,保留一切权利。
非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播。
除新华三技术有限公司的商标外,本手册中出现的其它公司的商标、产品标识及商品名称,由各自权利人拥有。
本文档中的信息可能变动,恕不另行通知。
本文档介绍二层静态聚合的典型配置举例。
本文档适用于使用Comware软件版本的无线控制器和接入点产品,不严格与具体硬件版本对应,如果使用过程中与产品实际情况有差异,请参考相关产品手册,或以设备实际情况为准。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文档假设您已了解以太网链路聚合特性。
如图1所示,AC与Switch通过各自的二层以太网接口GigabitEthernet1/0/1和GigabitEthernet1/0/2相互连接,具体要求如下:
· 通过以太网链路聚合增加AC与Switch间的链路带宽和可靠性。
· AC与Switch上分别配置二层静态链路聚合组实现AC与Switch间VLAN 10和VLAN 20分别互通。
(1) 配置VLAN
# 创建VLAN 10,并将端口GigabitEthernet1/0/3加入到该VLAN中。
<AC> system-view
[AC] vlan 10
[AC-vlan10] port gigabitethernet 1/0/3
[AC-vlan10] quit
# 创建VLAN 20,并将端口GigabitEthernet1/0/4加入到该VLAN中。
[AC] vlan 20
[AC-vlan20] port gigabitethernet 1/0/4
[AC-vlan20] quit
(2) 配置二层聚合接口
# 创建二层聚合接口1,并进入二层聚合接口1视图。
[AC] interface bridge-aggregation 1
[AC-Bridge-Aggregation1] quit
# 将端口GigabitEthernet1/0/1加入到聚合组1中。
[AC] interface gigabitethernet 1/0/1
[AC-GigabitEthernet1/0/1] port link-aggregation group 1
[AC-GigabitEthernet1/0/1] quit
# 将端口GigabitEthernet1/0/2加入到聚合组1中。
[AC] interface gigabitethernet1/0/2
[AC-GigabitEthernet1/0/2] port link-aggregation group 1
[AC-GigabitEthernet1/0/2] quit
# 配置二层聚合接口1为Trunk类型,并允许VLAN 10和20的报文通过。
[AC] interface bridge-aggregation 1
[AC-Bridge-Aggregation1] port link-type trunk
[AC-Bridge-Aggregation1] port trunk permit vlan 10 20
[AC-Bridge-Aggregation1] quit
(1) 配置VLAN
# 创建VLAN 10,并将端口GigabitEthernet1/0/3加入到该VLAN中。
<Switch> system-view
[Switch] vlan 10
[Switch-vlan10] port gigabitethernet 1/0/3
[Switch-vlan10] quit
# 创建VLAN 20,并将端口GigabitEthernet1/0/4加入到该VLAN中。
[Switch] vlan 20
[Switch-vlan20] port gigabitethernet 1/0/4
[Switch-vlan20] quit
(2) 配置二层聚合接口
# 创建二层聚合接口1,并进入二层聚合接口1视图。
[Switch] interface bridge-aggregation 1
[Switch-Bridge-Aggregation1] quit
# 将端口GigabitEthernet1/0/1加入到聚合组1中。
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-aggregation group 1
[Switch-GigabitEthernet1/0/1] quit
# 将端口GigabitEthernet1/0/2加入到聚合组1中。
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port link-aggregation group 1
[Switch-GigabitEthernet1/0/2] quit
# 配置二层聚合接口1为Trunk类型,并允许VLAN 10和20的报文通过。
[Switch] interface bridge-aggregation 1
[Switch-Bridge-Aggregation1] port link-type trunk
[Switch-Bridge-Aggregation1] port trunk permit vlan 10 20
[Switch-Bridge-Aggregation1] quit
(1) 在AC上使用命令display link-aggregation verbose查看聚合组1的详细信息。两个成员端口都处于聚合组1中且为选中状态。
<AC> display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Port: A -- Auto port, M -- Management port, R -- Reference port
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H – Expired
Role: P -- Primary, S -- Secondary
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Shar
Management VLANs: None
Port Status Priority Oper-Key Role
--------------------------------------------------------------------------------
GE1/0/1 S 32768 2 None
GE1/0/2 S 32768 2 None
(2) 在AC上使用命令display interface bridge-aggregation查看聚合组1的带宽是成员物理接口带宽之和。
<AC> display interface bridge-aggregation 1
Bridge-Aggregation1
Current state: UP
Line protocol state: UP
IP packet frame type: Ethernet II, hardware address: 741f-4a05-3db8
Description: Bridge-Aggregation1 Interface
Bandwidth: 2000000 kbps
2Gbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
PVID: 1
Port link-type: Trunk
VLAN Passing: 1(default vlan), 10
VLAN permitted: 1(default vlan), 10, 20
Trunk port encapsulation: IEEE 802.1q
Last clearing of counters: Never
Last 300 seconds input: 2 packets/sec 308 bytes/sec 0%
Last 300 seconds output: 0 packets/sec 0 bytes/sec 0%
Input (total): 12659 packets, 1290752 bytes
177 unicasts, 9919 broadcasts, 2563 multicasts, 0 pauses
Input (normal): 12659 packets, - bytes
177 unicasts, 9919 broadcasts, 2563 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, - throttles
0 CRC, - frame, 0 overruns, 0 aborts
- ignored, - parity errors
Output (total): 316 packets, 295765 bytes
307 unicasts, 9 broadcasts, 0 multicasts, 0 pauses
Output (normal): 316 packets, - bytes
307 unicasts, 9 broadcasts, 0 multicasts, 0 pauses
Output: 0 output errors, 0 underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
· AC:
#
vlan 10
#
vlan20
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan 1 10 20
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1 10 20
port link-aggregation group 1
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 1 10 20
port link-aggregation group 1
#
· Switch:
#
vlan 10
#
vlan 20
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan 1 10 20
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1 10 20
port link-aggregation group 1
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan 1 10 20
port link-aggregation group 1
#
《H3C无线控制器产品 配置指导》中的“网络互通配置指导”。
《H3C无线控制器产品 命令参考》中的“网络互通命令参考”。
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!