Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show dhcp-security binding

    Syntax

    show dhcp-security binding<interface interface-name><ip-address ip-address><vlan vlan-name>

    Release Information

    Command introduced in Junos OS Release 13.2X50-D10 for EX Series switches.

    Description

    Display the DHCP snooping database information.

    Options

    interface interface-name
    —

    (Optional) Display the DHCP snooping database information for an interface.

    ip-address ip-address
    —

    (Optional) Display the DHCP snooping database information for an IP address.

    vlan vlan-name
    —

    (Optional) Display the DHCP snooping database information for a VLAN.

    Required Privilege Level

    view

    List of Sample Output

    show dhcp-security binding
    show dhcp-security binding interface
    show dhcp-security binding ip-address
    show dhcp-security binding vlan

    Output Fields

    Table 1 lists the output fields for the show dhcp-security binding command. Output fields are listed in the approximate order in which they appear.

    Table 1: show dhcp-security binding Output Fields

    Field Name

    Field Description

    Level of Output

    IP Address

    IP address of the network device; bound to the MAC address.

    All levels

    MAC address

    MAC address of the network device; bound to the IP address.

    All levels

    VLAN

    VLAN name of the network device whose MAC address is shown.

    All levels

    Expires

    The time, in seconds, remaining before the lease of the IP address to the MAC address expires.

    All levels

    State

    Specifies whether the IP address is:

    • BOUND: Leased to the MAC address for a limited period of time.
    • STATIC: Attached to a fixed MAC address.

    All levels

    Interface

    Interface address (port).

    All levels

    Sample Output

    show dhcp-security binding

    user@switch> show dhcp-security binding
    IP address        MAC address         Vlan     Expires State   Interface
    30.1.1.10         00:10:00:20:00:01   vlan20   0       STATIC  ge-0/0/4.0          
    30.1.1.18         00:10:94:00:00:34   vlan20   86287   BOUND   ge-0/0/6.0          
    30.1.1.15         00:10:94:00:00:55   vlan20   86265   BOUND   ge-0/0/4.0          
    30.1.1.16         00:10:94:00:00:56   vlan20   86265   BOUND   ge-0/0/4.0          
    30.1.1.19         00:10:94:00:00:5b   vlan20   86287   BOUND   ge-0/0/6.0          
    30.1.1.20         00:10:94:00:00:5c   vlan20   86287   BOUND   ge-0/0/6.0          
    30.1.1.21         00:10:94:00:00:5d   vlan20   86287   BOUND   ge-0/0/6.0          
    30.1.1.17         00:10:94:00:00:68   vlan20   86265   BOUND   ge-0/0/4.0          
    

    show dhcp-security binding interface

    user@switch> show dhcp-security binding interface ge-0/0/6
    IP address        MAC address         Vlan     Expires State   Interface
    30.1.1.18         00:10:94:00:00:34   vlan20   86282   BOUND   ge-0/0/6.0          
    30.1.1.19         00:10:94:00:00:5b   vlan20   86282   BOUND   ge-0/0/6.0          
    30.1.1.20         00:10:94:00:00:5c   vlan20   86282   BOUND   ge-0/0/6.0          
    30.1.1.21         00:10:94:00:00:5d   vlan20   86282   BOUND   ge-0/0/6.0          
    

    show dhcp-security binding ip-address

    user@switch>show dhcp-security binding ip-address

    IP address MAC address Vlan Expires State Interface 30.1.1.18 00:10:94:00:00:34 vlan20 86282 BOUND ge-0/0/6.0

    show dhcp-security binding vlan

    user@switch>show dhcp-security binding vlan vlan20

    IIP address MAC address Vlan Expires State Interface 30.1.1.18 00:10:94:00:00:34 vlan20 86282 BOUND ge-0/0/6.0

    Published: 2014-04-24