Examples – Enterasys Networks X-Pedition XSR CLI User Manual

Page 619

Advertising
background image

DHCP Commands

XSR CLI Reference Guide 15-109

Examples

The following example configures DHCP option 33, which specifies static routes that the client 
should install in its routing cache. If multiple routes to the same destination are set, they are listed 
in descending order of priority. The routes consist of IP address pairs. The first address is the 
destination address, the second address is the router for the destination.

XSR(config-dhcp-pool)#option 33 ip 90.1.1.90 123.124.23.26 90.1.1.90 123.24.56.78

The following example configures DHCP option 19, which specifies whether the client should 
enable its IP layer for packet forwarding. Values of and 1 disable and enable IP forwarding, 
respectively. IP forwarding is enabled in the following example:

XSR(config-dhcp-pool)#option 19 hex 01

The following example configures DHCP option 1, which sets the client’s subnet mask as higher 
priority when it and the router ID are specified in the DHCP REPLY:

XSR(config-dhcp-pool)#option 1 ip 255.255.255.0

The following example configures DHCP option 2, which locates a client as an offset 4650 seconds 
from Coordinated Universal Time (UTC) or five hours west of the zero meridian (London):

XSR(config-dhcp-pool)#option 2 hex 4650

The following example configures DHCP option 72, which specifies World Wide Web (WWW) 
servers for DHCP clients. Two WWW server addresses are configured in the following example:

XSR(config-dhcp-pool)#option 72 ip 168.24.3.252 168.24.3.253

The example below configures DHCP option 13, which specifies a client’s default boot image size:

XSR(config-dhcp-pool)#option 13 hex 8001

The following example configures DHCP option 41, which specifies Network Information Servers 
(NIS) for DHCP clients. Two NIS server addresses are configured in the following example:

XSR(config-dhcp-pool)#option 41 ip 90.3.4.5 90.1.1.7 90.43.9.254

117 Name

Service
Search

Server/
Multiple
16-bit hex
integers

-

Sets site of Name Service servers to clients to be used for lookup. Each 16-bit
field specifies a Name Server to be used for lookup:
0 – client should refer to local naming information
6 – use DNS
41 – use NIS
44 – use NetBIOS over TCP/IP
65 – use NIS+
Defined by RFC-2937.
Length: Minimum 2 octets; multiple of 2 octets

118 Subnet

Selection

Interface/
IP address

-

Sets the subnet IP address (RFC-3011). Used by a client to inform/force
server to assign an IP address-specific subnet.
Length: 4 octets

150 TFTP

Server

Cisco Vendor
Extension/IP
address

-

Address of the TFTP server. This option supports the XSR’s Remote Auto
Install functionality.
Length: 4 octets

Table 15-1 XSR-Supported DHCP Options (continued)

#

Protocol
Name

Category/
Type

Default

Description

Note:

DHCP options marked with an asterisk (

*

) can also be configured at the CLI.

Advertising