3.6. Triple Play DHCP Command Reference

3.6.1. Command Hierarchies

3.6.1.1. Global DHCP Commands

config
— system
dhcp6
adv-noaddrs-global [esm-proxy] [esm-relay] [relay] [server]
config
— filter
[no] dhcp-filter filter-id [create]
[no] dhcp6-filter filter-id [create]
default-action {bypass-host-creation | drop}
description description-string
— no description
entry entry-id [create]
— no entry entry-id
action bypass-host-creation
action drop
— no action
option dhcp-option-number {present | absent}
option dhcp-option-number match string hex-string [exact] [invert-match]
option dhcp-option-number match string ascii-string [exact] [invert-match]

3.6.1.2. Router DHCP Local User Database Commands

config
— router
— dhcp
— dhcp6
local-dhcp-server server-name [create]
— no local-dhcp-server server-name
description description-string
maximum-client-lead-time [maximum-client-lead-time]]
partner-down-delay [partner-down-delay]
peer ip-address tag sync-tag
— no peer
[no] shutdown
[no] startup-wait-time [min minutes] [sec seconds] [hrs hours]
[no] force-renews
lease-hold-time [lease-hold-time]
pool pool-name [create]
— no pool pool-name
delegated-prefix-length bits [minimum prefix-length] [maximum prefix-length]
description description-string
[no] exclude-prefix ipv6-prefix/prefix-length
maximum-client-lead-time [maximum-client-lead-time]
partner-down-delay [partner-down-delay]
peer ip-address tag sync-tag
— no peer
[no] shutdown
[no] startup-wait-time [min minutes] [sec seconds] [hrs hours]
max-lease-time [max-lease-time]
min-lease-time [min-lease-time]
minimum-free minimum-free [percent] [event-when-depleted]
offer-time [min minutes] [sec seconds]
— no offer-time
custom-option option-number address [ip-address]
custom-option option-number hex hex-string
custom-option option-number string ascii-string
— no custom-option option-number
dns-server [ip-address]
domain-name domain-name
lease-rebind-time [lease-rebind-time]
lease-renew-time [lease-renew-time]
lease-time [lease-time]
— no lease-time
netbios-name-server ip-address [ip-address]
netbios-node-type netbios-node-type
prefix ipv6-addr/prefix-len [failover {local | remote}] [pd] [wan-host] [create]
— no prefix ipv6-addr/prefix-len
[no] drain
custom-option option-number address ipv6-address [ipv6-address]
custom-option domain domain-string
custom-option option- number hex hex-string
custom-option option-number string ascii-string
— no custom-option option-number
dns-server ipv6-address [ipv6-address]
— no dns-server
domain-name domain-name
— no domain-name
preferred-lifetime [days days] [hrs hours] [min minutes] [sec seconds]
rebind-timer [days days] [hrs hours] [min minutes] [sec seconds]
renew-timer [days days] [hrs hours] [min minutes] [sec seconds]
[no] minimum-free prefix-length [prefix-length]
minimum percent [percent]
— no minimum
valid-lifetime [days days] [hrs hours] [min minutes] [sec seconds]
subnet {ip-address/mask | ip-address netmask} [create]
— no subnet {ip-address/mask | ip-address netmask}
[no] address-range start-ip-address end-ip-address
[no] drain
[no] exclude-addresses start-ip-address [end-ip-address]
maximum-declined maximum-declined
minimum-free minimum-free [percent] [event-when-depleted]
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
default-router ip-address [ip-address]
subnet-mask ip-address
use-gi-address [scope scope]
use-pool-from-client delimiter delimiter
use-link-address [scope scope]
user-db local-user-db-name
— no user-db
user-ident user-ident
— no user-ident
server-id duid-en hex hex-string
server-id duid-en string ascii-string
server-id duid-ll
— no server-id
[no] use-arp

3.6.1.3. Service Commands

3.6.1.3.1. IES DHCP Commands

config
— service
— ies service-id [customer customer-id] [vpn vpn-id]
[no] interface ip-int-name
dhcp
description description-string
gi-address ip-address [src-ip-addr]
— no gi-address
lease-populate nbr-of-leases
[no] option
action {replace | drop | keep}
— no action
circuit-id [ascii-tuple | ifindex | sap-id |vlan-ascii-tuple]
— no circuit-id
remote-id [mac | string string]
— no remote-id
[no] pool-name
[no] sap-id
[no] service-id
string text
— no string
[no] system-id
emulated-server ip-address
lease-time [days days] [hrs hours] [min minutes] [sec seconds] [override]
— no lease-time
[no] shutdown
relay-proxy [release-update-src-ip] [siaddr-override ip-address]
python-policy name
server server1 [server2.]
— no server
[no] shutdown
[no] trusted
[no] ipv6
address ipv6-address/prefix-length [eui-64]
— no address ipv6-address/prefix-length
[no] dhcp6-relay
description description-string
lease-populate [nbr-of-leases]
lease-populate [nbr-of-leases] route-populate [pd] na [ta]
lease-populate [nbr-of-leases] route-populate pd [na] [ta] [exclude]
lease-populate [nbr-of-leases] route-populate [pd] [na] ta
[no] option
interface-id [ascii-tuple]
interface-id ifindex
interface-id sap-id
interface-id string
[no] remote-id
python-policy name
server ipv6z-address [ipv6z-address.]
— no server [ipv6z-address.]
description description-string
source-address ipv6-address
user-db local-user-db-name
— no user-db
[no] dhcp6-server
max-nbr-of-leases max-nbr-of-leases
[no] prefix ipv6-address/prefix-length
duid duid [iaid iaid]
— no duid
preferred-lifetime seconds
preferred-lifetime infinite
valid-lifetime seconds
valid-lifetime infinite
[no] shutdown
[no] subscriber-interface ip-int-name
dhcp
gi-address ip-address [src-ip-addr]
— no gi-address
python-policy name
relay-proxy [release-update-src-ip] [siaddr-override ip-address]
[no] group-interface ip-int-name
dhcp
client-applications {[dhcp] [ppp]}
description description-string
[no] filter index
gi-address ip-address [src-ip-addr]
— no gi-address
lease-populate [nbr-of-leases]
lease-populate [nbr-of-leases] l2-header [mac ieee-address]
[no] option
action {replace | drop | keep}
— no action
circuit-id [ascii-tuple | ifindex | sap-id | vlan-ascii-tuple]
— no circuit-id
remote-id [mac | string string]
— no remote-id
[no] pool-name
[no] sap-id
[no] service-id
string text
— no string
[no] system-id
emulated-server ip-address
lease-time [days days] [hrs hours] [min minutes] [sec seconds] [override]
— no lease-time
[no] shutdown
python-policy name
relay-proxy [release-update-src-ip] [siaddr-override ip-address]
server server1 [server2]
— no server
[no] shutdown
[no] trusted
user-db local-user-db-name
— no user-db

3.6.1.3.2. VPLS DHCP Commands

config
— service
[no] vpls service-id [customer customer-id] [vpn vpn-id] [m-vpls]
sap sap-id [split-horizon-group group-name] [capture-sap]
dhcp
description description-string
lease-populate [nbr-of-entries]
[no] option
action {replace | drop | keep}
— no action
circuit-id [ascii-tuple | vlan-ascii-tuple]
circuit-id [0x0..0xFFFFFFFF...(64 hex nibbles)]
— no circuit-id
remote-id hex [0x0..0xFFFFFFFF...(64 hex nibbles)]
remote-id mac
remote-id string string
— no remote-id
[no] sap-id
[no] service-id
string text
— no string
[no] system-id
emulated-server ip-address
lease-time [days days] [hrs hours] [min minutes] [sec seconds] [radius-override]
— no lease-time
[no] shutdown
[no] shutdown
[no] snoop
dhcp-user-db local-user-db-name
dhcp-python-policy policy-name
dhcp6-user-db local-user-db-name
mesh-sdp sdp-id[:vc-id] [vc-type {ether | vlan}]
dhcp
description description-string
[no] snoop
spoke-sdp sdp-id[:vc-id] [vc-type {ether | vlan}] [split-horizon-group group-name]
dhcp
description description-string
[no] snoop

3.6.1.3.3. VPRN DHCP Commands

