
Chapter 6 Cajun Campus CLI – Layer 2
Set port channel Command
Use the set port channel command to enable or disable a Link Aggregation Group (LAG) interface on the module. You can also add or remove a port from an existing LAG. Ensure that all ports in the LAG are configured with the same ports’ parameters such as port speed, duplex mode, VLAN ID, tagging mode, priority level. When adding a port to an existing LAG, type the same
The syntax for this command is:
set port channel <mod_num>/<port_list> {onoff}
port_list | A list of ports to be aggregated, separated by commas |
Optional name for the LAG interface |
Example:
Port 1/6 channel mode set to on
Port 1/18 was added to channel
Set port redundancy on/off Command
Use the set port redundancy command to define/remove redundancy schemes between a Primary and a Secondary link. The link can be any port that does not belong to a LAG, or a LAG interface. In either case, there should not be any redundancy scheme already defined on any of the links.
The syntax for this command is:
set port redundancy <mod_num>/<prim_port_num> <mod_num>/ <second_port_num> {on/off} [<redundancy_name>]
prim_port_num | Primary link of the redundancy scheme |
second_port_num | Secondary link of the redundancy scheme |
redundancy_name | Name for the redundancy scheme (optional) |
Example:
Port redundancy is active - entry is effective immediately
78 | Cajun P332MF User’s Guide |