Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure SNMP
Command or Action
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
snmp-server tftp-server-list
access-list-number
Example:
Switch(config)# snmp-server
tftp-server-list 44
Step 4
access-list access-list-number {deny | permit}
source [source-wildcard]
Example:
Switch(config)# access-list 44 permit
10.1.1.2
Step 5
end
Example:
Switch(config)# end
Step 6
show running-config
Example:
Switch# show running-config

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

466
Purpose
Enters the global configuration mode.
Limits the 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.
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
3.
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.
The access list is always terminated by an implicit deny statement for
everything.
Returns to privileged EXEC mode.
Verifies your entries.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents