The no form of this command places the entity into an administratively enabled state.
The description command associates a text string with a configuration context to help identify the content in the configuration file.
The no form of this command removes the string from the configuration.
peer ip-address tag
sync-tag-name
[no
] startup-wait-time
[min
minutes] [sec
seconds]
The no form of the command disables the sending of forcerenew messages.
The no form of the command disables the Rapid Commit Option.
[no
] interface-id-mapping
[days days][
hrs hours] [
min minutes] [
sec seconds]
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.
Use the lease-hold-time to enable or disable lease hold up on the server level.
[no
] internal-lease-ipsec
[no
] exclude-prefix
ipv6-prefix/prefix-length
The no form of the command disables lease query support.
[no
] ignore-mclt-on-takeover
This can be achieved by enabling the ignore-mclt-on-takeover flag and by configuring the
partner-down-delay to 0.
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.
peer ip-address tag
sync-tag
[no
] startup-wait-time
[min
minutes] [sec
seconds]
The no form of the command returns the value to the default.
The no form of the command returns the value to the default.
The no form of the command reverts to the default.
[no
] nak-non-matching-subnet
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 returns the value to the default.
[no
] retail-service
service-id
The no form of the removes the option from the configuration.
dns-server ipv6-address [ipv6-address...(up to 4 max)]
The no form of the command removes the name from the configuration.
The no form of the command removes the time from the configuration.
The no form of the command removes the time from the configuration.
lease-time [days
days] [hrs
hours] [min
minutes] [sec
seconds]
The no form of the command removes the lease time parameters from the configuration.
prefix ipv6-addr/prefix-len [failover
{local
| remote
}] [pd
] [wan-host
] [create
]
Values
|
local — 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 will be assigned from it only after the maximum-client-lead-time + partner-down-delay time elapses.
|
[no
] minimum-free prefix-length
[1..128]
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.
[no
] minimum-free prefix-length
[1..128]
Configuration of this command also enables the system stats collection for configure prefix length, which can be displayed with the
show router <
router-id>
dhcp6 local-dhcp-server "d6" prefix-threshold-stats command.
prefix 2001:0:0:ffe0::/50 pd wan-host create
thresholds
minimum-free prefix-length 64
depleted-event
minimum [percent
[0..100]] [number
[0..4294967295]]
prefix 2001:0:0:ffe0::/50 pd wan-host create
thresholds
minimum-free prefix-length 64
minimum number 3
option option-number address
[ip-address...(up to 4 max)]
option option-number hex
hex-string
option option-number string
ascii-string
The no form of the removes the option from the configuration.
option option-number address
ipv6-address [ipv6-address...(upto 4 max)]
option option-number hex
hex-string
option option-number string
ascii-string
option 23 2001:db8::1 2001:db8::2.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| option-code | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| option-data |
| (option-len octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_IA_NA | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IAID (4 octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| T1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| T2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
. IA_NA-options .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option option-number address
ipv4-address [ipv4-address...(upto 4 max)]
option option-number hex
hex-string
option option-number string
ascii-string
option 3 192.168.1.254
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 [failover
{local
| remote
}]
The no form of the command means the subnet is active and new leases can be assigned from it.
[no
] exclude-addresses
start-ip-address [end-ip-address]
The no form of the command removes the address(es) from the configuration.
The no form of the command removes the address from the configuration.
subnet-binding key [sys-id-svc-id
| sys-id
| string
] unbind-delay
[hrs
hours] [min
mins] [sec
secs]
The command enables the pool to bind three selectable parameters, sys-id-svc-id,
sys-id, or a
string to a subnet. These parameters are retrieved from DHCP relay Option 82 vendor specific option (VSO). The intent of this feature is to allow multiple BNG to share a DHCP pool. When a subnet is bound to a VSO, only DHCP discoveries with matching VSO are allowed to allocate additional DHCP addresses. For example, if
sys-id is the chosen VSO, a DHCP discovery will bind the
sys-id to a subnet. Only DHCP discoveries with matching
sys-id are allowed to allocate additional addresses from the same subnet. If a DHCP discovery fails to match any bindings, and if a new subnet is still available, it will first bind the VSO to the new subnet and offer the subscriber an IP address.
Values
|
subnet — Addresses are only handed out for the subnet where the gi-address is part of pool — All subnets part of the pool which contain subnet where the gi-address is part of can hand out addresses.
|
Values
|
duid — Specifies the IPv4 DHCP unique identifier from DHCPv4. interface-id — Specifies the IPv4 interface-id option. interface-id-link-local — Specifies the interface-id and link-local address.
|
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.
|
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.
|
The no form of the command resets the default client application (dhcp).
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.
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.
•
|
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.
|
The no form of the command disables dynamic host lease state management for the MSAP.
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 no form of this command returns the system to the default.
action {replace
| drop
| keep
}
The no form of this command returns the system to the default value.
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 returns the system to the default.
circuit-id [ascii-tuple
| ifindex
| sap-id
| vlan-ascii-tuple
]
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 returns the system to the default.
If disabled, the remote-id sub-option of the DHCP packet will be left empty.
The no form of this command returns the system to the default.
[no
] vendor-specific-option
The no form of the command disables the sending of the MAC address in the Alcatel-Lucent vendor specific sub-option of the DHCP relay packet.
The no form of the command disables the sending.
The no form of the command disables the sending of the SAP ID in the Alcatel-Lucent vendor specific sub-option of the DHCP relay packet.
The no form of the command disables the sending of the service ID in the Alcatel-Lucent vendor specific sub-option of the DHCP relay packet.
The no form of the command returns the default value.
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".
The typical subscriber host information for DHCP IA-PD modeled as a route is removed from the operational show commands related to the subscriber host state (for example, show service active-susbscribers or
show service id <
svc-id>
subscriber-hosts). However, 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..
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.
|
[no
] enable-ingress-stats
The no form of the command reverts to the default value.
[days days][
hrs hours] [
min minutes] [
sec seconds]
The no form of the command reverts to the default value.
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.
lease-time [days
days] [hrs
hours] [min
minutes] [sec
seconds] [override
]
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.
Supported only in the config>service>vpls>sap>dhcp>proxy-server context, specifies that the local-proxy-server will use the configured lease-time information to provide DHCP clients.
Use the no form of the command to disable DHCP snooping on the specified SAP or SDP binding.
The no form of the command reverts to the default.
The no form of the command disables the sending of interface ID options in the DHCPv6 relay packet
The no form of the command disables the sending of remote ID option in the DHCPv6 relay packet.
The no form of the command disables the relaying of plain BOOTP packets.
server ipv6z-address [ipv6z-address...(up to 8 max)]
server server1 [server2...(up to 8 max)]
The no form of the command disables the relaying of plain BOOTP packets.
The no form of the command disables the use of ARP to determine the destination heardware address
The no form of this command disables the relay.
action {replace
| drop
| keep
}
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.
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.
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 this command returns the system to the default.
[no
] vendor-specific-option
The no form of the command disables the sending of the MAC address in the Alcatel-Lucent vendor specific suboption of the DHCP relay packet.
The no form of the command disables the sending of the SAP ID in the Alcatel-Lucent vendor specific suboption of the DHCP relay packet.
The no form of the command disables the sending of the service ID in the Alcatel-Lucent vendor specific suboption of the DHCP relay packet.
The no form of the command returns the default value.
The no form of this command reverts to the default setting. The local proxy server will not become operational without a specified emulated server address.
lease-time [days
days] [hrs
hours] [min
minutes] [sec
seconds] [override
]
server server1 [server2...(up to 8 max)]
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 disables the DHCP6 server.
The no form of the command returns the value to the default.
The no form of the command disables prefix-delegation.
[no
] prefix
ipv6-address/prefix-length
[no
] mac
ieee-mac-address
The no form of this command returns the MAC address of the IP interface to the default value.
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.
[no
] proxy-arp
policy-name [policy-name...(up to 5 max)]
[no
] subscriber-interface
ip-int-name
Use the no form of the command to remove the subscriber interface.
[no
] group-interface
ip-int-name
The no form of this command removes the policy name from the group interface configuration.
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.
|
mask type dhcp-match-type {[prefix-string
prefix-string | prefix-length
prefix-length] [suffix-string
suffix-string | suffix-length
suffix-length]}
[no
] access-loop-encapsulation
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
|
acct-policy acct-policy-name [duplicate
acct-policy-name]
address pool pool-name [secondary-pool
sec-pool-name] [delimiter
delimiter]
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 removes the DHCP server IP address from the configuration.
The no form of the command removes the values from the configuration.
Values
|
start-tag dot1q qtag1 qinq ( qtag1.qtag2 | qtag1.* | *.qtag2) atm (vpi/vci | vpi/* | */vci) qtag1 [0..4094] qtag2 [0..4094] vpi [0..4095] (NNI) [0..255] (UNI) vci [1..65535]
|
Values
|
end-tag dot1q qtag1 qinq ( qtag1.qtag2 | qtag1.* | *.qtag2) atm (vpi/vci | vpi/* | */vci) qtag1 [0..4094] qtag2 [0..4094] vpi [0..4095] (NNI) [0..255] (UNI) vci [1..65535]
|
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 this command returns the system to the default.
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>subscriber-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. Note, 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.
This command specifies the category map name.
The no form of the command removes the IPv6 address from the host configuration.
The no form of the command removes the pool name from the configuration.
The no form of the command removes the static IPv6 SLAAC prefix (PIO) for the host from the configuration.
The no form of the command removes the IPv6 prefix and length of this host from the configuration.
The no form of the command removes the pool name from the configuration.
match {circuit-id
|mac
|remote-id
}
server [service
service-id] name
server-name]
[days
days][hrs
hours] [min
minutes] [sec
seconds]
days days][hrs
hours] [min
minutes] [sec
seconds]
days days][hrs
hours] [min
minutes] [sec
seconds]
days days][
hrs hours] [
min minutes] [
sec seconds]
group tunnel-group-name [service-id
service-id]
mask type ppp-match-type {[prefix-string
prefix-string | prefix-length
prefix-length] [suffix-string
suffix-string | suffix-length
suffix-length]}
mask type dhcp-match-type {[prefix-string
prefix-string | prefix-length
prefix-length] [suffix-string
suffix-string | suffix-length
suffix-length]}
match-list match-type-1 [match-type-2...(up to 4 max)]
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 4 can be specified.
Values
|
circuit-id, derived-id, dual-stack-remote-id, encap-tag-range, 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 that the format of remote-id in IPv6 is different that the format of remote-id in IPv6; 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 7x50. 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.
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 7x50. 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 7x50. 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 thesystem-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 7x50. 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 Pyton 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 {ignore
| chap
string |pap
string} [hash|hash2
]
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.
The no form of the command removes the service ID from the configuration.
The configured DHCP6 server IP address must reference one of the v6 addressees configured under the configure>service>vprn>sub-if>grp-if>ipv6>dhcpv6>relay or
configure>service>ies>sub-if>grp-if>ipv6>dhcpv6>relay context.
The no form of this command disables sending endpoint option in LCP negotiation.
The no form of this command set the per session load balancing.
The no form of this command limits the number of links in the bundle to 1.
The no form of this command also sets the time-out to 1000ms.
{{100 |
1000}
milliseconds}
[no
] short-sequence-numbers
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]
This command displays DHCP lease state information. Note that the
wholesaler service-id parameter is applicable only in the VPRN context.
Shows information for the specified IP address and mask.
*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#
lease-state [detail
] [wholesaler
service-id] [session
{none
|ipoe
|ppp
}]|
lease-state [detail
] interface
interface-name [wholesaler
service-id] [session
{none
|ipoe
|ppp
}]
lease-state [detail
] ipv6-address ipv6-prefix[/prefix-length] [wholesaler
service-id] [session
{none
|ipoe
|ppp
}]
lease-state [detail
] mac
ieee-address [wholesaler
service-id] [session
{none
|ipoe
|ppp
}]
This command displays DHCP6 lease state information. Note that the
wholesaler service-id parameter is applicable only in the VPRN context.
v6Shows information for the specified IPv6 address and mask.
A:PE-1# show system dhcp6
===============================================================================
DHCP6 system
===============================================================================
Global NoAddrsAvail status : esm-relay server
===============================================================================
lease-state [detail
] ipv6-address
ipv6-prefix[/prefix-length]
*A:Dut-C# show service id 202 dhcp6 lease-state
===============================================================================
DHCP lease state table, service 202
===============================================================================
IP Address Mac Address Sap/Sdp Id Remaining Lease MC
LifeTime Origin Stdby
-------------------------------------------------------------------------------
1::/120
1/1/6 30d33h12m DHCP
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
*A:Dut-C#
*A:Dut-C# show service id 202 dhcp6 lease-state detail
===============================================================================
DHCP lease states for service 202
===============================================================================
Service ID : 202
IP Address : 1::/120
Mac Address :
Interface : ip-11.3.202.3
SAP : 1/1/6
Remaining Lifetime : 30d33h12m
Persistence Key : N/A
Sub-Ident : ""
Sub-Profile-String : ""
SLA-Profile-String : ""
Lease ANCP-String : ""
Dhcp6 ClientId (DUID): 0101
Dhcp6 IAID : 1
Dhcp6 IAID Type : prefix
Dhcp6 Client Ip : FE80::200:FF:FE00:202
ServerLeaseStart : 09/01/2002 04:27:00
ServerLastRenew : 09/01/2002 04:27:00
ServerLeaseEnd : 10/01/2002 04:27:00
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
*A:Dut-C#
statistics [sap
sap-id] | [sdp
[sdp-id[:vc-id]] | interface
ip-int-name]]
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#
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#
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
===============================================================================
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#
*A:Dut-C# show router dhcp6 summary
===============================================================================
DHCP6 Summary (Router: Base)
===============================================================================
Interface Name Nbr Used/Max Relay Admin Oper Relay
SapId Resol. Used/Max Server Admin Oper Server
-------------------------------------------------------------------------------
ip-1.1.1.10 No 0/0 Down Down
sap:1/1/5 0/8000 Down Down
ip-11.3.202.3 No 0/0 Down Down
sap:1/1/6 1/8000 Up Up
-------------------------------------------------------------------------------
Interfaces: 2
===============================================================================
*A:Dut-C#
*A:ALA-48>show>router>dhcp>local-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>local-dhcp-server#
*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#
*A:ALA-48>show>router>dhcp>local-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>local-dhcp-server#
*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#
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 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
]
*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#
leases [ipv6-address/prefix-length] [type] [state] [detail
]
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
===============================================================================
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
===============================================================================
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
===============================================================================
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
===============================================================================
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 Peak field indicates the peak value of used
|
•
|
The Too low field indicate if the configured minimum-free threshold is exceed
|
•
|
The Depleted field indicate if there is no available prefix with the length in the provisioned prefix
|
•
|
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
•
|
Blks in the output means the minimum free prefix length.
|
•
|
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.
|
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 Peak field indicates the peak value of used.
|
•
|
The Too low field indicate if the configured minimum-free threshold is exceed.
|
•
|
The Depleted field indicate if there is no available prefix with the length in the provisioned prefix.
|
•
|
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
•
|
Blks means the minimum free prefix length.
|
•
|
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
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
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
===============================================================================
*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#
*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#
*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: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#
*A:ALA-48>show>router>dhcp>local-dhcp-server>statistics# servers
==============================================================================
Statistics for DHCP Server test 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 Nack Packets : 0
Tx Forcerenew Packets : 0
Client ignored offers : 0
Dropped Bad Packet : 0
Dropped Invalid Type : 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 Generic Error : 0
==============================================================================
*A:ALA-48>show>router>dhcp>local-dhcp-server>statistics#
*A:ALA-48>show>router>dhcp>local-dhcp-server>statistics# subnet pool test
===============================================================================
Statistics for pool test
===============================================================================
Subnet Free Offered Stable
FRPending RemPending Declined
-------------------------------------------------------------------------------
1.0.0.0/24 0 0 0
0 0 0
-------------------------------------------------------------------------------
No. of entries: 1
===============================================================================
*A:ALA-48>show>router>dhcp>local-dhcp-server>statistics#
lease-state [[sap
sap-id] | [sdp
dp-id:vc-id ] | [interface
interface-name] | [ip-address
ip-address[/mask]>] | [mac
ieee-address]] [detail
]
*A:SUB-Dut-A# show router dhcp servers
=================================================================
Overview of DHCP Servers
=================================================================
Active Leases: 0
Maximum Leases: 159744
Router Server Admin State
-----------------------------------------------------------------
Router: Base dhcpS1 inService
Router: Base dhcpS10 inService
Router: Base dhcpS100 inService
Router: Base dhcpS101 inService
Router: Base dhcpS102 inService
Router: Base dhcpS103 inService
Router: Base dhcpS104 inService
Router: Base dhcpS105 inService
Router: Base dhcpS106 inService
Router: Base dhcpS107 inService
Router: Base dhcpS108 inService
Router: Base dhcpS109 inService
Router: Base dhcpS11 inService
Router: Base dhcpS110 inService
Router: Base dhcpS111 inService
Router: Base dhcpS112 inService
Router: Base dhcpS113 inService
Router: Base dhcpS114 inService
Router: Base dhcpS115 inService
Router: Base dhcpS116 inService
Router: Base dhcpS117 inService
Router: Base dhcpS118 inService
Router: Base dhcpS119 inService
...
Service: 1022 dhcpS1022 inService
Service: 1023 dhcpS1023 inService
Service: 1024 dhcpS1024 inService
=================================================================
*A:SUB-Dut-A#
*A:SUB-Dut-A#
=================================================================
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:Dut-C# show service id 202 dhcp6 statistics
===================================================================
DHCP Statistics, service 202, all interfaces
===================================================================
Packets received : 1
Packets transmitted : 1
Packets dropped : 0
===================================================================
*A:Dut-C#
*A:Dut-C# show router dhcp6 summary
===============================================================================
DHCP6 Summary (Router: Base)
===============================================================================
Interface Name Nbr Used/Max Relay Admin Oper Relay
SapId Resol. Used/Max Server Admin Oper Server
-------------------------------------------------------------------------------
ip-1.1.1.10 No 0/0 Down Down
sap:1/1/5 0/8000 Down Down
ip-11.3.202.3 No 0/0 Down Down
sap:1/1/6 1/8000 Up Up
-------------------------------------------------------------------------------
Interfaces: 2
===============================================================================
*A:Dut-C#
•
|
When sap is taken, all leases associated with the SAP are re-written.
|
•
|
When using the old-mac option, providing a new MAC ieee-address is mandatory.
|
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
]
Clears the DHCP IP address lease state information. The ip-address portion of the
address command specifies the IP host address that will be used by the IP interface within 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).
leases ip-address[/mask] [offered
]
lease-state [ip-address
ipv6-address/prefix-length] [mac
ieee-address]
Clears the DHCP6 IP address lease state information. The ipv6-address portion of the
address command specifies the IP host address that will be used by the IP interface within the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IPv6 addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
statistics [sap
sap-id | sdp
[sdp-id[:vc-id] | interface
ip-int-name | ip-address]
leases [ipv6-address/prefix-length] [type] [state]
This command reset the begin time of peak values in output of the show router rt-id dhcp6 local-dhcp-server svr-name pool-ext-stats command.
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/
This command enables DHCP debugging.
The no form of the command disables debugging.
The no form of the command disables debugging
[no
] local-dhcp-server
server-name [lease-address
ip-address]
[no
] local-dhcp-server
server-name [mac
ieee-address]
mode {dropped-only
| ingr-and-dropped
| egr-ingr-and-dropped
}
[no
] portal
wpp-portal-name
edit-ppp-session sap
sap-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 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]
eval-lease-state [svc-id
service-id] [sap
sap-id] [subscriber
sub-ident-string] [ip
ip-address]
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]
authentication password password [mac
ieee-address] [remote-id
remote-id] [circuit-id
circuit-id] user-name
user-name [service-name
service-name]
authentication password password [mac
ieee-address] [remote-id
remote-id] [circuit-id-hex
circuit-id-hex] user-name
user-name [service-name
service-name]
host-lookup [mac
ieee-address] [remote-id
remote-id] [user-name
user-name] [service-name
service-name] [circuit-id
circuit-id | circuit-id-hex
circuit-id-hex]