set interface gigabit-ethernet port-security block
The set interface gigabit-ethernet port-security block command configures the type of packets that will be blocked in the egress direction of the secure port.
Command Syntax
set interface gigabit-ethernet <interface-name> port-security block <all | broadcast | multicast | uni-multi-cast | unicast>
Parameter
Parameter | Description |
gigabit-ethernet <interface-name> | Specifies the physical interface name. For example, te-1/1/49, ge-1/1/1. |
block <all | broadcast | multicast | uni-multi-cast | unicast> | Specifies the packet type which will be blocked on the egress direction of the port enabled with port security. The value could be all, broadcast, multicast, uni-multi-cast or unicast.
By default, packets will not be blocked by port security in egress direction of the port. |
Example
• Configure to discard only the broadcast packets in egress direction of the port.
admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 port-security block broadcast admin@XorPlus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.