beautypg.com

Example 3: enable both port-channels – D-Link UNIFIED WIRED & WIRELESS ACCESS SYSTEM DWS-3000 User Manual

Page 49

background image

CLI Example

49

6 Trunking (Link Aggregation)

(DWS-3024) #show port-channel all

Port- Link

Log. Channel Adm. Trap STP Mbr Port Port

Intf Name Link Mode Mode Mode Type Ports Speed Active

------ ------------- ----- ---- ---- ------ ------- ------ --------- ------

3/1

lag_10 Down En. En. Dis. Dynamic

3/2

lag_20 Down En. En. Dis. Dynamic

Example 2: Add the physical ports to the port-channels:

(DWS-3024) #config

(DWS-3024) (Config)#interface 0/2

(DWS-3024) (Interface 0/2)#addport 3/1

(DWS-3024) (Interface 0/2)#exit

(DWS-3024) (Config)#interface 0/3

(DWS-3024) (Interface 0/3)#addport 3/1

(DWS-3024) (Interface 0/3)#exit

(DWS-3024) (Config)#exit

(DWS-3024) #config

(DWS-3024) (Config)#interface 0/8

(DWS-3024) (Interface 0/8)#addport 3/2

(DWS-3024) (Interface 0/8)#exit

(DWS-3024) (Config)#interface 0/9

(DWS-3024) (Interface 0/9)#addport 3/2

(DWS-3024) (Interface 0/9)#exit

(DWS-3024) (Config)#exit

Example 3: Enable both port-channels.

By default, the system enables link trap notification

(DWS-3024) #config

(DWS-3024) (Config)#port-channel adminmode all

(DWS-3024) (Config)#exit

At this point, the LAGs could be added to the default management VLAN.