13
Step Command Remarks
6.
Configure a frame match
criterion.
•
Match frames that do not match
any other service instance on the
interface:
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
By default, an Ethernet service
instance does not contain a
frame match criterion.
To match frames from a VLAN
correctly, make sure you have
created the VLAN and assigned
the interface to the VLAN.
To match untagged frames
when the VLAN access mode is
used, you must use the
encapsulation
untagged
command.
7.
Map the Ethernet service
instance to a VSI.
xconnect vsi vsi-name
[
access-mode
{
ethernet
|
vlan
} ]
By default, an Ethernet service
instance is not mapped to any
VSI.
If you set the match criterion to
default
or
tagged
, you must
specify the Ethernet access
mode.
If you do not specify an access
mode, the default VLAN access
mode is used.
Managing MAC address entries
With VXLAN, local MAC addresses are learned dynamically. You can log MAC changes, but you
cannot manually add local MAC addresses.
Remote-MAC address entries include the following types:
•
Manually created static entries.
•
Dynamic entries learned in the data plane.
•
MAC entries issued by a remote controller through OpenFlow.
Enabling 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 Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable local-MAC
change logging.
vxlan local-mac report
By default, local-MAC change
logging is disabled.