Cabletron Systems 6A000-ZX-250 User Manual
Size:
1.27 Mb
Download

Console Commands

TrapCommunity

Use TrapCommunity to manage the list of hosts that the switch sends trap notifications to concerning significant events. Each trap community has a name, IP address, and port number. The trap community name and address combination must be unique.

SERVER SVC

X X

Operators

add, delete, show

Parameters

Input Parameter

Description

Value/Field Size

Default

 

 

 

 

[Name]

Name of trap community.

64 characters

n/a

[IPAddr]

IP address of the host to which a trap is to be

dot decimal/

n/a

 

sent.

15 characters

 

[Port]

Host port number to which the trap should be

0-65535

162

 

sent.

 

 

Output Parameter

Description

 

 

[TrapCommunityName]

Same as [Name] Input Parameter.

SmartCell 6A000/ZX-250Reference Manual2-197

Console Commands

Descriptions

Operator

Parameters/Permissions

Descriptions

 

 

 

add

[Name]

<name>

trapcommunity

[IPAddr] <ipaddress>

 

[Port]

<portnumber>

Creates a trap community entry on the switch.

 

Administrator

 

delete

[Name] <name>

Removes an existing trap community from the switch.

trapcommunity

[IPAddr] <ipaddress>

 

 

Administrator

 

show

All

Displays all trap communities configured on the switch.

trapcommunity

 

 

Examples

switch_prompt # add trapcommunity

 

Name()

: boris

IpAddr()

: 204.95.77.148

Port (162)

: 100

switch_prompt #

 

 

 

switch_prompt

#

show trapcommunity

 

 

TrapCommunity

Name

IP Address

Port

===========================================================================

trapcomm

204.95.77.147

162

boris

204.95.77.148

100

switch_prompt #

 

 

switch_prompt # delete trapcommunity

 

Name()

: boris

 

IpAddr()

: 204.95.77.148

 

switch_prompt #

 

 

switch_prompt # show trapcommunity

 

 

TrapCommunity Name

IP Address

Port

===========================================================================

trapcomm

204.95.77.147

162

switch_prompt #

 

 

2-198SmartCell6A000/ZX-250Reference Manual