Cisco Cisco Dynamic Fabric Automation for OpenStack Leaflet

Page of 80
switch (config-profile-vlan)#
vn-segment
switch (config-profile) #
vrf context VRF2
switch (config-profile-vrf) #
rd auto
switch (config-profile-vrf) #
address-family ipv4 unicast
switch (config-profile-vrf-af) #
route-target import 7000:1
switch (config-profile-vrf-af) #
route-target export 7000:1
switch (config-profile-vrf) #
vni 7000
switch (config-profile-vrf) #
interface Vlan1
switch (config-profile-if-vrf) #
vrf VRF2
switch (config-profile-if-vrf) #
ip address 1.1.1.4/24
switch (config-profile-if-vrf) #
no shutdown
switch (config-profile-if) #
router bgp 1.1
switch (config-profile-if) #
vrf VRF2
switch (config-profile-if-vrf) #
address-family ipv4 multicast
switch (config-profile-if-vrf) #
address-family ipv4 unicast
switch (config-profile-if-vrf-af) #
redistribute hmm route-map AM
Adding a Host-Facing Tenant Interface (VLAN)
You can add a host-facing tenant interface (Vlan) to allocate a new Vlan ID and an unused VNI and tie them
together, create the corresponding layer 3 interface and put it into the VRF, and configure the appropriate
fabric forwarding mode.
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
switch # configure terminal
Step 1
Specifies the VLAN IDs of the allowed FabrichPath VLANs in the
anycast bundle. The vlan-id range is from 1 to 4094.
switch (config) # vlan {vlan-id vlan-range}
Step 2
Enables the VLAN as a FabricPath VLAN.
switch (config-vlan) # mode fabricpath
Step 3
Configures the virtual network (VN) segment id of the VLAN.
switch (config-vlan) # vn-segment vni
Step 4
Specifies an interface type and number. The vlan-id range is from
1 to 4094.
switch (config-profile-vrf) # interface
vlan
vlan-id
Step 5
Creates a VPN routing and forwarding instance (VRF) or enters
VRF configuration mode to configure submode commands for the
switch (config-vlan-if) # vrf member name
Step 6
Intermediate System-to-Intermediate System (IS-IS) Intradomain
Routing Protocol.
Specifies a primary IP address for an interface.
switch (config-vlan-if-vrf) # ip address
ip-address-mask
Step 7
Enables IPv4 Protocol Independent Multicast (PIM) sparse mode
on an interface.
switch (config-vlan-if-vrf) # [ip pim
sparse-mode
]
Step 8
Specifies the MAC address of the server-facing ports across all leaf
nodes. The anycast gateway MAC address is used per interface, so
Device (config-vlan-if-vrf) # fabric
forwarding anycast-gateway-mac
mac-address
Step 9
it is replicated across all the switch virtual interfaces (SVI) that are
supporting proxy gateway or anycast gateway.
Disables the shutdown function on a BGP instance.
switch (config-vlan-if-vrf) # no shutdown
Step 10
Cisco Dynamic Fabric Automation Migration Guide    
   OL-31503-01
45
Migration Configuration
Adding a Host-Facing Tenant Interface (VLAN)