82CHAPTER 4: PORT COMMANDS

 

Examples — The following command sets the port speed on ports 1 and

 

3 through 4 to 10 Mbps and sets the operating mode to full-duplex:

 

WX1200# set port speed 1,3-4 10

 

 

set port trap

Enables or disables Simple Network Management Protocol (SNMP) linkup

 

and linkdown traps on an individual port.

 

Syntax set port trap port-list{enable disable}

 

„ port-list— List of physical ports.

 

„ enable — Enables the Telnet server.

 

„ disable — Disables the Telnet server.

 

Defaults — SNMP linkup and linkdown traps are disabled by default.

 

Access — Enabled.

 

History — Introduced in MSS Version 3.0.

 

Usage — The set port trap command overrides the global setting of the

 

set snmp trap command.

 

The set port type command does not affect the global trap information

 

displayed by the display snmp configuration command. For example, if

 

you globally enable linkup and linkdown traps but then disable the traps

 

on a single port, the display snmp configuration command still

 

indicates that the traps are globally enabled.

 

Examples — The following command enables SNMP linkup and

 

linkdown traps on ports 3 and 4:

 

WX1200# set port trap 3-4 enable

See Also

„display snmp configuration on page 128

„set ip snmp server on page 142

„set snmp community on page 150

„set snmp trap on page 151

„set snmp trap receiver on page 153

Page 82
Image 82
3Com 3CRWX440095A, 3CRWX120695A manual Set port trap, Set snmp trap command