76
Syntax
mac-address information mode
{
syslog
|
trap
}
undo mac-address information mode
Default
SNMP notifications are sent to notify MAC changes.
Views
System view
Predefined user roles
network-admin
Parameters
syslog
: Specifies that the device sends syslog messages to notify MAC changes.
trap
: Specifies that the device sends SNMP notifications to notify MAC changes.
Examples
# Configure the MAC Information mode as
trap
.
<Sysname> system-view
[Sysname] mac-address information mode trap
mac-address information queue-length
Use
mac-address information queue-length
to set the MAC Information queue length.
Use
undo mac-address information queue-length
to restore the default.
Syntax
mac-address information queue-length value
undo mac-address information queue-length
Default
The MAC Information queue length is 50.
Views
System view
Predefined user roles
network-admin
Parameters
value
: Specifies the MAC Information queue length in the range of 0 to 1000. The MAC Information
queue length indicates the number of MAC change messages.
Usage guidelines
If the MAC Information queue length is 0, the device sends a syslog message or SNMP notification
immediately after learning or deleting a MAC address.
If the MAC Information queue length is not 0, the device stores MAC changes in the queue:
•
The device overwrites the oldest MAC change written into the queue with the most recent MAC
change when the following conditions exist:
{
The MAC change notification interval does not expire.
{
The queue has been exhausted.
Содержание FlexNetwork 5130 HI series
Страница 293: ...285 Sysname GigabitEthernet1 0 1 lldp agent nearest customer tlv enable dot1 tlv link aggregation ...
Страница 302: ...294 ...