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

interface (Access Port Security)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
interface (all |  interface-name) {
    allowed-mac {
        mac-address-list;
    }
    (dhcp-trusted | no-dhcp-trusted);
    fcoe-trusted;
    mac-limit limit action (drop | log | none | shutdown);
    no-allowed-mac-log;
    persistent-learning;
    static-ip  ip-address {
        vlan  vlan-name;
        mac mac-address; 
    }
    static-ipv6 ip-address {
        vlan  vlan-name;
        mac mac-address; 
    }
    }
    vlan vlan-name {
        mac-limit limit action (drop | log | none | shutdown);
    }
}

Hierarchy Level

content_copy zoom_out_map

Description

Apply port security features to all interfaces or to the specified interface.

Options

all—Apply port security features to all interfaces.

interface-name—Apply port security features to the specified interface.

The remaining statements are explained separately. See CLI Explorer.

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 9.0.

Support for the ipv6-source-guard statement introduced in Junos OS Release 14.1X53-D10 for EX Series switches.

footer-navigation