interface (Access Port Security)
Syntax
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
[edit ethernet-switching-options secure-access-port]
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.