Chapter 5 CLI – Layer 2
98 P332G-ML User’s Guide
Set port channel Command
Use the set port channel command to enable or disable a Link Aggregation
Group (LAG) interface on the module. LAG creation requires a LAG name to be
specified. There is no default name.
You can also add or remove a port from an existing LAG. All ports in the LAG are
configured with the parameters of the first port that is added to the LAG. These
parameters include port administrative status, speed, duplex, autonegociation
mode, VLAN ID, tagging mode, binding mode, and priority level. When adding a
port to an existing LAG, type the same LAG-name, otherwise you will create a new
LAG. The added port must belong to the same LAG group - refer to the “LAG”
marking on device’s front panel.
The syntax for this command is:
set port channel [port_list] [value] [name]
P330-1(super)# set port channel 1/1-3 on test
Port 1/1 channel mode set to on
Port 1/2 was added to channel
Port 1/3 was added to channel
Note: If you wish to define a name which includes spaces, you must enclose the
entire name in quotation marks, e.g. "new york".
Set port classification Command
Use the set port classification command to set the port classification to
either regular or valuable. Any change in the Spanning Tree state from Forwarding
for a valuable port will erase all learnt MAC addresses in the stack.
The syntax for this command is:
set port classification [module/port] {regular | valuable}
port_list module and ports to bundle (format: module/port)
value on/off to enable/disable a channel for the specified module
ports
name channel name
module port module/port range