PurposeCommand or Action
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Limits the TFTP servers used for configuration file copies through
SNMP to the servers in the access list.
snmp-server tftp-server-list
access-list-number
Step 3
Example:
Switch(config)# snmp-server
tftp-server-list 44
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.
access-list access-list-number {deny | permit}
source [source-wildcard]
Step 4
Example:
Switch(config)# access-list 44 permit
10.1.1.2
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.end
Example:
Switch(config)# end
Step 5
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 6
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
466
How to Configure SNMP