Avaya P332G-ML manual Set port trap Command, Set port trap modnum/portnum enabledisable

Models: P332G-ML

1 242
Download 242 pages 24.77 Kb
Page 114
Image 114

Chapter 5

CLI – Layer 2

 

 

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 Command

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}

Example:

P330-N# set port trap 1/2 enable

Port 1/2 up/down trap enabled.

Set port vlan Command

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 module number/the port number.

port_num

 

Example:

To set VLAN 850 to include ports 4 through 7 on module 3.

P330-N# set port vlan 850 3/4-7

VLAN 850 modified.

VLAN Mod/Ports

---------------------------

850 3/4-7

96

P332G-ML User’s Guide

Page 114
Image 114
Avaya P332G-ML manual Set port trap Command, Set port trap modnum/portnum enabledisable, Set port vlan Command