Dhcp Select Interface - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Parameters
interface interface-type interface-number [ to interface-type interface-number ]: Specifies the
interface(s) to operate in global address pool mode. The interface-type argument specifies an interface
type; the interface-number argument specifies an interface number; the interface interface-type
interface-number [ to interface-type interface-number ] keyword and argument combination specifies
an interface range.
all: Specifies all interfaces to operate in global address pool mode.
Description
Use the dhcp select global command to configure the specified interface(s) or all interfaces to operate
in global DHCP address pool mode. Upon receiving a DHCP packet from a DHCP client through an
interface operating in global DHCP address pool mode, the DHCP server chooses an IP address from a
global DHCP address pool of the DHCP server and assigns the address to the DHCP client.
Use the undo dhcp select command to restore the default DHCP packet processing mode.
By default, an interface operates in DHCP server global address pool mode.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Configure VLAN-interface 1 through VLAN-interface 3 to operate in global DHCP address pool mode,
so that when a DHCP packet is received from a DHCP client on one of these interfaces, the DHCP
server assigns an IP address from a global DHCP address pool to the DHCP client.
[Sysname] dhcp select global interface vlan-interface 1 to vlan-interface 3
# Configure all interfaces to operate in global DHCP address pool mode, so that when a DHCP packet
is received from a DHCP client through any interface, the DHCP server assigns an IP address in global
DHCP address pools to the DHCP client.
[Sysname] dhcp select global all

dhcp select interface

Syntax
VLAN interface view:
dhcp select interface
undo dhcp select
System view:
dhcp select interface { interface interface-type interface-number [ to interface-type interface-number ]
| all }
undo dhcp select { interface interface-type interface-number [ to interface-type interface-number ] |
all }
View
System view, VLAN interface view
1-4

Advertisement

Table of Contents
loading

Table of Contents