DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
203
25-4 show port_security
Purpose
Used to display the port security related information of the switch ports.
Format
show port_security {ports <portlist>}
Description
The
show port_security
command displays the port security related information of the switch ports
including the port security admin state, the maximum number of learning addresses, and the lock mode.
Parameters
None.
Restrictions
None.
Examples
To display the port security information of switch ports:
D G S - 3 2 0 0 - 1 0 : 4 # s h o w p o r t _ s e c u r i t y p o r t s 1 - 6
C o m m a n d : s h o w p o r t _ s e c u r i t y p o r t s 1 - 6
P o r t _ s e c u r i t y T r a p / L o g : E n a b l e d
P o r t A d m i n S t a t e M a x . L e a r n i n g A d d r . L o c k A d d r e s s M o d e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 D i s a b l e d 1 D e l e t e O n R e s e t
2 D i s a b l e d 1 D e l e t e O n R e s e t
3 D i s a b l e d 1 D e l e t e O n R e s e t
4 D i s a b l e d 1 D e l e t e O n R e s e t
5 D i s a b l e d 1 D e l e t e O n R e s e t
6 E n a b l e d 1 0 P e r m a n e n t
D G S - 3 2 0 0 - 1 0 : 4 #
25-5 enable port_security trap_log
Purpose
Used to enable the port security trap/log.