C
OMMAND

L

INE

I

NTERFACE

3-70

Example
Related Commands
snmp-server host (3-67)

snmp ip filter

Sets the IP addresses of clients that are allowed management
access to the switch via SNMP. Use the no form of this command
to remove an IP address.
Syntax
snmp ip filter ip_address subnet_mask
no snmp ip filter ip_address subnet_mask
ip_address - An IP address indicating a client or group of
clients that are allowed SNMP access to the switch.
subnet_mask - An address bitmask of decimal numbers that
represent 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.”
Console(config)#snmp-server enable traps link-up-down
Console(config)#
b_mgmt.book Page 70 Tuesday, July 8, 2003 5:24 PM