- Preface
- New and Changed Information
- Cisco Dynamic Fabric Automation
- Fabric Control Segment
- BGP Control Plane
- Cable Management
- XMPP Client Configuration
- Multi-tenancy
- Segment ID Support for DHCP Relay
- Tenant Configuration
- Auto-Configuration
- Auto-Configuration of Layer-3 DCI
- Unicast Forwarding
- Multicast Forwarding
- Multi-Mobility Domain Auto-Configuration
- Dynamic Virtual Port
- Appendix
Tenant Configuration
Tenant Configuration
Dynamic Fabric Automation provides touchless tenant provisioning on the desired leaf nodes using auto-configuration. This chapter describes a set of configuration commands that are required for provisioning a tenant. A tenant configuration involves setting up both sides of the network, the server side and the spine side of the network. All the commands described here are part of the configuration profiles defined in the Profiles Database of the Cisco Prime DCNM. Refer to configuration profiles on the Cisco Prime DCNM for a predefined end-host auto-configuration profile, defaultUniversalNetworkEfProfile, vrf-common-universal-profile, and the vrf-tenant-profile which is pre-configured on the leaf switch.
Tenant Configuration (Server-side)
The server-side configuration at a high level involves:
-
Creating a VLAN for the servers that are attached to the tenant. The server can be either a virtual or physical server. This VLAN is local to the leafs to which the server is connected.
-
Specifying a globally identifiable segment, which will be used to send traffic to these servers over the fabric.
-
Creating an SVI for servers to be able to talk to other servers.
-
Choosing the right fabric mode for the IP traffic; that is, if an enhanced forwarding using the proxy-gateway is required or a traditional forwarding using the anycast-gateway option.
-
Configure terminal.
-
Configure the VLAN for attaching the workloads.
-
Specify that the workload is a part of a global segment ID, for example 10000.
-
Specify that the global segment ID is available over the FabricPath network.
-
Specify the distributed anycast gateway and the IP subnet that this tenant’s workload belongs to.
-
Specify that this IP network that is created is a part of tenants VRF.
-
Specify the anycast gateway IP address.
-
Specify the anycast gateway IPv6 address.
-
Specify the mode for anycast distributed gateway.
-
Use this command if the distributed anycast gateway mode is a proxy gateway as there will be virtual machines under the same leaf, which are within the same subnet.
-
Administratively enable the interfaces.
configure terminal vlan 100 vn-segment 10000 mode fabricpath interface vlan 100 vrf member xyz ip address 10.1.1.1/24 ipv6 address 10:1:1::1/64 fabric forwarding mode [anycast-gateway | proxy-gateway] no ip redirects no ipv6 redirects no shutdown
Tenant Configuration (Fabric-side)
The fabric-side configuration at a high level involves:
-
Creating the required VRF for the tenant.
-
Setting the Layer-3 Segment or the VNI (as shown below) that is used for identifying the routed traffic of the tenant globally.
-
BGP route distribution to the route reflector.
The following steps detail the configuration steps:
-
Creating the VRF for the tenant—When a Layer-3 segment is configured, configuration corresponding to the Layer-3 segment is performed using a specific configuration profile. This configuration profiles must be available as part of the POAP of the leaf node. IP forward and IPv6 forward in this configuration profile indicates Layer-3 IPv4/IPv6 forwarding is required on this SVI.

Note
The keyword 'VNI' in the VRF context helps to trigger this specific config-profile.A sample configuration is as follows:
Configure profile vrf-tenant-profile vlan $vrfVlanId vn-segment $vrfSegmentId mode fabricpath interface vlan $vrfVlanId vrf member $vrfName ip forward no ip redirects ipv6 forward no ipv6 redirects no shutdown -
VRF context tenant— Specify a partition for this tenant. Each tenant will be placed in its own VRF.
-
VNI 100000— Specify the Layer-3 segment ID of the tenant, which is used for routing traffic over the fabric to the different leafs.
-
rd auto—Specify the Route Distinguisher (RD) value. With fabric, the manual specification of RD becomes unnecessary. With this command a RD value is automatically generated by the BGP process for each VRF, using the fabric control segment IP address and the VRF ID of the VRF.
-
address family ipv4 unicast— Enable the IPv4 address family for BGP.
-
route-target both auto—Specify that the route targets automatically generated are both exported and imported on this leaf.
-
address family ipv6 unicast— Enable IPv6 address family for BGP.
-
route-target both auto—Specify that the route-targets automatically generated are both exported and imported on this leaf.
-
router BGP 100—Enable route distribution to the route reflector so that it is available in the other leaf nodes. Whatever is configured under BGP is relevant only for the end-host SVI and not applicable for the core-facing SVI.
-
vrf tenant—Specify the VRF name for which this distribution is configured.
-
address family IPv4 unicast— Enable the IPv4 address family for BGP.
-
redistribute hmm route-map redist-host— Any address resolution protocols that are learnt under an SVI in fabric forwarding mode can be distributed using BGP to the other leaf nodes.
Feedback