beautypg.com

Snmp commands, Using the snmp-server community, Snmp commands -28 – ADC SG-1 User Manual

Page 108: Snmp c

background image

Chapter 7: Second Level Commands

June 30, 2006

7-28

SG1-UM-8500-03

Example(s)

Using the no access-list native-ip-pass-through command

The no access-list native-ip-path-through command deletes a path through native IP access list configuration. It
deletes the static native-ip access list configuration.

Usage

no access-list native-ip-pass-through

Parameter(s)

This is the allowed network source IP; it must be a legal network IP address.

Example(s)

SNMP C

OMMANDS

Using the SNMP-server community

The SNMP-server command is used to modify the settings for the SNMP server.

Usage

SNMP-server community

SNMP-server host

SNMP-server group

Parameter(s)

When using the community parameter, there are two options for the first command line argument:

get–to define the get SNMP community key

set–to define the set SNMP community key

Note:

In the following example the whole network 192.168.1.0 is configured as native-ip potential users

except for 192.168.1.1, which is probably a server in this network and not a potential user.

Host(config)# access-list native-ip 192.168.1.0 255.255.255.0

Host(config)# access-list native-ip-pass-through 192.168.1.1 255.255.255.255

Note:

In order to activate the native-ip-pass-through, IP forward command should be defined.

Host(congfig)# no access-list native-ip-pass-through

Host(config)# no access-list native-ip-pass-through 192.168.1.1

Host(config)# SNMP-server community