3com S7906E Guide De Référence

Page de 2327
 
1-4 
# Display information about all blocked MAC addresses of port GigabitEthernet 2/0/2 in VLAN 1. 
<Sysname> display port-security mac-address block interface GigabitEthernet2/0/2 vlan 1 
MAC ADDR             From Port                  VLAN ID 
000d-88f8-0577      GigabitEthernet2/0/2       1 
  ---  1 mac address(es) found  --- 
Table 1-2 display port-security mac-address block command output description 
Field 
Description 
MAC ADDR 
Blocked MAC address 
From Port 
Port having received frames with the blocked 
MAC address being the source address 
VLAN ID 
ID of the VLAN to which the port belongs 
2 mac address(es) found 
Number of blocked MAC addresses 
 
display port-security mac-address security 
Syntax 
display port-security mac-address security [ interface  interface-type interface-number ] [ vlan 
vlan-id ] [ count ] 
View 
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 number, which is in the range 1 to 4094.  
count: Displays only the count of the secure MAC addresses. 
Description 
Use the display port-security mac-address security command to display information about secure 
MAC addresses. 
With no keyword or argument specified, the command displays information about all secure MAC 
addresses. 
Related commands: port-security mac-address security
Examples 
# Display information about all secure MAC addresses. 
<Sysname> display port-security mac-address security 
MAC ADDR        VLAN ID   STATE          PORT INDEX               AGING TIME(s) 
0002-0002-0002  1      Security          GigabitEthernet2/0/1      NOAGED