Set Port Security; Set Port Spantree Cost - Avaya P330-ML-ML Reference Manual

Stackable switch software version 4.5
Table of Contents

Advertisement

Chapter 2
Avaya P330-ML Layer 2 CLI Commands

set port security

User level: supervisor
Use the set port security command to enable MAC security on a port or a
range of ports at the module level. The port security is activated only after you
enable the secutity mode at the stack level using the set security mode
command.
The syntax for this command is:
set port security { enable | disable } [<module>[/<port>]]
enable | disable
module/port
Example:
P330-1(super)# set port security enable 1/2
Port 1/2 secured.

set port spantree cost

User level: privileged, supervisor.
Use the set port spantree cost command to set the cost of a port. This value
defines which port will be allowed to forward traffic if two ports with different costs
cause a loop.
The syntax for this command is:
set port spantree cost [module/port] [auto|value]
module/port
auto
value
Example:
P330-N>set port spantree cost 4/2 4096
port 4/2 spantree cost is 4096
100
Set the port security enable or disable
The switch number/the port number
Module number/port number.
Spantree cost is calculated according to the standard
Number representing the cost. The cost level can be set
from 1 to 65535 / 200000000 in STP / RSTP, respectively.
A lower cost (lower value) specifies precedence of a port
to forward traffic.
Avaya P330-ML Reference Guide

Advertisement

Table of Contents
loading

Table of Contents