![](/images/new-backgrounds/1187480/187480243x1.webp)
Chapter 5 | CLI – Layer 2 |
|
|
Set port security Command
Use the set port security command to enable MAC security on a port, a range of ports, a module, or a stack.
The syntax for this command is:
set port security { enable disable } [<module>[/<port>]]
{enable disable } - set the port security enable or disable
[<module>[/<port>]] - set specific module/port
Example:
Port 1/2 secured.
Note: This command is not supported in
Set cascading Command
Use the set cascading command to enable or disable
The syntax for this command is:
set
Example:
Module 1
Set inband vlan Command
Use the set inband vlan command to set a value for the management vlan (from 1 to 3071).
The syntax for this command is:
set inband vlan <value>
value | A VLAN number between 1 and 3071. |
Example:
104 |