H3C 7503、5500、5120交换机配置端口汇聚
# 创建二层聚合端口1,并配置成动态聚合模式。交换机为:H3C S7503E、S5500-52C-EI、 H3C S5120-28P-SI配置如下:H3C S7503E[7503]link-aggregation group 1 mode static[7503]interface GigabitEthernet 4/0/1[7503-GigabitEthernet4/0/1]port link-type trunk[7503-GigabitEthernet4/0/1]port trunk permit vlan all[7503-GigabitEthernet4/0/1]port link-aggregation group 1[7503-GigabitEthernet4/0/1]quit[7503]interface GigabitEthernet 4/0/2[7503-GigabitEthernet4/0/2]port link-type trunk [7503-GigabitEthernet4/0/2]port trunk permit vlan all[7503-GigabitEthernet4/0/2]port link-aggregation group 1[7503-GigabitEthernet4/0/2]quit[7503]display current-configuration interface #interface NULL0#interface Vlan-interface33 ip address 10.2.33.2 255.255.255.0#interface GigabitEthernet4/0/1 port link-type trunk port trunk permit vlan all port link-aggregation group 1#interface GigabitEthernet4/0/2 port link-type trunk port trunk permit vlan all port link-aggregation group 1#[7503]display brief interface The brief information of interface(s) under route mode:Interface Link Protocol-link Protocol type Main IP M-E0/0/0 DOWN DOWN ETHERNET -- NULL0 UP UP(spoofing) NULL -- Vlan33 UP UP ETHERNET The brief information of interface(s) under bridge mode:Interface Link Speed Duplex Link-type PVID GE4/0/1 UP 1G(a) full(a) trunk 1 GE4/0/2 UP 1G(a) full(a) trunk 1 H3C S5120-28P-SI、S5500-52C-EI[H3C]interface bridge-aggregation 1[H3C-Bridge-Aggregation1]link-aggregation mode dynamic[H3C-Bridge-Aggregation1]port link-type trunk[H3C-Bridge-Aggregation1]port trunk permit vlan all[H3C-Bridge-Aggregation1]quit[H3C]interface GigabitEthernet 1/0/1[H3C-GigabitEthernet1/0/1]port link-type trunk[H3C-GigabitEthernet1/0/1]port trunk permit vlan all[H3C-GigabitEthernet1/0/1]port link-aggregation group 1[H3C-GigabitEthernet1/0/1]quit[H3C]interface GigabitEthernet 1/0/2[H3C-GigabitEthernet1/0/2]port link-type trunk[H3C-GigabitEthernet1/0/2]port trunk permit vlan all[H3C-GigabitEthernet1/0/2]port link-aggregation group 1[H3C-GigabitEthernet1/0/2]quit[H3C]display current-configuration interface #interface Bridge-Aggregation1 port link-type trunk port trunk permit vlan all link-aggregation mode dynamic##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# [H3C]display brief interface The brief information of interface(s) under route mode:Interface Link Protocol-link Protocol type Main IP NULL0 UP UP(spoofing) NULL -- Vlan1 UP DOWN ETHERNET -- Vlan30 UP UP ETHERNET The brief information of interface(s) under bridge mode:Interface Link Speed Duplex Link-type PVID BAGG1 UP 2G(a) full(a) trunk 1 GE1/0/1 UP 1G(a) full(a) trunk 1 GE1/0/2 UP 1G(a) full(a) trunk 1