server¶
DHCP server configuration.
vrouter running config# vrf <vrf> dhcp server
enabled¶
Enable/Disable DHCP server on this VRF.
vrouter running config# vrf <vrf> dhcp server
vrouter running server# enabled true|false
- Default value
true
default-lease-time¶
Default network address lease time assigned to DHCP clients (in seconds, at least 180s).
vrouter running config# vrf <vrf> dhcp server
vrouter running server# default-lease-time <uint32>
- Default value
43200
max-lease-time¶
Maximum network address lease time assigned to DHCP clients (in seconds, at least 180s or the default-lease value).
vrouter running config# vrf <vrf> dhcp server
vrouter running server# max-lease-time <uint32>
- Default value
86400
dhcp-options¶
Default DHCP options configuration.
vrouter running config# vrf <vrf> dhcp server dhcp-options
dhcp-server-identifier¶
DHCP server identifier (IPv4 address) used in DHCP messages to allow the client to distinguish between lease offers.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# dhcp-server-identifier DHCP-SERVER-IDENTIFIER
DHCP-SERVER-IDENTIFIER |
An IPv4 address. |
domain-name¶
Name of the domain.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# domain-name <string>
domain-name-server¶
Domain name server (IPv4 address) listed in order of preference.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# domain-name-server DOMAIN-NAME-SERVER
DOMAIN-NAME-SERVER |
An IPv4 address. |
ntp-server¶
NTP server (IPv4 address) listed in order of preference.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# ntp-server NTP-SERVER
NTP-SERVER |
An IPv4 address. |
interface-mtu¶
Minimum Transmission Unit (MTU) of the interface.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# interface-mtu <uint16>
netbios-name-server¶
NETBIOS name server listed in order of preference.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# netbios-name-server NETBIOS-NAME-SERVER
|
Description |
---|---|
<A.B.C.D> |
An IPv4 address. |
<X:X::X:X> |
An IPv6 address. |
netbios-node-type¶
NETBIOS node type.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# netbios-node-type NETBIOS-NODE-TYPE
|
Description |
---|---|
B-node |
Broadcast - no WINS. |
P-node |
Peer - WINS only. |
M-node |
Mixed - broadcast, then WINS. |
H-node |
Hybrid - WINS, then broadcast. |
netbios-scope¶
NETBIOS over TCP/IP scope parameter for the client as specified in RFC 1001/1002.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# netbios-scope <string>
time-offset¶
Time offset in seconds from UTC.
vrouter running config# vrf <vrf> dhcp server dhcp-options
vrouter running dhcp-options# time-offset <int32>
subnet¶
Subnet configuration.
vrouter running config# vrf <vrf> dhcp server subnet <subnet>
<subnet> |
An IPv4 prefix: address and CIDR mask. |
interface¶
Interface on which the DHCP server should listen.
vrouter running config# vrf <vrf> dhcp server subnet <subnet>
vrouter running subnet <subnet># interface INTERFACE
INTERFACE |
An interface name. |
default-gateway¶
IPv4 address of the gateway listed in order of preference.
vrouter running config# vrf <vrf> dhcp server subnet <subnet>
vrouter running subnet <subnet># default-gateway DEFAULT-GATEWAY
DEFAULT-GATEWAY |
An IPv4 address. |
default-lease-time¶
Default network address lease time assigned to DHCP clients for this subnet (in seconds, at least 180s).
vrouter running config# vrf <vrf> dhcp server subnet <subnet>
vrouter running subnet <subnet># default-lease-time <uint32>
max-lease-time¶
Maximum network address lease time assigned to DHCP clients for this subnet (in seconds, at least 180s or the default-lease value).
vrouter running config# vrf <vrf> dhcp server subnet <subnet>
vrouter running subnet <subnet># max-lease-time <uint32>
range¶
IPv4 range.
vrouter running config# vrf <vrf> dhcp server subnet <subnet>
vrouter running subnet <subnet># range <start-ip> <end-ip>
<start-ip> |
An IPv4 address. |
<end-ip> |
An IPv4 address. |
host¶
Mapping from MAC address to IP address.
vrouter running config# vrf <vrf> dhcp server subnet <subnet>
vrouter running subnet <subnet># host <string> MAC-ADDRESS IP-ADDRESS
<string> |
Host name for static MAC to IP address mapping. |
dhcp-options¶
DHCP options specific to this subnet.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
dhcp-server-identifier¶
DHCP server identifier (IPv4 address) used in DHCP messages to allow the client to distinguish between lease offers.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# dhcp-server-identifier DHCP-SERVER-IDENTIFIER
DHCP-SERVER-IDENTIFIER |
An IPv4 address. |
domain-name¶
Name of the domain.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# domain-name <string>
domain-name-server¶
Domain name server (IPv4 address) listed in order of preference.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# domain-name-server DOMAIN-NAME-SERVER
DOMAIN-NAME-SERVER |
An IPv4 address. |
ntp-server¶
NTP server (IPv4 address) listed in order of preference.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# ntp-server NTP-SERVER
NTP-SERVER |
An IPv4 address. |
interface-mtu¶
Minimum Transmission Unit (MTU) of the interface.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# interface-mtu <uint16>
netbios-name-server¶
NETBIOS name server listed in order of preference.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# netbios-name-server NETBIOS-NAME-SERVER
|
Description |
---|---|
<A.B.C.D> |
An IPv4 address. |
<X:X::X:X> |
An IPv6 address. |
netbios-node-type¶
NETBIOS node type.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# netbios-node-type NETBIOS-NODE-TYPE
|
Description |
---|---|
B-node |
Broadcast - no WINS. |
P-node |
Peer - WINS only. |
M-node |
Mixed - broadcast, then WINS. |
H-node |
Hybrid - WINS, then broadcast. |
netbios-scope¶
NETBIOS over TCP/IP scope parameter for the client as specified in RFC 1001/1002.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# netbios-scope <string>
time-offset¶
Time offset in seconds from UTC.
vrouter running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vrouter running dhcp-options# time-offset <int32>
dhcp-server-leases (state only)¶
State of leases for DHCP server.
starts (state only)¶
Lease start time.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> starts
ends (state only)¶
Lease end time.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> ends
hw-mac-address (state only)¶
MAC address of the network interface on which the lease will be used.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> hw-mac-address
uid (state only)¶
Client identifier used by the client to acquire the lease.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> uid
client-hostname (state only)¶
Client host name sent using client-hostname statement.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> client-hostname
binding-state (state only)¶
Lease’s binding state.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> binding-state
next-binding-state (state only)¶
State the lease will move to when the current state expires.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> next-binding-state
option-agent-circuit-id (state only)¶
Circuit ID option sent by the relay agent.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> option-agent-circuit-id
option-agent-remote-id (state only)¶
Remote ID option sent by the relay agent.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> option-agent-remote-id
vendor-class-identifier (state only)¶
Client-supplied Vendor Class Identifier option.
vrouter> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> vendor-class-identifier