Global Configuration Mode

Global Configuration Commands

snmp-server host

Use the snmp-server host command to set a SNMP host.

Syntax: (config)# snmp-server host address {community

community-nameversion {12c}

Field

Definition

address

Enter an destination IP address.

 

 

community-name

Enter the SNMP community name.

 

 

version

1 - SNMPv1

 

2c - SNMPv2c

 

 

Example: (config)# snmp-server host 192.168.1.1 version 1

Supported Platforms: Adit 3104, Adit 3200, Adit 3500, MSR

snmp-server traps enable

Use the snmp-server traps enable command to enable SNMP traps on the system. To delete a SNMP server trap, see no snmp-server traps command on page 4-50.

Syntax: (config)# snmp-server traps enable

Example: (config)# snmp-server traps enable

Supported Platforms: Adit 3104, Adit 3200, Adit 3500, MSR

snmp-server trusted-ip

Use the snmp-servertrusted-ipcommand to set a SNMP trusted peer (The IP address, or subnet address that identifies which remote management stations are allowed to perform SNMP operations).

Syntax: (config)# snmp-server trusted-ip {addressany} [trusted-mask mask]

Field

Definition

address

Enter an IP address of a trusted peer.

 

 

any

Allow any IP address trusted peer access.

 

 

trusted-mask mask

This is an optional parameter, enter the subnet mask of the trusted peer

 

IP address.

 

 

Example: (config)# snmp-server trusted ip any

Supported Platforms: Adit 3104, Adit 3200, Adit 3500, MSR

Adit 3000 (Rel. 1.6) and MSR Card (Rel 2.0) CLI

4-61

Page 187
Image 187
Carrier Access none manual Snmp-server host, Snmp-server traps enable, Snmp-server trusted-ip, Version, Trusted-mask mask