Workflow: Creating a VxLAN L2 Gateway
Prerequisites
- The CSR route is deployed and up.
- L3 interfaces facing the IP core are configured and up.
Workflow
1.
Configure Multicast bi-directional PIM. The step must be done after the L3 interfaces facing the IP core have been created.
Requirement : Multicast RP must already be configured somewhere in the network.
Use the Multicast PIM API to enable multicast PIM globally and on the L3 interfaces facing the IP core.
PUT /api/v1/mcast/pim
See Multicast Bi-Directional PIM.
2.
Create and enable the source interface for VxLAN. This step must be done before creating VxLAN.
a.
Use the Interface API to create Loopback interface with IP address/subnet mask. This is the source interface for VxLAN.
POST /api/v1/interfaces
See Create an Interface.
b.
Use the Interface State API to enable the interface.
PUT /api/v1/interfaces/{if-id}/state
See Interface State.
3.
Create and enable a VxLAN.
Requirement : The source interface must have been created before this step (see following step).
Use the VxLAN API to create VxLAN with list VNI members (and corresponding multicast-groups).
POST /api/v1/vxlan
See Create a VxLAN.
4.
Configure routing for reaching peer VxLAN VTEPs.
Use a Routing API (Static, OSPF, BGP, and so on) to create routing so that peer VxLAN VTEPs can be reached.
See Routing Protocol (OSPF, BGP, EIGRP) Requirements.
5.
For a VxLAN L2 GW, create and enable L2 interfaces.
Use the L2 Interface API to create all L2 interfaces (with Service Instances, VLAN tags).
POST /api/v1/l2interfaces
See Create an L2 Interface.
6.
Create and enable bridge domains.
Use the Bridge Domain API to create all bridge domains with unique VNIs.
POST /api/v1/ bridge-domain
See Create a Bridge Domain.
Workflow: Creating a VxLAN L3 Gateway
Prerequisites
- The CSR route is deployed and up.
- L3 interfaces facing the IP core are configured and up.
Workflow
1.
Configure Multicast bi-directional PIM. The step must be done after the L3 interfaces facing the IP core have been created.
Use the Multicast PIM API to enable multicast PIM globally and on the L3 interfaces facing the IP core.
PUT /api/v1/mcast/pim
See Multicast Bi-Directional PIM.
2.
Create and enable the source interface for VxLAN. This step must be done before creating VxLAN.
a.
Use the Interface API to create Loopback interface with IP address/subnet mask. This is the source interface for VxLAN.
POST /api/v1/interfaces
See Create an Interface.
b.
Use the Interface State API to enable the interface.
PUT /api/v1/interfaces/{if-id}/state
See Interface State.
3.
Create and enable a VxLAN.
Use the VxLAN API to create VxLAN with list VNI members (and corresponding multicast-groups).
POST /api/v1/vxlan
See Create a VxLAN.
4.
Configure routing for reaching peer VxLAN VTEPs.
Use a Routing API (Static, OSPF, BGP, and so on) to create routing so that peer VxLAN VTEPs can be reached.
See Routing Protocol (OSPF, BGP, EIGRP) Requirements.
5.
Create bridge domains corresponding to the BDI to be configured.
Use Bridge Domain API to create all bridge domains with unique VNI
POST /api/v1/bridge-domain
See Create a Bridge Domain.
6.
For a VxLAN L3 GW, create and enable BDI interfaces.
a.
Use the Interface API to create BDI interfaces with IP address/subnet mask.
POST /api/v1/interfaces
See Create an Interface.
b.
Use the Interface State API to enable BDI interfaces.
PUT /api/v1/interfaces/{if-id}/state
See Interface State.