The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco SCE-Sniffer DHCP Login Event Generator (LEG) command-line utility (CLU).
The p3dhcpsniff utility displays the SCE-Sniffer DHCP LEG configuration, status, and statistics. The command format is p3dhcpsniff <operation>.
Table 16-1 lists the p3dhcpsniff operations.
Table 16-2 lists the p3dhcpsniff options.
|
|
---|---|
--policy=POLICY_NAME
|
Specifies the name of the policy. |
--detail |
Used with the --show-policy operation to display the policy mapping table. |
•Viewing the SCE-Sniffer DHCP LEG Status
•Viewing the SCE-Sniffer DHCP LEG Statistics
•Viewing the SCE-Sniffer DHCP LEG Version
•Viewing the SCE-Sniffer DHCP LEG Policy Status
The following is an example using the p3dhcpsniff CLU with the show operation:
>p3dhcpsniff --show SCE-Sniffer DHCP LEG: ===================== Active: true DHCP message types: DHCPACK DHCPRELEASE DHCP options with package information: type = 43, subtype = 102 type = 43, subtype = 101 Subscriber ID: Option: 82:2 Format: binary Fallback: none Command terminated successfully >
The following is an example of using the p3dhcpsniff CLU with the show-statistics operation:
>p3dhcpsniff --show-statistics SCE-Sniffer DHCP LEG statistics =============================== Received DHCP RDRs: 12 RDRS for DHCP initial login or lease renewal: 12 RDRs for DHCP release: 0 Invalid DHCP RDRs: 0 Number of DHCP RDRs without subscriber Id: 0 Failed logins: 0 Failed logouts: 0 Command terminated successfully >
The following is an example of using the p3dhcpsniff CLU with the show-version operation:
>p3dhcpsniff --show-version SCE-Sniffer DHCP LEG 3.5.0 Build 490 >
The following is an example of using the p3dhcpsniff CLU with the show-policy operation:
>p3dhcpsniff --show-policy --policy=upVlinkId --detail Policy Name: upVlinkId ======================= separator:_ use default: false default value: 0 allow no package: true concat option:giaddr, concat option:82:1, concat option type: integer, binary log success: true log default success: false Number of mappings: 2 1.1.1.1_00020001=4 1.1.1.1_80020001=4 >