dhcp
config>service>vprn
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
Commands in this context configure DHCP parameters.
local-dhcp-server server-name [create]
no local-dhcp-server server-name
config>service>vprn>dhcp
config>service>vprn>if
config>service>vprn>nw-if
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command instantiates a local DHCP server. A local DHCP server can serve multiple interfaces but is limited to the routing context in was which it was created.
The DHCP server is supported only for craft access for local management of the node. It must not be used as a general purpose DHCP server.
Specifies the name of local DHCP server.
Keyword used to create the server name. The create keyword requirement can be enabled and disabled in the environment>create context.
[no] force-renews
config>service>vprn>dhcp>server
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command enables the sending of ‟forcerenew” messages.
The no form of this command disables the sending of ‟forcerenew” messages.
no force-renews
pool pool-name [create]
no pool pool-name
config>service>vprn>dhcp>local-dhcp-server
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures a DHCP address pool on the router.
Specifies the name of this IP address pool. Allowed values are any string up to 32 characters composed of printable, 7-bit ASCII characters.
Keyword used to create the entity. The create keyword requirement can be enabled or disabled in the environment>create context.
max-lease-time [days days] [hrs hours] [min minutes] [sec seconds]
no max-lease-time
config>service>vprn>dhcp>local-dhcp-server>pool
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the maximum amount of time that a client can lease the IP address.
The no form of this command reverts to the default value.
max-lease-time days 10
Specifies the number of days in the lease time.
Specifies the number of hours in the lease time.
Specifies the number of minutes in the lease time.
Specifies the number of seconds in the lease time.
min-lease-time [days days] [hrs hours] [min minutes] [sec seconds]
no min-lease-time
config>service>vprn>dhcp>local-dhcp-server>pool
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the minimum amount of time that a client can lease the IP address.
The no form of this command reverts to the default value.
min-lease-time min 10
Specifies the number of days in the lease time.
Specifies the number of hours in the lease time.
Specifies the number of minutes in the lease time.
Specifies the number of seconds in the lease time.
minimum-free minimum-free [percent] [event-when-depleted]
no minimum-free
config>router>dhcp>server>pool
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command specifies the desired minimum number of free addresses in this pool.
The no form of this command reverts to the default value.
1
Specifies the minimum number of free addresses.
Keyword to specify that the value is a percentage.
Keyword that enables a system-generated event when all available addresses in the pool or subnet of the local DHCP server are depleted.
[no] nak-non-matching-subnet
config>router>dhcp>server>pool
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the local DHCPv4 server handling of an Option 50 request. Option 50 indicates a client request for a previously allocated message, as described in section 3.2 of RFC 2131, Dynamic Host Configuration Protocol.
When this command is enabled, the address allocation algorithm uses a pool to search for the address specified in Option 10. If the address is not found in the pool, the system returns a DHCP NAK message. If the message is found, the system drops the DHCP packet.
no nak-non-matching-subnet
offer-time [min minutes] [sec seconds]
no offer-time
config>service>vprn>dhcp>server>pool
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the offer time.
The no form of this command reverts to the default value.
1 minute
Specifies the offer time in minutes.
Specifies the offer time in seconds.
options
config>service>vprn>dhcp>server>pool
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
Commands in this context configure pool options. The options defined in this context can be overruled if the same option is defined in the local user database.
custom-option option-number address [ip-address...(up to 4 max)]
custom-option option-number hex hex-string
custom-option option-number string ascii-string
no custom-option option-number
config>service>vprn>dhcp>server>pool>options
config>service>vprn>dhcp>server>pool>subnet>options
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures specific DHCP options. The option defined in this context can be overruled if the same option is defined in the local user database.
The no form of the removes the option from the configuration.
Specifies the option number that the DHCP server uses to send the identification strings to the DHCP client.
Specifies the IP address of this host.
Specifies the hex value of this option.
Specifies the value of this option up to 127 characters.
dns-server ip-address [ip-address...(up to 4 max)]
config>service>vprn>dhcp>server>pool>options
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the IP address of the DNS server.
Specifies the IP address of the DNS server. This address must be unique within the subnet and specified in dotted decimal notation.
domain-name domain-name
no domain-name
config>service>vprn>dhcp>server>pool>options
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the default domain for a DHCP client that the router uses to complete unqualified hostnames (without a dotted-decimal domain name).
The no form of this command removes the name from the configuration.
Specifies the domain name for the client up to 127 characters.
lease-rebind-time [days days] [hrs hours] [min minutes] [sec seconds]
no lease-rebind-time
config>service>vprn>dhcp>server>pool>options
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the time the client transitions to a rebinding state.
The no form of this command removes the time from the configuration.
Specifies the number of days in the lease rebind time.
Specifies the number of hours in the lease rebind time.
Specifies the number of minutes in the lease rebind time.
Specifies the number of seconds in the lease rebind time.
lease-renew-time [days days] [hrs hours] [min minutes] [sec seconds]
no lease-renew-time
config>service>vprn>dhcp>server>pool>options
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the time the client transitions to a renew state.
The no form of this command removes the time from the configuration.
Specifies the number of days in the lease renew time.
Specifies the number of hours in the lease renew time.
Specifies the number of minutes in the lease renew time.
Specifies the number of seconds in the lease renew time.
lease-time [days days] [hrs hours] [min minutes] [sec seconds]
no lease-time
config>service>vprn>dhcp>server>pool>options
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the amount of time that the DHCP server grants to the DHCP client to use a particular IP address.
The no form of this command removes the lease time parameters from the configuration.
Specifies the number of days in the lease time.
Specifies the number of hours in the lease time.
Specifies the number of minutes in the lease time.
Specifies the number of seconds in the lease time.
subnet {ip-address/mask | ip-address netmask} [create]
no subnet {ip-address/mask | ip-address netmask}
config>service>vprn>dhcp>server>pool
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures a subnet of IP addresses to be served from the pool. The subnet cannot include any addresses that were assigned to subscribers without those addresses specifically excluded. When the subnet is created, no IP addresses are made available until a range is defined.
Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted decimal notation.
Specifies the subnet mask in dotted decimal notation.
Specifies a string of 0s and 1s that mask or screen out the network part of an IP address so that only the host computer part of the address remains.
Keyword used to create the entity. The create keyword requirement can be enabled or disabled in the environment>create context.
[no] address-range start-ip-address end-ip-address
config>service>vprn>dhcp>server>pool>subnet
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures a range of IP addresses to be served from the pool. All IP addresses between the start and end IP addresses are included (other than specific excluded addresses).
Specifies the start address of this range to include. This address must be unique within the subnet and specified in dotted decimal notation.
Specifies the end address of this range to include. This address must be unique within the subnet and specified in dotted decimal notation.
[no] exclude-addresses start-ip-address [end-ip-address]
config>service>vprn>dhcp>server>pool>subnet
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command specifies a range of IP addresses that are excluded from the pool of IP addresses in this subnet.
Specifies the start address of this range to exclude. This address must be unique within the subnet and specified in dotted decimal notation.
Specifies the end address of this range to exclude. This address must be unique within the subnet and specified in dotted decimal notation.
maximum-declined maximum-declined
no maximum-declined
config>service>vprn>dhcp>server>pool>subnet
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the maximum number of declined addresses allowed.
64
Specifies the maximum number of declined addresses allowed.
minimum-free minimum-free
no minimum-free
config>service>vprn>dhcp>server>pool>subnet
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the minimum number of free addresses in this subnet. If the actual number of free addresses in this subnet falls below this configured minimum, a notification is generated.
1
Specifies the minimum number of free addresses in this subnet.
default-router ip-address [ip-address...(up to 4 max)]
no default-router
config>service>vprn>dhcp>server>pool>subnet
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures the IP address of the default router for a DHCP client. Up to four IP addresses can be specified.
The no form of this command removes the addresses from the configuration.
Specifies the IP address of the default router. This address must be unique within the subnet and specified in dotted decimal notation.
subnet-mask ip-address
no subnet-mask
config>service>vprn>dhcp>server>pool>subnet
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command specifies the subnet-mask option to the client. The mask can either be defined (for supernetting) or taken from the pool address.
The no form of this command removes the address from the configuration.
Specifies the IP address of the subnet mask. This address must be unique within the subnet and specified in dotted decimal notation.
[no] use-gi-address
config>service>vprn>dhcp>server
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command enables the use of gateway IP address (GIADDR) matching. If the gi-address flag is enabled, a pool can be used even if a subnet is not found. If the local-user-db-name is not used, the gi-address flag is used and addresses are handed out by GI only. If a user must be blocked from getting an address, the server maps to a local user database and configures the user with no address.
A pool can include multiple subnets. Because the GIADDR is shared by multiple subnets in a subscriber-interface, the pool may provide IP addresses from any of the subnets included when the GIADDR is matched to any of its subnets. This allows a pool to be created that represents a subnet.
no use-gi-address
user-db local-user-db-name
no user-db
config>service>vprn>dhcp>server
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command configures a local user database for authentication.
no user-db
Specifies the name of a local user database.
vrf-target {ext-community | export ext-community | import ext-community}
no vrf-target
config>service>vprn
7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C
This command specifies the route target to be added to the advertised routes or compared against the received routes from other VRFs on the same or remote PE routers. Specified vrf-import or vrf-export policies override the vrf-target policy.
The no form of this command removes the vrf-target.
no vrf-target
Specifies an extended BGP community in the type:x:y format. The value x can be an integer or IP address. The type can be the target or origin. x and y are 16-bit integers.
Specifies communities allowed to be accepted from remote PE neighbors.
Specifies communities allowed to be sent to remote PE neighbors.