HP Comware 5 Debug Manual Vol 3
Field
Description
Broadcast send a MAC address sync msg,
IfIndex:IFINDEX, Status :STATUS, VlanID :VLANID,
Mac-addr: MacAddress, OpType: OPTYPE. Self slot is
SELFSLOTID.
The port security module broadcast a MAC address
synchronization message.
RPC receive show port msg from self board!
The port security module received an RPC message for
displaying port information of the current card.
(Distributed devices/distributed IRF devices.)
The port security module received an RPC message for
displaying port information of the current device.
(Centralized devices/centralized IRF devices.)
Examples
# Enable port security error debugging. Output similar to the following example is generated when you
perform the following tasks:
•
Enable port security on the device.
•
Change the port security mode to secure.
•
Add a secure MAC address.
<Sysname> debugging port-security error
[Sysname] port-security enable
Notice: The port-control of 802.1X will be restricted to auto when port-security is enabled.
Please wait...
Done.
[Sysname] interface gigabitethernet 1/1
[Sysname-GigabitEthernet1/1] port-security port-mode secure
[Sysname-GigabitEthernet1/1] port-security mac-address security 1-1-1 vlan 1
Error: Can not operate security MAC address for current port mode is not autoLearn!
*Apr 28 23:54:57:979 2000 Sysname PORTSEC/7/Event:InvalidPort,InvalidAuth,error occured
while adding security MAC(0001-0001-0001, IfIndex 0x900002) to list.
*Apr 28 23:54:57:980 2000 Sysname PORTSEC/7/Error:InvalidPort,InvalidAuth,Failed to
handle set operation of PortSec security MAC table.
// The port security module failed to add the MAC address to the secure MAC address table, because
the port security mode of the current port was not autoLearn.
# Enable port security event debugging. Output similar to the following example is generated when you
perform the following tasks:
•
Enable port security on the device.
•
Change the port security mode to secure.
•
Add a secure MAC address.
<Sysname> debugging port-security event
[Sysname] port-security enable
Notice: The port-control of 802.1X will be restricted to auto when port-security is enabled.
Please wait...
Done.
[Sysname] interface gigabitethernet 1/1
[Sysname-GigabitEthernet1/1] port-security port-mode secure
[Sysname-GigabitEthernet1/1] port-security mac-address security 1-1-1 vlan 1
228