Command Line Interface
4-150
4
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 the 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 setting 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 (4-138)
Interface Commands
These commands are used to display or set communication parameters for an
Ethernet port, aggregated link, or VLAN.
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)#
Table 4-48. Interface Commands
Command Function Mode Page
interface Configures an interface type and enters interface configuration
mode
GC 4-151
description Adds a description to an interface configuration IC 4-151
speed-duplex Configures the speed and duplex operation of a given interface
when autonegotiation is disabled
IC 4-152
negotiation Enables autonegotiation of a given interface IC 4-153
capabilities Advertises the capabilities of a given interface for use in
autonegotiation
IC 4-154
flowcontrol Enables flow control on a given interface IC 4-155
shutdown Disables an interface IC 4-156
switchport broadcast
packet-rate
Configures broadcast storm control IC 4-156