server¶
DHCP server configuration.
vsr running config# vrf <vrf> dhcp server
enabled (pushed)¶
Enable/Disable DHCP server on this VRF.
vsr running config# vrf <vrf> dhcp server
vsr 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).
vsr running config# vrf <vrf> dhcp server
vsr 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).
vsr running config# vrf <vrf> dhcp server
vsr running server# max-lease-time <uint32>
- Default value
86400
dhcp-options¶
Default DHCP options configuration.
vsr 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.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# dhcp-server-identifier DHCP-SERVER-IDENTIFIER
DHCP-SERVER-IDENTIFIER |
An IPv4 address. |
domain-name¶
Name of the domain.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# domain-name <string>
domain-name-server¶
Domain name server (IPv4 address) listed in order of preference.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr 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.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# ntp-server NTP-SERVER
NTP-SERVER |
An IPv4 address. |
interface-mtu¶
Minimum Transmission Unit (MTU) of the interface.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# interface-mtu <uint16>
netbios-name-server¶
NETBIOS name server listed in order of preference.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# netbios-name-server NETBIOS-NAME-SERVER
NETBIOS-NAME-SERVER |
An IPv4 or IPv6 address. |
netbios-node-type¶
NETBIOS node type.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr 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.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# netbios-scope <string>
subnet-mask¶
Specify the client’s subnet mask as per RFC 950.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# subnet-mask <A.B.C.D>
time-offset¶
Time offset in seconds from UTC.
vsr running config# vrf <vrf> dhcp server dhcp-options
vsr running dhcp-options# time-offset <int32>
subnet¶
Subnet configuration.
vsr 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.
vsr running config# vrf <vrf> dhcp server subnet <subnet>
vsr running subnet <subnet># interface INTERFACE
INTERFACE |
An interface name. |
default-gateway¶
IPv4 address of the gateway listed in order of preference.
vsr running config# vrf <vrf> dhcp server subnet <subnet>
vsr 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).
vsr running config# vrf <vrf> dhcp server subnet <subnet>
vsr 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).
vsr running config# vrf <vrf> dhcp server subnet <subnet>
vsr running subnet <subnet># max-lease-time <uint32>
range¶
IPv4 range.
vsr running config# vrf <vrf> dhcp server subnet <subnet>
vsr 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.
vsr running config# vrf <vrf> dhcp server subnet <subnet>
vsr 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.
vsr 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.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# dhcp-server-identifier DHCP-SERVER-IDENTIFIER
DHCP-SERVER-IDENTIFIER |
An IPv4 address. |
domain-name¶
Name of the domain.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# domain-name <string>
domain-name-server¶
Domain name server (IPv4 address) listed in order of preference.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr 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.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# ntp-server NTP-SERVER
NTP-SERVER |
An IPv4 address. |
interface-mtu¶
Minimum Transmission Unit (MTU) of the interface.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# interface-mtu <uint16>
netbios-name-server¶
NETBIOS name server listed in order of preference.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# netbios-name-server NETBIOS-NAME-SERVER
NETBIOS-NAME-SERVER |
An IPv4 or IPv6 address. |
netbios-node-type¶
NETBIOS node type.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr 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.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# netbios-scope <string>
subnet-mask¶
Specify the client’s subnet mask as per RFC 950.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# subnet-mask <A.B.C.D>
time-offset¶
Time offset in seconds from UTC.
vsr running config# vrf <vrf> dhcp server subnet <subnet> dhcp-options
vsr running dhcp-options# time-offset <int32>
dhcp-server-leases (state only)¶
State of leases for DHCP server.
starts (state only)¶
Lease start time.
vsr> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> starts
ends (state only)¶
Lease end time.
vsr> 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.
vsr> 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.
vsr> 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.
vsr> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> client-hostname
binding-state (state only)¶
Lease’s binding state.
vsr> 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.
vsr> 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.
vsr> 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.
vsr> 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.
vsr> show state vrf <vrf> dhcp server dhcp-server-leases <dhcp-server-leases> vendor-class-identifier