config
— service
— vprn
dhcp
dhcp6
local-dhcp-server server-name [create]
— no local-dhcp-server server-name
description description-string
maximum-client-lead-time [hrs hours] [min minutes] [sec seconds]
partner-down-delay [hrs hours] [min minutes] [sec seconds]
peer ip-address tag sync-tag
— no peer
[no] shutdown
[no] startup-wait-time [min minutes] [sec seconds] [hrs hours]
lease-hold-time [lease-hold-time]
pool pool-name [create]
— no pool pool-name
delegated-prefix-length bits [minimum prefix-length] [maximum prefix-length]
description description-string
[no] exclude-prefix ipv6-prefix/prefix-length
maximum-client-lead-time [maximum-client-lead-time]
partner-down-delay [partner-down-delay]
peer ip-address tag sync-tag
— no peer
[no] shutdown
[no] startup-wait-time [min minutes] [sec seconds [hrs hours]
offer-time [min minutes] [sec seconds]
— no offer-time
custom-option option-number address ipv6-address [ipv6-address]
custom-option option-number domain domain-string
custom-option option-number hex hex-string
custom-option option-number string ascii-string
— no custom-option option-number
dns-server ip-address [ip-address]
— no dns-server
domain-name domain-name
prefix ipv6-addr/prefix-len [failover {local | remote}] [pd] [wan-host] [create]
— no prefix ipv6-addr/prefix-len
[no] drain
custom-option option-number address ipv6-address [ipv6-address]
custom-option option-number domain domain-string
custom-option option-number hex hex-string
custom-option option-number string ascii-string
— no custom-option option-number
dns-server ip-address [ip-address]
— no dns-server
domain-name domain-name
preferred-lifetime [days days] [hrs hours] [min minutes] [sec seconds]
rebind-timer [rebind-timer]
renew-timer [[renew-timer]
[no] minimum-free prefix-length [prefix-length]
minimum [percent [percent]] [number [number]]
— no minimum
valid-lifetime [days days] [hrs hours] [min minutes] [sec seconds]
server-id duid-en hex hex-string
server-id duid-en string ascii-string
server-id duid-ll
— no server-id
[no] shutdown
use-gi-address [scope scope]
use-pool-from-client delimiter delimiter
user-db local-user-db-name
— no user-db
user-ident {client-id | circuit-id | mac | mac-circuit-id | remote-id}
— no user-ident
[no] interface ip-int-name
dhcp
description description-string
gi-address ip-address [src-ip-addr]
— no gi-address
lease-populate [nbr-of-leases]
[no] option
action {replace | drop | keep}
— no action
circuit-id [ascii-tuple | ifindex | sap-id |vlan-ascii-tup]
— no circuit-id
remote-id [mac | string string]
— no remote-id
[no] pool-name
[no] sap-id
[no] service-id
string text
— no string
[no] system-id
python-policy policy-name
emulated-server ip-address
lease-time [lease-time] [override]
— no lease-time
[no] shutdown
relay-proxy [release-update-src-ip] [siaddr-override ip-address]
server server1 [server2.]
— no server
[no] shutdown
[no] trusted
[no] use-arp

3.6.1.3.4. VPRN DHCP Subscriber Interface Commands

config
— service
— vprn
subscriber-interface ip-int-name [fwd-service service-id fwd-subscriber-interface ip-int-name] [create]
— no subscriber-interface ip-int-name
dhcp
client-applications {[dhcp] [ppp]}
description description-string
gi-address ip-address [src-ip-addr]
— no gi-address
lease-populate nbr-of-leases
[no] option
[no] sap-id
[no] service-id
string text
— no string
[no] system-id
emulated-server ip-address
lease-time [lease-time] [override]
— no lease-time
[no] shutdown
relay-proxy [release-update-src-ip] [siaddr-override ip-address]
server server1 [server2.]
— no server
[no] shutdown
[no] group-interface ip-int-name
[no] arp-populate
arp-timeout seconds
description description-string
dhcp
client-applications {[dhcp] [ppp]}
description description-string
[no] filter index
gi-address ip-address [src-ip-addr]
— no gi-address
lease-populate [nbr-of-leases] l2-header [mac ieee-address]
[no] option
action {replace | drop | keep}
— no action
circuit-id [ascii-tuple | ifindex | sap-id | vlan-ascii-tupl]
— no circuit-id
remote-id [mac | string string]
— no remote-id
[no] pool-name
[no] sap-id
[no] service-id
string text
— no string
[no] system-id
emulated-server ip-address
lease-time [lease-time] [override]
— no lease-time
[no] shutdown
relay-proxy [release-update-src-ip] [siaddr-override ip-address]
python-policy policy-name
server server1 [server2]
— no server
[no] shutdown
[no] trusted
user-db local-user-db-name
— no user-db

3.6.1.3.5. IES/VPRN IPv6-DHCP6 Commands

configure
— service
ies service-id/vprn service-id
— subscriber-interface
— group-interface
ipv6
dhcp6
filter filter-id
— no filter
[no] option
interface-id [ascii-tuple]
interface-id ifindex
interface-id sap-id
interface-id string string
[no] remote-id
pd-managed-route [next-hop {ipv4 | ipv6}]
[no] proxy-server
client-applications {[dhcp] [ppp]}
preferred-lifetime [preferred-lifetime]
preferred-lifetime infinite
rebind-timer [rebind-timer]
renew-timer [[renew-timer]
server-id duid-en hex hex-string
server-id duid-en string ascii-string
server-id duid-ll
— no server-id
— no shutdown
valid-lifetime [valid-lifetime]
valid-lifetime infinite
python-policy name
[no] relay
client-applications [dhcp] [ppp]
description description-string
link-address ipv6-address
[no] server [ipv6-address]
— no server
[no] shutdown
source-address ipv6-address
[no] snooping
[no] shutdown
user-db local-user-db-name
— no user-db
user-ident user-ident
— no user-ident

3.6.1.4. Local User Database Commands

3.6.1.4.1. IPoE Commands

config
local-user-db local-user-db-name [create]
— no local-user-db local-user-db-name
description description-string
ipoe
host host-name [create]
— no host host-name
acct-policy acct-policy-name [duplicate acct-policy-name]
address gi-address [scope scope]
address ip-address
address pool pool-name [secondary-pool sec-pool-name] [delimiter delimiter]
address use-pool-from-client [delimiter delimiter]
— no address
auth-domain-name domain-name
auth-policy policy-name
gi-address ip-address
— no gi-address
circuit-id string ascii-string
circuit-id hex hex-string
— no circuit-id
derived-id derived-id-string
— no derived-id
encap-tag-range start-tag start-tag end-tag end-tag
ip-prefix ip-prefix/ip-prefix-length
— no ip-prefix
mac ieee-address
— no mac
option60 hex hex-string
option60 string ascii-string
— no option60
remote-id hex hex-string
remote-id string ascii-string
— no remote-id
sap-id sap-id
— no sap-id
service-id service-id
— no service-id
string string
— no string
system-id system-id
— no system-id
identification-strings option-number [create]
ancp-string ancp-string
app-profile-string app-profile-string
category-map category-map-name
inter-dest-id intermediate-destination-id
sla-profile-string sla-profile-string
sub-profile-stringsub-profile-string
subscriber-id sub-ident-string
interface ip-int-name service-id service-id
ipv6-address ipv6-address
ipv6-delegated-prefix ipv6-prefix/prefix-length
preferred-lifetime [preferred-lifetime]
preferred-lifetime infinite
rebind-timer [rebind-timer]
renew-timer [renew-timer]
valid-lifetime [valid-lifetime]
valid-lifetime infinite
ipv6-slaac-prefix ipv6-prefix/prefix-length
ipv6-wan-address-pool pool-name
link-address ipv6-address
fail-action {continue | drop}
mac-format mac-format
— no mac-format
match {circuit-id | mac | remote-id}
match option [number] [option6 [number]]
match option6 [number]
— no match
server [service service-id] name server-name
— no server
import policy-name
— no import
group-interface ip-int-name [prefix {port-id}]
group-interface ip-int-name [suffix {port-id}]
policy msap-policy-name
— no policy
service service-id
— no service
custom-option option-number address [ip-address]
custom-option option-number hex hex-string
custom-option option-number string ascii-string
— no custom-option option-number
default-router ip-address [ip-address]
dns-server address [ip-address]
— no dns-server
domain-name domain-name
lease-rebind-time [lease-rebind-time]
lease-renew-time [lease-renew-time]
lease-time [lease-time]
— no lease-time
netbios-name-server ip-address [ip-address]
netbios-node-type netbios-node-type
subnet-mask ip-address
dns-server ipv6-address [ipv6-address]
— no dns-server
retail-service-id service-id
server ip-address
— no server
server6 ipv6-address
— no server6
[no] shutdown
— ipv4
option option-number address [ip-address]
option option-number hex hex-string
option option-number string ascii-string
— no option option-number
— ipv6
option option-number address [ip-address.]
option option-number hex hex-string
option option-number string ascii-string
option option-number domain domain-name
— no option option-number
option option number address [ip-address]
option option-number hex hex-string
option option-number string ascii-string
option option-number domain domain-name
— no option option-number
wpp
initial-app-profile app-profile-name
initial-sla-profile sla-profile-name
initial-sub-profile sub-profile-name
[no] portal router router-instance name wpp-portal-name
portal-group portal-group-name
mask type ipoe-match-type {[prefix-string prefix-string | prefix-length prefix-length] [suffix-string suffix-string | suffix-length suffix-length]}
— no mask type ipoe-match-type
match-list ipoe-match-type-1 [ipoe-match-type-2]
— no match-list

3.6.1.4.2. PPP Commands

config
local-user-db local-user-db-name [create]
— no local-user-db local-user-db-name
description description-string
ppp
host host-name [create]
— no host host-name
encap-offset [type type]
rate-down rate
— no rate-down
circuit-id sap-id
circuit-id string ASCII string
— no circuit-id
remote-id mac
remote-id string ASCII string
— no remote-id
acct-policy acct-policy-name [duplicate acct-policy-name]
address gi-address [scope scope]
address ip-address[/prefix-length]
address pool pool-name [secondary-pool sec-pool-name] [delimiter delimiter]
address use-pool-from-client [delimiter delimiter]
— no address
auth-policy policy-name
[no] force-ipv6cp
circuit-id string ascii-string
circuit-id hex hex-string
— no circuit-id
derived-id derived id-string
— no derived-id
encap-tag-range start-tag start-tag end-tag end-tag
mac ieee-address
— no mac
remote-id hex hex-string
remote-id string ascii-string
— no remote-id
sap-id sap-id
— no sap-id
service-name service-name
username user-name
username user-name no-domain
username user-name domain-only
— no username
identification-strings option-number [create]
ancp-string ancp-string
app-profile-string app-profile-string
category-map category-map-name
inter-dest-id intermediate-destination-id
sla-profile-string sla-profile-string
sub-profile-string sub-profile-string
subscriber-id sub-ident-string
[no] ignore-df-bit
interface ip-int-name service-id service-id
— no interface
ipv6-address ipv6-address
ipv6-delegated-prefix ipv6-prefix/prefix-length
preferred-lifetime [preferred-lifetime]
preferred-lifetime infinite
rebind-timer [rebind-time]
renew-timer [renew-timer]
valid-lifetime [valid-lifetime]
valid-lifetime infinite
ipv6-slaac-prefix ipv6-prefix/prefix-length
ipv6-wan-address-pool pool-name
l2tp
group tunnel-group-name [service-id service-id]
— no group
import policy-name
— no import
group-interface ip-int-name [prefix {port-id}]
group-interface ip-int-name [suffix {port-id}]
policy msap-policy-name
— no policy
service service-id
— no service
custom-option option-number address [ip-address]
custom-option option-number hex hex-string
custom-option option-number string ascii-string
— no custom-option option-number
dns-server address [ip-address]
— no dns-server
netbios-name-server ip-address [ip-address]
dns-server ipv6-address [ipv6-address]
— no dns-server
padi-auth-policy policy-name
pado-delay deci-seconds
— no pado-delay
password ignore
password {chap password |pap password} [hash|hash2]
— no password
pre-auth-policy policy-name
retail-service-id service-id
[no] shutdown
steering-profile steering-profile-name
— ipv6
option option-number address [ip-address]
option option-number hex hex-string
option option-number string ascii-string
option option-number domain domain-name
— no option option-number
user-db name
— no user-db

3.6.1.5. Show Commands

show
— router
dhcp
local-dhcp-server server-name
declined-addresses ip-address[/mask] [detail]
declined-addresses pool pool-name
failover-pool-stats [pool-name]
free-addresses ip-address[/mask]
free-addresses summary [subnet ip-address[/mask]
free-addresses pool pool-name
leases [detail]
leases ip-address[/mask] address-from-user-db [detail]
leases ip-address[/mask] dhcp-host dhcp-host-name [detail]
leases ip-address[/mask] ppp-host ppp-host-name [detail]
leases ip-address[/mask] [detail] [state]
pool-ext-stats [pool-name]
sticky-leases [hostname]
subnet-ext-stats ip-address[/mask]
subnet-ext-stats pool pool-name
subnet-stats ip-address[/mask]
subnet-stats pool pool-name
servers all
statistics [interface ip-int-name | ip-address]
— router
dhcp6
local-dhcp-server server-name
failover-pool-stats [pool-name]
leases [ipv6-address/prefix-length] [type] [state] [detail]
pool-ext-stats [pool-name]
pool-stats [pool-name]
pool-threshold-stats [pool-name] detail [format {exact | scientific}]
pool-threshold-stats [pool-name]
prefix-ext-stats ipv6-address/prefix-length
prefix-ext-stats pool pool-name
prefix-stats ipv6-address/prefix-length
prefix-stats pool pool-name
prefix-threshold-stats pool pool-name detail [format {exact | scientific}]
prefix-threshold-stats pool pool-name
prefix-threshold-stats ipv6-address/prefix-length detail [format {exact | scientific}]
prefix-threshold-stats ipv6-address/prefix-length
servers all
show
— service
id service-id
dhcp
lease-state [wholesaler service-id] [sap sap-id | sdp sdp-id:vc-id | interface interface-name | ip-address ip-address[/mask] | chaddr ieee-address | mac ieee-address| {[port port-id] [no-inter-dest-id | inter-dest-id inter-dest-id]}] [session {none | ipoe}] [detail]
statistics [sap sap-id] | [sdp [sdp-id[:vc-id]] | interface ip-int-name]]
summary [interface interface-name | saps]
dhcp6
lease-state [detail] [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
lease-state [detail] interface interface-name [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
lease-state [detail] ipv6-address ipv6-prefix[/prefix-length] [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
lease-state [detail] mac ieee-address [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
statistics [interface interface-name]
summary [interface interface-name | saps]
virtual-subnet [sap sap-id]
virtual-subnet subscriber sub-ident
show
— system
dhcp6

3.6.1.6. Tools Commands

tools
edit-ipoe-session sap sap-id mac mac-address [subscriber sub-ident-string] [sub-profile-string sub-profile-string] [sla-profile-string sla-profile-string] [inter-dest-id intermediate-destination-id] [ancp-string ancp-string] [app-profile-string app-profile-string] [circuit-id circuit-id] [remote-id remote-id]
edit-lease-state sap sap-id ip ip-address [mac ieee-address] [subscriber sub-ident-string] [sub-profile-string sub-profile-string] [sla-profile-string sla-profile-string] [app-profile-string app-profile-string] [inter-dest-id intermediate-destination-id] [ancp-string ancp-string]
edit-ppp-session svc-id service-id [user-name user-name] [mac mac-address] [session-id session-id] [ip-address ip-address] [subscriber sub-ident-string] [sub-profile-string sub-profile-string] [sla-profile-string sla-profile-string] [inter-dest-id intermediate-destination-id] [ancp-string ancp-string] [app-profile-string app-profile-string]
edit-slaac-host sap sap-id ipv6-address ipv6-prefix [mac ieee-address] [subscriber sub-ident-string] [sub-profile-string sub-profile-string] [sla-profile-string sla-profile-string] [app-profile-string app-profile-string] [inter-dest-id intermediate-destination-id] [ancp-string ancp-string]
edit-slaac-host svc-id service-id ipv6-address ipv6-prefix [mac ieee-address] [subscriber sub-ident-string] [sub-profile-string sub-profile-string] [sla-profile-string sla-profile-string] [app-profile-string app-profile-string] [inter-dest-id intermediate-destination-id] [ancp-string ancp-string]
eval-ipoe-session [svc-id service-id] [sap sap-id] [mac mac-address] [circuit-id circuit-id] [remote-id remote-id] [subscriber sub-ident-string]
eval-lease-state [svc-id service-id] [sap sap-id] [subscriber sub-ident-string] [ip ip-address] [mac ieee-address]
eval-msap {policy msap-policy-name | msap sap-id}
eval-ppp-session [svc-id service-id] [user-name user-name] [sap sap-id] [ip ip-address] [subscriber sub-ident-string]
eval-ppp-session [svc-id service-id] [user-name user-name] [sap sap-id] mac mac-address [session-id session-id] [ip ip-address] [subscriber sub-ident-string]
eval-slaac-host [svc-id service-id] [sap sap-id] [subscriber sub-ident-string] [ipv6-address ipv6-prefix] [mac ieee-address]
forcerenew svc-id service-id {ip ip-address[/mask] | mac ieee-address}
forcerenew {interface interface-name|sap sap-id|sdp sdp-id:vc-id} [ip ip-address[/mask]|mac ieee-address]
local-user-db local-user-db-name
ipoe
host-lookup [mac ieee-address] [remote-id remote-id] [sap-id sap-id] [service-id service-id] [string vso-string] [system-id system-id] [option60 hex-string] [circuit-id circuit-id | circuit-id-hex circuit-id-hex] [option60-hex option60-hex] [remote-id-hex remote-id-hex] [derived-id derived-id] [ip-prefix ip-prefix/ip-prefix-length]
— ppp
authentication user-name user-name password password [circuit-id circuit-id] [circuit-id-hex circuit-id-hex] [derived-id derived-id] [mac ieee-address] [remote-id remote-id] [remote-id-hex remote-id-hex] [sap-id sap-id] [service-name service-name]
host-lookup [circuit-id circuit-id] [circuit-id-hex circuit-id-hex] [derived-id derived-id] [mac ieee-address] [remote-id remote-id] [remote-id-hex remote-id-hex] [sap-id sap-id] [service-name service-name] [user-name user-name]
re-ident-sub old-sub-ident-string to new-sub-ident-string>
remap-lease-state old-mac ieee-address mac ieee-address
remap-lease-state sap sap-id [mac ieee-address]
— router
— dhcp
local-dhcp-server server-name
pool pool-name
create-sticky-lease host-name [mac ieee-address] [circuit-id circuit-id] [client-id client-id] [requested-ip-address ip-address] [circuit-id-hex circuit-id-hex-string] [client-id-hex client-id-hex-string]
send-force-renew ip-address
— router
— dhcp6
local-dhcp-server server-name
pool pool-name
— dump
dhcp-rx-stats [clear]

3.6.1.7. Clear Commands

clear
— router
dhcp
local-dhcp-server server-name
declined-addresses ip-address[/mask]
declined-addresses pool pool-name
failover-pool-stats [pool-name]
leases ip-address[/mask] [state]
leases all [state]
pool-ext-stats [pool-name]
sticky-leases hostname hostname
sticky-leases hostname-prefix hostname-prefix
subnet-ext-stats ip-address[/mask]
subnet-ext-stats pool pool-name
statistics [ip-int-name | ip-address]
dhcp6
local-dhcp-server server-name
failover-pool-stats [pool-name]
leases [ipv6-address/prefix-length] [type] [state]
leases all [type] [state]
pool-ext-stats [pool-name]
pool-threshold-stats [pool-name]
pool-ext-stats ipv6-address/prefix-length
prefix-ext-stats pool pool-name
prefix-threshold-stats ipv6-address/prefix-length
prefix-threshold-stats pool pool-name
— service
— id service-id
dhcp
lease-state all [no-dhcp-release]
lease-state [port port-id] [inter-dest-id intermediate-destination-id] [no-dhcp-release]
lease-state [port port-id] no-inter-dest-id [no-dhcp-release]
lease-state ip-address ip-address[/mask] [no-dhcp-release]
lease-state mac ieee-address [no-dhcp-release]
lease-state sap sap-id [no-dhcp-release]
lease-state sdp sdp-id:vc-id [no-dhcp-release]
statistics [sap sap-id | sdp [sdp-id[:vc-id] | interface ip-int-name | ip-address]
dhcp6
lease-state all [no-dhcp-release]
lease-state ipv6-address ipv6-prefix[/prefix-length] [no-dhcp-release]
lease-state mac ieee-address [no-dhcp-release]
lease-state sap sap-id [no-dhcp-release]
statistics [interface ip-int-name | ipv6-address]

3.6.1.8. Debug Commands

debug
— router router-instance
— ip
[no] dhcp [interface ip-int-name]
[no] dhcp mac ieee-address
[no] dhcp sap sap-id
detail-level {low | medium | high}
mode {dropped-only | ingr-and-dropped | egr-ingr-and-dropped}
— no mode
dhcp6 [interface ip-int-name]
— no dhcp6
detail-level {low | medium | high}
mode {dropped-only | ingr-and-dropped | egr-ingr-and-dropped}
— no mode
[no] local-dhcp-server server-name [lease-address ip-prefix[/prefix-length]]
[no] local-dhcp-server server-name [mac ieee-address]
[no] local-dhcp-server server-name link-local-address ipv6z-address
detail-level {low | medium | high}
mode {dropped-only | ingr-and-dropped | egr-ingr-and-dropped}
— no mode

3.6.2. Command Descriptions

3.6.2.1. Triple Play DHCP Configuration Commands

Note:

For the 7450 ESS configurations, the DHCP6 and IPv6 ESM commands apply only when in mixed-mode.

3.6.2.1.1. Global Commands

description

Syntax 
description description-string
no description
Context 
config>filter>dhcp-filter
config>service>vpls>sap>dhcp
config>service>vpls>sap>ipoe-session
config>service>ies>if>dhcp
config>service>ies>if>ipv6>dhcp6-relay
config>service>vprn>if>dhcp
config>router>dhcp>server
config>router>dhcp>server>pool
config>subscr-mgmt>loc-user-db
config>service>vprn>sub-if>ipv6>dhcp6>relay
config>service>ies>sub-if>ipv6>dhcp6>relay
config>service>ies>sub-if>grp-if>ppp
Description 

This command creates a text description stored in the configuration file for a configuration context.

The description command associates a text string with a configuration context to help identify the content in the configuration file.

The no form of the command removes the string from the configuration.

Default 

No description associated with the configuration context.

Parameters 
description-string—
The description character string. Allowed values are any string up to 80 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

shutdown

Syntax 
[no] shutdown
Context 
config>service>ies>if>dhcp
config>service>vpls>sap>dhcp
config>service>vpls>sap>dhcp>option>vendor
config>service>vpls>sap>ipoe-session
config>service>vprn>if>dhcp
config>service>vprn>if>dhcp>proxy-server
config>subscr-mgmt>loc-user-db
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
config>router>dhcp6>server>failover
config>router>dhcp>server>failover
Description 

This command administratively disables an entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics.

The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.

The no form of the command places the entity into an administratively enabled state.

3.6.2.1.2. Global DHCP Commands

dhcp

Syntax 
dhcp
Context 
config>service>vpls>sap
config>service>vpls>spoke-sdp
config>service>vpls>mesh-sdp
config>service>ies>interface
config>service>vprn
config>service>vprn>interface
config>service>vprn>sub-if
config>service>vprn>sub-if>grp-if
config>service>ies>sub-if>grp-if
config>service>ies>sub-if
config>service>ies>sub-if>grp-if
Description 

This command enables the context to configure DHCP parameters.

adv-noaddrs-global

Syntax 
adv-noaddrs-global [esm-proxy] [esm-relay] [relay] [server]
no adv-noaddrs-global
Context 
config>system>dhcp6
Description 

This command configures the different DHCPv6 applications to send the NoAddrsAvail Status-Code in DHCPv6 Advertise messages at the global DHCP message level.

By default, all applications send the NoAddrsAvail Status-Code in DHCPv6 Advertise messages at the IA_NA Option level.

Different applications for which NoAddrsAvail Status-Code in DHCPv6 Advertise messages can be configured at the global DHCP message level.

The only valid combination in current SR OS is adv-noaddrs-global esm-relay server.

The no form of the command reverts to the default.

Default 

no adv-noaddrs-global. All applications send the NoAddrsAvail Status-Code in DHCPv6 Advertise messages at the IA_NA Option level.

Parameters 
esm-proxy—
Specifies the DHCPv6 proxy server on subscriber group-interfaces. Not supported in current SR OS.
esm-relay —
Specifies the DHCPv6 relay on subscriber group-interfaces. Must be enabled together with the DHCPv6 server (server) application.
relay —
Specifies the DHCPv6 relay on regular IES/VPRN interfaces. Not supported in current SR OS.
server—
Specifies the DHCPv6 server. Must be enabled together with the DHCPv6 relay on subscriber interfaces (esm-relay) application.

dhcp-filter

Syntax 
dhcp-filter filter-id [create]
no dhcp-filter
Context 
config>filter
Description 

This command creates a configuration context for the specified DHCP filter policy if it does not exist and enables the context to configure the specified DHCP filter policy.

Default 

no dhcp-filter

Parameters 
filter-id—
Specifies the DHCP filter policy ID expressed as a decimal integer.
Values—
1 to 65535

 

create—
Keyword required to create the configuration context.

dhcp6-filter

Syntax 
dhcp6-filter filter-id [create]
no dhcp6-filter
Context 
config>filter
Description 

This command creates a configuration context for the specified DHCPv6 filter policy if it does not exist and enables the context to configure the specified DHCPv6 filter policy.

The no form of this command reverts to the default.

Default 

no dhcp6-filter

Parameters 
filter-id—
Specifies the DHCPv6 filter policy ID expressed as a decimal integer.
Values—
1 to 65535

 

create—
Keyword required to create the configuration context.

default-action

Syntax 
default-action {bypass-host-creation | drop}
no default-action
Context 
config>filter>dhcp-filter
config>filter>dhcp6-filter
Description 

This command specifies the default action when no entries match.

The no form of this command reverts to the default.

Parameters 
bypass-host-creation—
Specifies to bypass ESM host creation options.
drop—
Specifies to drop and not process the DHCP6 message.

entry

Syntax 
entry entry-id [create]
no entry entry-id
Context 
config>filter>dhcp-filter
config>filter>dhcp6-filter
Description 

This command configures DHCP filter entries.

The no form of the command removes the entry from the configuration.

Default 

none

Parameters 
entry-id—
Specifies the entry ID.
Values—
1 to 65535

 

create—
This keyword is required when first creating the DHCP filter entry. Once the context is created, it is possible to navigate into the context without the create keyword.

action

Syntax 
action bypass-host-creation
action drop
no action
Context 
config>filter>dhcp-filter>entry
config>filter>dhcp6-filter>entry
Description 

This command specifies the action to take on DHCP host creation when the filter entry matches.

The no form of the command reverts to the default wherein the host creation proceeds as normal.

Default 

no action

Parameters 
bypass-host-creation—
Specifies that the host creation is bypassed.
drop —
Specifies that the DHCP message is dropped.

option

Syntax 
option dhcp-option-number {present | absent}
option dhcp-option-number match hex hex-string [exact] [invert-match]
option dhcp-option-number match string ascii-string [exact] [invert-match]
no option
Context 
config>filter>dhcp-filter>entry
config>filter>dhcp6-filter>entry
Description 

This command configures the match criteria for the DHCP filter policy entry.

The no form of the command reverts to the default.

Default 

no option

Parameters 
dhcp-option-number—
Specifies the DHCP option number.
Values—
0 to 255

 

present —
Specifies that the related DHCP option must be present.
absent—
Specifies that the related DHCP option must be absent.
match hex hex-string
The option must (partially) match a specified hex string.
Values—
0x0 to 0xFFFFFFFF...(max 254 hex nibbles)

 

match string ascii-string
The option must (partially) match a specified ASCII string up to 127 characters in length.
exact—
This option requires an exact match of a hex or ASCII string.
invert-match—
Requires the option not to (partially) match.

3.6.2.1.3. Router DHCP Commands

local-dhcp-server

Syntax 
local-dhcp-server server-name [create]
no local-dhcp-server server-name
Context 
config>router>dhcp
config>service>vprn>dhcp
Description 

This command instantiates a local DHCP server. A local DHCP server can serve multiple interfaces but is limited to the routing context it was which it was created.

The no form of the command reverts to the default.

Default 

none

Parameters 
server-name —
Specifies the name of local DHCP server.
create—
Keyword used to create the local DHCP server. The create keyword requirement can be enabled/disabled in the environment>create context.

allow-lease-query

Syntax 
[no] allow-lease-query
Context 
config>router>dhcp6>server
config>service>vprn>dhcp6>server
Description 

If enabled, the local DHCPv6 server will handle and reply to lease query messages.

The no form of the command disables lease query support.

Default 

no allow-lease-query

failover

Syntax 
failover
Context 
config>router>dhcp>server
config>service>vprn>dhcp>server
Description 

This command enables the context to configure failover parameters.

ignore-mclt-on-takeover

Syntax 
[no] ignore-mclt-on-takeover
Context 
config>router>dhcp>server>failover
config>router>dhcp>server>pool>failover
config>router>dhcp6>server>failover
config>router>dhcp6>server>pool>failover
config>service>vprn>dhcp>server>failover
config>service>vprn>dhcp>server>pool>failover
config>service>vprn>dhcp6>server>failover
config>service>vprn>dhcp6>server>pool>failover
Description 

With this flag enabled, the remote IP address/prefix can be taken over immediately upon entering the PARTNER-DOWN state of the intercommunication link, without having to wait for the Maximum Client Lead Time (MCLT) to expire. By setting this flag, the lease times of the existing DHCP clients, while the intercommunication link is in the PARTNER-DOWN state, will still be reduced to the MCLT over time and all new lease times will be set to MCLT. This behavior remains the same as originally intended for MCLT.

Some deployments require that the remote IP address/prefix range starts delegating new IP addresses/prefixes upon the failure of the intercommunication link, without waiting for the intercommunication link to transition from the COMM-INT state into the PARTNER-DOWN state and the MCLT to expire while in PARTNER-DOWN state.

This can be achieved by enabling the ignore-mclt-on-takeover flag and by configuring the partner-down-delay to 0.

Enabling this functionality must be exercised with caution. One needs to keep in mind that the partner-down-delay and MCLT timers were originally introduced to prevent IP address duplication in cases where DHCP redundant nodes transition out-of-sync due to the failure of intercommunication link. These timers (partner-down-delay and MCLT) would ensure that during their duration, the new IP addresses/prefixes are delegated only from one node, the one with local IP address-range/prefix. The drawback is of course that the new IP address delegation is delayed and thus service is impacted.

But if one could ensure that the intercommunication link is always available, then the DHCP nodes would stay in sync and the two timers would not be needed. This is why it is of utmost importance that in this mode of operation, the intercommunication link is well protected by providing multiple paths between the two DHCP nodes. The only event that should cause intercommunication link to fail is the entire nodal failure. This failure is acceptable since in this case only one DHCP node is available to provide new IP addresses/prefixes.

The no form of the command reverts to the default.

Default 

no ignore-mclt-on-takeover

maximum-client-lead-time

Syntax 
maximum-client-lead-time [maximum-client-lead-time]
no maximum-client-lead-time
Context 
config>router>dhcp>server>failover
config>router>dhcp>server>pool>failover
config>service>vprn>dhcp>server>failover
config>service>vprn>dhcp>server>pool>failover
config>router>dhcp6>server>failover
config>router>dhcp6>server>pool>failover
config>service>vprn>dhcp6>server>failover
config>service>vprn>dhcp6>server>pool>failover
Description 

The maximum-client-lead-time (MCLT) is the maximum time that a DHCP server can extend client’s lease time beyond the lease time currently known by the DHCP partner node. In dual-homed environment, the initial lease time for all DHCP clients is by default restricted to MCLT. Consecutive DHCP renews are allowed to extend the lease time beyond the MCLT.

The MCLT is a safeguard against IP address/prefix duplication in cases of a lease synchronization failure when local-remote failover model is deployed

Once the intercommunication link failure between the redundant DHCP servers is detected, the DHCP IP address range configured as remote will not be allowed to start delegating new leases until the MCLT + partner-down-delay intervals expire. This is to ensure that the new lease that was delegated from the ‘local’ IP address-range/prefix on one node, but was never synchronized due to the intercommunication link failure, will expire before the same IP address/prefix is allocated from the remote IP address-range/prefix on the other node.

However, the already existing (and synchronized) lease times can be renewed from the remote IP address range at any time, regardless of the state of the intercommunication link (operational or failed).

Lease synchronization failure can be caused either by a node failure, or a failure of the link over which the DHCP leases are synchronized (intercommunication link). Synchronization failure detection can take up to 3 seconds.

During the failure, the DHCP lease time for the new clients will be restricted to MCLT while for the existing clients the lease time will over time (by consecutive DHCP renews) be gradually reduced to the MCLT.

The no form of the command reverts to the default.

Default 

10 minutes

Parameters 
maximum-client-lead-time
Specifies the maximum client lead time.
Values—

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

partner-down-delay

Syntax 
partner-down-delay [partner-down-delay]
no partner-down-delay
Context 
config>router>dhcp>server>failover
config>router>dhcp>server>pool>failover
config>service>vprn>dhcp>server>failover
config>service>vprn>dhcp>server>pool>failover
config>router>dhcp6>server>failover
config>router>dhcp6>server>pool>failover
config>service>vprn>dhcp6>server>failover
config>service>vprn>dhcp6>server>pool>failover
Description 

Since the DHCP lease synchronization failure can be caused by the failure of the intercommunication link (and not necessary the entire node), there is a possibility the redundant DHCP servers become isolated in the network. In other words, they can serve DHCP clients but they cannot synchronize the lease. This can lead to duplicate assignment of IP addresses, since the servers have configured overlapping IP address ranges but they are not aware of each other’s leases.

The purpose of the partner-down-delay is to prevent the IP lease duplication during the intercommunication link failure by not allowing new IP addresses to be assigned from the remote IP address range. This timer is intended to provide the operator with enough time to remedy the failed situation and to avoid duplication of IP addresses/prefixes during the failure.

During the partner-down-delay time, the prefix designated as remote will be eligible only for renewals of the existing DHCP leases that have been synchronized by the peering node. Only after the sum of the partner-down-delay and the maximum-client-lead-time will the prefix designated as remote be eligible for delegation of the new DHCP leases. When this occurs, we say that the remote IP address range has been taken over.

It is possible to expedite the takeover of a remote IP address range so that the new IP leases can start being delegated from that range shortly after the intercommunication failure is detected. This can be achieved by configuring the partner-down-delay timer to 0 seconds, along with enabling the ignore-mclt-on-takeover CLI flag. Caution must be taken before enabling this functionality. It is safe to bypass safety timers (partner-down-delay + MCLT) only in cases where the operator is certain that the intercommunication between the nodes has failed due to the entire node failure and not due to the intercommunication (MCS) link failure. Failed intercommunication due to the nodal failure would ensure that only one node is present in the network for IP address delegation (as opposed to two isolated nodes with overlapping IP address ranges where address duplication can occur). For this reason, the operator must ensure that there are redundant paths between the nodes to ensure uninterrupted synchronization of DHCP leases.

In access-driven mode of operation, partner-down-delay has no effect.

The no form of the command reverts to the default.

Default 

23 hours, 59 minutes and 59 seconds

Parameters 
partner-down-delay—
Specifies the partner down delay time.
Values—

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

peer

Syntax 
peer ip-address tag sync-tag
no peer
Context 
config>router>dhcp>server>failover
config>router>dhcp>server>pool>failover
config>router>dhcp6>server>failover
config>router>dhcp6>server>pool>failover
Description 

DHCP leases can be synchronized per DHCP server of DHCP pool. The pair of synchronizing servers or pools is identified by a tag. The synchronization information is carried over the Multi-Chassis Synchronization (MCS) link between the two peers. MCS link is a logical link (IP, or MPLS).

MCS runs over TCP, port 45067 and it is using either data traffic or keepalives to detect failure on the communication link between the two nodes. In the absence of any MCS data traffic for more than 0.5sec, MCS will send its own keepalive to the peer. If a reply is not received within three sec, MCS will declare its operation state as DOWN and the DB Sync state as out-of-sync. MCS will consequently notify its clients (DHCP Server being one of them) of this. It can take up to three seconds before the DHCP client realizes that the inter-chassis communication link has failed.

The inter-chassis communication link failure does not necessarily assume the same failed fate for the access links. The two redundant nodes can become isolated from each other in the network. This would occur in cases where only the intercommunication (MCS) link fails. It is of utmost importance that this MCS link be highly redundant.

The no form of the command reverts to the default.

Default 

no peer

Parameters 
ip-address—
Specifies the IPv4 address of the peer.
tag sync-tag
Specifies a tag that will identify synchronizing DHCP servers or pools.

startup-wait-time

Syntax 
[no] startup-wait-time [min minutes] [sec seconds] [hrs hours]
Context 
config>router>dhcp>server>failover
config>router>dhcp>server>pool>failover
config>router>dhcp6>server>failover
config>router>dhcp6>server>pool>failover
Description 

This command enables startup-wait-time during which each peer waits after the initialization process before assuming the active role for the prefix designated as local or access-driven. This is to avoid transient issues during the initialization process.

The startup-wait-time should be configured to an interval in which, after boot, both nodes can set up an MCS TCP link and start MCS. The timer is restarted each time the server downloads a lease from the MCS database and stops when the last state record from the peer is synchronized. The next state is (PRE-)NORMAL, unless the timer times out or is forced to stop via a new tools command (tools perform router dhcp or dhcp6 local-dhcp-server server-name [pool] failover abort-startup-wait), in which case the local DHCP server will transition immediately to the COMMUNICATIONS-INTERRUPTED state.

Default 

2 minutes

Parameters 
minutes
Specifies the startup wait time in minutes.
Values—
1 to 59

 

seconds
Specifies the startup wait time in seconds.
Values—
1 to 59

 

hours—
Specifies the start wait time in hours.
Values—
1

 

force-renews

Syntax 
[no] force-renews
Context 
config>router>dhcp>server
config>service>vprn>server
Description 

This command enables the sending of sending forcerenew messages.

The no form of the command disables the sending of forcerenew messages.

Default 

no force-renews

ignore-rapid-commit

Syntax 
[no] ignore-rapid-commit
Context 
config>router>dhcp6>server
config>service>vprn>dhcp6>server
Description 

This command enables the Rapid Commit Option.

The no form of the command disables the Rapid Commit Option.

Default 

no ignore-rapid-commit

interface-id-mapping

Syntax 
[no] interface-id-mapping
Context 
config>router>dhcp6>server
config>service>vprn>dhcp6>server
Description 

If enabled, this command enables the behavior where unique /64 prefix is allocated per interface-id, and all clients having the same interface-id get an address allocated out of this /64 prefix. This is relevant for bridged clients behind the same local-loop (and same SAP), where sharing the same prefix allows communication between bridged clients behind the same local-loop to stay local. For SLAAC based assignment, downstream neighbor-discovery is automatically enabled to resolve the assigned address.

The no form of the command reverts to the default.

Default 

no interface-id-mapping

lease-hold-time

Syntax 
lease-hold-time [lease-hold-time]
no lease-hold-time
Context 
config>service>vprn>dhcp>server
config>router>dhcp>server
config>service>vprn>dhcp6>server
config>router>dhcp6>server
Description 

This command configures the time to remember this lease and is applicable for unsolicited release conditions such as lease timeout if parameter lease-hold-time-for is set to the default value no solicited-release and is additionally applicable for normal solicited releases from DHCP clients if the lease-hold-time-for parameter is set to solicited-release.

The no form of the command reverts to the default.

Default 

sec 0

Parameters 
lease-hold-time—
Specifies the amount of time to remember the lease.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

lease-hold-time-for

Syntax 
[no] lease-hold-time-for
Context 
config>service>vprn>dhcp6>server
config>router>dhcp6>server
config>service>vprn>dhcp>server
config>router>dhcp>server
Description 

This command enables the context to configure lease-hold-time-for parameters which defines additional types of lease or triggers that cause system to hold up leases.

The no form of the command reverts to the default.

Default 

lease-hold-time-for

internal-lease-ipsec

Syntax 
[no] internal-lease-ipsec
Context 
config>service>vprn>dhcp6>server>lease-hold-time-for
config>router>dhcp6>server> lease-hold-time-for
config>service>vprn>dhcp>server
config>router>dhcp>server
Description 

This command enables the server to hold up the lease of local IPsec clients.

The no form of the command disables the ability of the server to hold up the lease of local IPSec clients.

Default 

no internal-lease-ipsec

solicited-release

Syntax 
[no] solicited-release
Context 
config>service>vprn>dhcp6>server>lease-hold-time-for
config>router>dhcp6>server> lease-hold-time-for
config>service>vprn>dhcp>server
config>router>dhcp>server
Description 

This command enables the server to hold up a lease even in case of solicited release; for example, when the server receives a normal DHCP release message.

The no form of the command disables the ability of the server to hold up a lease when a solicited release is received.

Default 

no solicited-release

pool

Syntax 
pool pool-name [create]
no pool pool-name
Context 
config>router>dhcp>server
config>router>dhcp6>server
config>service>vprn>dhcp>server
config>service>vprn>dhcp6>server
Description 

This command configures a DHCP address pool on the router.

The no form of the command removes the pool name from the configuration.

Default 

none

Parameters 
pool name—
Specifies the name of this IP address pool. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters.
create—
Keyword used to create the pool. The create keyword requirement can be enabled/disabled in the environment>create context.

delegated-prefix-length

Syntax 
delegated-prefix-length bits [minimum prefix-length] [maximum prefix-length]
no delegated-prefix-length
Context 
config>router>dhcp6>server>pool
config>service>vprn>dhcp6>server>pool
Description 

This command configures the delegated prefix length that will be used if the DHCPv6 client does not specify a prefix length hint.

The DHCPv6 client prefix length hint is limited by the range specified by the minimum and maximum parameters. If the hint is smaller than the minimum, the allocated prefix length will be equal to the minimum length. If the hint is larger than the maximum, the allocated prefix length will be equal to the maximum length.

The no form of the command reverts to the default.

Default 

delegated-prefix-length 64 minimum 48 maximum 64

Parameters 
bits
Specifies the delegated prefix length, in bits.
Values—
48 to 127

 

prefix-length—
Specifies the minimum or maximum allowed prefix length, in bits.
Values—
48 to 127

 

exclude-prefix

Syntax 
[no] exclude-prefix ipv6-prefix/prefix-length
Context 
config>router>dhcp6>server>pool
config>service>vprn>dhcp6>server>pool
Description 

This command defines a prefix that to be excluded from available prefix in the pool. The typical use case is to exclude the interface address.

  1. A held lease will be deleted if it got excluded by an exclude prefix.
  2. An exclude range can never exclude only a part of an existing lease. If for example a /63 PD is assigned, an exclude of /64 which belongs to this /63 can not be configured.
  3. A single exclude prefix can never exclude a whole include prefix.
  4. When applying or removing an exclude prefix, the threshold stats are adjusted to reflect the actual address space and its usage.

The no form of the command removes the prefix that is to be excluded from available prefix in the pool.

Default 

none

Parameters 
ipv6-prefix/prefix-length—
Specifies an IPv6 prefix and prefix length.
Values—

ipv6-prefix

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

prefix-length

[0 to 128]

 

max-lease-time

Syntax 
max-lease-time [max-lease-time]
no max-lease-time
Context 
config>router>dhcp>server>pool
Description 

This command configures the maximum lease time.

The no form of the command reverts to the default.

Default 

10 days

Parameters 
time—
Specifies the maximum lease time.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

min-lease-time

Syntax 
min-lease-time [min-lease-time]
no min-lease-time
Context 
config>router>dhcp>server>pool
config>service>vprn>dhcp>server>pool
Description 

This command configures the minimum lease time.

The no form of the command reverts to the default.

Default 

10 minutes

Parameters 
time—
Specifies the minimum lease time.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

minimum-free

Syntax 
minimum-free minimum-free [percent] [event-when-depleted]
no minimum-free
Context 
config>router>dhcp>server>pool
config>router>dhcp6>server>pool
Description 

This command specifies the desired minimum number of free addresses in this pool.

The no form of the command reverts to the default.

Default 

1

Parameters 
minimum-free—
Specifies the minimum number of free addresses.
Values—
0 to 255

 

percent—
Specifies that the value indicates a percentage.
event-when-depleted—
This parameter enables a system-generate event when all available addresses in the pool/subnet of local DHCP server are depleted.

nak-non-matching-subnet

Syntax 
[no] nak-non-matching-subnet
Context 
config>router>dhcp>server>pool
config>service>vprn>dhcp>server>pool
Description 

With this command, if the local DHCPv4 server receives a DHCP request with option 50 (means client try to request a previous allocated message as described in section 3.2 of RFC 2131, Dynamic Host Configuration Protocol) and the address allocation algorithm ends up using a pool and the address in option50 is not in pool, then system will return a DHCP NAK, otherwise system just drop the DHCP packet.

The no form of the command reverts to the default.

Default 

no nak-non-matching-subnet

offer-time

Syntax 
offer-time [min minutes] [sec seconds]
no offer-time
Context 
config>router>dhcp>server>pool
config>service>vprn>dhcp>server>pool
Description 

This command configures the time interval during which a DHCP offer is valid.

The no form of the command reverts to the default.

Default 

min 1

Parameters 
time—
Specifies the offer time.
Values—

min minutes

0 to 10

sec seconds

0 to 59

 

options

Syntax 
options
Context 
config>router>dhcp>server>pool
config>router>dhcp>server>pool>subnet
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
config>router>dhcp6>server>pool
config>router>dhcp6>server>pool>prefix
config>service>vprn>dhcp>server>pool>
config>service>vprn>dhcp6>server>pool>
config>service>vprn>dhcp6>server>pool>prefix>
Description 

This command enables the context to configure pool options. The options defined here can be overruled by defining the same option in the local user database.

Default 

none

custom-option

Syntax 
custom-option option-number address [ip-address]
custom-option option-number hex hex-string
custom-option option-number string ascii-string
no custom-option option-number
Context 
config>router>dhcp>server>pool>options
config>router>dhcp>server>pool>subnet>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>subscr-mgmt>loc-user-db>ppp>host>options
config>router>dhcp6>server>pool>options
config>router>dhcp6>server>pool>prefix>options
config>service>vprn>dhcp>server>pool>options
config>service>vprn>dhcp6>server>pool>options
config>service>vprn>dhcp6>server>pool>prefix>options
Description 

This command configures specific DHCP options. The options defined here can overrule options in the local user database.

The no form of the removes the custom option parameters from the configuration.

Default 

none

Parameters 
option-number—
Specifies up to four option numbers that the DHCP server uses to send the identification strings to the DHCP client.
Values—
1 to 254

 

ip-address
Specifies the IP address of this host.
hex-string
Specifies the hex value of this option.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

ascii-string
Specifies the value of this option up to 127 characters in length.

dns-server

Syntax 
dns-server address [ip-address]
no dns-server
Context 
config>router>dhcp>server>pool>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>subscr-mgmt>loc-user-db>ppp>host>options
config>router>dhcp6>server>pool>prefix>options
config>service>vprn>dhcp>server>pool>options
config>service>vprn>dhcp6>server>pool>options
config>service>vprn>dhcp6>server>pool>prefix>options
config>router>dhcp6>server>pool>options
Description 

This command configures the IP address of the DNS server.

The no form of the command removes the IP address from the DNS server configuration.

Default 

none

Parameters 
ip-address—
Specifies up to four DNS server IPv4 addresses. Each address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).

dns-server

Syntax 
dns-server ipv6-address [ipv6-address]
no dns-server
Context 
config>router>dhcp6>server>pool>options
config>router>dhcp6>server>pool>prefix>options
config>subscr-mgmt>loc-user-db>ppp>host>options6
config>subscr-mgmt>loc-user-db>ipoe>host>options6
config>router>dhcp6>server>pool>options
config>service>vprn>dhcp>server>pool>options
config>service>vprn>dhcp6>server>pool>options
config>service>vprn>dhcp6>server>pool>prefix>options
Description 

This command configures IPv6 DNS server addresses that can be used for name resolution

The no form of the command removes the IPv6 address from the dns-server configuration.

Default 

no dns-server

Parameters 
ipv6-address—
Specifies up to four IPv6 DNS server addresses.

domain-name

Syntax 
domain-name domain-name
no domain-name
Context 
config>router>dhcp>server>pool>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>router>dhcp6>server>pool>options
config>router>dhcp6>server>pool>prefix>options
config>service>vprn>dhcp>server>pool>options
config>service>vprn>dhcp6>server>pool>options
config>service>vprn>dhcp6>server>pool>prefix>options
Description 

This command configures the default domain for a DHCP client that the router uses to complete unqualified host names (without a dotted-decimal domain name).

The no form of the command removes the name from the configuration.

Default 

none

Parameters 
domain-name—
Specifies the domain name for the client up to 127 characters in length.

lease-rebind-time

Syntax 
lease-rebind-time [lease-rebind-time]
no lease-rebind-time
Context 
config>router>dhcp>server>pool>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>service>vprn>dhcp>server>pool>options
Description 

This command configures the time the client transitions to a rebinding state.

The no form of the command removes the time from the configuration.

Default 

none

Parameters 
lease-rebind-time—
Specifies the lease rebind time.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

lease-renew-time

Syntax 
lease-renew-time [lease-renew-time]
no lease-renew-time
Context 
config>router>dhcp>server>pool>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>service>vprn>dhcp>server>pool>options
Description 

This command configures the time the client transitions to a renew state.

The no form of the command removes the time from the configuration.

Default 

none

Parameters 
lease-renew-time—
Specifies the lease renew time.
Values—

days:

0 to 3650

hours:

0 to 23

minutes:

0 to 59

seconds

0 to 59

 

lease-time

Syntax 
lease-time [lease-time]
no lease-time
Context 
config>router>dhcp>server>pool>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>service>vprn>dhcp>server>pool>options
Description 

This command configures the amount of time that the DHCP server grants to the DHCP client permission to use a particular IP address.

The no form of the command removes the lease time parameters from the configuration.

Default 

none

Parameters 
lease-time—
Specifies the lease time.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

netbios-name-server

Syntax 
netbios-name-server ip-address [ip-address]
no netbios-name-server
Context 
config>router>dhcp>server>pool>options
config>subscr-mgmt>loc-user-db>ppp>host>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>service>vprn>dhcp>server>pool>options
Description 

This command configures up to four Network Basic Input/Output System (NetBIOS) name server IP addresses.

The no form of the command removes the IP address from the netbios-name-server configuration.

Default 

none

Parameters 
ip-address—
Specifies up to four NetBIOS name server IP addresses. The address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).

netbios-node-type

Syntax 
netbios-node-type netbios-node-type
no netbios-node-type
Context 
config>router>dhcp>server>pool>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>service>vprn>dhcp>server>pool>options
Description 

This command configures the Network Basic Input/Output System (NetBIOS) node type.

The no form of the command removes the netbios node type parameters from the configuration.

Default 

none

Parameters 
netbios-node-type—
Specifies the netbios node type.
Values—
B — Broadcast node uses broadcasting to query nodes on the network for the owner of a NetBIOS name.
P — Peer-to-peer node uses directed calls to communicate with a known NetBIOS name server for the IP address of a NetBIOS machine name.
M — Mixed node uses broadcast queries to find a node, and if that fails, queries a known P-node name server for the address.
H — Hybrid node is the opposite of the M-node action so that a directed query is executed first, and if that fails, a broadcast is attempted.

 

msap-defaults

Syntax 
msap-default
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures MSAP authentication defaults.

group-interface

Syntax 
group-interface ip-int-name [prefix {port-id}] [suffix {port-id}]
no group-interface
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>msap-defaults
config>subscr-mgmt>loc-user-db>ppp>host>msap-defaults
Description 

This command configures the group interface.

The no form of the command removes the group interface parameters from the configuration.

Default 

no group-interface

Parameters 
ip-int-name—
Specifies the IP interface name up to 32 characters in length.
port-id
Specifies the port ID as the prefix to the specified IP interface name.
port-id
Specifies the port ID as the suffix to the specified IP interface name.

policy

Syntax 
policy msap-policy-name
no policy
Context 
config>subscr-mgmt
config>subscr-mgmt>loc-user-db>ipoe>host>msap-defaults
config>subscr-mgmt>loc-user-db>ppp>host>msap-defaults
Description 

This command configures the MSAP policy.

The no form of the command removes the MSAP policy name from the configuration.

Default 

none

Parameters 
msap-policy-name—
Specifies the policy name up to 32 characters in length.

service

Syntax 
service service-id
no service
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>msap-defaults
config>subscr-mgmt>loc-user-db>ppp>host>msap-defaults
Description 

This command sets default service for all subscribers created based on trigger packets received on the given capture SAP in case the corresponding VSA is not included in the RADIUS authentication response. This command is applicable to capture SAP only.

The no form of the command reverts to the default.

Default 

no service

Parameters 
service-id—
Specifies the service ID as an integer.
Values—
1 to 2147483648

 

retail-service-id

Syntax 
[no] retail-service-id service-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command sets the retail-service ID for a given subscriber host.

The no form of the command reverts to the default.

Default 

no retail-service-id

Parameters 
service-id—
Specifies the service ID as an integer or service name up to 64 characters in length.
Values—
1 to 2147483647, svc-name

 

prefix

Syntax 
prefix ipv6-addr/prefix-length [failover {local | remote | access-driven}] [pd] [wan-host] [create]
no prefix ipv6-addr/prefix-length
Context 
config>router>dhcp6>server>pool
config>service>vprn>dhcp6>server>pool
Description 

This command allocates a prefix to a pool from which Prefix Delegation prefixes and or wan addresses can be assigned.

The no form of the command removes the prefix parameters from the configuration.

Default 

none

Parameters 
prefix ipv6-addr/prefix-length—
Specifies the prefix.
Values—

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x [0 to FFFF]H

d [0 to 255]D

prefix-length

[1 to 128]

 

failover {local | remote | access-driven}
This command designates a prefix as local, remote, or access-driven. This is used when multi-chassis synchronization is enabled.
Values—
local — (default) A prefix designated as local is always used to renew the existing addresses/prefixes or to assign a new one.
remote — A prefix designated as remote is used only to renew the existing DHCP leases. The new leases are assigned from it only after the maximum-client-lead-time and partner-down-delay time elapses.
access-driven — A prefix designated as access-driven is similar to local (a new prefix assignment as well as a renewal). However, as the prefix is shared between the redundant server pair, the following additional conditions should be met to avoid duplicate address allocations:
  1. A dual home access protection mechanism such as srrp or mc-lag must ensure a single active path from the dhcp client to the server.
  2. The dhcp relay should point to the local server only.

 

pd—
(default) When configured, IA-PD prefixes may be allocated from this prefix.
wan-host—
(default) When configured, IA-NA addresses and/or SLAAC prefixes (local-address-assignment) may be allocated from this prefix.
create—
Keyword used to create the prefix configuration. The create keyword requirement can be enabled/disabled in the environment>create context.

thresholds

Syntax 
thresholds
Context 
config>service>vprn>dhcp6>server>pool
config>service>vprn>dhcp6>server>pool>prefix
config>router>dhcp6>server>pool
config>router>dhcp6>server>pool>prefix
Description 

This command enables the context to configure pool level thresholds.

Default 

thresholds

minimum-free

Syntax 
[no] minimum-free prefix-length [prefix-length]
Context 
config>service>vprn>dhcp6>server>pool>thresholds
config>router>dhcp6>server>pool>thresholds
Description 

This command creates a threshold for a given prefix length on the pool level. Up to 128 thresholds could be created. For example, with minimum-free prefix-length 64, then the usage of /64 prefix in the pool is counted.

There are two types of thresholds that could be defined at the pool level:

  1. Depleted — The system sends out a warning when the prefix with the configured length is no long available in the pool.
  2. Minimum free — A percentage-based threshold which represents the minimal available percentage of prefix with the configured length in the pool. The system will send out warning if the actual percentage is lower than the configured percentage

Configuration of this command also enables the system stats collection for configure prefix length, which could be displayed via the show router router-id dhcp6 local-dhcp-server d6 pool-threshold-stats command.

The no form of the command removes the prefix-length from the configuration.

Default 

none

Parameters 
prefix-length
Specifies the IPv6 prefix length.
Values—
1 to 128

 

depleted-event

Syntax 
[no] depleted-event
Context 
config>service>vprn>dhcp6>server>pool>thresholds>minimum-free
config>router>dhcp6>server>pool>thresholds>minimum-free
Description 

This command enables the system to send out warnings when the prefix with the configured length is no long available in the pool.

The no form of the command disables the warnings.

Default 

none

depleted-event

Syntax 
[no] depleted-event
Context 
config>service>vprn>dhcp6>server>pool>prefix>thresholds>minimum-free
config>router>dhcp6>server>pool>prefix>thresholds>minimum-free
Description 

This command enables the system to send out a warning when the prefix with a configured length is no long available in the provisioned prefix.

For example:

prefix 2001:0:0:ffe0::/50 pd wan-host create
   thresholds
       minimum-free prefix-length 64
           depleted-event

With the above configuration, the system will send out a warning when there is no available /64 that can be allocated out of 2001:0:0:ffe0::/50.

The no form of the command disables the warnings.

Default 

none

minimum

Syntax 
minimum percent [percent]
no minimum
Context 
config>service>vprn>dhcp6>server>pool>thresholds>minimum-free
config>router>dhcp6>server>pool>thresholds>minimum-free
Description 

This command specifies a percentage based threshold which represent the minimal available percentage of the prefix with configured length in the pool. The system will send out a warning if the actual percentage is lower than the configured percentage.

The no form of the command removes the percentage from the configuration.

Default 

none

Parameters 
percent
Specifies the percentage of used prefixes with the minimum free threshold length in the pool compared to the number of provisioned prefixes.
Values—
0 to 100

 

minimum

Syntax 
minimum [percent [percent]] [number [number]]
no minimum
Context 
config>service>vprn>dhcp6>server>pool>prefix>thresholds>minimum-free
config>router>dhcp6>server> pool>prefix>thresholds>minimum-free
Description 

This command configures a percentage-based or number-based threshold which represents the minimal available percentage or number of the prefix with a configured length in the provisioned prefix. The system will send out a warning if the actual percentage or number is lower than the configured threshold.

For example:

prefix 2001:0:0:ffe0::/50 pd wan-host create
   thresholds
       minimum-free prefix-length 64
           minimum number 3
 

With the above configuration, the system will send a warning when the number of available /64 in prefix 2001:0:0:ffe0::/50 is less than 3.

The no form of the command removes the command parameters from the configuration.

Default 

none

Parameters 
percent
Specifies the percentage of used prefixes with the minimum free threshold length in the pool compared to the number of provisioned prefixes.
Values—
0 to 100

 

number
Specifies the number of prefixes.
Values—
0 to 4294967295

 

to-client-options

Syntax 
to-client-options
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command enables the context to configure DHCP options to send to the client.

Default 

none

user-db

Syntax 
user-db name
no user-db
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command specifies local user database for PPP PAP/CHAP access.

With this configuration, system will access the specified DB again during PPP PAP/CHAP phase.

This configuration only becomes effective when system is accessing parent DB during PPPoE discovery phase.

The no form of the command removes the name from the configuration.

Default 

no user-db

Parameters 
name—
Specifies the name of the local user database for PAP/CHAP access.

custom-option

Syntax 
custom-option option-number address [ip-address]
custom-option option-number hex hex-string
custom-option option-number string ascii-string
no custom-option option-number
Context 
config>router>dhcp>server>pool>options
config>router>dhcp>server>pool>subnet>options
config>service>vprn>dhcp>server>pool>options
Description 

This command configures specific DHCP options. The options defined here can overrule options in the local user database.

The no form of the removes the option from the configuration.

Default 

none

Parameters 
option-number—
Specifies up to four DHCP server option numbers used to send the identification strings to the DHCP client.
Values—
1 to 254

 

ip-address
Specifies the IP address of this host.
hex-string
Specifies the hex value of this option.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

ascii-string
Specifies the value of this option up to 127 characters in length.

option

Syntax 
option option-number address ipv4-address [ipv4-address]
option option-number hex hex-string
option option-number string ascii-string
no option option-number
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>to-client-options>ipv4
config>subscr-mgmt>loc-user-db>ppp>host>to-client-options>ipv4
Description 

This command configures DHCPv4 options via LUDB that will be passed in all DHCP messages to the client. The options will be blindly appended to any options already present in the DHCP message. In other words, there is no intelligent merging of the options where overlapping options from different sources are further evaluated to determine whether only one option or multiple options should be returned to the client.

Multiple DHCP options can be configured at the same time although each option requires its own option statement. Those options are equivalent to RADIUS VSAs Alc-ToCLient-Dhcp4-Options.

DHCPv4 options can be provided via DHCPv4 server in the relay case. In addition, DHCPv4 options provided via LUDB or RADIUS can be supplied and consequently appended to the already existing options. In case that DHCPv4 options are provided simultaneously via LUDB and RADIUS, the RADIUS as a source of DHCPv4 option will be blocked and the options supplied via LUDB will be passed to the client. This is valid for the relay and proxy case.

Any DHCP option may be encoded in the option statement. An example of the option statement for DHCPv4 default-gateway is given below:

option 3 192.168.1.254

DHCPv4 options may be fixed length or variable length. They are appended at the end of DHCPv4 messages. All options begin with a tag octet, which uniquely identifies the option. Fixed-length options without data consist of only a tag octet. Only options 0 and 255 are fixed length. All other options are variable-length.

The no form of the removes the option from the configuration.

Default 

no option

Parameters 
option-number—
Specifies up to four option numbers. This can be a well-known or a an anonymous option.
ipv4-address
Specifies an IPv4 address as an option.
hex-string
Specifies options coded as Hex characters.
ascii-string
Specifies options coded as an ASCII string.

subnet

Syntax 
subnet {ip-address/mask | ip-address netmask} [create]
no subnet {ip-address/mask | ip-address netmask}
Context 
config>router>dhcp>server>pool
config>service>vprn>dhcp>server>pool
Description 

This command creates 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.

The no form of the removes the subnet parameters from the configuration.

Default 

none

Parameters 
ip-address—
Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
mask—
The subnet mask in dotted decimal notation. Allowed values are dotted decimal addresses in the range 128.0.0.0 – 255.255.255.252.
Note:

A mask of 255.255.255.255 is reserved for system IP addresses.

netmask—
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
create—
Keyword used to create the subnet. The create keyword requirement can be enabled/disabled in the environment>create context.

address-range

Syntax 
[no] address-range start-ip-address end-ip-address [failover {local | remote}]
Context 
config>router>dhcp>server>pool>subnet
config>service>vprn>dhcp>server>pool
Description 

This command configures a range of IP addresses to be served from the pool. All IP addresses between the start and end IP addresses will be included (other than specific excluded addresses).

The no form of the command removes the address-range parameters from the configuration.

Default 

none

Parameters 
start-ip-address—
Specifies the start address of this range to include. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
end-ip-address—
Specifies the end address of this range to include. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
local—
Specifies that the DHCP server failover control type is in control under normal operation.
remote—
Specifies that the remote DHCP server failover system is in control under normal operation.

drain

Syntax 
[no] drain
Context 
config>service>vprn>dhcp>server>pool>subnet
Description 

This command means no new leases can be assigned from this subnet and existing leases are cleaned up upon renew/rebind.

The no form of the command means the subnet is active and new leases can be assigned from it.

Default 

none

exclude-addresses

Syntax 
[no] exclude-addresses start-ip-address [end-ip-address]
Context 
config>router>dhcp>server>pool>subnet
config>service>vprn>dhcp>server>pool>subnet
Description 

This command specifies a range of IP addresses that excluded from the pool of IP addresses in this subnet.

The no form of the removes the parameters from the configuration.

Default 

none

Parameters 
start-ip-address—
Specifies the start address of this range to exclude. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
end-ip-address—
Specifies the end address of this range to exclude. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).

maximum-declined

Syntax 
maximum-declined maximum-declined
no maximum-declined
Context 
config>router>dhcp>server>pool>subnet
config>service>vprn>dhcp>server>pool>subnet
Description 

This command configures the maximum number of declined addresses allowed.

The no form of the reverts to the default.

Default 

64

Parameters 
maximum-declined—
Specifies the maximum number of declined addresses allowed.
Values—
0 to 4294967295

 

minimum-free

Syntax 
minimum-free minimum-free [percent] [event-when-depleted]
no minimum-free
Context 
config>router>dhcp>server>pool>subnet
config>router>dhcp6>server>pool>subnet
config>service>vprn>dhcp>server>pool>subnet
config>service>vprn>dhcp6>server>pool>subnet
Description 

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.

The no form of the reverts to the default.

Default 

1

Parameters 
minimum-free—
Specifies the minimum number of free addresses in this subnet.
Values—
0 to 255

 

percent—
Specifies that the value indicates a percentage.
event-when-depleted—
Enables a system-generate event when all available addresses in the pool/subnet of local DHCP server are depleted.

default-router

Syntax 
default-router ip-address [ip-address]
no default-router
Context 
config>router>dhcp>server>pool>subnet>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
config>service>vprn>dhcp6>server>pool>subnet
Description 

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 the command removes the address(es) from the configuration.

Default 

none

Parameters 
ip-address—
Specifies up to four default router IP addresses. Each address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).

subnet-mask

Syntax 
subnet-mask ip-address
no subnet-mask
Context 
config>router>dhcp>server>pool>subnet>options
config>subscr-mgmt>loc-user-db>ipoe>host>options
Description 

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 the command removes the address from the configuration.

Default 

none

Parameters 
ip-address—
Specifies the IP address of the subnet mask. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).

use-gi-address

Syntax 
use-gi-address [scope scope]
Context 
config>router>dhcp>server
config>service>vprn>dhcp>server
Description 

This command enables the use of gi-address matching. If the gi-address flag is enabled, a pool can be used even if a subnets 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. Since the GI is shared by multiple subnets in a subscriber interface the pool may provide IP addresses from any of the subnets included when the GI is matched to any of its subnets. This allows a pool to be created that represents a sub-int.

The no form of the reverts to the default.

Default 

no use-gi-address

Parameters 
scope
Specifies if addresses are handed out for a certain subnet where the gi-address belongs to only or for all subnets part of the pool.
Values—
subnet — Addresses are only handed out for the subnet where the gi-address is part.
pool — All subnets part of the pool which contain subnet where the gi-address is part of can hand out addresses.

 

use-pool-from-client

Syntax 
use-pool-from-client delimiter delimiter
use-pool-from-client
no use-pool-from-client
Context 
config>router>dhcp>server
config>service>vprn>dhcp>server
Description 

This command enables the use of the pool indicated by DHCP client. When enabled, the IP address pool to be used by this server is the pool is indicated by the vendor-specific sub-option 13 of the DHCP option 82. When disabled or if there is no sub-option 13 in the DHCP message, the pool selection falls back to the use-gi-address configuration.

The no form of the reverts to the default.

Default 

no use-pool-from-client

Parameters 
delimiter
A single ASCII character specifies the delimiter of separating primary and secondary pool names in Option82 VSO.

user-ident

Syntax 
user-ident user-ident
no user-ident
Context 
config>router>dhcp>server
config>service>vprn>dhcp>server
Description 

This command configures the user identification method for the DHCPv4 server.

The no form of the reverts to the default.

Default 

mac-circuit-id

Parameters 
user-ident—
Specifies the user identification method.
Values—
client-id — Specifies to use the DHCPv4 client identifier as the user identification method.
circuit-id — Specifies to use the circuit identifier of the DHCPv4 client as the user identification method.
mac — Specifies to use the MAC address of the DHCPv4 client as the user identification method.
mac-circuit-id — Specifies to use the MAC address and circuit identifier of the DHCPv4 client as the user identification method.
remote-id — Specifies to use the MAC address of the remote end as the user identification method.

 

user-ident

Syntax 
user-ident user-ident
no user-ident
Context 
config>router>dhcp6>server
config>service>vprn>dhcp6>server
Description 

This command configures the keys for identification of the DHCPv6 lease being held in the lease-database (for configured period after lease timeout). Subscriber requesting a lease via DHCPv6 that matches an existing lease based on this configured key is handed the matched prefix or address. This allows address and prefix “stickiness” for DHCPv6 assigned prefixes (IA_NA or PD).

The no form of the reverts to the default.

Default 

duid

Parameters 
user-ident—
Specifies the user identification method.
Values—
duid — Specifies the IPv6 DHCP unique identifier from DHCPv6.
interface-id — Specifies the IPv6 interface-id option.
interface-id-link-local — Specifies the interface-id and link-local address.

 

use-link-address

Syntax 
use-link-address [scope scope]
no use-link-address
Context 
config>router>dhcp6>server
config>service>vprn>dhcp6>server
Description 

This command configures the local pool selection for v6 address or prefix assignment to use the configured link-address under relay configuration. The selected pool will contain a prefix covering the link-address. The scope option defines the scope for the match. With scope subnet, the prefix or address selection is limited to the prefix in the pool that covers the link-address. With scope pool, all the prefixes in the selected pool are eligible for assignment.

The no form of the reverts to the default.

Default 

scope subnet

Parameters 
scope
Specifies the scope of the IP address selection.
Values—
subnet — Specifies that the prefix or address selection is limited to the prefix in the pool that covers the link address.
pool — Specifies that all prefixes in the selected pool are eligible for assignment.

 

user-db

Syntax 
user-db local-user-db-name [create]
no user-db
Context 
config>router>dhcp>server
config>subscr-mgmt
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
Description 

This command configures a local user database for authentication.

The no form of the command reverts to the default.

Default 

no user-db

Parameters 
local-user-db-name —
Specifies the name of a local user database up to 32 characters in length.
create—
Keyword used to create the local user database. The create keyword requirement can be enabled/disabled in the environment>create context.

3.6.2.1.4. Service Commands

dhcp6

Syntax 
dhcp6
Context 
config>service>vpls>spoke-sdp
config>service>vpls>mesh-sdp
config>service>ies>interface
config>system
config>service>vprn
config>service>vprn>interface
config>service>vprn>sub-if
config>service>vprn>sub-if>grp-if
config>service>vprn>sub-if>grp-if>ipv6
config>service>ies>sub-if>grp-if>ipv6
config>service>ies>sub-if
config>service>ies>sub-if>grp-if
Description 

This command enables the context to configure DHCP6 parameters.

Default 

none

relay

Syntax 
[no] relay
Context 
config>service>vprn>sub-if>grp-if>ipv6>dhcp6
config>service>ies>sub-if>grp-if>ipv6>dhcp6
config>service>vprn>sub-if>ipv6>dhcp6
config>service>ies>sub-if>ipv6>dhcp6
Description 

This command enables the context to configure DHCPv6 relay parameters for this interface.

Default 

none

client-applications

Syntax 
client-applications {[dhcp] [ppp]}
no client-applications
Context 
config>service>vprn>sub-if>dhcp
config>service>ies>sub-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>relay
config>service>ies>sub-if>grp-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>grp-if>ipv6>dhcp6>relay
config>service>vprn>sub-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>ipv6>dhcp6>relay
config>service>ies>sub-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>ipv6>dhcp6>relay
Description 

This command enables DHCP relay and proxy-server for the configured client types.

The no form of the command reverts to the default.

Default 

dhcp

Parameters 
dhcp—
Enables IPoE clients to use the DHCP relay or proxy-server.
ppp—
Enables PPPoE clients to use the DHCP relay or proxy-server that PPPoE will attempt to request an IP address for a PPPoE client from the DHCP server(s) assigned to PPPoE node.

match-circuit-id

Syntax 
[no] match-circuit-id
Context 
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
Description 

This command enables matching Option 82 circuit ID on relayed DHCP packet matching.

For Routed CO, the group interface DHCP relay process is stateful. When packets are relayed to the server the virtual router ID, transaction ID, SAP ID, and client hardware MAC address of the relayed packet are tracked. When a response is received from the server the virtual router ID, transaction ID, and client HW MAC address must be matched to determine the SAP on which to send the packet out. In some cases, the virtual router ID, transaction ID, and client HW MAC address are not guaranteed to be unique.

When the match-circuit-id command is enabled this part of the key is used to guarantee correctness in the lookup. This is only needed when are dealing with an IP aware DSLAM that proxies the client HW mac address.

The no form of the command reverts to the default.

Default 

no match-circuit-id

lease-populate

Syntax 
lease-populate [nbt-of-entries]
no lease-populate
Context 
config>service>vpls>if>dhcp>option
config>service>ies>if>dhcp>option
config>subscr-mgmt>msap-policy>vpls-only>dhcp
config>service>vpls>sap>dhcp
config>service>ies>if>dhcp
config>service>vprn>if>dhcp
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>vprn>sub-if>dhcp
Description 

This command enables dynamic host lease state management for SAPs.

For VPLS, DHCP snooping must be explicitly enabled (using the snoop command) at all points where DHCP messages requiring snooping enter the VPLS instance (both from the DHCP server and from the subscribers). Lease state information is extracted from snooped DHCP ACK messages to populate lease state table entries for the MSAP.

The optional number-of-entries parameter is used to define the number lease state table entries allowed for an MSAP or IP interface. If number-of-entries is omitted, only a single entry is allowed. Once the maximum number of entries has been reached, subsequent lease state entries are not allowed and subsequent DHCP ACK messages are discarded.

The retained lease state information representing dynamic hosts may be used to:

  1. Populate an MSAP based anti-spoof filter table to provide dynamic anti-spoof filtering. If the system is unable to populate the dynamic host information in the anti-spoof filter table on the SAP, the DHCP ACK message must be discarded without adding new lease state entry or updating an existing lease state entry.
  2. Generate dynamic ARP replies if arp-reply-agent is enabled.

The no form of the command disables dynamic host lease state management for the MSAP.

Default 

no lease-populate

lease-populate

Syntax 
lease-populate [nbr-of-leases]
lease-populate [nbr-of-leases] l2-header [mac ieee-address]
no lease-populate
Context 
config>subscr-mgmt>msap-policy>vpls-only>dhcp
config>service>vpls>sap>dhcp
config>service>ies>if>dhcp
config>service>vprn>if>dhcp
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>vprn>sub-if>dhcp
Description 

This command enables and disables dynamic host DHCPv4 lease state management for SAPs.

For VPLS, DHCP snooping must be explicitly enabled (using the snoop command) at all points where DHCP messages requiring snooping enter the VPLS instance (both from the DHCP server and from the subscribers). Lease state information is extracted from snooped DHCP ACK messages to populate lease state table entries for the SAP.

The optional number-of-entries parameter defines the number lease state table entries allowed.

  1. for this SAP in case of a VPLS service
  2. for this interface in case of an IES or VPRN interface
  3. for each SAP in case of an IES or VPRN group-interface
  4. for this interface in case of an IES or VPRN retail subscriber-interface

If number-of-entries is omitted, only a single entry is allowed. Once the maximum number of entries has been reached, subsequent lease state entries are not allowed and subsequent DHCP ACK messages are discarded.

The retained lease state information representing dynamic hosts may be used to:

  1. Populate a SAP based anti-spoof filter table to provide dynamic anti-spoof filtering. If the system is unable to populate the dynamic host information in the anti-spoof filter table on the SAP, the DHCP ACK message must be discarded without adding new lease state entry or updating an existing lease state entry.
  2. Populate the system’s ARP cache based on the arp-populate configuration. Applicable to IES and VPRN interfaces or group-interfaces.
  3. Populate managed entries into a VPLS forwarding database. VPLS forwarding database population is an implicit feature that automatically places the dynamic host’s MAC address into the VPLS FDB. When a dynamic host’s MAC address is placed in the lease state table, it will automatically be populated into the VPLS forwarding database associated with the SAP on which the host is learned. The dynamic host MAC address will override any static MAC entries using the same MAC and prevent dynamic learning of the MAC on another interface. Existing static MAC entries with the same MAC address as the dynamic host are marked as inactive but not deleted. If all entries in the lease state table associated with the MAC address are removed, the static MAC may be populated. New static MAC definitions for the VPLS instance may be created while a dynamic host exists associated with the static MAC address
  4. Generate dynamic ARP replies if arp-reply-agent is enabled. Applicable to VPLS service SAPs

The no form of the command reverts to the default.

Default 

no lease-populate

Parameters 
nbr-of-leases—
Specifies the number of DHCPv4 leases allowed.
l2-header—
Indicates a mode of operation where anti-spoof entry associated with the given DHCP state is created based on the MAC address from the Layer 2 header. The Layer 2 header flag is not set by default. This parameter is only applicable for group-interfaces.
mac —
Specifies that the provisioned ieee-address will be used in the anti-spoofing entries for this SAP. The parameter may be changed mid-session. Existing sessions will not be re-programmed unless a tools perform command is issues for the lease. This parameter is only applicable for group-interfaces.

option

Syntax 
[no] option
Context 
config>service>vpls>sap>dhcp
config>service>ies>if>dhcp
config>service>vprn>if>dhcp
config>service>vprn>sub-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
Description 

This command enables DHCP Option 82 (Relay Agent Information Option) parameters processing and enters the context for configuring Option 82 sub-options.

The no form of this command reverts to the default.

Default 

no option

action

Syntax 
action {replace | drop | keep}
no action
Context 
config>service>ies>if>dhcp>option
config>service>ies>sub-if>grp-if>dhcp
config>service>vpls>sap>dhcp>option
config>service>vprn>if>dhcp>option
config>service>vprn>sub-if>grp-if>dhcp>option
Description 

This command configures the Relay Agent Information Option (Option 82) processing.

The no form of this command reverts to the default.

Default 

The default is to keep the existing information intact.

Parameters 
replace—
In the upstream direction (from the user), the Option 82 field from the router is inserted in the packet (overwriting any existing Option 82 field). In the downstream direction (toward the user) the Option 82 field is stripped (in accordance with RFC 3046).
drop—
The DHCP packet is dropped if an Option 82 field is present, and a counter is incremented.
keep—
The existing information is kept in the packet and the router does not add any additional information. In the downstream direction the Option 82 field is not stripped and is forwarded towards the client.

In Vendor-Specific Options (VSOs) scenarios, the behavior is slightly different. Even with the action=keep, the router will insert his own VSO into the Option 82 field. This will only be done when the incoming message has already an Option 82 field.

If no Option 82 field is present, the router will not create the Option 82 field, then, no VSO will be added to the message.

circuit-id

Syntax 
circuit-id
circuit-id [ascii-tuple | vlan-ascii-tuple]
circuit-id hex hex-string
no circuit-id
Context 
config>service>ies>if>dhcp>option
config>service>ies>sub-if>grp-if>dhcp>option
config>service>vpls>sap>dhcp>option
config>service>vprn>if>dhcp>option
config>service>vprn>sub-if>grp-if>dhcp>option
Description 

When enabled, the router sends an ASCII-encoded tuple in the circuit-id sub-option of the DHCP packet. This ASCII-tuple consists of the access-node-identifier, service-id, and SAP-ID, separated by “|”.

In order to send a tuple in the circuit ID, the action replace command must be configured in the same context.

If disabled, the circuit-id sub-option of the DHCP packet will be left empty.

The no form of this command reverts to the default.

Default 

circuit-id

Parameters 
ascii-tuple—
Specifies that the ASCII-encoded concatenated tuple consisting of the access-node-identifier, service-id, and interface-name is used.
vlan-ascii-tuple—
Specifies that the format will include VLAN-id and dot1p bits in addition to what is included in ascii-tuple already. The format is supported on dot1q and qinq ports only. Thus, when the Option 82 bits are stripped, dot1p bits will be copied to the Ethernet header of an outgoing packet.
hex-string—
Specifies the circuit ID in hexadecimal format from the Option 82.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

remote-id

Syntax 
remote-id
remote-id hex hex-string
remote-id mac
remote-id string string
no remote-id
Context 
config>service>ies>if>dhcp>option
config>service>ies>sub-if>grp-if>dhcp>option
config>service>ies>sub-if>grp-if>dhcp>option
config>service>vpls>sap>dhcp>option
config>service>vprn>if>dhcp>option
config>subscr-mgmt>msap-policy>vpls-only>dhcp>option
Description 

This command specifies what information goes into the remote-id sub-option in the DHCP relay packet.

If disabled, the remote-id sub-option of the DHCP packet will be left empty.

The no form of this command reverts to the default.

Default 

remote-id

Parameters 
hex-string—
Specifies the hexadecimal format for the remote ID
Values—
0x0 to 0xFFFFFFFF(maximum 254 hex nibbles)

 

mac—
Specifies the MAC address of the remote end is encoded in the sub-option.
string string
Specifies the remote-id up to 32 characters in length.

vendor-specific-option

Syntax 
[no] vendor-specific-option
Context 
config>service>vpls>sap>dhcp>option
config>service>ies>if>dhcp>option
config>service>vprn>if>dhcp>option
config>service>ies>sub-if>grp-if>dhcp>option
config>service>vprn>sub-if>grp-if>dhcp>option
Description 

This command enables the Nokia vendor-specific sub-option of the DHCP relay packet.

The no form of the command reverts to the default.

Default 

no vendor-specific-option

client-mac-address

Syntax 
[no] client-mac-address
Context 
config>service> ies>if>dhcp>option>vendor
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
config>service>ies>sub-if>grp-if>dhcp>option>vendor
Description 

This command enables the sending of the MAC address in the Nokia vendor-specific sub-option of the DHCP relay packet.

The no form of the command disables the sending of the MAC address in the Nokia vendor-specific sub-option of the DHCP relay packet.

Default 

no client-mac-address

pool-name

Syntax 
[no] pool-name
Context 
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
config>service>ies>if>dhcp>option>vendor
config>service>ies>sub-if>grp-if>dhcp>option>vendor
Description 

This command sends the pool name in the Nokia vendor specific sub-option of the DHCP relay packet.

The no form of the command reverts to the default.

Default 

no pool-name

sap-id

Syntax 
[no] sap-id
Context 
config>service>vpls>sap>dhcp>option>vendor
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
config>service>ies>sub-if>grp-if>dhcp>option>vendor
Description 

This command enables the sending of the SAP ID in the Nokia vendor-specific sub-option of the DHCP relay packet.

The no form of the command disables the sending of the SAP ID in the Nokia vendor-specific sub-option of the DHCP relay packet.

Default 

no sap-id

service-id

Syntax 
[no] service-id
Context 
config>service>vpls>sap>dhcp>option>vendor
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
config>service>ies>sub-if>grp-if>dhcp>option>vendor
Description 

This command enables the sending of the service ID in the Nokia vendor-specific sub-option of the DHCP relay packet.

The no form of the command disables the sending of the service ID in the Nokia vendor-specific sub-option of the DHCP relay packet.

Default 

no service-id

string

Syntax 
[no] string text
Context 
config>service>vpls>sap>dhcp>option>vendor
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
config>service>ies>sub-if>grp-if>dhcp>option>vendor
Description 

This command specifies the string in the Nokia vendor-specific sub-option of the DHCP relay packet.

The no form of the command reverts to the default.

Default 

no string

Parameters 
text—
Specifies a string that can be any combination of ASCII characters up to 32 characters in length. If spaces are used in the string, enclose the entire string in quotation marks (“ “).

system-id

Syntax 
[no] system-id
Context 
config>service>vpls>sap>dhcp>option>vendor
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
config>service>ies>sub-if>grp-if>dhcp>option>vendor
Description 

This command specifies whether the system-id is encoded in the Nokia vendor-specific sub-option of Option 82.

The no form of the command reverts to the default.

Default 

no system-id

filter

Syntax 
filter filter-id
no filter
Context 
config>service>ies>sub-if>grp-if>ipv6>dhcp6
config>service>vprn>sub-if>grp-if>ipv6>dhcp6
Description 

This command assigns a DHCP6 filter to the group-interface.

Default 

no filter

Parameters 
filter-id—
Specifies the DHCP6 filter ID.
Values—
1 to 65535

 

override-slaac

Syntax 
[no] override-slaac
Context 
config>service>vprn>sub-if>ipv6>dhcp6
config>service>ies>sub-if>ipv6>dhcp6
config>service>vprn>sub-if>grp-if>ipv6>dhcp6
config>service>ies>sub-if>grp-if>ipv6>dhcp6
Description 

This command allows a DHCP IA_NA address to override and replace a host existing SLAAC address. When this feature is enabled, a subscriber SLAAC address is removed once the DHCP IA_NA address assignment is completed. If used with conjunction with the allow-multiple-wan-address command, the DHCP IA_NA address will also override the SLAAC address.

pd-managed-route

Syntax 
pd-managed-route [next-hop {ipv4 | ipv6}]
no pd-managed-route
Context 
config>service>vprn>sub-if>ipv6>dhcp6
config>service>ies>sub-if>ipv6>dhcp6
config>service>vprn>sub-if>grp-if>ipv6>dhcp6
config>service>ies>sub-if>grp-if>ipv6>dhcp6
Description 

This command enables DHCP IA-PD (delegated prefix) to be modeled as managed (framed) route instead of as a subscriber-host. Antispoof filtering for the subscriber host associated with the IA-PD route must be set to nh-mac. The subscriber specific parameters (such as sla-profile or sub-profile) will be ignored during the authentication phase because IA-PD is not modeled as a subscriber host. Other subscriber host-specific functions (for example, host overrides via CoA or host accounting) are not possible with a PD as the managed route.

By default, or when configured with the next-hop ipv6 parameter, the next-hop for PD managed route is an IPv6 WAN sub-host (DHCP IA-NA or SLAAC) with the same mac address as the one in the DHCP lease state for the managed IA-PD. The DHCP IA-NA next-hop host will always override the SLAAC next-hop host if both are available. If the IPv6 next-hop is not present when the framed IA-PD is instantiated, the IA-PD will be set up but the PD managed route will not be installed in the IPv6 route table and the DHCPv6 lease state for the IA-PD will have the managed route status (DHCP6 MRt Status) set to “noNextHop”.

When configured with the next-hop ipv4 parameter the next-hop for PD managed route is a DHCPv4 sub-host that belongs to the same IPoE session or PPPoE session. For IPoE, ipoe-session must be enabled on the group-interface. If ipoe-session is disabled, an IPv4 next-hop will not be found. If the IPv4 next-hop is not found or not present at the time when the framed IA-PD is instantiated, the IA-PD will be set up but the PD managed route will not be installed in the IPv6 route table. In this case, the DHCPv6 lease state for the IA-PD will have the managed route status (DHCP6 MRt Status) set to noNextHop.

Note:

IPv6 filters, QoS IPv6 criteria, and IPv6 multicast are not supported for DHCPv6 IA-PD as managed route pointing to an IPv4 subscriber host as next-hop.

The DHCP IA-PD modeled as a route is displayed differently than regular subscriber hosts in show commands related to subscriber host state. The PD managed route is always shown directly below the host it is using as the next hop. The forwarding status of the PD managed route is also shown, where (N) indicate that the PD managed route is not forwarding. In addition, DHCP IA-PD route is displayed as a managed route for the corresponding IPv6 subscriber host (DHCP IA-NA or SLAAC) or DHCPv4 subscriber host.

DHCP IA-PD information for managed IA-PD route is still maintained in the DHCPv6 lease state.

The no form of the command reverts to the default.

Default 

no pd-managed-route

Parameters 
next-hop—
Specifies the next-hop type for the DHCP IA-PD managed route.
Values—
ipv4 - The next-hop for PD managed route is a DHCPv4 sub-host that belongs to the same IPoE session (based on the IPoE session key which is sap-mac by default). IPoE session must be enabled on the group-interface.
ipv6 - The next-hop for PD managed route is an IPv6 WAN sub-host (DHCP IA-NA or SLAAC) with the same MAC address as the one in the DHCP lease state for the managed IA-PD. This is the default when no next-hop is specified.

 

enable-ingress-stats

Syntax 
[no] enable-ingress-stats
Context 
config>service>ies>sub-if>grp-if
config>service>vprn>sub-if>grp-if
Description 

This command enables the collection of ingress interface IP stats. This command is only applicable to IP statistics, and not to uRPF statistics.

If enabled, then the following statistics are collected:

  1. IPv4 offered packets
  2. IPv4 offered octets
  3. IPv6 offered packets
  4. IPv6 offered octets

Octet statistics for IPv4 and IPv6 bytes at IP interfaces include the Layer 2 frame overhead.

The no form of the reverts to the default.

Default 

no enable-ingress-stats

duid

Syntax 
duid duid [iaid iaid]
no duid
Context 
config>service>ies>if>ipv6>dhcp6>pfx-delegate>prefix
Description 

This command configures the DHCP Unique Identifier (DUID) of the DHCP client.

The no form of the command reverts to the default.

Default 

duid 2

Parameters 
duid—
Specifies the ID of the requesting router up to a maximum of 128 hex values. If set to a non-zero value the prefix defined will only be delegated to this router. If set to zero, the prefix will be delegated to any requesting router.
iaid
Specifies the identity association identification (IAID) from the requesting router that needs to match in order to delegate the prefix defined in this row. If set to 0 no match on the received IAID is done.
Values—
1 to 4294967295

 

preferred-lifetime

Syntax 
preferred-lifetime seconds]
preferred-lifetime infinite
no preferred-lifetime
Context 
config>service>ies>if>ipv6>dhcp6>pfx-delegate>prefix
config>service>vprn>if>ipv6>dhcp6>pfx-delegate>prefix
config>service>vprn>sub-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>grp-if>ipv6>dhcp6>proxy
 
Description 

This command configures the IPv6 prefix/mask preferred life time. The preferred-lifetime value cannot be bigger than the valid-lifetime value.

The no form of the command reverts to the default value.

Default 

604800 seconds (7 days)

Parameters 
seconds
Specifies the preferred lifetime in seconds.
Values—
1 to 4294967294

 

infinite—
Specifies that the remaining time will never expire. The value 4294967294 is interpreted as infinite.

preferred-lifetime

Syntax 
preferred-lifetime seconds
preferred-lifetime infinite
no preferred-lifetime
Context 
config>service>ies>sub-if>grp-if>ipv6>rtr-adv>pfx-opt
config>service>vprn>sub-if>grp-if>ipv6>rtr-adv>pfx-opt
config>service>ies>sub-if>ipv6>rtr-adv>pfx-opt
config>service>vprn>sub-if>ipv6>rtr-adv>pfx-opt
config>router>dhcp6>server>pool>prefix>options
config>service>vprn>dhcp6>server>pool>prefix>options
Description 

This command specifies the remaining time for this prefix to be preferred, thus time until deprecation.

The no form of the command reverts to the default.

Default 

3600

Parameters 
seconds—
Specifies the time for the prefix to remain preferred on this group-interface in seconds.
Values—
0 to 4294967295

 

infinite—
Specifies that the remaining time will never expire. The value 4294967295 is interpreted as infinite.

valid-lifetime

Syntax 
valid-lifetime seconds
valid-lifetime infinite
no valid-lifetime
Context 
config>service>ies>if>ipv6>dhcp6>pfx-delegate>prefix
config>service>vprn>sub-if>grp-if>ipv6>dhcp6
config>service>ies>sub-if>grp-if>ipv6>dhcp6
Description 

This command configures the time, in seconds, that the prefix is valid.

The no form of the command reverts to the default value.

Default 

2592000 seconds (30 days)

Parameters 
seconds—
Specifies the time, in seconds, that this prefix remains valid.
Values—
1 to 4294967294

 

infinite—
Specifies that this prefix remains valid infinitely. The value 4294967295 is interpreted as infinite.

valid-lifetime

Syntax 
valid-lifetime seconds
valid-lifetime infinite
no valid-lifetime
Context 
config>service>ies>sub-if>ipv6>rtr-adv>pfx-opt
config>service>ies>sub-if>grp-if>ipv6>rtr-adv>pfx-opt
config>service>vprn>sub-if>ipv6>rtr-adv>pfx-opt
config>service>vprn>sub-if>grp-if>ipv6>rtr-adv>pfx-opt
Description 

This command specifies the remaining time for this prefix to be valid for the purpose of on-link determination.

The no form of the command reverts to the default.

Default 

86400 seconds

Parameters 
seconds—
Specifies the time for the prefix to remain valid on this interface in seconds.
Values—
0 to 4294967295

 

infinite—
Specifies that the remaining time will never expire. The value 4294967295 is interpreted as infinite.

valid-lifetime

Syntax 
valid-lifetime [valid-lifetime]
Context 
config>service>vprn>dhcp6>local-dhcp-server>pool>prefix
config>router>dhcp6>server>pool>prefix
Description 

This command configures the valid lifetime for the IPv6 prefix or address in the option.

The no form of the command reverts to the default.

Default 

1 day

Parameters 
valid-lifetime—
Specifies the valid lifetime.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 5

 

python-policy

Syntax 
python-policy name
no python-policy
Context 
config>service>ies>if>dhcp
config>service>vprn>if>dhcp
config>service>ies>sub-if>dhcp
config>service>vprn>sub-if>dhcp
Description 

This command specifies the python-policy to be used for DHCPv4 relay.

The no form of the command reverts to the default.

Default 

no python-policy

Parameters 
name—
Specifies the name of an existing python script up to 32 characters in length.

python-policy

Syntax 
python-policy name
no python-policy
Context 
config>service>vprn>sub-if
config>service>vprn>sub-if>ipv6>dhcp6
config>service>ies>sub-if>ipv6>dhcp6
config>service>ies>if>ipv6>dhcp6-relay
config>service>vprn>if>ipv6>dhcp6-relay
config>service>ies>sub-if>dhcp
config>service>vprn>sub-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>ies>sub-if>grp-if>pppoe
config>service>vprn>sub-if>grp-if>pppoe
Description 

This command specifies the python-policy to be used for DHCPv6 relay.

The no form of the command reverts to the default.

Default 

no python-policy

Parameters 
name—
Specifies the name of an existing python script up to 32 characters in length.

emulated-server

Syntax 
emulated-server ip-address
no emulated-server
Context 
config>service>ies>if>dhcp>proxy-server
config>service>ies>sub-if>grp-if>dhcp>proxy-server
config>service>vpls>sap>dhcp>proxy-server
config>service>vprn>if>dhcp>proxy-server
config>service>ies>sub-if>grp-if>dhcp>proxy-server
config>service>vprn>sub-if>grp-if>dhcp>proxy-server
Description 

This command configures the IP address which will be used as the DHCP server address in the context of the SAP. Typically, the configured address should be in the context of the subnet represented by the service.

The no form of this command reverts to the default setting. The local proxy server will not become operational without the emulated-server address being specified.

The no form of the command reverts to the default.

Default 

no emulated server

Parameters 
ip-address—
Specifies the emulated server’s IP address. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).

lease-time

Syntax 
lease-time [days days] [hrs hours] [min minutes] [sec seconds] [radius-override]
no lease-time
Context 
config>service>vpls>sap>dhcp>proxy-server
config>service>ies>if>dhcp>proxy-server
config>service>ies>sub-if>grp-if>dhcp>proxy-server
config>service>vprn>if>dhcp>proxy
config>service>vprn>sub-if>grp-if>dhcp>proxy-server
Description 

This command defines the length of lease-time that will be provided to DHCP clients. By default the local-proxy-server will always make use of the lease-time information provide by either a RADIUS or DHCP server.

The no form of this command disables the use of the lease-time command. The local-proxy-server will use the lease-time offered by either a RADIUS or DHCP server.

Default 

7 days 0 hours 0 seconds

Parameters 
radius-override—
Specifies that the local-proxy-server will use the configured lease-time information to provide DHCP clients. This is supported only in the config>service>vpls>sap>dhcp>proxy-server context.
lease-time—
Specifies the length of lease-time that will be provided to DHCP clients.

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 5

snoop

Syntax 
[no] snoop
Context 
config>service>vpls>sap>dhcp
config>service>vpls>spoke-sdp>dhcp
config>service>vpls>mesh-sdp>dhcp
config>service>vprn>if>dhcp>option
Description 

This command enables DHCP snooping of DHCP messages on the SAP or SDP. Enabling DHCP snooping on interfaces (SAPs and SDP bindings) is required where DHCP messages important to lease state table population are received, or where Option 82 information is to be inserted. This includes interfaces that are in the path to receive messages from either DHCP servers or from subscribers.

The no form of the command disables DHCP snooping on the specified SAP or SDP binding.

Default 

no snoop

dhcp6

dhcp-user-db

Syntax 
dhcp-user-db local-user-db
no dhcp-user-db
Context 
config>service>vpls>sap
Description 

This command enabled access to LUDB for DHCPv4 hosts under the capture SAP. The name of this local user database must match the name of local user database configured under the config>service>vprn/ies>sub-if>group-intf>dhcp hierarchy.

Default 

no dhcp-user-db

Parameters 
local-user-db—
Specifies the name of the local-user-database up to 32 characters .

dhcp-python-policy

Syntax 
dhcp-python-policy policy-name
no dhcp-python-policy
Context 
config>service>vpls>sap
Description 

This command specifies the name of the Python policy. The Python policy is created in the config>python>python-policy name context.

The no form of the command reverts to the default.

Default 

none

Parameters 
policy-name—
Specifies a Python policy name up to 32 characters in length.

dhcp6

Syntax 
dhcp6
Context 
config>service>ies>sub-if>grp-if>ipv6
config>service>vprn>sub-if>grp-if>ipv6
Description 

This command enables the context to configure DHCP6 parameters.

interface-id

Syntax 
interface-id
interface-id ascii-tuple
interface-id vlan-ascii-tuple
no interface-id
Context 
config>service>ies>if>ipv6>dhcp6>option
config>service>vprn>if>ipv6>dhcp6>option
Description 

This command configure the interface-id sub-option of the DHCP6 Relay packet

The no form of the command disables the sending of interface ID options in the DHCPv6 relay packet.

Default 

no interface-id

Parameters 
ascii-tuple—
Specifies that the ASCII-encoded concatenated tuple will be used which consists of the access-node-identifier, service-id, and interface-name, separated by “|”.
vlan-ascii-tuple—
Specifies that the format will include VLAN-id and dot1p bits in addition to what is included in ascii-tuple already.
mac—
Specifies the MAC address of the remote end is encoded in the sub-option.

remote-id

Syntax 
remote-id
remote-id mac
remote-id string [32 chars max]
no remote-id
Context 
config>service>ies>if>ipv6>dhcp6>option
config>service>vprn>if>ipv6>dhcp6>option
Description 

This command enables the sending of remote ID option in the DHCPv6 relay packet.

The client DHCP Unique Identifier (DUID) is used as the remote ID.

The no form of the command disables the sending of remote ID option in the DHCPv6 relay packet.

Default 

no remote-id

dhcp6-user-db

Syntax 
dhcp6-user-db local-user-db
no dhcp6-user-db
Context 
config>service>vpls>sap
Description 

This command enabled access to LUDB for DHCPv6 hosts under the capture SAP. The name of this ludb must match the name of ludb configured under the config>service>vprn/ies>sub-if>grp-if>dhcp hierarchy.

The no form of the command reverts to the default.

Default 

no dhcp6-user-db

Parameters 
local-user-db —
Specifies the name of the local-user-database up to 32 characters in length.

ppp-user-db

Syntax 
ppp-user-db local-user-db-name
no ppp-user-db
Context 
config>service>vpls
Description 

This command enabled access to LUDB for PPPoE and PPPoEoA v4and v6 hosts under the capture SAP. The name of this local user database must match the name of local user database configured under the config>service>vprn/ies>sub-if>grp-if>pppoe hierarchy.

The no form of the command reverts to the default.

Default 

no pppoe-user-db

Parameters 
local-user-db—
Specifies the name of the local-user-database up to 256 characters in length.

pppoe-user-db

Syntax 
pppoe-user-db local-user-db-name
no pppoe-user-db
Context 
config>service>vpls
Description 

This command enabled access to LUDB for PPPoE and PPPoEoA v4and v6 hosts under the capture SAP. The name of this ludb must match the name of ludb configured under the config>service>vprn/ies>sub-if>grp-if>pppoe hierarchy.

The no form of the command reverts to the default.

Default 

no pppoe-user-db

Parameters 
local-user-db —
Specifies the name of the local user database up to 256 characters in length.

filter

Syntax 
filter filter-id
no filter
Context 
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
Description 

This command assigns a DHCP filter to the group-interface. This feature is used where the SR 7750 is the second DHCP relay or where DHCP messages are snooped for subscriber management. The filter can be used to bypass host creation, drop DHCP message, or perform no action.

The no form of the command reverts to the default.

Default 

no filter

Parameters 
filter-id—
Specifies the DHCP filter ID for this interface.
Values—
1 to 65535

 

gi-address

Syntax 
gi-address ip-address [src-ip-addr]
no gi-address
Context 
config>service>ies>if>dhcp
config>service>vprn>if>dhcp
config>service>vprn>sub-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
config>service>ies>sub-if>dhcp
Description 

This command configures the gateway interface address for the DHCP relay. A subscriber interface can include multiple group interfaces with multiple SAPs. The GI address is needed, when the router functions as a DHCP relay, to distinguish between the different subscriber interfaces and potentially between the group interfaces defined.

By default, the GI address used in the relayed DHCP packet is the primary IP address of a normal IES interface. Specifying the GI address allows the user to choose a secondary address. For group interfaces a GI address must be specified under the group interface DHCP context or subscriber-interface DHCP context in order for DHCP to function.

The no form of the command reverts to the default.

Default 

no gi-address

Parameters 
ip-address—
Specifies the host IP address to be used for DHCP relay packets.
src-ip-address—
Specifies that this GI address is to be the source IP address for DHCP relay packets.

gi-address

Syntax 
gi-address ipv4-address
no gi-address
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command allows selection of gi-addresses based on the host entry in LUDB.

The gi-address must be a valid address (associated with an interface) within the routing context that received the DHCP message on the access side.

The no form of the command reverts to the default.

Default 

no gi-address

Parameters 
ipv4-address—
Specifies the IPv4 gi-address.

relay-plain-bootp

Syntax 
[no] relay-plain-bootp
Context 
config>service>ies>if>dhcp
Description 

This command enables the relaying of plain BOOTP packets.

The no form of the command disables the relaying of plain BOOTP packets.

Default 

no relay-plain-bootp

relay-proxy

Syntax 
relay-proxy [release-update-src-ip] [siaddr-override ip-address]
no relay-proxy
Context 
config>service>ies>if>dhcp
config>service>ies>sub-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>if>dhcp
config>service>vprn>sub-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
Description 

This command enables the DHCPv4 relay proxy function on the interface. The command has no effect when no dhcp servers are configured (DHCPv4 relay not configured). By default, unicast DHCPv4 release messages are forwarded transparently. The optional “release-update-src-ip” flag, updates the source IP address with the value used for relayed DHCPv4 messages. Additionally when the optional flag “relay-unicast-msg” is enabled, then the gi address and source IP address of relayed DHCPv4 messages can be configured to any local configured IP address in the same routing instance.

A relay proxy enhances the relay such that it also relays unicast client DHCPv4 REQUEST messages (lease renewals).

  1. In the upstream direction, update the source IP address and add the gateway IP address (gi-address) field before sending the message to the intended DHCP server (the message is not broadcasted to all configured DHCP servers.
  2. In the downstream direction, remove the gi-address and update the destination IP address to the address of the yiaddr (your IP address) field.

The optional release-update-src-ip parameter updates the source IP address of a DHCP RELEASE message with the address used for relayed DHCPv4 messages.

The optional siaddr-override ip-address parameter enables DHCP server IP address hiding towards the client. This parameter requires that lease-populate is enabled on the interface. The DHCP server ip address is required for the address hiding function and is stored in the lease state record. The client interacts with the relay proxy as if it is the DHCP server. In all DHCP messages to the client, the value of following header fields and DHCP options containing the DHCP server IP address is replaced with the configured <ip-address>:

  1. the “source IP address” field in the IP DHCPv4 packet header
  2. the “siaddr” field in the DHCPv4 header if not equal to zero in the message received from the server
  3. the Server Identification option (DHCPv4 option 54) if present in the original server message
  4. the source IP address field in the IP packet header

DHCP OFFER selection during initial binding is done in the relay-proxy. Only the first DHCP OFFER message is forwarded to the client. Subsequent DHCP OFFER messages from different servers are silently dropped.

Default 

no relay-proxy

Parameters 
release-update-src-ip—
Updates the source IP address of a DHCP RELEASE message with the address used for relayed DHCPv4 messages.
ip-address
Enables DHCPv4 server address hiding towards the DHCPv4 client and activates DHCPv4 OFFER selection in case multiple DHCP servers are configured. The ip-address can be any local address in the same routing instance. If DHCP relay lease-split is enabled, siaddr-override ip-address has priority over the emulated-server ip-address configured in the proxy-server and will be used as the source IP address.

server

Syntax 
server ipv6z-address [ipv6z-address]
no server [ipv6z-address...(upto 8 max)]
Context 
config>service>ies>if>ipv6>dhcp6
Description 

This command specifies a list of servers where DHCP6 requests will be forwarded. The list of servers can entered as either IP addresses or fully qualified domain names. There must be at least one server specified for DHCP6 relay to work. If there are multiple servers then the request is forwarded to all of the servers in the list.

There can be a maximum of 8 DHCP6 servers configured.

The no form of the command reverts to the default.

Default 

no server

Parameters 
ipv6z-address—
Specifies up to eight non-global IPv4 addresses including a zone index as defined by the InetAddressIPv4z textual convention.
Values—

ipv6-address:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x: [0 to FFFF]H

d: [0 to 255]D

 

virtual-subnet

Syntax 
[no] virtual-subnet
Context 
config>service>ies>sub-if>dhcp
config>service>vprn>sub-if>dhcp
Description 

This command enables a virtual-subnet for DHCPv4 hosts under the subscriber-interface. With this command configured, the system will snoop and record the default router address in the DHCP ACK message for the DHCPv4 ESM host. The system could answer ping or traceroute request even if the default router address is not configured on the subscriber-interface.

The no form of the command reverts to the default.

Default 

no virtual-subnet

server

Syntax 
server server1 [server2]
Context 
config>service>ies>if>dhcp
config>service>vprn>if>dhcp
config>service>ies>sub-if>grp-if>dhcp
Description 

This command specifies a list of servers where requests will be forwarded. The list of servers can entered as either IP addresses or fully qualified domain names. There must be at least one server specified for DHCP relay to work. If there are multiple servers then the request is forwarded to all of the servers in the list.

There can be a maximum of 8 DHCP servers configured.

The no form of the command reverts to the default.

Default 

no server

Parameters 
server—
Specifies up to eight DHCP server IP addresses.

relay-plain-bootp

Syntax 
[no] relay-plain-bootp
Context 
config>service>vprn>if>dhcp
Description 

This command enables the relaying of plain BOOTP packets.

The no form of the command disables the relaying of plain BOOTP packets.

The no form of the command reverts to the default.

Default 

no relay-plain-bootp

use-arp

Syntax 
[no] use-arp
Context 
config>service>vprn>if>dhcp
config>service>ies>if>dhcp
Description 

This command enables the use of ARP to determine the destination hardware address.

The no form of the command disables the use of ARP to determine the destination hardware address.

Default 

no use-arp

trusted

Syntax 
[no] trusted
Context 
config>service>ies>if>dhcp
config>service>vprn>if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
Description 

This command enables relaying of untrusted packets.

The no form of the command reverts to the default.

Default 

no trusted

dhcp

Syntax 
dhcp
Context 
config>service>vprn>interface
config>service>vprn>
config>service>vprn>sub-if>grp-if
Description 

This command enables the context to configure DHCP parameters.

action

Syntax 
action {replace | drop | keep}
no action
Context 
config>service>vprn>if>dhcp>option
config>service>vprn>sub-if>grp-if>dhcp>option
Description 

This command configures the processing required when the SR-Series receives a DHCP request that already has a Relay Agent Information Option (Option 82) field in the packet.

The no form of this command returns the system to the default value.

Default 

keep — Per RFC 3046, DHCP Relay Agent Information Option, section 2.1.1, Reforwarded DHCP requests. The default is to keep the existing information intact. The exception to this is if the giaddr of the received packet is the same as the ingress address on the router. In that case the packet is dropped and an error is logged.

Parameters 
replace—
In the upstream direction (from the user), the existing Option 82 field is replaced with the Option 82 field from the router. In the downstream direction (towards the user) the Option 82 field is stripped (in accordance with RFC 3046).
drop—
The packet is dropped, and an error is logged.
keep—
The existing information is kept in the packet and the router does not add any additional information. In the downstream direction the Option 82 field is not stripped and is sent on towards the client.

The behavior is slightly different in case of Vendor Specific Options (VSOs). When the keep parameter is specified, the router will insert his own VSO into the Option 82 field. This will only be done when the incoming message has already an Option 82 field.

If no Option 82 field is present, the router will not create the Option 82 field. In this in that case, no VSO will be added to the message.

match-circuit-id

Syntax 
[no] match-circuit-id
Context 
config>service>vprn>sub-if>grp-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
Description 

This command enables Option 82 circuit ID on relayed DHCP packet matching. For routed CO, the group interface DHCP relay process is stateful. When packets are relayed to the server the virtual router ID, transaction ID, SAP ID, and client hardware MAC address of the relayed packet are tracked.

When a response is received from the server the virtual router ID, transaction ID, and client hardware MAC address must be matched to determine the SAP on which to send the packet out. In some cases, the virtual router ID, transaction ID, and client hardware MAC address are not guaranteed to be unique.

When the match-circuit-id command is enabled this part of the key is used to guarantee correctness in our lookup. This is really only needed when dealing with an IP aware DSLAM that proxies the client hardware MAC address.

The no form of the command reverts to the default.

Default 

no match-circuit-id

option

Syntax 
[no] option
Context 
config>service>vprn>if>dhcp
config>service>vprn>sub-if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>vpls>sap>dhcp
config>service>ies>if>dhcp
config>service>ies>sub-if>grp-if>dhcp
Description 

This command enables DHCP Option 82 (Relay Agent Information Option) parameters processing and enters the context for configuring Option 82 sub-options.

The no form of this command returns the system to the default.

Default 

no option

vendor-specific-option

Syntax 
[no] vendor-specific-option
Context 
config>service>vprn>if>dhcp>option
config>service>vprn>sub-if>grp-if>dhcp>option
Description 

This command configures the Nokia vendor specific sub-option of the DHCP relay packet.

The no form of the command reverts to the default.

Default 

no vendor-specific-option

client-mac-address

Syntax 
[no] client-mac-address
Context 
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
Description 

This command enables the sending of the MAC address in the Nokia vendor specific sub-option of the DHCP relay packet.

The no form of the command disables the sending of the MAC address in the Nokia vendor specific sub-option of the DHCP relay packet.

The no form of the command reverts to the default.

Default 

no client-mac-address

sap-id

Syntax 
[no] sap-id
Context 
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
Description 

This command enables the sending of the SAP ID in the Nokia vendor specific sub-option of the DHCP relay packet.

The no form of the command disables the sending of the SAP ID in the Nokia vendor specific sub-option of the DHCP relay packet.

Default 

no sap-id

service-id

Syntax 
[no] service-id
Context 
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
Description 

This command enables the sending of the service ID in the Nokia vendor specific sub-option of the DHCP relay packet.

The no form of the command disables the sending of the service ID in the Nokia vendor specific sub-option of the DHCP relay packet.

Default 

no service-id

string

Syntax 
[no] string text
Context 
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
Description 

This command specifies the vendor specific sub-option string of the DHCP relay packet.

The no form of the command returns the default value.

Default 

no string

Parameters 
text—
The string can be any combination of ASCII characters up to 32 characters in length. If spaces are used in the string, enclose the entire string in quotation marks (“ ”).

system-id

Syntax 
[no] system-id
Context 
config>service>vprn>if>dhcp>option>vendor
config>service>vprn>sub-if>grp-if>dhcp>option>vendor
Description 

This command specifies whether the system-id is encoded in the Nokia vendor specific sub-option of Option 82.

The no form of the command reverts to the default.

Default 

no system-id

proxy-server

Syntax 
proxy-server
Context 
config>service>vpls>sap>dhcp
config>subscr-mgmt>msap-policy>vpls-only>dhcp
config>service>vprn>if>dhcp
config>service>ies>if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
config>service>ies>sub-if>grp-if>dhcp
config>service>vprn>sub-if>dhcp
config>service>vprn>sub-if>grp-if>ipv6>dhcp6
config>service>ies>sub-if>grp-if>ipv6>dhcp6
config>service>vprn>sub-if>ipv6>dhcp6
config>service>ies>sub-if>ipv6>dhcp6
Description 

This command enables the context to configure DHCP proxy server parameters.

server

Syntax 
server server1 [server2]
no server
Context 
config>service>vprn>if>dhcp
config>service>vprn>sub-if>grp-if>dhcp
Description 

This command specifies a list of servers where requests will be forwarded. The list of servers can entered as either IP addresses or fully qualified domain names. There must be at least one server specified for DHCP relay to work. If there are multiple servers then the request is forwarded to all of the servers in the list. There can be a maximum of 8 DHCP servers configured.

The flood command is applicable only in the VPLS case. There is a scenario with VPLS where the VPLS node only wants to add Option 82 information to the DHCP request to provider per-subscriber information, but it does not do full DHCP relay. In this case, the server is set to “flood”. This means the DHCP request is still a broadcast and is sent through the VPLS domain. A node running at L3 further upstream then can perform the full L3 DHCP relay function.

The no form of the command reverts to the default.

Default 

no server

Parameters 
server—
Specifies up to eight DHCP server IP addresses.

host-connectivity-verify

Syntax 
host-connectivity-verify source-ip ip-address [source-mac ieee-address] [interval interval] [action {remove | alarm}] [timeout retry-timeout] [retry-count count]
Context 
config>service>vpls
config>service>vpls>sap
Description 

This command enables subscriber host connectivity verification on a given VPLS SAP or within a VPLS service.

This tool will periodically scan all known hosts (from dhcp-state) and perform a UC ARP request. The subscriber host connectivity verification will maintain state (connected vs. not-connected) for all hosts.

The no form of the command reverts to the default.

Default 

no host-connectivity-verify

Parameters 
ip-address
Specifies an unused IP address in the same network for generation of subscriber host connectivity verification packets.
ieee-address
Specifies the source MAC address to be used for generation of subscriber host connectivity verification packets.
interval
The interval, in minutes, which specifies the time interval in which all known sources should be verified. The actual rate is then dependent on number of known hosts and interval.
Values—
1 to 6000 Note that a zero value can be used by the SNMP agent to disable host-connectivity-verify.

 

action {remove | alarm}
Defines the action taken on a subscriber host connectivity verification failure for a given host. The remove keyword raises an alarm and removes dhcp-state and releases all allocated resources (queues, table entries, and so on). DHCP release will be signaled to corresponding DHCP server. Static host will be never removed. The alarm keyword raises an alarm indicating that the host is disconnected.
retry-timeout
Specifies the time, in seconds, to wait before a SAP that has been disabled after exceeding the maximum relearn rate is re-enabled.
Values—
0 to 120

 

count
Specifies the number of connectivity check retransmissions.
Values—
10 to 60 seconds

 

source-address

Syntax 
source-address ipv6-address
no source-address
Context 
config>service>ies>if>ipv6>dhcp6-relay
config>service>ies>sub-if>ipv6>dhcp6>relay
config>service>ies>sub-if>grp-if>ipv6>dhcp6>relay
config>service>vprn>if>ipv6>dhcp6-relay
config>service>vprn>sub-if>ipv6>dhcp6>relay
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>relay
Description 

This command configures the source IPv6 address of the DHCPv6 relay messages.

The no form of the command reverts to the default.

Default 

no source-address

Parameters 
ipv6-address—
Specifies the source IPv6 address of the DHCPv6 relay messages.
Values—

ipv6-address:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x: [0 to FFFF]H

d: [0 to 255]D

 

user-db

Syntax 
user-db local-user-db-name
no user-db
Context 
config>service>ies>if>ipv6>dhcp6-relay
config>service>vprn>if>ipv6>dhcp6-relay
Description 

This command enables access to the LUDB for DHCPv6 messages under a routed interface. The name of this LUDB must match the name of the LUDB configured by the config>sub-gmt>local-user-db command.

The no form of the command reverts to the default.

Default 

no user-db

Parameters 
local-user-db-name—
Specifies the name of the local user database up to 32 characters in length.

dhcp6-server

Syntax 
[no] dhcp6-server
Context 
config>service>ies>if>ipv6
Description 

This command enables the context to configure DHCPv6 server parameters for the IES interface.

The no form of the command disables the DHCP6 server.

max-nbr-of-leases

Syntax 
max-nbr-of-leases max-nbr-of-leases
no max-nbr-of-leases
Context 
config>service>ies>if>ipv6>dhcp6-server
Description 

This command configures the maximum number of lease states installed by the DHCP6 server function allowed on this interface.

The no form of the command to the default.

Default 

8000

Parameters 
max-nbr-of-leases—
Specifies the maximum number of lease states installed by the DHCP6 server function allowed on this interface.
Values—
0 to 8000

 

prefix-delegation

Syntax 
[no] prefix-delegation
Context 
config>service>ies>if>ipv6>dhcp6-server
Description 

This command enables the prefix delegation options for delegating a long-lived prefix from a delegating router to a requesting router, where the delegating router does not require knowledge about the topology of the links in the network to which the prefixes will be assigned.

The no form of the command disables prefix-delegation.

Default 

no prefix-delegation

prefix

Syntax 
[no] prefix ipv6-address/prefix-length
Context 
config>service>ies>if>ipv6>dhcp6-server>pfx-delegate
Description 

This command specifies the IPv6 prefix that will be delegated by this system.

The no form of the command reverts to the default.

Default 

no prefix

Parameters 
ipv6-address/prefix-length—
Specifies the IPv6 address on the interface.
Values—

ipv6-address/prefix:

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x [0 to FFFF]H

d [0 to 255]D

prefix-length

1 to 128

 

3.6.2.1.4.1. Interface Commands

local-proxy-arp

Syntax 
[no] local-proxy-arp
Context 
config>service>vprn>interface
config>service>vprn>sub-if>grp-if
Description 

This command enables local proxy ARP. When local proxy ARP is enabled on an IP interface, the system responds to all ARP requests for IP addresses belonging to the subnet with its own MAC address, and thus will become the forwarding point for all traffic between hosts in that subnet. When local-proxy-arp is enabled, ICMP redirects on the ports associated with the service are automatically blocked.

The no form of the command reverts to the default.

Default 

no local-proxy-arp

mac

Syntax 
[no] mac ieee-mac-address
Context 
config>service>vprn>interface
config>service>vprn>if>vrrp
config>service>vprn>sub-if>grp-if
Description 

This command assigns a specific MAC address to a VPRN IP interface.

The no form of this command returns the MAC address of the IP interface to the default value.

Default 

The physical MAC address associated with the Ethernet interface that the SAP is configured on.

Parameters 
ieee-mac-address—
Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.

proxy-arp-policy

Syntax 
[no] proxy-arp policy-name [policy-name)
Context 
config>service>vprn>interface
config>service>vprn>sub-if>grp-if
Description 

This command enables a proxy ARP policy for the interface.

The no form of this command disables the proxy ARP capability.

Default 

no proxy-arp

Parameters 
policy-name—
Specifies up to eight export route policy names. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

The specified name(s) must already be defined.

redundant-interface

Syntax 
redundant-interface red-ip-int-name
no redundant-interface
Context 
config>service>vprn
config>service>vprn>sub-if>grp-if
Description 

This command configures a redundant interface used for dual homing.

The no form of the command reverts to the default.

Default 

no redundant-interface

Parameters 
red-ip-int-name—
Specifies the redundant IP interface name.

remote-proxy-arp

Syntax 
[no] remote-proxy-arp
Context 
config>service>vprn>interface
config>service>vprn>sub-if>grp-if
Description 

This command enables remote proxy ARP on the interface.

Remote proxy ARP is similar to proxy ARP. It allows the router to answer an ARP request on an interface for a subnet that is not provisioned on that interface. This allows the router to forward to the other subnet on behalf of the requester. To distinguish remote proxy ARP from local proxy ARP, local proxy ARP performs a similar function but only when the requested IP is on the receiving interface.

The no form of the command reverts to the default.

Default 

no remote-proxy-arp

3.6.2.1.4.2. Subscriber Interface Commands

subscriber-interface

Syntax 
[no] subscriber-interface ip-int-name
Context 
config>service>ies
config>service>vprn
Description 

This command allows the operator to create special subscriber-based interfaces. It is used to contain multiple group interfaces. Multiple subnets associated with the subscriber interface can be applied to any of the contained group interfaces in any combination. The subscriber interface allows subnet sharing between group interfaces.

Use the no form of the command to remove the subscriber interface.

The no form of the command reverts to the default.

Default 

no subscriber-interface

Parameters 
ip-int-name—
Specifies the name of the IP interface. Interface names can be from 1 to 32 alphanumeric characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

group-interface

Syntax 
[no] group-interface ip-int-name
Context 
config>service>ies>sub-if
Description 

This command enables the context to configure a group interface. A group interface is an interface that may contain one or more SAPs. This interface is used in triple-play services where multiple SAPs are part of the same subnet.

The no form of the command reverts to the default.

Default 

none

Parameters 
ip-int-name—
Configures the interface group name. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

authentication-policy

Syntax 
authentication-policy name
no authentication-policy
Context 
config>service>ies>sub-if>grp-if
Description 

This command assigns a RADIUS authentication policy to the interface.

The no form of this command removes the policy name from the group interface configuration.

Default 

no authentication-policy

Parameters 
name —
Specifies the authentication policy name.

3.6.2.1.5. Local User Database Commands

3.6.2.1.5.1. IPoE Commands

local-user-db

Syntax 
local-user-db local-user-db-name [create]
no local-user-db local-user-db-name
Context 
config>subscr-mgmt
Description 

This command enables the context to configure a local user database.

The no form of the command reverts to the default.

Default 

not enabled

Parameters 
local-user-db-name —
Specifies the name of a local user database.

snooping

Syntax 
[no] snooping
Context 
config>service>ies>sub-if>grp-if>ipv6>dhcp6
config>service>vprn>sub-if>grp-if>ipv6>dhcp6
Description 

This command enables the group-interface to snoop DHCPv6 relay messages exchange between the subscriber host and the DHCPv6 server. A successful DHCPv6 address assignment will trigger ESM DHCPv6 host creation and a release of the lease will trigger host deletion. This feature is for ESMv6 applications where a Layer 3 aggregation network is upstream from the BNG.

The no form of the command reverts to the default.

Default 

no snooping

user-db

Syntax 
user-db local-user-db-name
no user-db
Context 
config>service>ies>sub-if>grp-if>dhcp
config>service>ies>sub-if>grp-if>dhcp6
config>service>ies>sub-if>grp-if>ipv6>dhcp6
config>service>ies>sub-if>grp-if>ipv6>dhcp6
Description 

This command assigns a local user database.

The no form of the command reverts to the default.

Default 

no user-db

Parameters 
local-user-db-name —
Specifies the name of a local user database.

user-ident

Syntax 
user-ident user-ident
no user-ident
Context 
config>service>ies>sub-if>grp-if>ipv6>dhcp6>
config>service>vprn> sub-if>grp-if>ipv6>dhcp6>
Description 

This feature is only applicable when DHCPv6-snooping is enabled. The Ethernet header MAC address on DHCPv6 is used as the default key host identification. This command allows addition the keys for identifying the DHCPv6 host. The interface-id can be included in addition to the MAC key to further differentiate each DHCPv6 host.

The no form of the command reverts to the default.

Default 

user-ident mac

Parameters 
user-ident—
Specifies the DHCP6 user-identification for this interface.
Values—
mac — Specifies to use only the Ethernet MAC of the DHCPv6 message to identify the host.
mac-interface-id — Specifies to additionally use the interface-id to identify the DHCPv6 host.

 

ipoe

Syntax 
ipoe
Context 
config>subscr-mgmt>loc-user-db
Description 

This command enables the context to configure IPoE host parameters.

ppp

Syntax 
ppp
Context 
config>subscr-mgmt>loc-user-db
Description 

This command enables the context to configure PPP host parameters.

mask

Syntax 
mask type dhcp-match-type {[prefix-string prefix-string | prefix-length prefix-length] [suffix-string suffix-string | suffix-length suffix-length]}
no mask type dhcp-match-type
Context 
config>subscr-mgmt>loc-user-db>ipoe
config>subscr-mgmt>loc-user-db>ppp
config>subscr-mgmt>loc-user-db>ipoe
Description 

This command configures the mask.

The no form of the command removes the parameters from the mask configuration.

Default 

none

Parameters 
dhcp-match-type—
Specifies up to four matching types to identify a host.
Values—
DHCP: circuit-id, option60, remote-id, sap-id, string, system-id
PPP: circuit-id, remote-id, service-name, username

 

Values—
prefix-string prefix-string

 

Specifies a substring that is stripped of the start of the incoming circuit ID before it is matched against the value configured in the DHCP or PPPoE circuit ID.

This string can only contain printable ASCII characters. The “*” character is a wildcard that matches any substring. If a “\” character is masked, use the escape key so it becomes “\\”.

Values—
127 characters maximum, *' is a wildcard

 

prefix-length prefix-length
Specifies the number of characters to remove from the start of the incoming circuit ID before it is matched against the value configured in the DHCP circuit ID.
Values—
1 to 127

 

suffix-string suffix-string
Specifies a substring that is stripped of the end of the incoming circuit ID before it is matched against the value configured in DHCP circuit ID.

This string can only contain printable ASCII characters. The “*” character is a wildcard that matches any substring. If a “\” character is masked, use the escape key so it becomes “\\”.

Values—
127 characters maximum

 

suffix-length suffix-length
Specifies the number of characters to remove from the end of the incoming circuit ID before it is matched against the value configured in the DHCP circuit ID.
Values—
1 to 127

 

host

Syntax 
host host-name [create]
no host host-name
Context 
config>subscr-mgmt>loc-user-db>ipoe
config>subscr-mgmt>loc-user-db>ppp
Description 

This command defines a DHCP or PPP subscriber.

The no form of the command removes the host name from the configuration.

Default 

none

Parameters 
host-name—
Specifies the host name.
create—
Keyword used to create the host name. The create keyword requirement can be enabled/disabled in the environment>create context.

access-loop-encapsulation

Syntax 
[no] access-loop-encapsulation
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command enables the context to configure access loop information.

encap-offset

Syntax 
encap-offset [type type]
no encap-offset
Context 
config>subscr-mgmt>loc-user-db>ppp>host>ale
Description 

This command configures the egress encapsulation offset.

The no form of the command reverts to the default.

Default 

no encap-offset

Parameters 
type type
Selects the encap type.
Values—
pppoa-llc, pppoa-null, pppoeoa-llc, pppoeoa-llc-fcs, pppoeoa-llc-tagged, pppoeoa-llc-tagged-fcs, pppoeoa-null, pppoeoa-null-fcs, pppoeoa-null-tagged, pppoeoa-null-tagged-fcs, ipoa-llc, ipoa-null, ipoeoa-llc, ipoeoa-llc-fcs, ipoeoa-llc-tagged, ipoeoa-llc-tagged-fcs, ipoeoa-null, ipoeoa-null-fcs, ipoeoa-null-tagged, ipoeoa-null-tagged-fcs, pppoe, pppoe-tagged, ipoe, ipoe-tagged

 

rate-down

Syntax 
rate-down rate
no rate-down
Context 
config>subscr-mgmt>loc-user-db>ppp>host>ale
Description 

This command configures the last mile link downstream rate in the access loop.

The no form of the command reverts to the default.

Default 

no rate-down

Parameters 
rate—
Specifies the last mile link downstream rate needed for proper (shaping) rate calculations and interleaving delay in the access loop.
Values—
1 to 100000 kb/s

 

access-loop-information

Syntax 
access-loop-information
Context 
config>subscr-mgmt>loc-user-db>ppp>host>ali
Description 

This command enables the context to configure access loop information in the local user database

circuit-id

Syntax 
circuit-id sap-id
circuit-id string ASCII string
no circuit-id
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command specifies a circuit-id for PPPoE hosts. A circuit-id received in PPPoE tags has precedence over the ludb specified circuit-id.

The no form of the command reverts to the default.

Default 

no circuit-id

Parameters 
sap-id—
Specifies to use the SAP ID of the PPPoE session as the circuit ID.
ASCII string—
Specifies the circuit-id as a string, up to 63 characters in length.

remote-id

Syntax 
remote-id mac
remote-id string ASCII string
no remote-id
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command specifies a remote-id for PPPoE hosts. A remote-id received in PPPoE tags has precedence over the ludb specified remote-id.

The no form of the command reverts to the default.

Default 

no remote-id

Parameters 
mac—
Specifies MAC address of the PPPoE session as the remote ID.
ASCII string—
Specifies the circuit-id as a string, up to 63 characters in length.

acct-policy

Syntax 
acct-policy acct-policy-name [duplicate acct-policy-name]
no acct-policy
Context 
config>subscr-mgmt>loc-user-db>ppp>host
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command specifies the accounting policy used for sending an Accounting Stop message to report RADIUS authentication failures of PPPoE sessions. A duplicate policy can be specified if a copy of the Accounting Stop message must be sent to another destination.

Reporting RADIUS authentication failures with an Accounting Stop message must be enabled in the RADIUS authentication policy (“send-acct-stop-on-fail”)

A duplicate RADIUS accounting policy can be specified if the accounting stop resulting from a RADIUS authentication failure must also be sent to a second RADIUS destination.

The no form of the command reverts to the default.

Default 

no acct-policy

Parameters 
acct-policy-name—
Specifies the name of a RADIUS accounting policy up to 32 characters in length.

address

Syntax 
address gi-address [scope scope]
address ip-address[/prefix-length]
address pool pool-name [secondary-pool sec-pool-name] [delimiter delimiter]
address use-pool-from-client [delimiter delimiter]
no address
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures how the IP address is defined for this host.

When the user-db is used from a local-dhcp-server, then this command defines how to define the IP address the server will “offer” to the DHCP-client.

When the user-db is used for PPPoE authentication, the gi-address parameter cannot be used. A fixed IP address will then cause PPPoE to use this IP address. If no IP address is specified, the PPPoE will look for IP address by other means (DHCP). If a pool name is given, this pool will be sent in the DHCP request so that it can be used in by the DHCP server to determine which address to give to the host.

The no form of the command causes no IP address to be assigned to this host. In a user-db referred to from a local-dhcp-server, creating a host without address information will cause the matching client never to get an IP address.

The no form of the command reverts to the default.

Default 

no address

Parameters 
gi-address—
When specified, the gi-address of the DHCP message is taken to look for a subnet in the local DHCP server. The first available free address of the subnet is taken and “offered” to the host. When local-user-db is used for PPPoE authentication, this has the same result as no address.
ip-address—
Specifies the fixed IP address to use for this host.
pool-name/sec-pool-name—
Specifies the primary (and secondary) pool (in the local DHCP server) to use to look for an available address. The first available IP address from any subnet in the pool will be used. When the local user database is used for PPPoE authentication, this causes the specified pool name to be sent to the DHCP server in a vendor-specific sub-option under Option 82.
use-pool-from-client—
Use the pool-name in the Option 82 vendor-specific sub-option.
delimiter
A single ascii character specifies the delimiter of separating primary and secondary pool names in option82 VSO.

auth-policy

Syntax 
auth-policy policy-name
no auth-policy
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the authentication policy of this host and PPPoE hosts. This authentication policy is only used if no authentication policy is defined at the interface level. For DHCP hosts, the host entry should not contain any other information needed for setup of the host (IP address, ESM strings, and so on.). For PPPoE hosts, the authentication policy configured here must have its pppoe-authentication-method set to pap-chap, otherwise the request will be dropped.

The no form of the command reverts to the default.

Default 

no auth-policy

Parameters 
policy-name—
Specifies the authentication policy name.

force-ipv6cp

Syntax 
[no] force-ipv6cp
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command specifies if the IPv6 control protocol should be negotiated after PPP reaches the Network-Layer Protocol phase.

The no form of the command reverts to the default.

Default 

no force-ipv6cp

diameter-application-policy

Syntax 
diameter-application-policy policy-name
no diameter-application-policy
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
config>service>ies>sub-if>grp-if
config>service>vprn>sub-if>grp-if
Description 

This command configures the Diameter application policy.

The no form of the command reverts to the default.

Default 

no diameter-application-policy

Parameters 
policy-name—
Specifies the Diameter application policy name.

diameter-auth-policy

Syntax 
diameter-auth-policy name
no diameter-auth-policy
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
config>service>ies>sub-if>grp-if
config>service>vprn>sub-if>grp-if
Description 

This command is used to configure the Diameter NASREQ application policy to use for authentication.

The no form of the command reverts to the default.

Default 

no diameter-auth-policy

Parameters 
name—
Specifies the name of the Diameter NASREQ application policy to use for authentication.

auth-domain-name

Syntax 
auth-domain-name domain-name
no auth-domain-name
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command sets the domain name which can be appended to user-name in RADIUS-authentication-request message for the given host.

The no form of the command removes the domain name from the host configuration.

Default 

none

Parameters 
domain-name—
Specifies the domain name to be appended to user-name in RADIUS-authentication-request message for the given host.

host-identification

Syntax 
host-identification
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command enables the context to configure host identification parameters.

server

Syntax 
server ip-address
no server
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command configures the IP address of the DHCP server to relay to.

The configured DHCP server IP address must reference one of the addresses configured under the DHCP CLI context of an IES/VPRN subscriber or group interface.

The no form of the command reverts to the default.

Default 

no server

Parameters 
ip-address—
Specifies the IP address of the DHCP server.

circuit-id

Syntax 
circuit-id string ascii-string
circuit-id hex hex-string
no circuit-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
config>subscr-mgmt>loc-user-db>ppp>host>host-ident
Description 

This command specifies the circuit-id to match.

The no form of the command reverts to the default.

Default 

no circuit-id

Parameters 
ascii-string—
Specifies the circuit ID from the Option 82.
hex-string
Specifies the circuit ID in hexadecimal format from the Option 82.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

derived-id

Syntax 
derived-id derived-id-string
no derived-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
config>subscr-mgmt>loc-user-db>ppp>host>host-ident
Description 

This command configures an ASCII string that uniquely identifies a host, and is derived by a Python script from packet content available during a DHCP transaction.

The no form of the command reverts to the default.

Default 

no derived-id

Parameters 
derived-id-string—
Specifies the host ID to be derived by a python script from DHCP packets during a DHCP transaction up to 255 characters in length.

encap-tag-range

Syntax 
encap-tag-range start-tag start-tag end-tag end-tag
no encap-tag-range
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
config>subscr-mgmt>loc-user-db>ppp>host>host-ident
Description 

This command specifies a range of encapsulation tag as the host identifications. The encapsulation tag is dot1q or qinq on Ethernet port; VPI/VCI on ATM port.

For dot1q, the start/end-tag is single number, range from 0-4094; for QinQ, the start/end-tag format is x.y, x or y could be “*”, which means ignore inner or outer tag;

For ATM the start/end-tag format is vpi/vci, vpi or vci could be “*”, which means ignore VPI or VCI.

Note:

This command will only be used when encap-tag-range is configured as one of the match-list parameters.

The no form of the command reverts to the default.

Default 

no encap-tag-range

Parameters 
start-tag start-tag
Specifies the value of the start label in the range of SAP’s allowed on this host.
Values—

start-tag

dot1q

qtag1

qinq

(qtag1.qtag2 | qtag1.* | *.qtag2)

atm

(vpi/vci | vpi/* | */vci)

qtag1

[0 to 4094]

qtag2

[0 to 4094]

vpi

[0 to 4095] (NNI)

[0 to 255] (UNI)

vci

[1 to 65535]

 

end-tag end-tag
Specifies the value of the end label in the range of SAP’s allowed on this host.
Values—

end-tag

dot1q

qtag1

qinq

(qtag1.qtag2 | qtag1.* | *.qtag2)

atm

(vpi/vci | vpi/* | */vci)

qtag1

[0 to 4094]

qtag2

[0 to 4094]

vpi

[0 to 4095] (NNI)

[0 to 255] (UNI)

vci

[1 to 65535]

 

ip-prefix

Syntax 
ip-prefix ip-prefix/ip-prefix-length
no ip-prefix
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
Description 

This command specifies the source IPv4/IPv6 address/prefix of the data trigger packet as the host identification.

The no form of the command reverts to the default.

Default 

no ip-prefix

Parameters 
ip-prefix/ip-prefix-length—
Specifies the IPv4 address, IPv6 address, or IPv6 prefix.
Values—
ipv4-prefix               a.b.c.d
ipv4-prefix-length    [0 to 32]
ipv6-prefix                x:x:x:x:x:x:x:x (eight 16-bit pieces)
                                  x:x:x:x:x:x:d.d.d.d
                                  x to [0 to FFFF]H
                                  d to [0 to 255]D
ipv6-prefix-length    [0 to 128]

 

mac

Syntax 
mac ieee-address
no mac
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
config>subscr-mgmt>loc-user-db>ppp>host>host-ident
Description 

This command specifies the MAC address to match.

The no form of the command reverts to the default.

Default 

no mac

Parameters 
ieee-address—
Specifies the 48-bit MAC address in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers.

mld-parameters

Syntax 
mld-parameters
Context 
config>subscr-mgmt>loc-user-db>ppp>host
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command enters the context to configure an MLD import policy.

import

Syntax 
import policy-name
no import
Context 
config>subscr-mgmt>loc-user-db>ppp>host>mld-parameters
config>subscr-mgmt>loc-user-db>ipoe>host>mld-parameters
Description 

This command configures an MLD import policy.

The LUDB allows a list of up to 14 MLD import policies per host. The MLD policy also allows the configuration of an additional import policy, providing a total of 15 MLD import policies per host. The import policy inside the MLD policy is always applied last, which determines if the list is a black list or a white list. To configure an MLD white list, the import policies in the LUDB should all be allow or forward entries and the import policy in the MLD policy should have a default action to deny all. To configure a black list, the import policies inside the LUDB should be drop entries and the MLD policy import policy default action should be to forward all. The 15 import policies can be configured to be a mixed white and black list. Since it is difficult to control the order of the import policies within the LUDB, the recommendation is to provision the import policy inside the MLD policy first for deterministic behavior.

The no version of this command removes the specified import policy.

Parameters 
policy-name —
Specifies the MLD import policy used to control the multicast group accessible for the subscriber host.

options6

Syntax 
options6
Context 
config>subscr-mgmt>loc-user-db>ppp>host
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command enables the context to configure IPv6 DNS server information in the local user database

Default 

none

option60

Syntax 
option60 hex hex-string
option60 string ascii-string
no option60
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
Description 

This command specifies the Vendor-Identifying Vendor Option to match. Option 60 is encoded as Type-Length-Value (TLV). The hex-string portion of Option 60 in the received DHCP request is used for matching. Only the first 32 bytes can be defined here. If Option 60 from the message is longer, those bytes are ignored.

The no form of the command reverts to the default.

Default 

no option60

Parameters 
hex-string
Specifies the hexadecimal format for this option.
Values—
0x0 to 0xFFFFFFFF(maximum 64 hex nibbles)

 

ascii-string—
Specifies the string format for this option up to 32 characters in length.

remote-id

Syntax 
remote-id hex hex-string
remote-id string ascii-string
no remote-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
config>subscr-mgmt>loc-user-db>ppp>host>host-ident
Description 

This command specifies the remote ID of this host.

The no form of this command returns to the default.

Default 

no remote-id

Parameters 
hex-string
Specifies the hexadecimal format for the remote ID.
Values—
0x0 to 0xFFFFFFFF(maximum 254 hex nibbles)

 

ascii-string—
Specifies the string format for the remote ID up to 255 characters in length.

service-name

Syntax 
service-name service-name
no service-name
Context 
config>subscr-mgmt>loc-user-db>ppp>host>host-ident
Description 

This command specifies the service name tag in PADI and/or PADR packets to match for PPPoE hosts.

The no form of this command returns to the default.

Default 

no service-name

Parameters 
service-name—
Specifies a PPPoE service name, up to 255 characters in length.

sap-id

Syntax 
sap-id sap-id
no sap-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
Description 

This command specifies the SAP ID from the Nokia vendor-specific sub-option in Option 82 to match.

The no form of this command returns to the default.

Default 

no sap-id

Parameters 
sap-id—
Specifies a SAP ID, up to 255 characters in length.

service-id

Syntax 
service-id service-id
no service-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
Description 

This command specifies an existing service ID from the Nokia vendor-specific sub-option in Option 82 to match.

The no form of this command returns to the default.

Default 

no service-id

Parameters 
service-id—
Specifies an existing service ID.
Values—
1 to 2147483647

 

string

Syntax 
string string
no string
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
Description 

This command specifies the string from the Nokia vendor-specific sub-option (VSO) in Option 82 to match.

The no form of this command returns to the default.

Default 

no string

Parameters 
string—
Specifies the VSO string of this host up 255 characters in length.

system-id

Syntax 
system-id system-id
no system-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>host-ident
Description 

This command specifies the system ID from the Nokia vendor-specific sub-option in Option 82 to match.

The no form of this command returns to the default.

Default 

no system-id

Parameters 
system-id—
Specifies the system ID up to a maximum of 255 characters in length.

username

Syntax 
username user-name
username user-name no-domain
username user-name domain-only
no username
Context 
config>subscr-mgmt>loc-user-db>ppp>host>host-ident
Description 

This command specifies how the username is specified.

The no form of this command returns to the default.

Default 

no username

Parameters 
username—
Specifies the user name of this host.
no-domain—
No username is specified.
domain-only—
Only the domain part of the username is specified, for example, nokia.com.

identification-strings

Syntax 
identification-strings option-number [create]
no identification-strings
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command specifies identification strings for the subscriber. This is useful when the server is centralized with Enhanced Subscriber Management (ESM) in a lower level in the network. These strings will be parsed by a downstream Python script or they can be used literally if the “strings-from-option” option in the config>subscr-mgmt>sub-ident-policy context is set to this option number. In this case, the option number may be set to any allowed number (between 224 and 254 is suggested, as these are not dedicated to specific purposes). If the option number is not given, a default value of 254 is used. For PPPoE only, if the local user database is attached to the PPPoE node under the group interface and not to a local DHCP server, the strings will be used internally so the option number is not used.

The no form of this command returns to the default.

Default 

no identification-strings

Parameters 
option-number—
Specifies identification strings for the subscriber.
Values—
1 to 254

 

ancp-string

Syntax 
ancp-string ancp-string
no ancp-string
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ident-strings
config>subscr-mgmt>loc-user-db>ppp>host>ident-strings
Description 

This command specifies the ANCP string which is encoded in the identification strings.

The no form of this command returns to the default.

Default 

no ancp-string

Parameters 
ancp-string—
Specifies the ANCP string, up to 63 characters in length.

app-profile-string

Syntax 
app-profile-string app-profile-string
no app-profile-string
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ident-strings
config>subscr-mgmt>loc-user-db>ppp>host>ident-strings
Description 

This command specifies the application profile string which is encoded in the identification strings.

The no form of this command returns to the default.

Default 

no app-profile-string

Parameters 
app-profile-string—
Specifies the application profile string, up to 16 characters in length.

category-map

Syntax 
[no] category-map category-map-name
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ident-strings
config>subscr-mgmt>loc-user-db>ppp>host>ident-strings
Description 

This command specifies the category map name.

The no form of this command removes the category map name from the configuration.

Default 

no category-map

Parameters 
category-map-name—
Specifies an existing category map name up to 32 characters in length.

inter-dest-id

Syntax 
inter-dest-id intermediate-destination-id
no inter-dest-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ident-strings
config>subscr-mgmt>loc-user-db>ppp>host>ident-strings
Description 

This command specifies the intermediate destination identifier which is encoded in the identification strings.

The no form of this command returns to the default.

Default 

no inter-dest-id

Parameters 
intermediate-destination-id—
Specifies the intermediate destination identifier up to 32 characters in length.

sla-profile-string

Syntax 
sla-profile-string sla-profile-string
no sla-profile-string
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ident-strings
config>subscr-mgmt>loc-user-db>ppp>host>ident-strings
Description 

This command specifies the SLA profile string which is encoded in the identification strings.

The no form of this command returns to the default.

Default 

no sla-profile-string

Parameters 
sla-profile-string—
Specifies the SLA profile string, up to 16 characters in length.

sub-profile-string

Syntax 
sub-profile-string sub-profile-string
no sub-profile-string
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ident-strings
config>subscr-mgmt>loc-user-db>ppp>host>ident-strings
Description 

This command specifies the subscriber profile string which is encoded in the identification strings.

The no form of this command returns to the default.

Default 

no sub-profile-string

Parameters 
sub-profile-string—
Specifies the subscriber profile string, up to 16 characters in length.

subscriber-id

Syntax 
subscriber-id sub-ident-string
no subscriber-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ident-strings
config>subscr-mgmt>loc-user-db>ppp>host>ident-strings
Description 

This command specifies the subscriber ID which is encoded in the identification strings.

The no form of this command returns to the default.

Default 

no subscriber-id

Parameters 
sub-ident-string—
Specifies the subscriber ID string, up to 32 characters in length.

ignore-df-bit

Syntax 
[no] ignore-df-bit
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

When the ignore-df-bit command is enabled for a subscriber host, then the do-not-fragment (DF) bit in the IPv4 header for frames egressing the subscriber interface is ignored: the frames are fragmented according the applicable egress MTU; the DF bit is reset for frames that are fragmented.

This command applies to PPPoE PTA and L2TP LNS frames only. It is not applicable for L2TP LAC frames.

Default 

no ignore-df-bit

interface

Syntax 
interface ip-int-name service-id service-id
no interface
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command specifies the group interface that is to be used for a GTP connection. The group interface must be of type gtp.

The parameter is ignored when used in a non-GTP context.

The no version of this command disables the parameter.

Default 

no interface

Parameters 
ip-int-name—
Specifies the name of the group interface.
service-id
Specifies the service ID where the group interface resides.

interface

Syntax 
interface ip-int-name service-id service-id
no interface
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the interface where PPP sessions are terminated.

The no form of the command reverts to the default.

Default 

no interface

Parameters 
ip-int-name—
Specifies the name of the group interface where the PPP sessions are established.
service-id
Specifies the service ID of the service where the PPP sessions are established.

ipv6-address

Syntax 
ipv6-address ipv6-address
no ipv6-address
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures static DHCPv6 IA-NA address for the host. This address is delegated to the client as /128 via DHCPv6 proxy function within the router. This IP address must not be part of any DHCP pool within internal DHCP server.

The no form of the command removes the IPv6 address from the host configuration.

Default 

no ipv6-address

Parameters 
ipv6-address—
Specifies the IPv6 address.
Values—

ipv6-address:

ipv6-prefix x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x [0 to FFFF]H

d [0 to 255]D

 

ipv6-delegated-prefix

Syntax 
ipv6-delegated-prefix ipv6-prefix/prefix-length
no ipv6-delegated-prefix
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures static DHCPv6 IA-PD prefix for the host. This prefix can be further delegated by the host itself to its clients. The prefix length is restricted to 48 to 64 bits. This prefix must not be part of any DHCP pool within internal DHCP server.

Default 

no ipv6-delegated-prefix

Parameters 
ipv6-address—
Specifies the IPv6 address.
Values—

ipv6-address:

ipv6-prefix x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x [0 to FFFF]H

d [0 to 255]D

prefix-length

[48 to 64]

 

ipv6-delegated-prefix-pool

Syntax 
ipv6-delegated-prefix-pool pool-name
no ipv6-delegated-prefix-pool
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the pool name that will be used in DHCPv6 server for DHCPv6 IA-PD prefix selection.

The no form of the command removes the pool name from the configuration.

Default 

no ipv6-delegated-prefix-pool

Parameters 
pool-name—
Specifies the pool name to be assigned to the delegated prefix pool.

ipv6-slaac-prefix

Syntax 
ipv6-slaac-prefix ipv6-prefix/prefix-length
no ipv6-slaac-prefix
Context 
config>subscr-mgmt>loc-user-db>ppp>host
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command configures static IPv6 SLAAC prefix (PIO) for the host. The host will assign an IPv6 address to itself based on this prefix. The prefix length is 64 bits.

The no form of the command removes the static IPv6 SLAAC prefix (PIO) for the host from the configuration.

Default 

no ipv6-slaac-prefix

Parameters 
ipv6-prefix/prefix-length—
Specifies the IPv6 address and prefix length.
Values—

<ipv6-prefix/prefi*> : ipv6-prefix x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x [0 to FFFF]H

d [0 to 255]D

prefix-length

64

 

ipv6-slaac-prefix-pool

Syntax 
ipv6-slaac-prefix-pool pool
no ipv6-slaac-prefix-pool
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the IPv6 slaac prefix pool of this host.

The no form of the command reverts to the default.

Default 

no ipv6-slaac-prefix-pool

ipv6-delegated-prefix-length

Syntax 
ipv6-delegated-prefix-length bits
no ipv6-delegated-prefix-length
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command allows configuration of delegated prefix length via local user database.

The no form of the command reverts to the default.

Default 

no ipv6-delegated-prefix-length

Parameters 
bits—
Specifies the delegated prefix length in bits.
Values—
48 to 64

 

ipv6-wan-address-pool

Syntax 
ipv6-wan-address-pool pool-name
no ipv6-wan-address-pool
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the pool name that will be used in DHCPv6 server for DHCPv6 IA-PA address selection.

The no form of the command removes the pool name from the configuration.

Default 

no ipv6-wan-address-pool

Parameters 
pool-name—
Specifies the WAN address pool up to 32 characters in length.

link-address

Syntax 
link-address ipv6-address
no link-address
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>service>ies>if>ipv6>dhcp6-relay
config>service>ies>sub-if>ipv6>dhcp6>relay
config>service>ies>sub-if>grp-if>ipv6>dhcp6>relay
config>service>vprn>if>ipv6>dhcp6-relay
config>service>vprn>sub-if>ipv6>dhcp6>relay
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>relay
Description 

This command configures the link address used for prefix selection at the DHCP server.

The link-address is a field in DHCP6 Relay-Forward message that is used in DHCP6 server to select the IPv6 address (IA-NA) or IPv6 prefix (IA-PD) from a pool with configured prefix range covering the link-address. The selection scope is the pool or a prefix range within the pool.

The no form of the command reverts to the default.

Default 

no link-address

Parameters 
ipv6-address—
Specifies the link-address.
Values—

<ipv6-address>

ipv6-address - x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

match-radius-proxy-cache

Syntax 
match-radius-proxy-cache
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command enables the context to configure RADIUS proxy cache match parameters.

fail-action

Syntax 
fail-action {continue | drop}
no fail-action
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>match-radprox-cache
Description 

This command specifies the action to take when no match is found in the cache.

The no form of the command reverts to the default.

Default 

drop

Parameters 
continue—
Specifies to continue when no match is found.
drop—
Specifies to drop when no match is found.

mac-format

Syntax 
mac-format mac-format
no mac-format
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>match-radprox-cache
Description 

This command specifies how a MAC address is represented

Parameters 
mac-format—
Specifies the expected MAC address format.

match

Syntax 
match {circuit-id | mac | remote-id}
match option [number] [option6 [number]
match option6 [number]
no match
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>match-radprox-cache
Description 

This command specifies in what DHCPv6 option to retrieve the value to be used as lookup key in the RADIUS proxy cache.

The no form of the command reverts to the default.

Default 

no match

Parameters 
circuit-id—
Specifies to use the circuit Id to match against.
mac—
Specifies the MAC address to match against.
remote-id—
Specifies the remote ID to match against.
option number
Specifies the option number that the DHCP server uses to send the identification strings to the client.
Values—
1 to 124

 

option6 number
Specifies the DHCPv6 option to retrieve the value to be used as lookup key in the RADIUS Proxy cache.
Values—
1 to 65535

 

server

Syntax 
server [service service-id] name server-name]
no server
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>match-radprox-cache
Description 

This command specifies the RADIUS proxy server.

The no form of the command reverts to the default.

Default 

no server

Parameters 
service-id
Specifies an existing service ID or service name.
Values—
service-id: 1 to 214748364
svc-name: A string up to 64 characters in length.

 

server-name —
Specifies the name of local user database server up to 32 characters in length.

ipv6-lease-times

Syntax 
[no] ipv6-lease-times
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command enables the context to configure lease times for DHCPv6.

preferred-lifetime

Syntax 
preferred-lifetime [days days] [hrs hrs] [min min] [sec sec]
preferred-lifetime infinite
no preferred-lifetime
Context 
config>service>vprn>sub-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>grp-if>ipv6>dhcp6>proxy
Description 

This command configures the preferred-lifetime for DHCPv6 leases (address/prefix) in a proxy-scenario (For example address/prefix obtained from Radius)

Preferred lifetime is the length of time that a valid address/prefix is preferred (for example, the time until deprecation).

The no form of the command reverts to the default.

Default 

hrs 1

Parameters 
infinite
Specifies that the valid lifetime is infinite.
preferred-lifetime—
Specifies the preferred lifetime.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 59

 

rebind-timer

Syntax 
rebind-timer [rebind-timer]
no rebind-timer
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ipv6-lease-times
config>subscr-mgmt>loc-user-db>ppp>host>ipv6-lease-times
config>service>ies>sub-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>grp-if>ipv6>dhcp6>proxy-server
config>service>vprn>sub-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>proxy-server
config>router>dhcp6>server>pool>prefix
config>service>vprn>dhcp6>server>pool>prefix
Description 

This command configures the lease rebind timer (T2) via LUDB.

The T2 time is the time at which the client contacts any available addressing authority to extend the lifetimes of DHCPv6 leases. T2 is a time duration relative to the current time expressed in units of seconds.

The IP addressing authority controls the time at which the client contacts the addressing authority to extend the lifetimes on assigned addresses/prefixes through the T1 and T2 parameters assigned to an IA. At time T1 for an IA, the client initiates a Renew/Reply message exchange to extend the lifetimes on any addresses in the IA. The client includes an IA option with all addresses/prefixes currently assigned to the IA in its Renew message. Recommended values for T1 and T2 are .5 and .8 times the shortest preferred lifetime of the addresses/prefixes in the IA that the addressing authority is willing to extend, respectively.

The configured rebind timer should always be longer than or equal to the renew timer.

The T1 and T2 are carried in the IPv6 address option that is within the IA.

The no form of the command reverts to the default.

Default 

rebind-timer min 48

Parameters 
rebind-timer
Specifies the preferred lifetime.
Values—

days days

0 to 14

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 9

 

renew-timer

Syntax 
renew-timer [renew-timer]
no renew-timer
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ipv6-lease-times
config>subscr-mgmt>loc-user-db>ppp>host>ipv6-lease-times
config>service>ies>sub-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>grp-if>ipv6>dhcp6>proxy-server
config>service>vprn>sub-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>proxy-server
config>router>dhcp6>server>pool>prefix
config>service>vprn>dhcp6>server>pool>prefix
Description 

This command configures the lease renew time (T1) via LUDB.

The T1 is the time at which the client contacts the addressing authority to extend the lifetimes of the DHCPv6 leases (addresses/prefixes). T1 is a time duration relative to the current time expressed in units of seconds.

The IP addressing authority controls the time at which the client contacts the addressing authority to extend the lifetimes on assigned addresses through the T1 and T2 parameters assigned to an IA. At time T1 for an IA, the client initiates a Renew/Reply message exchange to extend the lifetimes on any addresses in the IA. The client includes an IA option with all addresses currently assigned to the IA in its Renew message. Recommended values for T1 and T2 are .5 and .8 times the shortest preferred lifetime of the addresses in the IA that the addressing authority is willing to extend, respectively.

The configured renew timer should always be smaller than or equal to the rebind timer.

The T1 and T2 are carried in the IPv6 address option that is within the IA.

The no form of the command reverts to the default.

Default 

renew-timer min 30

Parameters 
renew-timer
Specifies the preferred lifetime.
Values—

days days

0 to 7

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 9

 

server-id

Syntax 
server-id duid-en hex hex-string
server-id duid-en string ascii-string
server-id duid-ll
no server-id
Context 
config>service>ies>sub-if>ipv6>dhcp6>proxy-server
config>service>ies>sub-if>grp-if>ipv6>dhcp6>proxy-server
config>service>vprn>sub-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>proxy-server
config>router>dhcp6>server
config>service>vprn>dhcp6>server
 
Description 

This command allows operator to customize the “server-id” attribute of a DHCPv6 message (such as DHCPv6 advertise and reply). By default, the server-id uses DUID-ll derive from the chassis link-layer address. Operators have the option to use a unique identifier by using DUID-en (vendor based on enterprise number). There is a maximum length associated with the customizable hex-string and ascii-string.

The no form of the command reverts to the default.

Default 

server-id duid-ll

Parameters 
hex-string
Specifies a DUID system ID in a hex format.
Values—
0x0 to 0xFFFFFFFF (max 116 hex nibbles

 

ascii-string
Specifies a DUID system ID in an ASCII format up to 58 characters.
duid-ll—
Specifies that the DUID system ID is derived from the system link layer address.

valid-lifetime

Syntax 
valid-lifetime [valid-lifetime]
valid-lifetime infinite
no valid-lifetime
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>ipv6-lease-times
config>subscr-mgmt>loc-user-db>ppp>host>ipv6-lease-times
config>service>ies>sub-if>ipv6>dhcp6>proxy
config>service>ies>sub-if>grp-if>ipv6>dhcp6>proxy-server
config>service>vprn>sub-if>ipv6>dhcp6>proxy
config>service>vprn>sub-if>grp-if>ipv6>dhcp6>proxy-server
Description 

This command configured valid-lifetime for DHCPv6 lease (address/prefix).

Valid lifetime is the length of time an address/prefix remains in the valid state (for example., the time until invalidation). The valid lifetime must be greater than or equal to the preferred lifetime. When the valid lifetime expires, the address/prefix becomes invalid and must not be used in communications. RFC 2461, sec 6.2.1 recommends default value of 30 days.

Each address/prefix assigned to the client has associated preferred and valid lifetimes specified by the address assignment authority (DHCP Server, Radius, ESM). To request an extension of the lifetimes assigned to an address, the client sends a Renew message to the addressing authority. The addressing authority sends a Reply message to the client with the new lifetimes, allowing the client to continue to use the address/prefix without interruption.

The lifetimes are transmitted from the addressing authority to the client in the IA option on the top level (not the address or prefix level).

The no form of the command reverts to the default.

Default 

valid-lifetime days 1

Parameters 
infinite
Specifies that the valid lifetime is infinite.
Values—
0xffffffff

 

valid-lifetime
Specifies the preferred lifetime.
Values—

days days

0 to 3650

hrs hours

0 to 23

min minutes

0 to 59

sec seconds

0 to 9

 

server-id

Syntax 
server-id duid-en hex hex-string
server-id duid-en string ascii-string
server-id duid-ll
no server-id
Context 
config>router>dhcp6>server
Description 

This command allows operator to customize the “server-id” attribute of a DHCPv6 message from the DHCPv6 proxy server (such as DHCPv6 advertise and reply). By default, the server-id uses DUID-ll derive from the chassis link-layer address. Operators have the option to use a unique identifier by using DUID-en (vendor based on enterprise number). There is a maximum length associated with the customizable hex-string and ascii-string.

The no form of the command reverts to the default.

Default 

server-id duid-ll

Parameters 
hex-string
Specifies a DUID system ID in a hex format.
Values—
0x0 to 0xFFFFFFFF (max 116 hex nibbles

 

ascii-string
Specifies a DUID system ID in an ASCII format up to 58 characters.
duid-en—
Specifies the enterprise-number.
duid-ll—
Specifies that the DUID system ID is derived from the system link layer address.

use-arp

Syntax 
[no] use-arp
Context 
config>router>dhcp6>server
 
Description 

l2tp

Syntax 
l2tp
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command enables the context to configure L2TP parameters for the host.

group

Syntax 
group tunnel-group-name [service-id service-id]
no group
Context 
config>subscr-mgmt>loc-user-db>ppp>host>l2tp
Description 

This command configures the L2TP tunnel group. The tunnel-group-name is configured in the config>router>l2tp context. Refer to the 7450 ESS, 7750 SR, and 7950 XRS Router Configuration Guide.

Parameters 
tunnel-group-name—
Specifies an existing tunnel L2TP group up to 63 characters in length.
service-id service-id
Specifies an existing service ID or service name.
Values—
service-id: 1 to 214748364
svc-name: A string up to 64 characters in length

 

authentication-policy

Syntax 
authentication-policy policy-name
no authentication-policy
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the authentication policy for the host. A host name with name “default” will be matched when all other hosts do not match.

padi-auth-policy

Syntax 
padi-auth-policy policy-name
no padi-auth-policy
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the PADI authentication policy of this host.

Parameters 
policy-name—
Specifies the authentication policy name.

pado-delay

Syntax 
pado-delay deci-seconds
no pado-delay
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the delay timeout before sending a PPPoE Active Discovery Offer (PADO).

Parameters 
deci-seconds—
Specifies the delay timeout before sending a PADO.
Values—
1 to 30

 

mask

Syntax 
mask type ppp-match-type {[prefix-string prefix-string | prefix-length prefix-length] [suffix-string suffix-string | suffix-length suffix-length]}
no mask type ppp-match-type
mask type dhcp-match-type {[prefix-string prefix-string | prefix-length prefix-length] [suffix-string suffix-string | suffix-length suffix-length]}
no mask type dhcp-match-type
Context 
config>subscr-mgmt>loc-user-db>ppp
config>subscr-mgmt>loc-user-db>ipoe
Description 

This command configures the mask.

The no form of the command removes the mask parameters from the configuration.

Default 

none

Parameters 
ppp-match-type—
Specifies the sub-option inserted by the PPPoE intermediate agent.
Values—
circuit-id, remote-id, sap-id, service-name, username

 

dhcp-match-type—
The data type represents the type of matching done to identify a DHCP host.
Values—
circuit-id, option60, remote-id, sap-id, string, system-id

 

prefix-string
Specifies a substring that is stripped of the start of the incoming circuit ID before it is matched against the value configured in the DHCP or PPPoE circuit ID.

This string can only contain printable ASCII characters. The “*” character is a wildcard that matches any substring. If a "\" character is masked, use the escape key so it becomes "\\".

Values—
127 characters maximum, “*”

 

prefix-length
Specifies the number of characters to remove from the start of the incoming circuit ID before it is matched against the value configured in the circuit ID
Values—
1 to 127

 

suffix-string
Specifies a substring that is stripped of the end of the incoming circuit ID before it is matched against the value configured in circuit ID.

This string can only contain printable ASCII characters. The “*” character is a wildcard that matches any substring. If a "\" character is masked, use the escape key so it becomes "\\".

Values—
127 characters maximum

 

suffix-length
Specifies the number of characters to remove from the end of the incoming circuit ID before it is matched against the value configured in the circuit ID.
Values—
1 to 127

 

match-list

Syntax 
match-list match-type-1 [match-type-2]
no match-list
Context 
config>subscr-mgmt>loc-user-db>ppp
config>subscr-mgmt>loc-user-db>ipoe
Description 

This command specifies the type of matching done to identify a host. There are different match-types for PPPoE or IPoE hosts of which a maximum of four can be specified.

The no form of the command reverts to the default.

Default 

no match-list

Parameters 
match-type-x—
Specifies up to four matching types to identify a host.
Values—
circuit-id, derived-id, dual-stack-remote-id, encap-tag-range, ip, mac, option60, remote-id, sap-id, service-id, string, system-id

 

circuit-id — Specifies the DHCP4 option (82,1) or DHCP6 option 18.

mac — Specifies the MAC address of the client. Chaddr in DHCP4 and DUID in IPv6.

option60 — Specifies the DHCP4 option 60.

remote-id — Specifies the DHCP4 option (82,2) or DHCP6 option 37 .

Note:

The format of remote-id in IPv6 is different that the format of remote-id in IPv4; IPv6 remote-id contains enterprise-id filed that is also honored in matching.

dual-stack-remote-id — Specifies the enterprise-id in v6 Remote-id will be stripped off before LUDB matching is performed. Processing of IPv4 Remote-id remains unchanged. This will allow a single host entry in LUDB for dual-stack host where host identification is performed based on the Remote-id field.

sap-id — Specifies the SAP ID on which DHCPv4 packet are received. The sap-id is inserted as ALU VSO (82,9,4) by the DHCPv4 relay in router. This is enabled via configuration under the vendor-specific-option CLI hierarchy of the DHCPv4 relay. Since the dhcp-relay configuration is enabled under the group-interface CLI hierarchy, the group-interface and the service-id must be known before the sap-id can be used for LUDB match.

encap-tag-range — Specifies the VLAN tags.

ip — Specifies the source IPv4/IPv6 address of a data-trigger packet.

service-id — Specifies the service-id of the ingress SAP for DHCPv4 packets. The service-id is inserted as ALU VSO (82,9,3) by the DHCPv4 relay in router. This is enabled via configuration under the vendor-specific-option CLI hierarchy of the DHCPv4 relay.

string — Specifies the custom string configured under the vendor-specific-option CLI hierarchy of the DHCPv4 relay. The string is inserted as ALU VSO (82,9,5) by the DHCPv4 relay in router. Since the dhcp-relay configuration is enabled under the group-interface CLI hierarchy, the group-interface and the service-id must be known before the string can be used for LUDB match.

system-id — Specifies the system-id of the node name configured under the system>name CLI hierarchy. The system-id is inserted as ALU VSO (82,9,1) by the DHCPv4 relay in router. This is enabled via configuration under the vendor-specific-option CLI hierarchy of the DHCPv4 relay. Since the dhcp-relay configuration is enabled under the group-interface CLI hierarchy, the group-interface and the service-id must be known before the system-id can be used for LUDB match.

derived-id — Specifies the value extracted by Python script during processing of DHCP Discover/Solicit/Request/Renew/Rebind Messages (client to server bound messages). The value is stored in the DHCP Transaction Cache (DTC) in a variable named alc.dtc.derivedId. This value has a lifespan of a DHCP transaction (a single pair of messages exchanged between the client and the server; for example DHCP Discover and DHCP Offer).

password

Syntax 
password {ignore | chap string |pap string} [hash|hash2]
no password
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command specifies a password type or configures password string for pap or chap. The pap and chap passwords are stored in a hashed format in the config files. The hash|hash2 optional keywords are used for config execution.

This command will only be interpreted if the local user database is connected directly to the PPPoE node under the VPRN/IES group interface. It is not used if the local user database is accessed by a local DHCP server.

The no form of the command reverts to the default.

Default 

none

Parameters 
ignore—
Specifies that the password will be ignored, in which case authentication will always succeed, independent of the password used by the PPPoE client. The client must still perform authentication.
string
Specifies that the password for Challenge-Handshake Authentication Protocol) (CHAP) is used. Only a password received with the CHAP protocol will be accepted.
string
Specifies that the Password Authentication Protocol (PAP) is used. Only a password received with the PAP protocol will be accepted, even though the CHAP protocol will be proposed to the client first because it is unknown at the time of the offer which password type will be allowed to the client.
hash|hash2—
Specifies hashing scheme

pre-auth-policy

Syntax 
pre-auth-policy policy-name
no pre-auth-policy
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the RADIUS pre-authentication policy to use to authenticate the PPP host.

The no form of the command reverts to the default.

Default 

no pre-auth-policy

Parameters 
policy-name—
Specifies the pre-authentication policy of the host up to 32 characters in length.

steering-profile

Syntax 
steering-profile steering-profile-name
no steering-profile
Context 
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command configures the steering profile for the specific host.

The no form of the command removes the steering profile for the host.

Default 

no steering-profile

Parameters 
steering-profile-name —
Specifies the name of the steering profile, up to 32 characters in length.

to-server-options

Syntax 
[no] to-server-options
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command enables the context to configure DHCP options to send to the server

option

Syntax 
option option-number address [ip-address]
no option option-number
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>to-server-options>ipv6
Description 

This command specifies the DHCPv6 options to send to the server. There are four options:

  1. option option-number hex hex-string
  1. option option-number string ascii-string
  1. option option-number domain domain-name
  1. no option option-number

The no form of the command removes the option parameters from the configuration.

Default 

none

Parameters 
option-number—
Specifies the option number and the identification string that will inserted in the DHCP client message to the server.
Values—
1 to 65535

 

ip-address—
Specifies the IPv6 address.
hex-string—
Specifies the hex value of the option.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

ascii-string—
Specifies the string value of the option.
Values—
127 character max

 

domain-name—
Specifies the domain as in RFC 1035 section 3.1.

wpp

Syntax 
wpp
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command enables the context to configure WPP parameters.

portal

Syntax 
[no] portal router router-instance name wpp-portal-name
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>wpp
Description 

This command configures the portal for the portal group. This command is mutually exclusive with the portal-group command.

Parameters 
router-instance
Specifies the virtual router instance.
Values—

router-name:

Base, management

service-id:

1 to 2147483647

service-name:

Specifies the service name up to 64 characters in length

 

Default—
Base
wpp-portal-name
Specifies the name of the web portal server up to 32 characters in length.

portal-group

Syntax 
portal-group portal-group-name
no portal-group
Context 
config>subscr-mgmt>loc-user-db>ipoe>host>wpp
Description 

This command configures the WPP portal group name. This command is mutually exclusive with the portal command.

Parameters 
portal-group-name—
Specifies the WPP portal group name up to 32 characters in length.

retail-service-id

Syntax 
retail-service-id service-id
no retail-service-id
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command indicates the service ID of the retailer VPRN service to which this session belongs. If the value of this object is non-zero, the session belongs to a retailer VPRN.

The no form of the command removes the service ID from the configuration.

Default 

no retail-service-id

Parameters 
service-id—
Specifies the retailer service ID.
Values—

service-id:

1 to 2147483647

service-name:

Service name up to 64 characters in length.

 

router-advertisement-policy

Syntax 
router-advertisement-policy policy
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
config>subscr-mgmt>loc-user-db>ppp>host
Description 

This command applies an RA policy to the host.

Parameters 
policy—
Specifies the policy name, up to a maximum of 32 characters.

server6

Syntax 
server6 ipv6-address
no server6
Context 
config>subscr-mgmt>loc-user-db>ipoe>host
Description 

This command allows DHCP6 server selection based on the host entry in LUDB.

The configured DHCP6 server IP address must reference one of the v6 addressees configured under the config>service>vprn>sub-if>grp-if>ipv6>dhcpv6>relay or config>service>ies>sub-if>grp-if>ipv6>dhcpv6>relay context.

The no form of the command reverts to the default.

Default 

no server6

Parameters 
ipv6-address—
Specifies the retailer service ID.
Values—

<ipv6-address>

: ipv6-address - x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

3.6.2.2. Show Commands

Note:

The command output in the following section are examples only; actual displays may differ depending on supported functionality and user configuration.

dhcp

Syntax 
dhcp
Context 
show>router
show>service>id
Description 

This command displays DHCP related information.

lease-state

Syntax 
lease-state [wholesaler service-id] [sap sap-id|sdp sdp-id:vc-id| interface interface-name|ip-address ip-address[/mask] | chaddr ieee-address | mac ieee-address | {[port port-id] [no-inter-dest-id | inter-dest-id inter-dest-id]}] [session {none | ipoe}] [detail]
Context 
show>service>id>dhcp
Description 

This command displays DHCP lease state information. The wholesaler service-id parameter is applicable only in the VPRN context.

Parameters 
service-id
Specifies the service ID of the wholesaler. When specified in this context, SAP, SDP, interface, IP address and MAC parameters are ignored. This parameter applies only to the 7750 SR.
Values—
service-id: 1 to 214748364
svc-name: A string up to 64 characters in length

 

sap-id
Specifies the physical port identifier portion of the SAP definition.
sdp-id
Specifies the SDP identifier.
Values—
1 to 17407

 

vc-id—
Specifies the virtual circuit identifier. This value is used to validate the VC ID portion of each mesh SDP binding defined in the service. The default value of this object is equal to the service ID.
Values—
1 — 4294967295

 

interface-name
Shows the interface name up to 32 characters in length.
ip-address[/mask]—
Shows information for the specified IP address and mask.
port-id
Specifies the DHCP lease state local specifies that the DHCP lease state is learned by either a SAP or SDP. When the value is SAP, the value indicates the SAP for which this entry contains information.
chaddr—
Specifies the MA address of the DHCP lease state.
interface-name
Shows information for the specified IP interface.
detail—
Displays detailed lease state information.
inter-dest-id—
Indicates the intermediate destination identifier received from either the DHCP or the RADIUS server or the local user database.
session—
Shows DHCPv4 lease states for hosts that are associated with an IPoE session or for hosts that are not associated with an IPoE session.
Values—
none, ipoe

 

detail—
Displays detailed information.
Output 

The following output is an example of lease state information.

Sample Output
*A:ALA-48>config# show service id 101 dhcp lease-state
===============================================================================
DHCP lease state table, service 101
===============================================================================
IP Address      Mac Address       Sap/Sdp Id          Remaining  Lease    MC
                                                      LifeTime   Origin   Stdby
-------------------------------------------------------------------------------
102.1.1.52      00:00:1f:bd:00:bb lag-1:101           00h02m56s  DHCP-R
103.3.2.62      00:00:1f:bd:00:c6 lag-1:105           00h02m59s  RADIUS
-------------------------------------------------------------------------------
Number of lease states : 2
===============================================================================
*A:ALA-48>config#
 
 
*A:ALA-48>config# show service id 105 dhcp lease-state  wholesaler 101
===============================================================================
DHCP lease state table, service 105
===============================================================================
IP Address      Mac Address       Sap/Sdp Id          Remaining  Lease    MC
                                                      LifeTime   Origin   Stdby
-------------------------------------------------------------------------------
Wholesaler 101 Leases
-------------------------------------------------------------------------------
103.3.2.62      00:00:1f:bd:00:c6 lag-1:105           00h00m39s  RADIUS
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
*A:ALA-48>config#

Show DHC6P Summary Output

The following table describes the output fields for DHCP6 summary.

Table 44:  DHCP6 Summary Output Fields 

Label

Description  

Interface Name

Name of the router interface

ARP Populate

Indicates whether ARP populate is enabled

Used/Provided

Indicates the number of used and provided DHCP leases

Info Option

Indicates whether Option 82 processing is enabled on the interface

Admin State

Indicates the administrative state

local-dhcp-server

Syntax 
local-dhcp-server server-name
Context 
show>router>dhcp
show>router>dhcp6
tools>perform>router>dhcp>server>pool
Description 

This command displays local DHCP or DHCP6 server information.

Parameters 
server-name—
Specifies information about the local DHCP server.
Output 

The following output is an example of local DHCP information.

Sample Output
*A:ALA-48>show>router>dhcp>server# declined-addresses pool test
===============================================================================
Declined addresses for server test Base
===============================================================================
 Pool                              Subnet              IP Address
PPPoe User Name/                  Time                MAC Address       Type
Option 82 Circuit ID
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No Matching Entries
===============================================================================
*A:ALA-48>show>router>dhcp>server#
Table 45:    

Label

Description

Pool

Specifies the name of the IP address pool.

Subnet

Specifies the name of the subnet.

IP Address

Specifies the name of the IP address.

MAC Address

Specifies the name of the MAC address.

PPPoE User Name

Specifies the name of the PPPoE user name.

Time

Specifies the time.

Type

Specifies the type name.

failover

Syntax 
failover
Context 
tools>perform>router>dhcp>server
tools>perform>router>dhcp>server>pool
tools>perform>router>dhcp6>server
tools>perform>router>dhcp6>server>pool
Description 

This command enables the context to perform local DHCP server failover tasks.

abort-startup-wait

Syntax 
abort-startup-wait
Context 
tools>perform>router>dhcp>server>failover
tools>perform>router>dhcp>server>pool
tools>perform>router>dhcp6>server
tools>perform>router>dhcp6>server>pool
Description 

This command aborts the running start-up-wait time, forcing the DCHP server to transition immediately to the COMMUNICATIONS-INTERRUPTED state.

The start-up-wait time is started after a boot to enable two redundant routers to synchronize the DHCP server lease database before transitioning to the (PRE-)NORMAL state when the last state record from the peer is synchronized. If the last state record is not received before the start-up-wait time expires, it is assumed that the remote DHCP server is not operational and the DHCP server goes in COMMUNICATIONS-INTERRUPTED state.

force-partner-down

Syntax 
force-partner-down
Context 
tools>perform>router>dhcp>server>failover
tools>perform>router>dhcp>server>pool
tools>perform>router>dhcp6>server
tools>perform>router>dhcp6>server>pool
Description 

This command forces a DHCP server to transition from the COMMINICATIONS-INTERRUPTED state to the PARTNER-DOWN state.

It is important to note that this command should only be used if the remote DHCP server is out of service, else duplicate address allocations could occur.

In case of a communication failure between two redundant DHCP servers, the DHCP server transitions to the COMMUNICATIONS-INTERRUPTED state. In this state, the DHCP server allocates IP addresses for new leases from the local and address-driven address-ranges only. This prevents duplicate address allocations.

If during the partner-down-delay time, the communication with the remote DHCP server is not restored, then the DHCP server transitions to the PARTNER-DOWN state. In this state, the DHCP server also allocates IP addresses for new leases from the remote ranges. A DHCP server should only reach this state when the remote DHCP server is out of service, else IP address conflicts can occur.

associations

Syntax 
associations
Context 
show>router>dhcp>server
show>router>dhcp
show>router>dhcp6
Description 

This command displays the interfaces associated with this DHCP or DHCP6 server.

Output 

The following output is an example of lease state information.

Sample Output
*A:SUB-Dut-A# show router dhcp local-dhcp-server dhcpS1 associations 
===============================================================================
DHCP server s1  router 3
===============================================================================
Associations                     Admin                           
-------------------------------------------------------------------------------
tosim5                           Up                              
===============================================================================
*A:SUB-Dut-A# 
Table 46:  DHCP6 Summary Output Fields 

Label

Description  

Associations

Specifies the entity associated with the local DHCP server.

Admin

Specifies the administrative state.

declined-addresses

Syntax 
declined-addresses ip-address[/mask] [detail]
declined-addresses pool pool-name
Context 
show>router>dhcp>server
Description 

This command display information about declined addresses.

Parameters 
pool-name
Specifies a DHCP pool name on the router.
ip-address—
Specifies the IP address of the DNS server. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
detail—
Displays detailed information.
Output 

The following output is an example of declined address information

Sample Output
*A:ALA-48>show>router>dhcp>server# declined-addresses pool test
===============================================================================
Declined addresses for server test Base
===============================================================================
 Pool                              Subnet              IP Address
PPPoe User Name/                  Time                MAC Address       Type
Option 82 Circuit ID
-------------------------------------------------------------------------------
No Matching Entries
===============================================================================
*A:ALA-48>show>router>dhcp>server#

failover-pool-stats

Syntax 
failover-pool-stats [pool-name]
Context 
show>router>dhcp>local-dhcp-server
show>router>dhcp6>local-dhcp-server
Description 

This command displays failover pool statistics.

Parameters 
pool-name—
Specifies the pool name which is defined in the system.
Output 

The following output is an example of failover pool stats information

Sample Output
*A:vsim-2# show router 500 dhcp6 local-dhcp-server "d6" failover-pool-stats 
==================================================================
Failover config for pool         v6-1
==================================================================
Failover Admin State             inService
Failover Oper State              preNormal
Failover Persist Key             0xFFFFFFFF
Administrative MCLT              0h10m0s
Operational MCLT                 0h10m0s
Startup Wait Time                0h2m0s
Partner Down Delay               23h59m59s
  Ignore MCLT                    disabled
Failover statistics for pool     v6-1
------------------------------------------------------------------
Dropped Invalid Packets          0
Failover Shutdown                0
Lease Already Expired            0
Maximum Lease Count Reached      0
Subnet Not Found                 0
Range Not Found                  0
Host Conflict                    0
Address Conflict                 0
Peer Conflict                    0
Persistence Congestion           0    
No Lease Hold Time Configured    0
Lease Not Found                  0
------------------------------------------------------------------
Number of pools found            1
==================================================================

failover-server-stats

Syntax 
failover-server-stats
Context 
show>router>dhcp>local-dhcp-server
show>router>dhcp6>local-dhcp-server
Description 

This command displays failover server statistics.

Output 

The following output is an example of failover server stats information.

Sample Output
show>router>dhcp# local-dhcp-server "y" failover-server-stats  
==================================================================
Failover config for server       y
==================================================================
Failover Admin State             outOfService
Failover Oper State              shutdown
Failover Persist Key             0xFFFFFFFF
Administrative MCLT              0h10m0s
Operational MCLT                 0h10m0s
Startup Wait Time                0h2m0s
Partner Down Delay               23h59m59s
  Ignore MCLT                    disabled
 
Failover statistics for server   y
------------------------------------------------------------------
Dropped Invalid Packets          0
Failover Shutdown                0
Lease Already Expired            0
Maximum Lease Count Reached      0
Subnet Not Found                 0
Range Not Found                  0
Host Conflict                    0
Address Conflict                 0
Peer Conflict                    0
Persistence Congestion           0
No Lease Hold Time Configured    0
Invalid Prefix Length            0
Lease Not Found                  0
==================================================================

free-addresses

Syntax 
free-addresses ip-address[/mask]
free-addresses summary [subnet ip-address[/mask]
free-addresses pool pool-name
Context 
show>router>dhcp>local-dhcp-server
Description 

This command displays the free addresses in a subnet.

Parameters 
pool-name
Specifies a DHCP pool name on the router.
subnet
Specifies a subnet of IP addresses that are served from the pool.
summary—
Displays summary output of the free addresses.
Output 

The following output is an example of free address information

Sample Output
*A:ALA-48>show>router>dhcp>local-dhcp-server# free-addresses pool test subnet 
1.0.0.0/24
===============================================================================
Free addresses in subnet 1.0.0.0/24
===============================================================================
IP Address 
-------------------------------------------------------------------------------
No. of free addresses: 0
===============================================================================
*A:ALA-48>show>router>dhcp>local-dhcp-server#
 

leases

Syntax 
leases [detail]
leases ip-address[/mask] address-from-user-db [detail]
leases ip-address[/mask] dhcp-host dhcp-host-name [detail]
leases ip-address[/mask] ppp-host ppp-host-name [detail]
leases ip-address[/mask] [detail]
Context 
show>router>dhcp>local-dhcp-server
Description 

This command displays the DHCP leases.

Parameters 
ip-address—
Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
mask—
The subnet mask in dotted decimal notation
Values—
0 to 32

 

address-from-user-db—
Displays only leases that have IP addresses from the local-user-db
dhcp-host-name
Shows the leases that match a certain DHCP host from the local-user-db
ppp-host-name
Displays the leases that match a certain PPPoE host from the local-user-db
detail—
Displays detailed information of all leases that fall into the indicated subnet.

The command with no parameters shows all leases from the local-user-db.

Output 

The following output is an example of lease information

Sample Output
*A:ALA-48>show>router>dhcp>local-dhcp-server# leases ip-address 1.0.0.4
===============================================================================
Leases for DHCP server test router Base
===============================================================================
IP Address      Lease State       Mac Address       Remaining Clnt  
  PPPoE user name/Opt82 Circuit Id                  LifeTime  Type  
-------------------------------------------------------------------------------
No leases found
*A:ALA-48>show>router>dhcp>local-dhcp-server#
 

pool-ext-stats

Syntax 
pool-ext-stats [pool-name]
Context 
show>router>dhcp>server
Description 

This command displays extended statistics per DHCPv4 pool in local DHCPv4 server.

The following statistics are included in output:

  1. The number of stable leases in the pool
  2. The number of provisioned address in the pool
  3. The number of used address in the pool
  4. The number of free address in the pool
  5. The percentage of used address
  6. The percentage of free address

For each statistic (except for provisioned addresses), there is current value and peak value, peak value is the highest value since pool creation or last reset via the clear router rt-id dhcp local-dhcp-server svr-name pool-ext-stats command.

Parameters 
pool-name—
Specifies the name of DHCPv4 local server pool.
Output 

The following output is an example of pool extended stats information.

Sample Output
show router 500 dhcp local-dhcp-server "d4" pool-ext-stats "pool-1" 
===============================================================================
Extended pool statistics for server "d4"
===============================================================================
                           Current         Peak            TimeStamp
-------------------------------------------------------------------------------
Pool                       pool-1
Local:
  Stable Leases            0               0               01/07/2013 19:07:11
  Provisioned Addresses    101                             
  Used Addresses           0               0               01/07/2013 19:07:11
  Free Addresses           101             101             01/07/2013 19:07:11
  Used Pct                 0               0               01/07/2013 19:07:11
  Free Pct                 100             100             01/07/2013 19:07:11
Last Reset Time                                            01/07/2013 19:07:11
-------------------------------------------------------------------------------
Number of entries          1
===============================================================================
 

server-stats

Syntax 
server-stats
Context 
show>router>dhcp>server
show>router>dhcp6>server
Description 

This command displays DHCP or DHCP6 server statistics.

Output 

The following output is an example of server statics information

Sample Output
*A:SUB-Dut-A# show router dhcp local-dhcp-server dhcpS1 server-stats 
==============================================================================
Statistics for DHCP Server dhcpS1 router Base
==============================================================================
Rx Discover Packets           : 0                                             
Rx Request Packets            : 0                                             
Rx Release Packets            : 0                                             
Rx Decline Packets            : 0                                             
Rx Inform Packets             : 0                                             
 
Tx Offer Packets              : 0                                             
Tx Ack Packets                : 0                                             
Tx Nak Packets                : 0                                             
Tx Forcerenew Packets         : 0                                             
 
Client Ignored Offers         : 0                                             
Leases Timed Out              : 0                                             
 
Dropped Bad Packet            : 0                                             
Dropped Invalid Type          : 0                                             
Dropped No User Database      : 0                                             
Dropped Unknown Host          : 0                                             
Dropped User Not Allowed      : 0                                             
Dropped Lease Not Ready       : 0                                             
Dropped Lease Not Found       : 0                                             
Dropped Not Serving Pool      : 0                                             
Dropped Invalid User          : 0                                             
Dropped Overload              : 0                                             
Dropped Persistence Overload  : 0                                             
Dropped Generic Error         : 0                                             
Dropped Destined To Other     : 0                                             
Dropped Address Unavailable   : 0                                             
Dropped Max Leases Reached    : 0                                             
Dropped Server Shutdown       : 0                                             
Dropped No Subnet For Fixed IP: 0                                             
 
==============================================================================
*A:SUB-Dut-A#

pool

Syntax 
pool pool-name
Context 
tools>perform>router>dhcp>server
Description 

This command performs local DHCP server IP address pool tasks.

Parameters 
pool-name—
Specifies the pool name up to 32 characters in length.

send-force-renew

Syntax 
send-force-renew ip-address
Context 
tools>perform>router>dhcp>server
Description 

This command sends a DHCP Force-Renew message on behalf of the DHCP server to the DHCP client with specified IP address. A DHCP lease with the specified IP address must exist in the DHCP server.

Parameters 
ip-address—
Specifies the DHCP client’s IP address in dotted notation a.b.c.d.

sticky-leases

Syntax 
sticky-leases [hostname]
Context 
show>router>dhcp>server
Description 

This command shows either all sticky leases or a single specific sticky lease created under the specified DHCP server.

Parameters 
hostname—
Specifies the name of the host for which an entry is created.
Output 

The following output is an example of sticky lease information

Sample Output
Node# show router dhcp local-dhcp-server "dhcp_server" sticky-leases
===============================================================================
DHCP Server Sticky Leases
===============================================================================
Hostname                           IP address
-------------------------------------------------------------------------------
test_lease                         30.0.0.1
-------------------------------------------------------------------------------
No. of Matching Entries: 1
===============================================================================

subnet-ext-stats

Syntax 
subnet-ext-stats ip-address[/mask]
subnet-ext-stats pool pool-name
Context 
show>router>dhcp>servers
Description 

This command displays extended statistics per DHCPv4 subnet in local DHCPv4 server.

The following statistics are included in output:

  1. The number of stable leases in the subnet
  2. The number of provisioned address in the subnet
  3. The number of used address in the subnet
  4. The number of free address in the subnet
  5. The percentage of used address
  6. The percentage of free address

For each statistic (except for Provisioned Addresses), there is current value and peak value, peak value is the highest value since subnet creation or last reset via the clear router rt-id dhcp local-dhcp-server svr-name subnet-ext-stats command.

When parameter pool is used, the statistics of each subnet in the pool will be displayed.

Parameters 
ip-address[/mask]—
Specifies the subnet and mask.
pool-name—
Specifies the name of local DHCPv4 server pool.
Output 

The following output is an example of subnet extended statistics information.

Sample Output
show router 500 dhcp local-dhcp-server "d4" subnet-ext-stats 220.10.10.0/24 
===============================================================================
Extended statistics for subnet 220.10.10.0/24
===============================================================================
                           Current         Peak            TimeStamp
-------------------------------------------------------------------------------
Local:
  Stable Leases            1               1               01/07/2013 19:38:36
  Provisioned Addresses    101                             
  Used Addresses           1               1               01/07/2013 19:38:36
  Free Addresses           100             100             01/07/2013 19:38:36
  Used Pct                 1               1               01/07/2013 19:38:36
  Free Pct                 99              99              01/07/2013 19:38:36
Last Reset Time                                            01/07/2013 19:07:11
-------------------------------------------------------------------------------
Number of entries          1
===============================================================================

subnet-stats

Syntax 
subnet-stats ip-address[/mask]
subnet-stats pool pool-name
Context 
show>router>dhcp>server
Description 

This command displays subnet statistics.

Parameters 
ip-address[/mask]—
Specifies the subnet and mask.
pool-name—
Specifies the name of local DHCPv4 server pool.
Output 

The following output is an example of subnet statistics information.

Sample Output
*A:SUB-Dut-A# show router dhcp local-dhcp-server dhcpS2 subnet-stats pool POOL2 
===============================================================================
Statistics for pool POOL2
===============================================================================
Subnet             Free         Offered      Stable                            
                     FRPending    RemPending   Declined                        
-------------------------------------------------------------------------------
2.0.0.0/8          16384        0            0                                 
                     0            0            0                               
-------------------------------------------------------------------------------
No. of entries: 1
===============================================================================
*A:SUB-Dut-A#

summary

Syntax 
summary
Context 
show>router>dhcp>server
Description 

This command displays DHCP server summary information.

Output 

The following output is an example of DHCP summary information.

Sample Output
*A:SUB-Dut-A# show router dhcp local-dhcp-server dhcpS2 summary 
===============================================================================
DHCP server dhcpS2  router Base
===============================================================================
dhcpS2-POOL2
Admin State            : inService
Persistency State      : ok
User Data Base         : N/A
Use gateway IP address : disabled
Send force-renewals    : disabled
-------------------------------------------------------------------------------
Pool name : POOL2
-------------------------------------------------------------------------------
Subnet             Free       Stable     Declined   Offered    Remove-pending
-------------------------------------------------------------------------------
2.0.0.0/8          16384      0          0          0          0             
 
Totals for pool    16384      0          0          0          0             
-------------------------------------------------------------------------------
Totals for server  16384      0          0          0          0             
-------------------------------------------------------------------------------
Associations                     Admin                           
-------------------------------------------------------------------------------
No associations found
===============================================================================
*A:SUB-Dut-A# 
 
 
*A:vsim-2# show router 500 dhcp local-dhcp-server "d4" summary 
===============================================================================
DHCP server d4  router 500
===============================================================================
Admin State            : inService
Operational State      : inService
Persistency State      : shutdown
User Data Base         : N/A
Use gateway IP address : enabled (scope subnet)
Use pool from client   : disabled
Send force-renewals    : disabled
Creation Origin        : manual
Lease Hold Time        : 0h0m0s
Lease Hold Time For    : N/A
User-ident             : mac-circuit-id
Failover Admin State   : outOfService
Failover Oper State    : shutdown
Failover Persist Key   : N/A
Administrative MCLT    : 0h10m0s
Operational MCLT       : 0h10m0s
Startup wait time      : 0h2m0s
Partner down delay     : 23h59m59s
  Ignore MCLT          : disabled
-------------------------------------------------------------------------------
Pool name : v4-1
-------------------------------------------------------------------------------
Failover Admin State   : inService
Failover Oper State    : normal
Failover Persist Key   : N/A
Administrative MCLT    : 0h10m0s
Operational MCLT       : 0h10m0s
Startup wait time      : 0h2m0s
Partner down delay     : 23h59m59s
  Ignore MCLT          : disabled
-------------------------------------------------------------------------------
Subnet                 Free     %    Stable   Declined Offered  Rem-pend Drain
-------------------------------------------------------------------------------
20.20.20.0/24      (L) 10       90%  1        0        0        0        N
                   (R) N/A           0        N/A      N/A      N/A      N
Totals for pool        10       90%  1        0        0        0        
-------------------------------------------------------------------------------
Totals for server      10       90%  1        0        0        0        
-------------------------------------------------------------------------------
Interface associations
Interface                        Admin
-------------------------------------------------------------------------------
l1                               Up
-------------------------------------------------------------------------------
Local Address Assignment associations
Group interface                  Admin
-------------------------------------------------------------------------------
===============================================================================
*A:vsim-2# 

servers

Syntax 
servers
servers all
Context 
show>router>dhcp
Description 

This command lists the local DHCP servers.

Parameters 
all—
Displays a complete list of local DHCP servers.
Output 

The following output is an example of local DHCP server information.

Sample Output
*A:ALA-49>show>router>dhcp# servers
=================================================================
Overview of DHCP Servers
=================================================================
Active Leases:      0                                            
Maximum Leases:     159744                                       
 
Router              Server                           Admin State 
-----------------------------------------------------------------
Router: Base        base_router_dhcp_server          outOfService
Service: 3          s1                               inService   
=================================================================
*A:ALA-49>show>router>dhcp#

statistics

Syntax 
statistics [interface ip-int-name]]
Context 
show>router>dhcp
show>service>id>dhcp
show>service>id>dhcp6
Description 

This command displays statistics for DHCP relay and DHCP snooping.

If no IP address or interface name is specified, then all configured interfaces are displayed.

If an IP address or interface name is specified, then only data regarding the specified interface is displayed.

Parameters 
ip-int-name | ip-address—
Displays statistics for the specified IP interface.
Output 

Show DHCP Statistics Output

Sample Output
*A:PE-5# show router dhcp statistics
====================================================================
DHCP Global Statistics (Router: Base)
====================================================================
Rx Packets                           : 0
Tx Packets                           : 0
Rx Malformed Packets                 : 0
Rx Untrusted Packets                 : 0
Client Packets Discarded             : 0
Client Packets Relayed               : 0
Client Packets Snooped               : 0
Client Packets Proxied (RADIUS)      : 0
Client Packets Proxied (Diameter)    : 0
Client Packets Proxied (User-Db)     : 0
Client Packets Proxied (Lease-Split) : 0
Server Packets Discarded             : 0
Server Packets Relayed               : 0
Server Packets Snooped               : 0
DHCP RELEASEs Spoofed                : 0
DHCP FORCERENEWs Spoofed             : 0
Client packets streamed              : 0
====================================================================

The following table describes the output fields for DHCP statistics.

Table 47:  DHCP Statistics Output Fields 

Label

Description  

Rx Packets

The number of packets received from the DHCP clients.

Tx Packets

The number of packets transmitted to the DHCP clients.

Rx Malformed Packets

The number of malformed packets received from the DHCP clients.

Rx Untrusted Packets

The number of untrusted packets received from the DHCP clients.

Client Packets Discarded

The number of packets received from the DHCP clients that were discarded.

Client Packets Relayed

The number of packets received from the DHCP clients that were forwarded.

Client Packets Snooped

The number of packets received from the DHCP clients that were snooped.

Server Packets Discarded

The number of packets received from the DHCP server that were discarded.

Server Packets Relayed

The number of packets received from the DHCP server that were forwarded.

Server Packets Snooped

The number of packets received from the DHCP server that were snooped.

statistics

Syntax 
statistics
Context 
show>router>dhcp6
Description 

This command displays statistics for DHCP relay and DHCP snooping.

If no IP address or interface name is specified, then all configured interfaces are displayed.

If an IP address or interface name is specified, then only data regarding the specified interface is displayed.

Output 

Show DHCP6 Statistics Output

The following shows an example of DHCP statistics.

Sample Output
*A:PE-5# show router dhcp6 statistics
===========================================================================
DHCP6 statistics (Router: Base)
===========================================================================
Msg-type                      Rx             Tx             Dropped
---------------------------------------------------------------------------
1 SOLICIT                     0              0              0
2 ADVERTISE                   0              0              0
3 REQUEST                     0              0              0
4 CONFIRM                     0              0              0
5 RENEW                       0              0              0
6 REBIND                      0              0              0
7 REPLY                       0              0              0
8 RELEASE                     0              0              0
9 DECLINE                     0              0              0
10 RECONFIGURE                0              0              0
11 INFO_REQUEST               0              0              0
12 RELAY_FORW                 0              0              0
13 RELAY_REPLY                0              0              0
14 LEASEQUERY                 0              0              0
15 LEASEQUERY_REPLY           0              0              0
---------------------------------------------------------------------------
Dhcp6 Drop Reason Counters :
---------------------------------------------------------------------------
1 Dhcp6 oper state is not Up on src itf                         0
2 Dhcp6 oper state is not Up on dst itf                         0
3 Relay Reply Msg on Client Itf                                 0
4 Hop Count Limit reached                                       0
5 Missing Relay Msg option, or illegal msg type                 0
6 Unable to determine destination client Itf                    0
7 Out of Memory                                                 0
8 No global Pfx on Client Itf                                   0
9 Unable to determine src Ip Addr                               0
10 No route to server                                            0
11 Subscr. Mgmt. Update failed                                   0
12 Received Relay Forw Message                                   0
13 Packet too small to contain valid dhcp6 msg                   0
14 Server cannot respond to this message                         0
15 No Server Id option in msg from server                        0
16 Missing or illegal Client Id option in client msg             0
17 Server Id option in client msg                                0
18 Server DUID in client msg does not match our own              0
19 Client sent message to unicast while not allowed              0
20 Client sent message with illegal src Ip address               0
21 Client message type not supported in pfx delegation           0
22 Nbr of addrs or pfxs exceeds allowed max (128) in msg         0
23 Unable to resolve client's mac address                        0
24 The Client was assigned an illegal address                    0
25 Illegal msg encoding                                          0
26 Client message not supported                                  0
27 IA options in info request                                    0
28 No IA option in client msg                                    0
29 No addresses in confirm msg                                   0
30 No relay servers configured                                   0
31 Blocked by host lockout                                       0
32 No link address available                                     0
33 Dropped by Python                                             0
34 Invalid server                                                0
35 Packet dropped on SRRP backup interface                       0
36 DHCP transaction not found                                    0
37 Could not determine retail interface                          0
38 Packet dropped by DHCP filter                                 0
39 Packet dropped because authentication failed                  0
40 Invalid forced source address                                 0
===========================================================================

summary

Syntax 
summary
Context 
show>router>dhcp
show>router>dhcp6
Description 

This command displays the status of the DHCP6 relay and DHCP snooping functions on each interface.

Output 

The following outputs display DHCP and DHCP6 summary information.

Sample Output
A:ALA-48>show>router>dhcp# summary
===================================================================
Interface Name                   Arp      Used/     Info    Admin
                                 Populate Provided  Option  State
-------------------------------------------------------------------
ccaiesif                         No       0/0       Keep    Down
ccanet6                          No       0/0       Keep    Down
iesBundle                        No       0/0       Keep    Up
spokeSDP-test                    No       0/0       Keep    Down
test                             No       0/0       Keep    Up
test1                            No       0/0       Keep    Up
test2                            No       0/0       Keep    Up
testA                            No       0/0       Keep    Up
testB                            No       0/0       Keep    Up
testIES                          No       0/0       Keep    Up
to-web                           No       0/0       Keep    Up
-------------------------------------------------------------------
Interfaces: 11
===================================================================
A:ALA-48>show>router>dhcp#
 
 
*A:vsim-2# show router 500 dhcp summary 
===============================================================================
DHCP Summary (Service: 500)
===============================================================================
Interface Name                   Arp      Leases Per Interface/ Info    Admin
  SapId/Sdp                      Populate Per Sap Limit         Option  State
-------------------------------------------------------------------------------
g1                               No       1/1                   Keep    Up
  sap:1/1/7                               1/1                           
l1                               No       0/0                   Keep    Down
-------------------------------------------------------------------------------
Interfaces: 2
===============================================================================
*A:vsim-2# 
Table 48:  DHCP Summary Output Fields 

Label

Description  

Interface Name

Name of the router interface.

ARP Populate

Indicates whether ARP populate is enabled.

Used/Provided

Indicates the number of used and provided DHCP leases.

Info Option

Indicates whether Option 82 processing is enabled on the interface.

Admin State

Indicates the administrative state.

Sample Output
*A:vsim-2# show router 500 dhcp6 summary 
===============================================================================
DHCP6 Summary (Service: 500)
===============================================================================
-------------------------------------------------------------------------------
Service Interfaces
-------------------------------------------------------------------------------
Interface Name                   Nbr      Used/Max Relay     Admin  Oper Relay
  SapId                          Resol.   Used/Max Server    Admin  Oper Server
-------------------------------------------------------------------------------
l1                               No          0/0             Down   Down
                                             0/8000          Down   Down
-------------------------------------------------------------------------------
Interfaces: 1
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routed CO Interfaces
-------------------------------------------------------------------------------
Interface Name                          Used                Admin (proxy/relay)
  SapId                                                     
-------------------------------------------------------------------------------
g1                                      1                   Down/Up
  sap:1/1/7                             1                   
-------------------------------------------------------------------------------
Interfaces: 1                           1                   
-------------------------------------------------------------------------------
===============================================================================
*A:vsim-2# 
 
*A:vsim-2# show router 500 dhcp6 local-dhcp-server "d6" summary 
===============================================================================
DHCP server d6  router 500
===============================================================================
Admin State            : inService
Operational State      : inService
Persistency State      : shutdown
Use Link Address       : enabled (scope subnet)
Use pool from client   : disabled
Creation Origin        : manual
Lease Hold Time        : 0h0m0s
Lease Hold Time For    : N/A
User-ident             : duid
Interface-id-mapping   : disabled
Ignore-rapid-commit    : disabled
Allow-lease-query      : disabled
Failover Admin State   : outOfService
Failover Oper State    : shutdown
Failover Persist Key   : N/A
Administrative MCLT    : 0h10m0s
Operational MCLT       : 0h10m0s
Startup wait time      : 0h2m0s
Partner down delay     : 23h59m59s
  Ignore MCLT          : disabled
                                      
-------------------------------------------------------------------------------
Pool name : v6-1
-------------------------------------------------------------------------------
Failover Admin State   : inService
Failover Oper State    : preNormal
Failover Persist Key   : N/A
Time Left              : 0h4m16s before state transition
Administrative MCLT    : 0h10m0s
Operational MCLT       : 0h10m0s
Startup wait time      : 0h2m0s
Partner down delay     : 23h59m59s
  Ignore MCLT          : disabled
-------------------------------------------------------------------------------
Prefix
                                     Stable   Declined Advert   Rem-pend Drain
-------------------------------------------------------------------------------
2001:dead:1::/56
                                (L)  1        0        0        0        N
2001:dead:2::/56
                                (R)  0        0        0        0        N
Totals for pool                      1        0        0        0        
-------------------------------------------------------------------------------
Totals for server                    1        0        0        0        
-------------------------------------------------------------------------------
Interface associations
Interface                        Admin
-------------------------------------------------------------------------------
l1                               Up
-------------------------------------------------------------------------------
Local Address Assignment associations
Group interface                  Admin
-------------------------------------------------------------------------------
===============================================================================
*A:vsim-2#
Table 49:  DHCP6 Summary Output Fields 

Label

Description  

Interface Name

Name of the router interface.

ARP Populate

Indicates whether ARP populate is enabled.

Used/Provided

Indicates the number of used and provided DHCP leases.

Info Option

Indicates whether Option 82 processing is enabled on the interface.

Admin State

Indicates the administrative state.

dhcp6

Syntax 
dhcp6
Context 
show>router
show>service>id
show>system
Description 

This command enables the context to display DHCP6 related information.

interface-id-mapping

Syntax 
interface-id-mapping
Context 
show>router>dhcp6>local-dhcp-server
Description 

This command displays the DHCP6 interface-id mappings.

Output 

The following output is an example of interface ID mapping information.

Sample Output
show router 600 dhcp6 local-dhcp-server "d6" interface-id-mapping 
===============================================================================
Interface-ID Mappings for DHCPv6 server d6
===============================================================================
Mapped Prefix      : 2001:AAAA::/64
Relay Interface ID : 1/1/10
LDRA Interface ID  : (Not Specified)
Active Leases      : 2001:AAAA::1 (stable)
===============================================================================
1 prefix found
===============================================================================
 

leases

Syntax 
leases [ipv6-address/prefix-length] [type] [state] [detail]
Context 
show>router>dhcp6>local-dhcp-server
Description 

This command displays the DHCP6 leases.

Parameters 
ipv6-address—
Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
mask—
The subnet mask in dotted decimal notation.
Values—
0 to 32

 

type—
Displays the lease type.
Values—
pd, wan-host

 

state—
Displays the state of the lease.
Values—
advertised, remove-pending, held

 

detail—
Displays detailed information of all leases that fall into the indicated subnet.

The command with no parameters will show all leases from the local-user-db.

Output 

The following output is an example of lease information.

Sample Output
show router 600 dhcp6 local-dhcp-server "d6" leases               
===============================================================================
Leases for DHCPv6 server d6
===============================================================================
IP Address/Prefix                          Lease State       Remaining   Fail
  Link-local Address                                         LifeTime    Ctrl
-------------------------------------------------------------------------------
2001:AAAA::1/128
  FE80::220:FCFF:FE1E:CD52                 stable            23h58m52s   local
-------------------------------------------------------------------------------
1 leases found
===============================================================================
 

pool-ext-stats

Syntax 
pool-ext-stats [pool-name]
Context 
show>router>dhcp6>server
Description 

This command displays extended statistics per DHCPv6 pool in local DHCPv6 server.

The following statistics are included in output:

  1. The number of stable leases in the pool
  2. The number of provisioned /64 address block in the pool
  3. The number of used /64 address block in the pool
  4. The number of free /64 address block in the pool
  5. The percentage of used address (with /64 address block)
  6. The percentage of free address (with /64 address block)

For each statistic (except for Provisioned Addresses), there is current value and peak value, peak value is the highest value since pool creation or last reset via command “clear router <rt-id> dhcp6 local-dhcp-server <svr-name> pool-ext-stats”.

Parameters 
pool-name—
Specifies the name of DHCPv6 local server pool.
Output 

The following output is an example of subnet statistics information.

Sample Output
show router 500 dhcp6 local-dhcp-server "d6" pool-ext-stats "pool-v6" 
===============================================================================
Extended pool statistics for server "d6"
===============================================================================
                           Current         Peak            TimeStamp
-------------------------------------------------------------------------------
Pool                       pool-v6
Local:
  Stable Leases            0               0               01/07/2013 19:54:52
  Provisioned Blks         4                               
  Used Blks                0               0               01/07/2013 19:54:52
  Free Blks                4               4               01/07/2013 19:54:52
  Used Pct                 0               0               01/07/2013 19:54:52
  Free Pct                 100             100             01/07/2013 19:54:52
Last Reset Time                                            01/07/2013 19:54:52
-------------------------------------------------------------------------------
Number of entries          1
===============================================================================
 

pool-stats

Syntax 
pool-stats [pool-name]
Context 
show>router>dhcp6>server
Description 

This command displays pool statistics.

Parameters 
pool-name—
Specifies the name of DHCPv6 local server pool.
Output 

The following output is an example of pool statistics information.

Sample Output
*A:vsim-2# show router 500 dhcp6 local-dhcp-server "d6" pool-stats 
===============================================================================
DHCPv6 server pool statistics
===============================================================================
Pool                          : v6-1
-------------------------------------------------------------------------------
Dropped Int no prefix WAN     : 0
Dropped Int no prefix SLAAC   : 0
===============================================================================
*A:vsim-2#  
*A:vsim-2# show router 500 dhcp local-dhcp-server "d4" failover-
failover-pool-stats     failover-server-stats
*A:vsim-2# show router 500 dhcp local-dhcp-server "d4" failover-pool-stats 
==================================================================
Failover config for pool         v4-1
==================================================================
Failover Admin State             inService
Failover Oper State              normal
Failover Persist Key             0xFFFFFFFF
Administrative MCLT              0h10m0s
Operational MCLT                 0h10m0s
Startup Wait Time                0h2m0s
Partner Down Delay               23h59m59s
  Ignore MCLT                    disabled
Failover statistics for pool     v4-1
------------------------------------------------------------------
Dropped Invalid Packets          0
Failover Shutdown                0
Lease Already Expired            0
Maximum Lease Count Reached      0
Subnet Not Found                 0
Range Not Found                  0
Host Conflict                    0
Address Conflict                 0
Peer Conflict                    0
Persistence Congestion           0    
No Lease Hold Time Configured    0
Lease Not Found                  0
------------------------------------------------------------------
Number of pools found            1
==================================================================
*A:vsim-2# 

pool-threshold-stats

Syntax 
pool-threshold-stats [pool-name] detail [format {exact | scientific}]
pool-threshold-stats [pool-name]
Context 
show>router>dhcp6>server
Description 

This commands displays pool level threshold stats of local DHCPv6 server. A minimum-free threshold needs to be configured before system collects threshold stats for the prefix.

The stats for each threshold are calculated based on the configured minimum-free prefix length.

For example, a /59 prefix is provision in the local DHCPv6 server, and the server allocated two PD leases, one /62 and one /63. And there is a /63 minimum threshold configured. So the threshold stats are calculated based on /63 as the base unit(block). So the value of “current used block” would be 3 because there is one /62 lease and one /63 lease, so it equals to total three /63.

Parameters 
pool-name—
Specifies the name of the pool in local DHCPv6 server.
detail—
Displays detailed output.
format—
Specifies the format in the display to be either exact or scientific.
Output 

The following output is an example of pool threshold statistics information.

Sample Output
show router 500 dhcp6 local-dhcp-server "d6" pool-threshold-stats "1" 
===============================================================================
Server "d6"
===============================================================================
  Operational state         : inService
-------------------------------------------------------------------------------
Pool                        : 1
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
  -----------------------------------------------------------------------------
  Threshold   Used   Peak   Too low   Depleted   Peak timestamp
  -----------------------------------------------------------------------------
  /62         25%    25%    N         N          01/21/2015 21:52:12
  /63         19%    19%    N         N          01/21/2015 21:52:12
 

The command shown above displays an overview of pool level thresholds in the specified pool:

  1. The Peak field indicates the peak value of used
  2. The Too low field indicate if the configured minimum-free threshold is exceed
  3. The Depleted field indicate if there is no available prefix with the length in the provisioned prefix
  4. The Peak timestamp field indicates the time of peak used value
 
show router 500 dhcp6 local-dhcp-server "d6" pool-threshold-stats "1" detail 
===============================================================================
Server "d6"
===============================================================================
  Operational state         : inService
-------------------------------------------------------------------------------
Pool                        : 1
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
  -----------------------------------------------------------------------------
  Threshold                 : /62
  -----------------------------------------------------------------------------
  Current Provisioned Blks  : 8.000000x10^0
  Current Used Blks         : 2.000000x10^0
  Current Free Blks         : 6.000000x10^0
  Current Used Percent      : 25%
  Current Used Peak Blks    : 2.000000x10^0
  Current Used Peak Percent : 25%
  Current Used Peak Time    : 01/21/2015 21:52:12
  Current Free Percent      : 75%
  Current Free Too Low      : N
  Current Free Depleted     : N
  Local Provisioned Blks    : 8.000000x10^0
  Local Used Blks           : 2.000000x10^0
  Local Free Blks           : 6.000000x10^0
  Local Used Peak Blks      : 2.000000x10^0
  Local Used Peak Percent   : 25%
  Local Used Peak Time      : 01/21/2015 21:52:12
  Remote Provisioned Blks   : 0.000000x10^0
  Remote Used Blks          : 0.000000x10^0
  Remote Free Blks          : 0.000000x10^0
  Remote Used Peak Blks     : 0.000000x10^0
  Remote Used Peak Percent  : 0%
  Remote Used Peak Time     : 01/21/2015 21:47:39
  Peak Reset Time           : 01/21/2015 21:47:39
  Valid Data                : Y
  -----------------------------------------------------------------------------
  Threshold                 : /63
  -----------------------------------------------------------------------------
  Current Provisioned Blks  : 1.600000x10^1
  Current Used Blks         : 3.000000x10^0
  Current Free Blks         : 1.300000x10^1
  Current Used Percent      : 19%
  Current Used Peak Blks    : 3.000000x10^0
  Current Used Peak Percent : 19%
  Current Used Peak Time    : 01/21/2015 21:52:12
  Current Free Percent      : 81%
  Current Free Too Low      : N
  Current Free Depleted     : N       
  Local Provisioned Blks    : 1.600000x10^1
  Local Used Blks           : 3.000000x10^0
  Local Free Blks           : 1.300000x10^1
  Local Used Peak Blks      : 3.000000x10^0
  Local Used Peak Percent   : 19%
  Local Used Peak Time      : 01/21/2015 21:52:12
  Remote Provisioned Blks   : 0.000000x10^0
  Remote Used Blks          : 0.000000x10^0
  Remote Free Blks          : 0.000000x10^0
  Remote Used Peak Blks     : 0.000000x10^0
  Remote Used Peak Percent  : 0%
  Remote Used Peak Time     : 01/21/2015 21:47:39
  Peak Reset Time           : 01/21/2015 21:47:39
  Valid Data                : Y
 

The above command displays detailed statistics of all pool level thresholds in the specified pool:

  1. Blks in the output means the minimum free prefix length.
  2. Valid Data output indicates whether the data you see is valid or not. The data is invalid when a background stats update is scheduled or busy.

prefix-ext-stats

Syntax 
prefix-ext-stats ipv6-address/prefix-length
prefix-ext-stats pool pool-name
Context 
show>router>dhcp6>server
Description 

This command displays extended statistics per DHCPv6 prefix in local DHCPv6 server.

The following statistics are included in output:

  1. The number of stable leases in the prefix
  2. The number of provisioned /64 address block in the prefix
  3. The number of used /64 address block in the prefix
  4. The number of free /64 address block in the prefix
  5. The percentage of used address (with /64 address block)
  6. The percentage of free address (with /64 address block)

For each statistic (except for Provisioned Addresses), there is current value and peak value, peak value is the highest value since prefix creation or last reset via command clear>router rt-id>dhcp6>local-dhcp-server svr-name>prefix-ext-stats.

When the pool parameter is used, the statistics of each prefix in the pool will be displayed.

Parameters 
ipv6-address/prefix-length—
Specifies the IPv6 prefix.
pool-name—
The name of DHCPv6 local server pool.
Output 

The following output is an example of prefix extended stats information.

Sample Output
show router 500 dhcp6 local-dhcp-server "d6" prefix-ext-stats 2001:ABCD::/62 
===============================================================================
Extended statistics for prefix 2001:ABCD::/62
===============================================================================
                           Current         Peak            TimeStamp
-------------------------------------------------------------------------------
Local:
  Failover Oper State      Active                          
  Stable Leases            0               0               01/07/2013 19:54:52
  Provisioned Blks         4                               
  Used Blks                0               0               01/07/2013 19:54:52
  Free Blks                4               4               01/07/2013 19:54:52
  Used Pct                 0               0               01/07/2013 19:54:52
  Free Pct                 100             100             01/07/2013 19:54:52
Last Reset Time                                            01/07/2013 19:54:52
-------------------------------------------------------------------------------
Number of entries          1
===============================================================================
 

prefix-stats

Syntax 
prefix-stats ipv6-address/prefix-length
prefix-stats pool pool-name
Context 
show>router>dhcp6>local-dhcp-server
Description 

This command displays prefix statistics.

Parameters 
ipv6-address—
Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
pool-name—
The name of DHCPv6 local server pool

prefix-threshold-stats

Syntax 
prefix-threshold-stats pool pool-name detail [format {exact|scientific}]
prefix-threshold-stats pool pool-name
prefix-threshold-stats ipv6-address/prefix-length detail [format {exact|scientific}]
prefix-threshold-stats ipv6-address/prefix-length
Context 
show>router>dhcp6>server
Description 

This commands displays prefix level threshold stats of local DHCPv6 server prefix. A minimum-free threshold needs to be configured before system collects threshold stats for the prefix.

The stats for each threshold are calculated based on the configured minimum-free prefix length.

For example, a /59 prefix is provision in the local DHCPv6 server, and the server allocated two PD leases, one /62 and one /63. And there is a /63 minimum threshold configured. So the threshold stats are calculated based on /63 as the base unit(block). So the value of “current used block” would be 3 because there is one /62 lease and one /63 lease, so it equals to total three /63.

Parameters 
pool pool-name
Specifies the name of the pool in local DHCPv6 server up to 32 characters in length.
detail—
Displays detailed output statistics.
format—
Specifies that the number format in the display will be either exact or scientific.
ipv6-address/prefix-length—
Specifies the IPv6 prefix with prefix length.
Values—

ipv6-address x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x [0 to FFFF]H

d [0 to 255]D

prefix-length [1 to 128]

 

Output 

The following output is an example of prefix threshold information.

Sample Output
show router 500 dhcp6 local-dhcp-server "d6" leases                          
===============================================================================
Leases for DHCPv6 server d6
===============================================================================
IP Address/Prefix                          Lease State       Remaining   Fail
  Link-local Address                                         LifeTime    Ctrl
-------------------------------------------------------------------------------
8888:0:0:ffe0::/62
  fe80::3:ffff:fe00:111                    stable            18h19m2s    local
8888:0:0:ffe4::/63
  fe80::3:ffff:fe00:211                    stable            19h49m37s   local
-------------------------------------------------------------------------------
2 leases found
===============================================================================
show router 500 dhcp6 local-dhcp-server "d6" prefix-threshold-stats pool "1" 
===============================================================================
Server "d6"
===============================================================================
  Operational state         : inService
-------------------------------------------------------------------------------
Pool                        : 1
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
-------------------------------------------------------------------------------
Prefix                      : 8888:0:0:ffe0::/59
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
  Draining                  : N
  -----------------------------------------------------------------------------
  Threshold   Used   Peak   Too low   Depleted   Peak timestamp
  -----------------------------------------------------------------------------
  /62         25%    25%    Y         N          01/20/2015 23:51:36
  /63         19%    19%    N         N          01/21/2015 05:00:53
===============================================================================

The command shown above displays an overview of prefix level thresholds in the specified pool:

  1. The Peak field indicates the peak value of used.
  2. The Too low field indicate if the configured minimum-free threshold is exceed.
  3. The Depleted field indicate if there is no available prefix with the length in the provisioned prefix.
  4. The Peak timestamp field indicates the time of peak used value.
 
show router 500 dhcp6 local-dhcp-server "d6" prefix-threshold-stats pool "1" detail 
===============================================================================
Server "d6"
===============================================================================
  Operational state         : inService
-------------------------------------------------------------------------------
Pool                        : 1
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
-------------------------------------------------------------------------------
Prefix                      : 8888:0:0:ffe0::/59
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
  Draining                  : N
  -----------------------------------------------------------------------------
  Threshold                 : /62
  -----------------------------------------------------------------------------
  Current Provisioned Blks  : 8.000000x10^0
  Current Used Blks         : 2.000000x10^0
  Current Free Blks         : 6.000000x10^0
  Current Used Percent      : 25%
  Current Used Peak Blks    : 2.000000x10^0
  Current Used Peak Percent : 25%     
  Current Used Peak Time    : 01/21/2015 21:59:02
  Current Free Percent      : 75%
  Current Free Too Low      : N
  Current Free Depleted     : N
  Local Provisioned Blks    : 8.000000x10^0
  Local Used Blks           : 2.000000x10^0
  Local Free Blks           : 6.000000x10^0
  Local Used Peak Blks      : 2.000000x10^0
  Local Used Peak Percent   : 25%
  Local Used Peak Time      : 01/21/2015 21:59:02
  Remote Provisioned Blks   : 0.000000x10^0
  Remote Used Blks          : 0.000000x10^0
  Remote Free Blks          : 0.000000x10^0
  Remote Used Peak Blks     : 0.000000x10^0
  Remote Used Peak Percent  : 0%
  Remote Used Peak Time     : 01/21/2015 21:59:02
  Peak Reset Time           : 01/21/2015 21:59:02
  Valid Data                : Y
  -----------------------------------------------------------------------------
  Threshold                 : /63
  -----------------------------------------------------------------------------
  Current Provisioned Blks  : 1.600000x10^1
  Current Used Blks         : 3.000000x10^0
  Current Free Blks         : 1.300000x10^1
  Current Used Percent      : 19%     
  Current Used Peak Blks    : 3.000000x10^0
  Current Used Peak Percent : 19%
  Current Used Peak Time    : 01/21/2015 21:59:13
  Current Free Percent      : 81%
  Current Free Too Low      : N
  Current Free Depleted     : N
  Local Provisioned Blks    : 1.600000x10^1
  Local Used Blks           : 3.000000x10^0
  Local Free Blks           : 1.300000x10^1
  Local Used Peak Blks      : 3.000000x10^0
  Local Used Peak Percent   : 19%
  Local Used Peak Time      : 01/21/2015 21:59:13
  Remote Provisioned Blks   : 0.000000x10^0
  Remote Used Blks          : 0.000000x10^0
  Remote Free Blks          : 0.000000x10^0
  Remote Used Peak Blks     : 0.000000x10^0
  Remote Used Peak Percent  : 0%
  Remote Used Peak Time     : 01/21/2015 21:59:13
  Peak Reset Time           : 01/21/2015 21:59:13
  Valid Data                : Y
 

The command shown above displays detailed statistics of all prefix level thresholds in the specified pool:

  1. Blks means the minimum free prefix length.
  2. Valid Data output indicates whether the data is or is not valid.The data is invalid when a background stats update is scheduled or busy.
 
show router 500 dhcp6 local-dhcp-server "d6" prefix-threshold-stats 8888:0:0:ffe0::/59 
===============================================================================
Server "d6"
===============================================================================
  Operational state         : inService
-------------------------------------------------------------------------------
Pool                        : 1
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
-------------------------------------------------------------------------------
Prefix                      : 8888:0:0:ffe0::/59
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
  Draining                  : N
  -----------------------------------------------------------------------------
  Threshold   Used   Peak   Too low   Depleted   Peak timestamp
  -----------------------------------------------------------------------------
  /62         25%    25%    N         N          01/21/2015 21:59:02
  /63         19%    19%    N         N          01/21/2015 21:59:13
 

The command shown above displays an overview of prefix level thresholds in the specified provision prefix.

show router 500 dhcp6 local-dhcp-server "d6" prefix-threshold-stats 8888:0:0:ffe0::/
59 detail 
===============================================================================
Server "d6"
===============================================================================
  Operational state         : inService
-------------------------------------------------------------------------------
Pool                        : 1
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
-------------------------------------------------------------------------------
Prefix                      : 8888:0:0:ffe0::/59
-------------------------------------------------------------------------------
  Stable leases             : 2
  Advertised leases         : 0
  Draining                  : N
  -----------------------------------------------------------------------------
  Threshold                 : /62
  -----------------------------------------------------------------------------
  Current Provisioned Blks  : 8.000000x10^0
  Current Used Blks         : 2.000000x10^0
  Current Free Blks         : 6.000000x10^0
  Current Used Percent      : 25%
  Current Used Peak Blks    : 2.000000x10^0
  Current Used Peak Percent : 25%     
  Current Used Peak Time    : 01/21/2015 21:59:02
  Current Free Percent      : 75%
  Current Free Too Low      : N
  Current Free Depleted     : N
  Local Provisioned Blks    : 8.000000x10^0
  Local Used Blks           : 2.000000x10^0
  Local Free Blks           : 6.000000x10^0
  Local Used Peak Blks      : 2.000000x10^0
  Local Used Peak Percent   : 25%
  Local Used Peak Time      : 01/21/2015 21:59:02
  Remote Provisioned Blks   : 0.000000x10^0
  Remote Used Blks          : 0.000000x10^0
  Remote Free Blks          : 0.000000x10^0
  Remote Used Peak Blks     : 0.000000x10^0
  Remote Used Peak Percent  : 0%
  Remote Used Peak Time     : 01/21/2015 21:59:02
  Peak Reset Time           : 01/21/2015 21:59:02
  Valid Data                : Y
  -----------------------------------------------------------------------------
  Threshold                 : /63
  -----------------------------------------------------------------------------
  Current Provisioned Blks  : 1.600000x10^1
  Current Used Blks         : 3.000000x10^0
  Current Free Blks         : 1.300000x10^1
  Current Used Percent      : 19%     
  Current Used Peak Blks    : 3.000000x10^0
  Current Used Peak Percent : 19%
  Current Used Peak Time    : 01/21/2015 21:59:13
  Current Free Percent      : 81%
  Current Free Too Low      : N
  Current Free Depleted     : N
  Local Provisioned Blks    : 1.600000x10^1
  Local Used Blks           : 3.000000x10^0
  Local Free Blks           : 1.300000x10^1
  Local Used Peak Blks      : 3.000000x10^0
  Local Used Peak Percent   : 19%
  Local Used Peak Time      : 01/21/2015 21:59:13
  Remote Provisioned Blks   : 0.000000x10^0
  Remote Used Blks          : 0.000000x10^0
  Remote Free Blks          : 0.000000x10^0
  Remote Used Peak Blks     : 0.000000x10^0
  Remote Used Peak Percent  : 0%
  Remote Used Peak Time     : 01/21/2015 21:59:13
  Peak Reset Time           : 01/21/2015 21:59:13
  Valid Data                : Y

The command displayed above displays detailed statistics of prefix level thresholds in the specified provision prefix.

 
 

lease-state

Syntax 
lease-state [detail] [wholesaler service-id] [session {none|ipoe|ppp}] [router-advertisement-policy policy-name]
lease-state [detail] interface interface-name [wholesaler service-id] [session {none|ipoe|ppp}] [router-advertisement-policy policy-name]
lease-state [detail] ipv6-address ipv6-prefix[/prefix-length] [wholesaler service-id] [session {none|ipoe|ppp}] [router-advertisement-policy policy-name]
lease-state [detail] mac ieee-address [wholesaler service-id] [session {none|ipoe|ppp}] [router-advertisement-policy policy-name]
Context 
show>service>id>dhcp6
Description 

This command displays DHCPv6 lease state information.

Note:

The wholesaler service-id parameter is applicable only in the VPRN context.

Parameters 
detail—
Displays detailed lease state information.
service-id
The service ID of the wholesaler. When specified in this context, SAP, SDP, interface, IP address and MAC parameters are ignored. This parameter only applies to the 7750 SR.
Values—
service-id: 1 to 2147483647

 

session—
Shows DHCPv6 lease states for clients that are associated with an IPoE session or for clients that are associated with a PPP session or for clients that are not associated with an IPoE session.
Values—
none, ipoe, ppp

 

policy-name—
Specifies the name of the router advertisement policy.
interface-name
Specifies the interface name up to 32 characters.
ipv6-address[/mask]
Shows information for the specified IPv6 address and mask.
ieee-address
Shows information for the specified 48-bit MAC address, expressed in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff, where aa, bb, cc, dd, ee and ff are hexadecimal numbers.

statistics

Syntax 
statistics [interface ip-int-name]
Context 
show>router>dhcp6
show>service>id>dhcp6
Description 

This command displays statistics for DHCP6 relay and snooping.

Parameters 
ip-int-name—
Specifies to display interface name information.
Output 

The following output is an example of DHCP6 statistics information.

Sample Output
A:ALA-A# show router 1000 dhcp statistics 
===================================================================
DHCP Global Statistics (Service: 1000)
===================================================================
Rx Packets                           : 16000                       
Tx Packets                           : 15041                       
Rx Malformed Packets                 : 0                           
Rx Untrusted Packets                 : 0                           
Client Packets Discarded             : 423                         
Client Packets Relayed               : 0                           
Client Packets Snooped               : 0                           
Client Packets Proxied (RADIUS)      : 0                           
Client Packets Proxied (Lease-Split) : 0                           
Server Packets Discarded             : 0                           
Server Packets Relayed               : 0                           
Server Packets Snooped               : 0                           
DHCP RELEASEs Spoofed                : 0                           
DHCP FORCERENEWs Spoofed             : 0                           
===================================================================
A:ALA-A# 

summary

Syntax 
summary [interface interface-name | saps]
Context 
show>service>id>dhcp
show>service>id>dhcp6
Description 

This command displays DHCP or DHCP6 configuration summary information.

Parameters 
interface-name
Displays summary information for the specified existing interface.
saps —
Displays summary information for SAPs per interface.
Output 

The following output is an example of a summary of DHCP information.

Sample Output
IES:
*A:ALA-48>show>service>id>dhcp# summary 
===========================================================
DHCP Summary, service 700
===========================================================
Sap/Sdp                Snoop  Used/       Info     Admin
                              Provided    Option   State
-----------------------------------------------------------
sap:1/1/9:0            No     0/0         Keep     Down
sap:1/1/25:0           No     0/0         Keep     Down
sdp:8:700              No     N/A         N/A      N/A
-----------------------------------------------------------
Number of Entries : 3
-----------------------------------------------------------
*A:ALA-48>show>service>id>dhcp#
 
 
VPLS:
*A:ALA-49>show>service# id 700 dhcp summary
=======================================================================
DHCP Summary, service 700
=======================================================================
Sap/Sdp                Snoop  Used/       Arp Reply   Info     Admin
                              Provided    Agent       Option   State
-----------------------------------------------------------------------
sap:1/1/9:0            No     0/0         No          Keep     Down
sdp:2:222              No     N/A         N/A         N/A      N/A
sdp:2:700              No     N/A         N/A         N/A      N/A
-----------------------------------------------------------------------
Number of Entries : 3
-----------------------------------------------------------------------
*A:ALA-49>show>service#
 

The following example is for the 7750 SR:

VPRN:
*A:ALA-49>show>service# id 1 dhcp summary
===============================================================================
DHCP Summary, service 1
===============================================================================
Interface Name                   Arp      Used/                 Info    Admin
  SapId/Sdp                      Populate Provided              Option  State
-------------------------------------------------------------------------------
SpokeSDP                         No       0/0                   Keep    Down
  sdp:spoke-3:4                           0/0
test                             No       0/0                   Keep    Down
  sap:9/1/4:50/5                          0/0
to-ce1                           No       0/0                   Keep    Up
  sap:1/1/10:1                            0/0
-------------------------------------------------------------------------------
Interfaces: 3
===============================================================================
*A:ALA-49>show>service#
 
*A:ALA-48# show service id 88 dhcp summary saps
===============================================================================
DHCP Summary, service 88
===============================================================================
Interface Name                   Arp      Used/                 Info    Admin
  SapId/Sdp                      Populate Provided              Option  State
-------------------------------------------------------------------------------
SpokeTerm                        No       0/0                   Keep    Up
  sdp:spoke-3:3                           0/0
new-if                           No       0/1                   Keep    Up
  sap:1/2/19:0                            0/1
test123                          No       0/0                   Keep    Up
  sap:3/2/4:50/5                          0/0
testabc                          No       0/0                   Keep    Up
  sap:1/2/20:0                            0/0
-------------------------------------------------------------------------------
Interfaces: 4
===============================================================================
*A:ALA-48#
 
 
*A:ALA-48# show service id 88 dhcp summary interface SpokeTerm
===============================================================================
DHCP Summary, service 88
===============================================================================
Interface Name                   Arp      Used/                 Info    Admin
  SapId/Sdp                      Populate Provided              Option  State
-------------------------------------------------------------------------------
SpokeTerm                        No       0/0                   Keep    Up
  sdp:spoke-3:3                           0/0
-------------------------------------------------------------------------------
Interfaces: 1
===============================================================================
*A:ALA-48#

virtual-subnet

Syntax 
virtual-subnet subscriber sub-ident
virtual-subnet [sap sap-id]
Context 
show>service>id
Description 

This command displays currently recorded default gateway and subnets for all virtual subnets enabled for DHCPv4 hosts in the specified service.

Parameters 
sub-ident
Displays information relating to the specified subscriber ID.
sap-id
Displays information relating to the specified SAP ID.
Output 

The following output is an example of virtual subnet information

Sample Output
show service id 500 virtual-subnet 
===============================================================================
Virtual subnets in service 500
===============================================================================
Subscriber                  : 00:20:fc:1e:cd:52|1/1/9:200
-------------------------------------------------------------------------------
Default router              : 192.168.100.254
Subnet                      : 192.168.100.0/24
SAP                         : 1/1/9:200
-------------------------------------------------------------------------------
No. of subnets: 1
===============================================================================

3.6.2.3. Tools Commands

tools

Syntax 
tools
Context 
<root>
Description 

This command enables the context to enable useful tools for debugging purposes.

Default 

none

Parameters 
dump—
Enables dump tools for the various protocols.
perform—
Enables tools to perform specific tasks.

subscriber-mgmt

Syntax 
subscriber-mgmt
Context 
tools
tools>perform
Description 

This command enables tools to control subscriber management.

remap-lease-state

Syntax 
remap-lease-state old-mac ieee-address mac ieee-address
remap-lease-state sap sap-id [mac ieee-address]
Context 
tools>perform>subscr-mgmt
Description 

This command allows the remapping of all existing hosts if network card on CMTS/WAC side is changed is required.

When this command is executed, the following restrictions apply

  1. When sap is taken, all leases associated with the SAP are re-written.
    1. For a SAP with a configured MAC in lease-populate command, this MAC will be taken.
    2. For a SAP without a configured MAC the MAC from tools command will be taken.
    3. For a SAP without a configured MAC and no MAC in tools command no action will be perform.
  2. When using the old-mac option, providing a new MAC ieee-address is mandatory.

This command is applicable only when dealing with DHCP lease states which were instantiated using l2header mode of DHCP operation.

Parameters 
old-mac ieee-address
Specifies the old MAC address to remap.
mac ieee-address
Specifies that the provisioned MAC address will be used in the anti-spoofing entries for this SAP when l2-header is enabled. The parameter may be changed mid-session. Existing sessions will not be re-programmed unless a tools perform command is issued for the lease.
sap-id
Specifies the physical port identifier portion of the SAP definition.

When configured, the SAP parameter will remap all MAC addresses of DHCP lease states on the specified SAP. When no optional MAC parameter is specified, the sap sap-id command remaps all MAC addresses of lease states towards the MAC address specified in the l2-header configuration.

perform

Syntax 
perform
Context 
tools
Description 

This command enables the context to enable tools to perform specific tasks.

Default 

none

edit-ppp-session

Syntax 
edit-ppp-session sap sap-id [user-name user-name] [mac mac-address] [session-id session-id] [ip ip-address] [subscriber sub-ident-string] [sub-profile-string sub-profile-string] [sla-profile-string sla-profile-string] [inter-dest-id intermediate-destination-id] [ancp-string ancp-string] [app-profile-string app-profile-string]
edit-ppp-session svc-id service-id [user-name user-name] [mac mac-address] [session-id session-id] [ip ip-address][subscriber sub-ident-string] [sub-profile-string sub-profile-string] [sla-profile-string sla-profile-string] [app-profile-string app-profile-string] [inter-dest-id intermediate-destination-id] [ancp-string ancp-string]
Context 
tools>perform>subscr-mgmt
Description 

This command modifies PPP session information.

Parameters 
sap-id
Specifies the physical port identifier portion of the SAP definition.
ip-address
Specifies the IP address.
sub-ident-string—
Specifies a subscriber identification profile.
sub-profile-string—
Specifies the subscriber profile string, up to 16 characters in length.
service-id—
Specifies service identification number that identifies the service in the domain.
intermediate-destination-id—
Specifies the intermediate destination identifier which is encoded in the identification strings.
ancp-string
Specifies the ASCII string of the DSLAM circuit ID name.
app-profile-string—
Specifies an application profile string.

eval-lease-state

Syntax 
eval-lease-state [svc-id service-id] [sap sap-id] [subscriber sub-ident-string] [ip ip-address] [mac mac-address]
Context 
tools>perform>subscr-mgmt
Description 

This command evaluates lease state.

Parameters 
sap-id
Specifies the physical port identifier portion of the SAP definition.
ip-address—
Specifies the a server’s IP address. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
sub-ident-string—
Specifies the subscriber ID string, up to 32 characters, maximum.
service-id—
Specifies an existing service ID.
Values—
1 to 2147483647

 

local-user-db

Syntax 
local-user-db local-user-db-name
Context 
tools>perform>subscr-mgmt
Description 

This command enables tools for controlling the local user database.

Parameters 
local-user-db-name —
Specifies the name of a local user database.

ipoe

Syntax 
ipoe
Context 
tools>perform>subscr-mgmt>loc-user-db
Description 

This command contains the tools used to control IPoE entries in the local user database.

ipoe

Syntax 
ipoe
Context 
tools>perform>subscr-mgmt>loc-user-db
Description 

This command contains the tools used for controlling IPoE entries in the local user database.

authentication

Syntax 
authentication user-name user-name password password] [circuit-id circuit-id] [circuit-id-hex circuit-id-hex] [mac ieee-address] [remote-id remote-id] [derived-id derived-id] [mac ieee-address] [remote-id-hex remote-id-hex] [sap-id sap-id] [service-name service-name]
Context 
tools>perform>subscr-mgmt>loc-user-db>ppp
Description 

This command authenticates PPP user name. As local user database PAP/CHAP authentication can only be used when the local user database is connected to the PPP node under the group interface, the user lookup will be performed with match-list username.

Parameters 
password
Specifies the password of this host up to 32 characters in length.
ieee-address
Specifies information about the MAC address of the PPP session.
remote-id—
Specifies that information that goes into the remote-id sub-option in the DHCP relay packet, up to 255 characters in length.
circuit-id circuit-id—
Specifies the circuit ID from the Option 82.
circuit-id-hex
Specifies the circuit ID in hexadecimal format from the Option 82.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

user-name
Specifies the PPP user name.
service-name
Specifies the service name.

host-lookup

Syntax 
host-lookup [mac ieee-address] [remote-id remote-id-ascii] [sap-id sap-id] [service-id service-id] [string vso-string] [system-id system-id] [option60 option-60-ascii] [circuit-id circuit-id-ascii] [circuit-id-hex circuit-id-hex] [option60-hex option60-hex] [remote-id-hex remote-id-hex] [derived-id derived-id] [ip-prefix ip-prefix/ip-prefix-length]
Context 
tools>perform>subscr-mgmt>loc-user-db>ipoe
Description 

This command performs a lookup in the local user database. This command looks up the host with the match-list configured in the local user database.

Parameters 
ieee-address
Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.
remote-id—
Specifies the information which goes into the remote-id sub-option in the DHCP relay packet, up to 255 characters in length.
sap-id—
Specifies a SAP identifier to be used.
service-id—
Specifies an existing subscriber service ID.
Values—
1 to 2147483647

 

vso-string—
Specifies a Vendor Specific Option (VSO) string.
system-id—
Specifies the system ID.
Values—
up to 255 characters maximum

 

hex-string
Specifies the content of option 60 for this lookup.
Values—
0x0 to 0xFFFFFFFF (maximum 64 hex nibbles)

 

circuit-id circuit-id—
Specifies the circuit ID from the Option 82.
circuit-id-hex
Specifies the circuit ID in hexadecimal format from the Option 82.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

sap-id—
Specifies a SAP ID, up to 255 characters maximum.
option-60-ascii
Specifies the Vendor-Identifying Vendor Option to match against. Option 60 is encoded as Type - Length - Value and must be formatted in ASCII.
option-60-hex
Specifies the Vendor-Identifying Vendor Option to match against. Option 60 is encoded as Type - Length - Value and must be formatted in HEX.

ppp

Syntax 
ppp
Context 
tools>perform>subscr-mgmt>loc-user-db
Description 

This command contains the tools used to control PPP entries in the local user database.

host-lookup

Syntax 
host-lookup [circuit-id circuit-id] [circuit-id-hex circuit-id-hex] [derived-id derived-id] [mac ieee-address] [remote-id remote-id] [remote-id-hex remote-id-hex] [sap-id sap-id] [service-name service-name] [user-name user-name]
Context 
tools>perform>subscr-mgmt>loc-user-db>ppp
Description 

This command performs a lookup in the local user database.

Parameters 
ieee-address
Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.
remote-id
Specifies the information that goes into the remote-id sub-option in the DHCP relay packet up to 255 characters in length.
user-name
Specifies a user name up to 128 characters in length.
service-name
Specifies a PPP service name up to 255 characters maximum.
circuit-id circuit-id—
Specifies the circuit ID from the Option 82.
circuit-id-hex
Specifies the circuit ID in hexadecimal format from the Option 82.
Values—
0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

 

derived-id derived-id
Specifies an ASCII string that uniquely identifies a host, and is derived by a Python script from packet content available during a DHCP transaction.

pool

Syntax 
pool pool-name
Context 
tools>perform>router>dhcp>server
Description 

This command performs local DHCP server IP address pool tasks.

Parameters 
pool-name—
Specifies the pool name.

create-sticky-lease

Syntax 
create-sticky-lease host-name [mac ieee-address] [circuit-id circuit-id] [client-id client-id] [requested-ip-address ip-address] [circuit-id-hex circuit-id-hex-string] [client-id-hex client-id-hex-string]
Context 
tools>perform>router>dhcp>server>pool
Description 

This command tries to create a lease-state in the specified local-dhcp-server pool with the supplied parameters. The hostname will uniquely identify this lease for subsequent operations. mac/circuit-id and client-id should also have a unique combination of values according to the configured user-ident variables.If the requested-ip-address is provided the server will try to create a lease with this address. If this address is not available in the pool, the command will fail.

Parameters 
host-name—
Specifies a string to identify the lease up to 32 characters in length. If not specified, it can be internally generated based on MAC@ or other key.
ieee-address
Specifies the MAC address in xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xx format.
circuit-id
Specifies the circuit-id string up to 255 characters in length.
client-id
Specifies the client-id string up to 255 characters in length.
ip-address
Specifies the IPv4 address in dotted notation a.b.c.d.

dhcp-rx-stats

Syntax 
dhcp-rx-stats [clear]
Context 
tools>dump
Description 

This command displays the DHCP received packet statistics.

Output 

The following output is an example of dhcp rx stats information.

Sample Output
*A:# tools dump dhcp-rx-stats 
===============================================================================
DHCP Received Packet Statistics
===============================================================================
     Type                  Received     Forwarded       Dropped  Dropped(ESM)
-------------------------------------------------------------------------------
IPv4 DISCOVER                    72            72             0             0
     OFFER                        2             2             0             0
     REQUEST                      4             4             0             0
     DECLINE                      0             0             0             0
     ACK                          1             1             0             0
     NAK                          0             0             0             0
     RELEASE                      0             0             0             0
     INFORM                       0             0             0             0
     FORCERENEW                   0             0             0             0
     LEASEQUERY                   0             0             0             0
     LEASEUNASSIGNED              0             0             0             0
     LEASEUNKNOWN                 0             0             0             0
     LEASEACTIVE                  0             0             0             0
     RENEW                        2             2             0             0
-------------------------------------------------------------------------------
IPv6 SOLICIT                      0             0             0             0
     ADVERTISE                    0             0             0             0
     REQUEST                      0             0             0             0
     CONFIRM                      0             0             0             0
     RENEW                        0             0             0             0
     REBIND                       0             0             0             0
     REPLY                        0             0             0             0
     RELEASE                      0             0             0             0
     DECLINE                      0             0             0             0
     RECONFIGURE                  0             0             0             0
     INFO_REQUEST                 0             0             0             0
     RELAY_FORW                   0             0             0             0
     RELAY_REPLY                  0             0             0             0
     LEASEQUERY                   0             0             0             0
     LEASEQUERY_REPLY             0             0             0             0
-------------------------------------------------------------------------------
     Total                       81            81             0             0
-------------------------------------------------------------------------------
Maximum queue length          : 0
Maximum outst pbufs total     : 1
Maximum outst pbufs to client : 1     
===============================================================================

3.6.2.4. Clear Commands

dhcp

Syntax 
dhcp
Context 
clear>router
Description 

This command enables the context to clear and reset DHCP entities.

lease-state

Syntax 
lease-state [no-dhcp-release]
lease-state [port port-id] [inter-dest-id intermediate-destination-id] [no-dhcp-release]
lease-state [port port-id] no-inter-dest-id [no-dhcp-release]
lease-state ip-address ip-address[/mask] [no-dhcp-release]
lease-state mac ieee-address no-dhcp-release
lease-state sap sap-id [no-dhcp-release]
lease-state sdp sdp-id:vc-id [no-dhcp-release]
Context 
clear>service>id>dhcp
Description 

This command clears DHCP lease state information.

Parameters 
no-dhcp-release—
Specifies that the node will clear the state without sending theDHCP release message.
port-id—
The DHCP lease state local specifies that the DHCP lease state is learned by either a SAP or SDP. When the value is SAP, the value indicates the SAP for which this entry contains information.
intermediate-destination-id—
Specifies the intermediate destination identifier which isencoded in the identification strings.
Values—
Up to 32 characters maximum

 

ip-address[/mask]—
Specifies the IPv6 address and mask
ieee-address—
Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MACand non-IEEE reserved MAC addresses.
sap-id—
Clears the specified lease state SAP information.
sdp-id—
The SDP ID to be cleared.
Values—
1 to 17407

 

vc-id—
The virtual circuit ID on the SDP ID to be cleared.
Values—
1 to 4294967295

 

local-dhcp-server

Syntax 
local-dhcp-server server-name
Context 
clear>router>dhcp
clear>router>dhcp6
Description 

This command clears DHCP server data.

Parameters 
server-name—
Clears data for the specified local DHCP server.

declined-addresses

Syntax 
declined-addresses ip-address[/mask]
declined-addresses pool pool-name
Context 
clear>router>dhcp>local-dhcp-server
Description 

This command clears declined DHCP addresses.

Parameters 
pool-name—
Specifies the declined pool name.
ip-address[/mask]—
Specifies the declined IP address and mask.

failover-pool-stats

Syntax 
failover-pool-stats [pool-name]
Context 
clear>router>dhcp>local-dhcp-server
clear>router>dhcp6>local-dhcp-server
Description 

This command clears failover pool statistics.

Parameters 
pool-name—
Specifies the pool name which is defined in the system.

leases

Syntax 
leases ip-address[/mask] [state]
leases all [state]
Context 
clear>router>dhcp>local-dhcp-server
clear>router>dhcp6>local-dhcp-server
Description 

This command clears DHCP leases.

Parameters 
ip-address[/mask]
Clears the specified IP address and mask.
state
Clears the state of the lease to be removed.
Values—
offered, stable, force-renew-pending, remove-pending, held, internal, internal-orphan, internal-held, sticky

 

pool-ext-stats

Syntax 
pool-ext-stats [pool-name]
Context 
clear>router>dhcp>local-dhcp-server
clear>router>dhcp6>local-dhcp-server
Description 

This command clears extended pool statistics.

Parameters 
pool-name—
Specifies the pool name.

server-stats

Syntax 
server-stats
Context 
clear>router>dhcp>local-dhcp-server
Description 

This command clears all server statistics.

sticky-leases

Syntax 
sticky-leaseshostname [hostname]
sticky-leases hostname-prefix [hostname-prefix]
Context 
clear>router>dhcp>local-dhcp-server
Description 

This command clears sticky leases.

Parameters 
hostname—
Specifies the name of the host for which an entry is cleared.
hostname-prefix—
A sub-string to specify all hostnames starting with that sub-string.

subnet-ext-stats

Syntax 
subnet-ext-stats ip-address[/mask]
subnet-ext-stats pool pool-name
Context 
clear>router>dhcp>local-dhcp-server
Description 

This command clears extended subnet statistics.

Parameters 
ip-address[/mask]
Clears the specified IP address and mask.
pool-name—
Clears statistics for the specified pool name.

statistics

Syntax 
statistics [ip-int-name | ip-address]
Context 
clear>router>dhcp
Description 

This command clears DHCP statistics.

Parameters 
ip-int-name—
Clears DHCP statistics for the specified interface name.
ip-address—
Clears DHCP statistics for the specified IP address.

dhcp6

Syntax 
dhcp6
Context 
clear>router
Description 

This command enables the context to clear and reset DHCP6 entities.

lease-state

Syntax 
lease-state all [no-dhcp-release]
lease-state ipv6-address ipv6-prefix[/prefix-length] [no-dhcp-release]
lease-state mac ieee-address [no-dhcp-release]
lease-state sap sap-id [no-dhcp-release]
Context 
clear>service>id>dhcp6
Description 

This command clears DHCP6 lease state information.

Parameters 
all—
Clears all lease-states.
no-dhcp-release—
Specifies that the node will clear the state without sending theDHCP release message.
ipv6-prefix[/prefix-length]—
Displays routes only matching the specified ip-address andlength and only applies to the 7750 SR and 7950 XRS.
Values—

ipv6

ipv6-prefix[/pref*:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x: [0 to FFFF]H

d: [0 to 255]D

prefix-length:

1 to 128

 

ieee-address
Clears DHCP6 MAC address lease state information. The 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.
sap-id—
Clears the specified lease state SAP information.

statistics

Syntax 
statistics[ip-int-name | ip-address]
Context 
clear>service>id>dhcp
Description 

This command clears DHCP statistics.

Parameters 
ip-int-name—
Clears DHCP statistics for the specified interface name.
ip-address—
Clears DHCP statistics for the specified IP address.

leases

Syntax 
leases [ipv6-address/prefix-length] [type] [state]
leases all [type] [state]
Context 
clear>router>dhcp6>server
Description 

This command removes the specified leases in the specified local DHCPv6 server.

Parameters 
ipv6-address/prefix-length—
Specifies the prefix of the leases to be removed.
type—
Specifies the type of the lease to be remove.
Values—
pd, slaac, wan-host

 

state—
Specifies the state of the lease to be removed.
Values—
advertised, remove-pending, held, internal, internal-orphan, internal-offered

 

all—
Removes all leases of specified type or state.

pool-threshold-stats

Syntax 
pool-threshold-stats [pool-name]
Context 
clear>router>dhcp6>server
Description 

This commands resets the peak stats in the pool level threshold stats in the specified pool. If the pool name is not specified, then the peak stats in all pools in the server will be reset.

Parameters 
pool-name—
Specifies the name of the local DHCPv6 server pool

prefix-ext-stats

Syntax 
prefix-ext-stats ipv6-address/prefix-length
prefix-ext-stats pool pool-name
Context 
clear>router>dhcp6>server
Description 

This command reset the begin time of peak values in output of the show router rt-id dhcp6 local-dhcp-server svr-name prefix-ext-stats command/

Parameters 
ipv6-address/prefix-length—
Specifies the IPv6 prefix.
pool-name—
Specifies the name of the local DHCPv6 server pool.

prefix-threshold-stats

Syntax 
prefix-threshold-stats ipv6-address/prefix-length
prefix-threshold-stats pool pool-name
Context 
clear>router>dhcp6>server
Description 

This commands resets the peak stats in the prefix level threshold stats in the specified provision prefix or pool.

Parameters 
pool-name —
Specifies the name of the pool in local DHCPv6 server.
ipv6-address/prefix-length—
Specifies the name of theIPv6 prefix with prefix length.

server-stats

Syntax 
server-stats
Context 
clear>router>dhcp6>server
Description 

This command reset all stats of the specified local DHCPv6 server.

statistics

Syntax 
statistics
Context 
clear>router>dhcp6
Description 

This command clears DHCP6 statistics.

3.6.2.5. Debug Commands

dhcp

Syntax 
[no] dhcp [interface ip-int-name]
[no] dhcp mac ieee-address
[no] dhcp sap sap-id
Context 
debug>router>ip
Description 

This command enables DHCP debugging.

The no form of the command disables debugging.

Parameters 
ip-int-name—
Specifies the name of the IP interface. Interface names can be from 1 to 32 alphanumeric characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
ieee-address—
Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MACand non-IEEE reserved MAC addresses.
sap-id—
Specifies the physical port identifier portion of the SAP definition.

detail-level

Syntax 
detail-level {low | medium | high}
no detail-level
Context 
debug>router>ip>dhcp
debug>router>ip>dhcp6
debug>router>local-dhcp-server
Description 

This command debugs the DHCP tracing detail level.

Parameters 
low—
Displays a low detail level for DHCP debugging.
medium—
Displays a medium detail level for DHCP debugging.
high—
Displays a high detail level for DHCP debugging.

local-dhcp-server

Syntax 
[no] local-dhcp-server server-name [lease-address ip-prefix[/prefix-length]]
[no] local-dhcp-server server-name [mac ieee-address]
[no] local-dhcp-server server-name [link-local-address ipv6z-address]
Context 
debug>router
Description 

This command enables, disables or configures debugging for a local DHCP server.

Parameters 
server-name—
Specifies an existing local DHCP server name.
ip-prefix[/prefix-length]
Specifies the IP prefix and prefix length of the subnet.
Values—
ip-prefix a.b.c.d (host bits must be 0)
length 0 to 32

 

ieee-address
Specifies that the provisioned MAC address for the local DHCP server.
ipv6z-address—

ipv6-address:

x:x:x:x:x:x:x:x [-interface]

x:x:x:x:x:x:d.d.d.d [-interface]

x: [0 to FFFF]H

d: [0 to 255]D

interface

32 chars max, mandatory for link local addresses

mode

Syntax 
mode {dropped-only | ingr-and-dropped | egr-ingr-and-dropped}
no mode
Context 
debug>router>ip>dhcp
debug>router>ip>dhcp6
debug>router>local-dhcp-server
Description 

This command debugs the DHCP tracing detail level.

Parameters 
dropped-only—
Only displays dropped packets.
ingr-and-dropped—
Only displays ingress packet and dropped packets.
egr-ingr-and-dropped—
Displays ingress, egress and dropped packets.

dhcp6

Syntax 
dhcp6 [ip-int-name]
no dhcp6
Context 
debug>router>ip
Description 

This command enables DHCP debugging

The no form of the command disables debugging.

Parameters 
ip-int-name—
Specifies the name of the IP interface. Interface names can be from 1 to 32 alphanumeric characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.