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

    dhcp-security

    Syntax

    dhcp-security {arp-inspection; group group-name {interface interface-name {static-ip ip-address {mac mac-address;}static-ipv6 ip-address {mac mac-address;}}overrides {no-option37no-option82; trusted; untrusted;}}ip-source-guard; ipv6-source-guard;nd-inspection;no-dhcp-snooping; no-dhcpv6-snooping; option-82 {circuit-id {prefix {host-name; logical-system-name; routing-instance-name;}use-interface-description (device | logical); use-vlan-id; }remote-id {host-name hostname; use-interface-description (device | logical); mac;use-string string;}vendor-id {use-string string;}}}

    Hierarchy Level

    [edit vlans vlan-name forwarding-options]

    Release Information

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

    Statement introduced in Junos OS Release 13.2 for the QFX series.

    Support for static-ipv6, nd-inspection, ipv6-source-guard, no-dhcpv6-snooping, and no-option-37 introduced in Junos OS Release 13.2X51-D20 for EX Series switches.

    Description

    Configure port security features on the switch. DHCP snooping is enabled automatically if you configure any of the following port security features within this hierarchy:

    • Dynamic ARP inspection (DAI)
    • IP source guard
    • DHCP option 82
    • Static IP

    For switches that support DHCPv6, both DHCP snooping and DHCPv6 snooping are enabled automatically if you configure any of the features listed above or any of the following IPv6 features:

    • IPv6 Neighbor Discovery inspection
    • IPv6 source guard
    • Static IPv6

    Note: On EX9200 switches, DHCP snooping, DAI, and IP source guard are not supported in an MC-LAG scenario.

    The remaining statements are explained separately.

    Required Privilege Level

    interface—To view this statement in the configuration.

    interface-control—To add this statement to the configuration.

    Published: 2014-07-24