EasyManuals Logo

HP A5120 EI Series Configuration Guide

HP A5120 EI Series
197 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #32 background imageLoading...
Page #32 background image
25
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
GigabitEthernet 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 destination 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.
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
# Add a destination blackhole MAC address entry.
[Sysname] mac-address blackhole 000f-e235-abcd 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
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME
000f-e235-dc71 1 Config static GigabitEthernet 1/0/1 NOAGED
--- 1 mac address(es) found ---
# Display information about the destination blackhole MAC address table.
[Sysname] display mac-address blackhole
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME
000f-e235-abcd 1 Blackhole N/A NOAGED
--- 1 mac address(es) found ---
# View the aging time of dynamic MAC address entries.
[Sysname] display mac-address aging-time
Mac address aging time: 500s

Table of Contents

Other manuals for HP A5120 EI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP A5120 EI Series and is the answer not in the manual?

HP A5120 EI Series Specifications

General IconGeneral
Uplink Ports4 x SFP
StackingNo
ManagementCLI, Web, SNMP
Routing ProtocolsRIP, OSPF
Power SupplyAC
MAC Address Table Size16K
Dimensions440 x 430 x 44 mm
Operating Temperature0°C to 45°C
Operating Humidity10% to 90% non-condensing
ModelHP A5120-24G EI Switch (JG234A)
VLANs4094

Related product manuals