Chapter 6

CLI – Layer 2

 

 

set port name

Use the set port name to configure a name for a port. If you do not specify a name, the port name remains empty.

The syntax for this command is:

set port name <mod_num>/<port_num> [<name>]

name

Name assigned to the port.

Output Example:

P330-N# set port name 1/2 arthur

Port 1/2 name set.

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 trap

Use the set port trap command to enable/disable generic SNMP uplink/ downlink traps from a port.

The syntax for this command is:

set port trap <mod_num>/<port_num> {enabledisable}

Output Example:

P330-N# set port trap 1/2 enable

Port 1/2 up/down trap enabled.

set port vlan

Use the set port vlan command to set the Port’s VLAN ID (PVID). The VLAN number must be within the range 1 to 3071.

The syntax for this command is:

set port vlan <value> <mod_num>/<port_num>

value

Number between 1 and 3071, identifying the VLAN.

mod_num/

The switch number/the port number.

port_num

 

102

Avaya P332MF User’s Guide

Page 118
Image 118
Avaya P332MF manual Set port name, Set port trap, Set port vlan