
Configuration Guide
Port Security Commands
9.7 switchport port-security interface mac-address
Use this command to configure the static secure address.
Use the
no
form of this command to remove the configuration.
switchport port-security interface
interface-id
mac-address
mac-address
[
vlan
vlan-id
]
no switchport port-security interface
interface-id
mac-address
mac-address
[
vlan
vlan-id
]
Parameter
Description
Parameter
Description
interface-id
Interface ID
mac-address
Static secure address
vlan-id
VLAN ID of the MAC address
The configuration of vlan-id is only supported on the TRUNK
port.
Defaults
N/A
Command
Mode
Glocal configuration mode
Usage Guide
N/A
Configuration
Examples
The following example sets the static secure address and VLAN ID of TRUNK port 10 to
00d0.f800.5555 and 2 respectively.
Ruijie# configure terminal
Ruijie(config)# switchport port-security interface g0/10 mac-address
00d0.f800.5555 vlan 2
Ruijie(config)# end
Related
Commands
Command
Description
show port-security
Displays port security settings.
switchport port-security
Enables the port-security.
switchport port-security binding
Configures the secure address binding.
switchport port-security mac-address
Sets the static secure address in interface
configuration mode.
switchport port-security aging
Sets the aging time for the secure address.
Platform
Description
N/A
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...