Command Line Interface
4-126
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-114)
DHCP Commands
These commands are used to configure Dynamic Host Configuration Protocol
(DHCP) client, relay, and server functions. You can configure any VLAN interface to
be automatically assigned an IP address via DHCP. This switch can be configured to
relay DHCP client configuration requests to a DHCP server on another network, or
you can configure this switch to provide DHCP service directly to any client.
DHCP Client
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-43 DHCP Commands
Command Group Function Page
DHCP Client Allows interfaces to dynamically acquire IP address information 4-126
DHCP Relay Relays DHCP requests from local hosts to a remote DHCP server 4-128
DHCP Server Configures DHCP service using address pools or static bindings 4-130
Table 4-44 DHCP Client Commands
Command Function Mode Page
ip dhcp client-identifier Specifies the DHCP client identifier for this switch IC 4-127
ip dhcp restart client Submits a BOOTP or DHCP client request PE 4-127