Mac-Address Static - HP 6127XLG Series Command Reference Manual

Blade switch
Hide thumbs Also See for 6127XLG Series:
Table of Contents

Advertisement

Examples
# Enable L2VPN.
<Sysname> system-view
[Sysname] l2vpn enable

mac-address static

Use mac-address static to add a static remote-MAC address entry.
Use undo mac-address static to remove a static remote-MAC address entry.
Syntax
mac-address static mac-address interface tunnel tunnel-number vsi vsi-name
undo mac-address static [ mac-address ] [ interface tunnel tunnel-number ] vsi vsi-name
Default
VXLAN VSIs do not have static remote-MAC address entries.
Views
System view
Predefined user roles
network-admin
Parameters
mac-address: Specifies a remote MAC address in H-H-H format. Do not specify a multicast MAC address
or an all-zeros MAC address. You can omit the consecutive zeros at the beginning of each segment. For
example, you can enter f-e2-1 for 000f-00e2-0001.
interface tunnel tunnel-number: Specifies the VXLAN tunnel interface for the remote MAC address. The
tunnel-number argument represents the tunnel interface number. The tunnel interface must already exist.
vsi vsi-name: Specifies the VSI name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
A remote MAC address is the MAC address of a VM in a remote site.
Remote MAC entries include the following types:
Static—Include manually added MAC entries and VXLAN IS-IS advertised MAC entries.
Dynamic—MAC entries learned in the data plane from incoming traffic on VXLAN tunnels.
For a remote address, the manual static entry has higher priority than dynamic and advertised entries.
Dynamic and advertised entries have the same priority and can overwrite each other.
Examples
# Add the MAC address 000f-e201-0101 to the VSI vsi1, and specify Tunnel-interface 1 as the outgoing
interface.
<Sysname> system-view
[Sysname] mac-address static 000f-e201-0101 interface tunnel 1 vsi vsi1
Related commands
vxlan tunnel mac-learning disable
17

Advertisement

Table of Contents
loading

Table of Contents