Avaya P330-ML-ML manual Set port security enable disable module/port, Set port spantree cost

Models: P330-ML-ML

1 320
Download 320 pages 24.24 Kb
Page 114
Image 114

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

Set the port security enable or disable

module/port

The switch number/the port number

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] [autovalue]

module/port

Module number/port number.

auto

Spantree cost is calculated according to the standard

value

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.

Example:

 

P330-N>set port spantree cost 4/2 4096

port 4/2 spantree cost is 4096

100

Avaya P330-ML Reference Guide

Page 114
Image 114
Avaya P330-ML-ML manual Set port security enable disable module/port, P330-1super#set port security enable 1/2