interface port-channel
Switch to the port-channel configuration mode.
Syntax
[no] interface port-channel <PORT-CHANNEL-ID>
Parameters
<PORT-CHANNEL-ID> — port-channel group index in the range of [1-32].
Privilege group
config-interface-front-port
Command mode
CONFIG
Example
LTP-16N(configure)# interface port-channel
interface port-channel load-balance polynomial
Sets the polynomial to calculate the CRC.
Syntax
interface port-channel load-balance polynomial <POLYNOMIAL>
no interface port-channel load-balance polynomial
Parameters
<POLYNOMIAL> — polynomial. May take values:
- 0x8003;
- 0x8101;
- 0x84a1;
- 0x9019.
Privilege group
config-interface-front-port
Command mode
CONFIG
Example
LTP-16N(configure)# interface port-channel load-balance polynomial 0x8101
interface port-channel load-balance hash
Sets the fields in the package from which the hash will be calculated.
Syntax
interface port-channel load-balance hash <PACKAGE-FIELDS>
no interface port-channel load-balance hash
Parameters
<PACKAGE-FIELDS> — fields in the package from which the hash will be calculated. From one to three fields can be selected:
- src-mac — source MAC address;
- dst-mac — destination MAC address;
- vlan — vlan field;
- ethertype — ethertype field.
Privilege group
config-interface-front-port
Command mode
CONFIG
Example
LTP-16N(configure)# interface port-channel load-balance hash src-mac vlan ethertype
Interface port-channel configuration
shutdown
Disables port-channel.
Syntax
[no] shutdown
Parameters
The command does not contain any parameters.
Default value
Enabled
Privilege group
config-interface-front-port
Command mode
IF-PORT-CHANNEL
Example
LTP-16N(config)(if-port-channel-1)# shutdown
vlan allow
Enables VLAN passage on the port-channel.
Syntax
[no] vlan allow <VLAN-ID>
Parameters
<VLAN-ID> — VLAN ID in the range of [1-4094]. The parameter can be a range or an enumeration (for example: vlan allow 5-7 or vlan allow 1,3,5,7).
Privilege group
config-interface-front-port
Command mode
IF-PORT-CHANNEL
Example
LTP-16N(config)(if-front-1)# vlan allow 150
psc mode round-robin
Selects balancing mode. Each next packet will be used as next LAG port.
Syntax
psc mode round-robin
Parameters
The command does not contain any parameters.
Default value
psc mode smooth-division
Privilege group
config-interface-front-port
Command mode
IF-PORT-CHANNEL
Example
LTP-16N(config)(if-port-channel-1)# psc mode round-robin
psc mode smooth-division
Selects balancing mode. This mode is suitable for LAG ports, only when the number is not a not divisible by two.
Syntax
psc mode smooth-division
Parameters
The command does not contain any parameters.
Default value
psc mode smooth-division
Privilege group
config-interface-front-port
Command mode
IF-PORT-CHANNEL
Example
LTP-16N(config)(if-port-channel-1)# psc mode smooth-division
psc mode multiplication
Selects balancing mode. Balancing according to the Member-ID = MemberCount* Hash/2^16 formula.
Syntax
psc mode multiplication
Parameters
The command does not contain any parameters.
Default value
psc mode smooth-division
Privilege group
config-interface-front-port
Command mode
IF-PORT-CHANNEL
Example
LTP-16N(config)(if-port-channel-1)# psc mode multiplication