/
interface gigabit-ethernet <port> port-security mac-address

interface gigabit-ethernet <port> port-security mac-address


Users can use port security with static MAC addresses to restrict a port's ingress traffic by limiting the MAC addresses that are allowed to send traffic into the port.


Command Syntax
set interface gigabit-ethernet <port> port-security mac-address <madaddr>
delete interface gigabit-ethernet <port> port-security mac-address <madaddr>


Parameter
<port> ethernet switching port identifier,the valid ports range 1-52
<madaddr> secure mac address identifier(eg:22:00:00:00:00:00)


Example
• This example configure MAC address for ge-1/1/2 :

admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 port-security mac-address 22:00:00:00:00:00 vlan 1
admin@XorPlus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.