Cisco Cisco Dynamic Fabric Automation for OpenStack 전단
switch (config-router) #
address-family vpnv6 unicast
switch (config-router-af) #
additional-paths receive
switch (config-router) #
neighbor 1.1.1.1 remote-as 1.1
switch (config-router-neighbor) #
address-family ipv4 unicast
switch (config-router-neighbor-af) #
send-community both
Configuring a Host-facing Interface
You can allocate a new VLAN ID and an unused virtual network identifier (VNI) and tie them together, create
the corresponding Layer 3 VLAN interface and put it into the VRF, and configure the appropriate fabric
forwarding mode.
the corresponding Layer 3 VLAN 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 FabricPath VLANs in the
anycast bundle and enters VLAN configuration mode.
anycast bundle and enters VLAN configuration mode.
switch (config) # vlan vland-ids
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. The
segment-id range is from 4096 to 16773119.
segment-id range is from 4096 to 16773119.
switch (config-vlan) # vn-segment
segment-id
segment-id
Step 4
Creates a VLAN interface and enters interface configuration mode.
The vlan-id is the VLAN to set when the interface is in access mode;
The vlan-id is the VLAN to set when the interface is in access mode;
switch (config-vlan) # interface vlan vlan-id
Step 5
valid values are from 1 to 4094, except for the VLANs reserved for
the internal switch use.
the internal switch use.
Specifies a primary IP address for an interface.
switch (config-vlan-if) # ip address
ip-address-mask
ip-address-mask
Step 6
Enables IPv4 Protocol Independent Multicast (PIM) sparse mode on
an interface.
an interface.
switch (config-vlan-if) # ip pim sparse-mode
Step 7
Specifies the MAC address of the server-facing ports across all leaf
nodes. The anycast gateway MAC address is used per interface, so it
nodes. The anycast gateway MAC address is used per interface, so it
switch (config-vlan-if) # fabric forwarding
anycast-gateway-mac mac-address
anycast-gateway-mac mac-address
Step 8
is replicated across all the switch virtual interfaces (SVIs) that are
supporting proxy gateway or anycast gateway mode.
supporting proxy gateway or anycast gateway mode.
Disables the shutdown function on an instance of the BGP.
switch (config-vlan-if) # no shutdown
Step 9
This example shows how to add a host-facing tenant interface (VLAN):
switch #
configure terminal
switch (config)#
vlan 1001-1010
switch (config-vlan)#
mode fabricpath
switch (config-vlan)#
vn-segment 5000
switch (config-vlan) #
interface vlan1
switch (config-vlan-if) #
ip address 1.1.1.4/24
switch (config-vlan-if) #
ip pim sparse-model
switch (config-vlan-if) #
fabric forwarding anycast-gateway-mac DEAD.0000.DEAF
Cisco Dynamic Fabric Automation Migration Guide
42
OL-31503-01
Migration Configuration
Configuring a Host-facing Interface