This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
network:cisco_cmd [2022/11/14 22:17] manu |
network:cisco_cmd [2022/11/17 09:52] (current) manu |
||
---|---|---|---|
Line 128: | Line 128: | ||
First check the parameters set to the port: | First check the parameters set to the port: | ||
+ | ==== Configure LACP ==== | ||
+ | |||
+ | <cli prompt='#'> | ||
+ | switch#configure terminal | ||
+ | switch(config)#interface port-channel 1 | ||
+ | description CHEPRE - et1/17 | ||
+ | switchport mode trunk | ||
+ | switchport trunk allowed vlan 401,403 | ||
+ | spanning-tree port type edge trunk | ||
+ | speed 10000 | ||
+ | flowcontrol receive on | ||
+ | flowcontrol send on | ||
+ | </cli> | ||
+ | |||
+ | Add a port to portchannel | ||
+ | <cli prompt='#'> | ||
+ | switch# configure terminal | ||
+ | switch(config)# interface ethernet 1/4 | ||
+ | switch(config-if)# switchport mode trunk | ||
+ | switch(config-if)# channel-group 1 | ||
+ | </cli> | ||
==== Users management ==== | ==== Users management ==== |