HP 6125G HP 6125G & 6125G/XG Blade Switches Security Command Reference - Page 135
display port-security mac-address block
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 135 highlights
Field Security MAC address aging type Description Secure MAC address aging type: • absolute-Timer aging • inactivity-Inactivity aging display port-security mac-address block Syntax View display port-security mac-address block [ interface interface-type interface-number ] [ vlan vlan-id ] [ count ] [ | { begin | exclude | include } regular-expression ] Any view Default level 2: System level Parameters interface interface-type interface-number: Specifies a port by its type and number. vlan vlan-id: Specifies a VLAN by its ID, in the range of 1 to 4094. count: Displays only the count of the blocked MAC addresses. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display port-security mac-address block to display information about blocked MAC addresses. With no keyword or argument specified, the command displays information about all blocked MAC addresses. Related commands: port-security intrusion-mode. Examples #.Display information about all blocked MAC addresses. display port-security mac-address block MAC ADDR From Port 000f-3d80-0d2d GigabitEthernet1/0/1 VLAN ID 30 --- On slot 1, 1 mac address(es) found ----- 1 mac address(es) found --- # Display the count of all blocked MAC addresses. display port-security mac-address block count 126