Step
4.
Configure a frame match
criterion.
5.
Map the Ethernet service
instance to a VSI.
Managing MAC address entries
With VXLAN, local MAC addresses can only be learned dynamically. You cannot manually add local
MAC addresses. However, you can log the local MAC changes.
Remote MAC address entries include the following types:
•
Manually created static entries.
•
Dynamic entries learned in the data plane.
•
Entries issued by a remote controller through OpenFlow.
Enabling VXLAN local MAC change logging
Local-MAC change logging enables the VXLAN module to send a log message to the information
center when a local MAC address is added or removed.
With the information center, you can set log message filtering and output rules, including output
destinations. For more information about configuring the information center, see Network
Management and Monitoring Configuration Guide.
To enable local MAC change logging:
Step
1.
Enter system view.
2.
Enable local MAC
change logging.
Configuring static remote-MAC address entries
Step
1.
Enter system view.
Command
•
Match any frames:
encapsulation default
•
Match any 802.1Q tagged or
untagged frames:
encapsulation { tagged |
untagged }
•
Match frames tagged with the
specified outer 802.1Q VLAN
ID:
encapsulation s-vid vlan-id
[ only-tagged ]
•
Match frames tagged with the
specified outer and inner
802.1Q VLAN IDs:
encapsulation s-vid vlan-id
c-vid vlan-id
xconnect vsi vsi-name
[ access-mode { ethernet | vlan } ]
Command
system-view
vxlan local-mac report
Command
system-view
13
Remarks
By default, an Ethernet service
instance does not contain frame
match criteria.
The current software version does
not support the tagged keyword.
By default, an Ethernet service
instance is not mapped to any VSI.
Remarks
N/A
By default, VXLAN local MAC
change logging is disabled.
Remarks
N/A