Mac-Address (Interface View) - HP 12500 Series Command Reference Manual

Routing, layer 2 - lan switching
Table of Contents

Advertisement

Table 2 Command output
Field
Global MAC address learning status
Learning Status
Related commands
mac-address mac-learning enable

mac-address (interface view)

Use mac-address to add or modify a MAC address entry on a specified interface.
Use undo mac-address to delete a MAC address entry on the specified interface.
Syntax
mac-address { dynamic | multiport | static } mac-address vlan vlan-id
undo mac-address { dynamic | multiport | static } mac-address vlan vlan-id
Default
An interface is not configured with any MAC address entry.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Parameters
dynamic: Specifies dynamic MAC address entries.
static: Specifies static MAC address entries.
multiport: Specifies multiport unicast MAC address entries. A frame whose destination MAC
address matches a multiport unicast MAC address entry is repeated out of multiple ports.
mac-address: Specifies a MAC address in the format of H-H-H, excluding multicast and all-zero
MAC addresses. When entering a MAC address, you can omit the leading zeros in each H section.
For example, enter f-e2-1 for 000f-00e2-0001.
vlan vlan-id: Specifies an existing VLAN to which the specified interface belongs. The value range
for the vlan-id argument is 1 to 4094.
Usage guidelines
Generally, the device automatically builds the MAC address table by learning the source MAC
addresses of incoming frames on each interface. To improve the security for an interface, you can
manually add the specific MAC address entries to the MAC address table and bind the user device
Description
Global MAC address learning status:
Enabled.
Disabled.
MAC address learning status of an interface:
Enabled.
Disabled.
4

Advertisement

Table of Contents
loading

Table of Contents