Mac-Address (System View) - HP 5900 series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for 5900 series:
Table of Contents

Advertisement

The MAC address entries configuration cannot survive a reboot unless you save it. The dynamic MAC
address entries, however, are lost upon reboot regardless of whether you save the configuration.
Examples
# Add a static entry for MAC address 000f-e201-0101 on interface Ten-GigabitEthernet 1/0/1 that
belongs to VLAN 2.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mac-address static 000f-e201-0101 vlan 2
# Add a static entry for MAC address 000f-e201-0101 on an aggregate interface Bridge-Aggregation 1
that belongs to VLAN 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] mac-address static 000f-e201-0102 vlan 1
# Add a static entry for MAC address 000f-e201-0102 on interface S-Channel1/0/1:10 that belongs to
VLAN 1.
<Sysname> system-view
[Sysname] interface s-channel 1/0/1:10
[Sysname- S-Channel1/0/1:10] mac-address static 000f-e201-0102 vlan 1
Related commands
display mac-address

mac-address (system view)

mac-address (system view)
Use mac-address to add or modify a MAC address entry.
Use undo mac-address to delete one or all MAC address entries.
Syntax
mac-address { dynamic | static } mac-address interface interface-type interface-number vlan vlan-id
mac-address blackhole mac-address vlan vlan-id
undo mac-address [ [ dynamic | static ] mac-address interface interface-type interface-number vlan
vlan-id ]
undo mac-address [ blackhole | dynamic | static ] [ mac-address ] vlan vlan-id
undo mac-address [ dynamic | static ] interface interface-type interface-number
Default
The system is not configured with any MAC address entry.
Views
System view
Predefined user roles
network-admin
53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series

Table of Contents