Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

dhcp-security (MX Series)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
dhcp-security {
    arp-inspection; 
    group group-name {
        interface interface-name {
            static-ip ip-address {
                mac mac-address;
            }
        }
        overrides {
            no-option82; 
            trusted; 
            untrusted;
        }
    }
    ip-source-guard; 
    no-dhcp-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; 
            use-interface-description (device | logical); 
            use-string string;
        }
        vendor-id {
            use-string string;
        }
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit bridge-domains bridge-domain-name forwarding-options dhcp-security]

Description

Configure port security features on the switching device. 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

Options

mac-address—Value (in hexadecimal format) of the address assigned to this device.

Required Privilege Level

system—To view this statement in the configuration.system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 14.1.

footer-navigation