Configure VXLAN Gateway

Use the following procedure to configure VXLAN Gateway parameters to enable SPBM to operate on the switch.

Note

Note

Exception: only supported on 7520 Series and 7720 Series.

Before you begin

Use the show boot config flags to verify that you are in the mode you want. The vxlan-gw-full-interworking-mode should be set to false for the Base Interworking Mode (default) and true for the Full Interworking Mode.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Configure the VTEP source IP address:

    vtep source-ip <A.B.C.D> [vrf WORD<1–16>]

  3. Configure the remote VTEP IP address:

    vtep <1–500> ip <A.B.C.D> [name WORD<1–64>]

  4. Create a VNID instance:

    vnid <1–16777215> i-sid <1–16777215>

    Note

    Note

    The command prompt changes to #vxlan to indicate that you are now in VXLAN Configuration mode for the VNID specified in vnid <1–16777215>.

  5. Associate VLANs in a port or MLT list to this VNID instance:

    c-vid <1-4094> port <{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}>

    or

    c-vid <1-4094> mlt <1-4094>

  6. Specify the ports or MLT in this VNID instance that will support untagged traffic:

    untagged-traffic port <{slot/port[/sub-port]}>

    or

    untagged-traffic mlt <1-4094>

  7. Associate VTEPs to this VNID instance:

    vtep <1-255>

Example

For an example of this procedure, see VXLAN Gateway configuration example in Base Interworking mode or VXLAN Gateway configuration example in Full Interworking mode.

Variable definitions

Use the data in the following table to use the vtep command.

Variable

Value

source-ip <A.B.C.D> [vrf WORD<1–16>]

Specifies the VXLAN tunnel end point (VTEP) source IP address, which can be on the GRT or a VRF.

Note:

The VTEP source IP address must be on a loopback interface.

<1–500> ip <A.B.C.D> [name WORD<1–64>]

Specifies an index value and an IP address that uniquely identifies this remote VTEP.

Optionally, you can assign a specific name to this tunnel. By default, the switch assigns a name in this format: VTEP-<#ID>-<IP address>

Note:

The remote VTEP IP address cannot be a local, broadcast, or multicast IP address.

Use the data in the following table to use the vnid command.

Variable

Value

<1–16777215> i-sid <1–16777215>

Uses this VNID and I-SID information to create a VNID instance and enter VXLAN Configuration Mode in the CLI.

Note:

A VNID must not have the same value as an I-SID.

Use the data in the following table to configure commands in the VXLAN Configuration Mode (#vxlan). These commands apply to the VNID instance that you specified in the vnid <1–16777215> i-sid <1–16777215> command.

Variable

Value

c-vid <1-4094> port <{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}>

Specifies a value that uniquely identifies the customer VLAN ID and ports of this ELAN end point.

The switch reserves the following VLAN IDs:

  • VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

  • VLAN IDs 4060 to 4094 are reserved for internal use.

  • VLAN IDs 3500 to 3999 are reserved if you enable VRF scaling and SPBM mode.

  • VLAN ID 4095 is not used.

  • VLAN ID 4096 is reserved for untagged traffic.

c-vid <1-4094> mlt <1-4094>

Specifies a value that uniquely identifies the customer VLAN ID and MLTs of this ELAN end point.

The switch reserves the following VLAN IDs:

  • VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

  • VLAN IDs 4060 to 4094 are reserved for internal use.

  • VLAN IDs 3500 to 3999 are reserved if you enable VRF scaling and SPBM mode.

  • VLAN ID 4095 is not used.

  • VLAN ID 4096 is reserved for untagged traffic.

untagged-traffic port <{slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}>

Specifies the ports that support untagged traffic.

untagged-traffic mlt <1-4094>

Specifies the MLTs that support untagged traffic.

vtep <1-255>

Lists the remote VTEP destinations to associate with the specified VNID.