72-15
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 72 Configuring SNMP
Configuring SNMP
Limiting TFTP Servers Used Through SNMP
To limit the TFTP servers used for saving and loading configuration files through SNMP to the servers
specified in an access list, perform this task:
SNMP Examples
This example shows how to enable all versions of SNMP. The configuration permits any SNMP manager
to access all objects with read-only permissions using the community string public. This configuration
does not cause the switch to send any traps.
Switch(config)#
snmp-server community public
Step 5
Switch#
show running-config
Verifies your entries.
Step 6
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
snmp-server
tftp-server-list
access-list-number
Limits TFTP servers used for configuration file copies through
SNMP to the servers in the access list.
For
access-list-number
, enter an IP standard access list numbered
from 1 to 99 and 1300 to 1999.
Step 3
Switch(config)#
access-list
access-list-number
{
deny
|
permit
}
source
[
source-wildcard
]
Creates a standard access list, repeating the command as many
times as necessary.
•
For
access-list-number
, enter the access list number specified
in Step 2.
•
The
deny
keyword denies access if the conditions are matched.
The
permit
keyword permits access if the conditions are
matched.
•
For
source
, enter the IP address of the TFTP servers that can
access the switch.
•
(Optional) For
source-wildcard
, enter the wildcard bits, in
dotted decimal notation, to be applied to the source. Place ones
in the bit positions that you want to ignore.
Note
The access list is always terminated by an implicit deny
statement for everything.
Step 4
Switch(config)#
end
Returns to privileged EXEC mode.
Step 5
Switch#
show running-config
Verifies your entries.
Step 6
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...