H3C S6812 Series Command Reference Manual page 1893

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Syntax
display port-security mac-address security [ interface interface-type interface-number ] [ vlan
vlan-id ] [ count ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies a port by its type and number.
vlan vlan-id: Specifies a VLAN by its ID. The value range is 1 to 4094.
count: Displays only the count of the secure MAC addresses.
Usage guidelines
Secure MAC addresses are MAC addresses that are automatically learned by the port in autoLearn
mode or configured by the port-security mac-address security command.
If you do not specify any parameters, this command displays information about all secure MAC
addresses.
Examples
# Display information about all secure MAC addresses.
<Sysname> display port-security mac-address security
MAC ADDR
0002-0002-0002 1
--- 1 mac address(es) found ---
# Display only the count of the secure MAC addresses.
<Sysname> display port-security mac-address security count
--- 1 mac address(es) found
Table 3 Command output
Field
MAC ADDR
VLAN ID
STATE
PORT INDEX
AGING TIME
number mac address(es) found
VLAN ID STATE
Security
Description
Secure MAC address.
ID of the VLAN to which the port belongs.
Type of the MAC address added. This field displays Security for a
secure MAC address.
Port to which the secure MAC address belongs.
Period of time before the secure MAC address ages out.
Number of secure MAC addresses stored.
PORT INDEX
XGE1/0/1
If the secure MAC address is a static MAC address, this field
displays NOAGED.
If the secure MAC address is a sticky MAC address, this field
displays the remaining lifetime in minutes. By default, sticky
MAC addresses do not age out, and this field displays
NOAGED.
5
AGING TIME
NOAGED

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents