cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

hardware:h3c:link-aggregation.html



H3C LAG(Link Aggregation) Configuration Examples

static

<test-sw-1>system-view
[test-sw-1]interface Bridge-Aggregation 1
[test-sw-1-Bridge-Aggregation1]description To_XXXX_Port-ChannelX
[test-sw-1-Bridge-Aggregation1]port link-type trunk
[test-sw-1-Bridge-Aggregation1]undo port trunk permit vlan 1
[test-sw-1-Bridge-Aggregation1]undo port trunk permit vlan 10 - 11
[test-sw-1-Bridge-Aggregation1]quit

[test-sw-1]interface GigabitEthernet 1/0/1
[test-sw-1-GigabitEthernet1/0/1]port link-aggregation group 1
[test-sw-1-GigabitEthernet1/0/1]quit

[test-sw-1]interface GigabitEthernet 1/0/2
[test-sw-1-GigabitEthernet1/0/2]port link-aggregation group 1


LACP(dynamic)

<test-sw-1>system-view
[test-sw-1]interface Bridge-Aggregation 1
[test-sw-1-Bridge-Aggregation1]description To_XXXX_Port-ChannelX
[test-sw-1-Bridge-Aggregation1]port link-type trunk
[test-sw-1-Bridge-Aggregation1]undo port trunk permit vlan 1
[test-sw-1-Bridge-Aggregation1]undo port trunk permit vlan 10 - 11
[test-sw-1-Bridge-Aggregation1]link-aggregation mode dynamic
[test-sw-1-Bridge-Aggregation1]quit

[test-sw-1]interface GigabitEthernet 1/0/1
[test-sw-1-GigabitEthernet1/0/1]port link-aggregation group 1
[test-sw-1-GigabitEthernet1/0/1]quit

[test-sw-1]interface GigabitEthernet 1/0/2
[test-sw-1-GigabitEthernet1/0/2]port link-aggregation group 1







hardware/h3c/link-aggregation.html.txt ยท Last modified: 2019/08/04 by admin

Page Tools