Configuring Mac Address Entries; Configuration Guidelines; Adding Or Modifying A Static Or Dynamic Mac Address Entry Globally; Adding Or Modifying A Static Or Dynamic Mac Address Entry On An Interface - H3C S7500X Series Configuration Manual

Comware 7 layer 2 - lan switching
Hide thumbs Also See for S7500X Series:
Table of Contents

Advertisement

Configuring MAC address entries

Configuration guidelines

You cannot add a dynamic MAC address entry if a learned entry already exists with a different
outgoing interface for the MAC address.
The manually configured static, blackhole, and multiport unicast MAC address entries cannot
survive a reboot if you do not save the configuration. The manually configured dynamic MAC
address entries are lost upon reboot whether or not you save the configuration.
A frame whose source MAC address matches different types of MAC address entries is processed
differently.
Type
Static MAC address entry
Multiport unicast MAC
address entry
Blackhole MAC address
entry
Dynamic MAC address
entry
Adding or modifying a static or dynamic MAC address entry
globally
Step
1.
Enter system view.
2.
Add or modify a static or
dynamic MAC address entry.
Adding or modifying a static or dynamic MAC address entry
on an interface
Step
1.
Enter system view.
2.
Enter interface view.
Description
Forwards the frame according to the destination MAC address regardless of
whether the frame's ingress interface is the same as that in the entry.
Learns the MAC address of the frame and generates a dynamic MAC
address entry, but the generated dynamic MAC address entry does not
take effect.
Forwards the frame based on the multiport unicast MAC address entry.
Drops the frame.
Learns the MAC address of the frames received on a different interface
from that in the entry and overwrites the original entry.
Forwards the frame received on the same interface as that in the entry
and updates the aging timer for the entry.
Command
system-view
mac-address { dynamic | static }
mac-address interface
interface-type interface-number
vlan vlan-id
Command
system-view
Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
3
Remarks
N/A
By default, no MAC address entry
is configured globally.
Make sure you have created the
VLAN and assigned the interface
to the VLAN.
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents