Purpose
Command 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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......