helloworld1

1
2
3
4
5
6
7
8
9
10
# 首先创建 Bridge-Aggregation 1
<S1>sys
System View: return to User View with Ctrl+Z.
[S1]interface Bridge-Aggregation 1
[S1-Bridge-Aggregation1]quit
# 进入端口,加入group 1组
[S1]interface GigabitEthernet 1/0/1
[S1-GigabitEthernet1/0/1]port link-aggregation group 1
[S1]interface GigabitEthernet 1/0/2
[S1-GigabitEthernet1/0/2]port link-aggregation group 1
1
2
# IP地址配置查询
display ip interface brief
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 查看汇聚端口配置状态
[S1]dis int brief
Brief information on interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Speed or Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface Link Speed Duplex Type PVID Description
BAGG1 UP 2G(a) F(a) A 1
GE1/0/1 UP 1G(a) F(a) A 1
GE1/0/2 UP 1G(a) F(a) A 1
#
[S1]display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected, I -- Individual
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Priority Oper-Key
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1
GE1/0/2 S 32768 1