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

Page 108: Snmp c

Advertising
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 <source ip address>

Parameter(s)

<source ip address>

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 <get | set> <Alpha numeric string>

SNMP-server host <ip> <Alpha numeric string>

SNMP-server group <aaa | network | security> <ip>

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

Advertising