Displaying And Maintaining Mac Address Tables; Mac Address Table Configuration Example - HP A3100-8 v2 SI Configuration Manual

A3100 v2 switch series layer 2 - lan switching
Hide thumbs Also See for A3100-8 v2 SI:
Table of Contents

Advertisement

To do...
Enter system view
Enter Layer 2
Ethernet
interface view
or port group
view
Configure the MAC learning limit on the
interface or port group
NOTE:
Layer 2 aggregate interfaces do not support the mac-address max-mac-count command.
Do not configure the MAC learning limit on any member ports of an aggregation group. Otherwise, the
member ports cannot be selected.

Displaying and maintaining MAC address tables

To do...
Display MAC address table
information
Display the aging timer for
dynamic MAC address entries
Display the system or interface
MAC address learning state
Display MAC address
statistics

MAC address table configuration example

Network requirements
The MAC address of one host is 000f-e235-dc71 and belongs to VLAN 1. It is connected to Ethernet
1/0/1 of the device. To prevent MAC address spoofing, add a static entry into the MAC address
table of the device for the host.
The MAC address of another host is 000f-e235-abcd and belongs to VLAN 1. Because this host
once behaved suspiciously on the network, you can add a blackhole MAC address entry for the
MAC address to drop all packets destined for the host.
Set the aging timer for dynamic MAC address entries to 500 seconds.
Enter Layer 2 Ethernet
interface view
Enter port group view
Use the command...
display mac-address [ mac-address [ vlan vlan-id ] |
[ [ dynamic | static ] [ interface interface-type
interface-number ] | blackhole ] [ vlan vlan-id ]
[ count ] ] [ | { begin | exclude | include }
regular-expression ]
display mac-address aging-time [ | { begin |
exclude | include } regular-expression ]
display mac-address mac-learning [ interface-type
interface-number ] [ | { begin | exclude | include }
regular-expression ]
display mac-address statistics [ | { begin | exclude |
include } regular-expression ]
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
mac-address
max-mac-count count
21
Remarks
Use either command.
The configuration made in Layer 2
Ethernet interface view takes effect
on the current interface only. The
configuration made in port group
view takes effect on all the member
ports in the port group.
Required
No MAC learning limit is
configured by default.
Remarks
Available in any view
Available in any view
Available in any view
Available in any view

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents