5 ip bootp-client enable, 6 ip dhcp-client enable – PLANET XGS3-24040 User Manual

Page 67

Advertising
background image

XGS3 Command Guide

1-67

Command Mode:

Interface Configuration Mode.

Default

None.

Usage Guide:

The prefix of an IPV6 address should not be a multicast address, or other kinds of IPV6 addresses with specific

usage. Different layer-three VLAN interfaces are forbidden to share a same address prefix. As for any global unicast

address, the prefix should be limited in the range from 2001:: to 3fff ::,with a length no shorter than 3. And the prefix

length of a site-local address or a link-local address should not be shorter than 10.

Examples:

Configure an IPV6 address at the layer-three interface of VLAN1: set the prefix as 2001:3f:ed8::99, the length of

which is 64.

Switch(Config-if-Vlan1)#ipv6 address 2001:3f:ed8::99/64

1.3.5 ip bootp-client enable

Command:

ip bootp-client enable

no ip bootp-client enable

Function:

Enable the switch to be a BootP Client and obtain IP address and gateway address through BootP negotiation; the

no ip bootp-client enable” command disables the BootP Client function and releases the IP address obtained in

BootP.

Default:

BootP client function is disabled by default.

Command mode:

VLAN Interface Mode

Usage Guide:

Obtaining IP address through BootP, Manual configuration and DHCP are mutually exclusive, enabling any two

methods for obtaining IP address is not allowed. Note: To obtain IP address via BootP, a DHCP server or a BootP

server is required in the network.

Example:

Get IP address through BootP.

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)#ip bootp-client enable

Switch (Config-if-Vlan1)#exit

Switch(config)#

Relative command:

ip address, ip dhcp-client enable

1.3.6 ip dhcp-client enable

Command:

ip dhcp-client enable

Advertising