Displaying And Maintaining Mac Address Table Management; Mac Address Table Management Configuration Example - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

To do...
Enter system view
Enter
Ethernet
interface
view, port
group view
Configure the maximum number
of MAC addresses that can be
learned on an Ethernet port view
or port group

Displaying and Maintaining MAC Address Table Management

To do...
Display MAC address table
information
Display the aging timer for
dynamic MAC address entries
Display MAC address statistics

MAC Address Table Management Configuration Example

Network requirements
Log onto your device from the Console port to configure MAC address table management as follows:
Set the aging timer to 500 seconds for dynamic MAC address entries.
Add a static entry 000f-e235-dc71 for port GigabitEthernet 1/0/1 in VLAN 1.
Configuration procedure
# Add a static MAC address entry.
<Sysname> system-view
[Sysname] mac-address static 000f-e235-dc71 interface gigabitethernet 1/0/1 vlan 1
# Set the aging timer for dynamic MAC address entries to 500 seconds.
[Sysname] mac-address timer aging 500
# Display the MAC address entry for port GigabitEthernet 1/0/1.
[Sysname] display mac-address interface gigabitethernet 1/0/1
system-view
Enter Ethernet
interface interface-type
interface view
interface-number
Enter port group
port-group manual
view
port-group-name
mac-address
max-mac-count count
display mac-address blackhole [ vlan
vlan-id ] [ count ]
display mac-address [ mac-address [ vlan
vlan-id ] | [ dynamic | static ] [ interface
interface-type interface-number ] [ vlan
vlan-id ] [ count ] ]
display mac-address aging-time
display mac-address statistics
Use the command...
Use the command...
1-5
Remarks
Required
Use any of these three
commands.
The configuration you make in
Ethernet interface view takes
effect on the current interface
only; the configuration you
make in port group view takes
effect on all the member ports
in the port group.
Required
The default maximum number
of MAC addresses that can be
learned is not configured.
Remarks
Available in any
view

Advertisement

Chapters

Table of Contents
loading

Table of Contents