Configuration Guide
Port Security Commands
Description
interface-id
Binds interface ID.
mac-address
Binds source MAC address.
vlan_id
VLAN ID of the binding source MAC address
ipv4-address
Binds IPv4 address.
ipv6-address
Binds IPv6 address .
Defaults
N/A
Command
Mode
Global configuration mode
Usage Guide
1. For packets complying with IP/IP-MAC binding, they can be forwarded only if MAC addresses are
secure addresses.
2. For dynamic secure addresses, packets cannot be forwarded before bound even if their addresses
comply with the binding list.
Configuration
Examples
The following example binds the IP address 192.168.1.100 on the interface g 0/10.
Ruijie# configure terminal
Ruijie(config)# switchport port-security binding interface g0/10 binding
192.168.1.100
Ruijie(config)# end
The following example binds the IP address 192.168.1.100 and MAC address 00d0.f800.5555 with
VLAN ID 1 on the interface g 0/10.
Ruijie# configure terminal
Ruijie(config)# switchport port-security binding interface g0/10 binding
00d0.f800.5555 vlan 1 192.168.1.100
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 in
interface configuration mode.
switchport port-security mac-address
Sets the static secure address.
switchport port-security aging
Sets the aging time for secure address.
Platform
Description
N/A
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...