2-437
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set port voice interface dhcp
set port voice interface dhcpTo set the port voice interface for the DHCP, TFTP, and DNS servers, use the set port voice interface
dhcp command.
set port voice interface mod/port dhcp enable [vlan vlan]
set port voice interface mod/port dhcp disable {ipaddrspec} {tftp ipaddr} [vlan vlan]
[gateway ipaddr] [dns [ipaddr] [domain_name]]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The ipaddrspec format is {ipaddr} {mask} or {ipaddr}/{mask} {mask}. The mask is a dotted format
(255.255.255.0) or number of bits (0 to 31).
You can specify a single port only when setting the IP address.
If you enable DHCP on a port, the port obtains all other configura tion information from the TFTP server.
When you disable DHCP on a port, the following mandatory parameters must be specified:
•If you do not specify DNS parameters, the software uses the syste m D NS configu ratio n o n th e
supervisor engine to configure the port.
•You cannot specify more than one port at a time because a unique IP address mu st be set for e a ch
port.
mod/port Number of the module and the port on the mod ule.
enable Activates the SNMP link trap.
vlan vlan (Optional) Specifies a VLAN interface; valid values are from 1 to
1005 and from 1025 to 4094.
disable Deactivates the SNMP link trap.
ipaddrspec IP address and mask; see the “Usage Guidelines” section for format
instructions.
tftp ipaddr Specifies the number of the TFTP server IP address or IP alias in dot
notation a.b.c.d.
gateway ipaddr (Optional) Specifies the number of the gateway server IP address o r
IP alias in dot notation a.b.c.d.
dns (Optional) Specifies the DNS server.
ipaddr (Optional) Number of the DNS IP address or IP alias in dot notation
a.b.c.d.
domain_name (Optional) Name of the domain.