SNMP C
OMMANDS
4-153
are allowed SNMP access to the switch.
subnet_mask - An address bitmask of decimal numbers that re present
the address bits to match.
Default Setting
None
Command Mode
Global Configuration
Command Usage
You can create a list of up to 16 IP addresses or IP address groups that
are allowed access to the switch via SNMP management software.
Address bitmasks are similar to a subnet mask, containing four decimal
integers from 0 to 255, each separated by a period. The binary mask
uses “1” bits to indicate “match” and “0” bits to indicate “ignore.”
• If the IP is th e address of a single management station, the bitmask
should be set to 255.255.255.255. Otherwise, an IP address group is
specified by the bitmask.
• The default settin g is null, which allows all IP groups SNMP access to
the switch. If one IP address is configured, IP filtering is enabled and
only addresses in the specified IP group will have SNMP access.
• IP filtering does not affect management access to the switch using the
web interface or Telnet.
Example
The following example enables SNMP IP filtering on the switch and
allows SNMP management access to client IP 10.1.2.3, and client IP group
10.1.3.0 to 10.1.3.255.
Related Commands
show snmp (3-154)
Console(config)#snmp ip filter 10.1.2.3 255.255.255.255
Console(config)#snmp ip filter 10.1.3.0 255.255.255.0
Console(config)#