Pre-Packaged Config Profiles

Introduction

There are two types of Config Profiles pre-packaged and available by default in DCNM:

  • Partition Config-Profile
  • Network Config-Profile

Pre-Packaged Partition Config-Profile Details

This section lists the contents of the partition config-profiles that will be part of the DCNM profiles database that ships with the DFA solution. Note that new parameterized profiles can be added on top of this existing set. In addition, the existing profiles may be modified so that they can be tailored to the specific data center needs (with some caution).

configure profile vrf-common

vrf context $vrfName

vni $include_l3_segid

rd auto

address-family ipv4 unicast

route-target both auto

address-family ipv6 unicast

route-target both auto

router bgp $asn

vrf $vrfName

address-family ipv4 unicast

redistribute hmm route-map FABRIC-RMAP-REDIST-HOST

maximum-paths ibgp 2

address-family ipv6 unicast

redistribute hmm route-map FABRIC-RMAP-REDIST-HOST

maximum-paths ibgp 2

end

configure profile vrf-common-services

vrf context $vrfName

ip route 0.0.0.0/0 $include_serviceIpAddress pref 1

vni $include_l3_segid

rd auto

address-family ipv4 unicast

route-target both auto

address-family ipv6 unicast

route-target both auto

router bgp $asn

vrf $vrfName

address-family ipv4 unicast

redistribute hmm route-map FABRIC-RMAP-REDIST-HOST

maximum-paths ibgp 2

address-family ipv6 unicast

redistribute hmm route-map FABRIC-RMAP-REDIST-HOST

maximum-paths ibgp 2

end

Pre-Packaged Network Config-Profile Details

This section lists the contents of the network config-profiles that will be part of the DCNM profiles database which ships with the DFA solution.


Caution The new parameterized profiles can be added on top of this existing set. In addition, the existing profiles may be modified so that they can be tailored to the specific data center needs.

config profile defaultNetworkIpv4EfProfile

vlan $vlanId

vn-segment $segmentId

mode fabricpath

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

ip dhcp relay address $dhcpServerAddr use-vrf default

fabric forwarding mode proxy-gateway

no ip redirects

no shutdown

include profile vrf-common

end

config profile defaultNetworkIpv4TfProfile

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

ip dhcp relay address $dhcpServerAddr use-vrf default

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common

end

config profile defaultNetworkIpv6EfProfile

interface vlan $vlanId

vrf member $vrfName

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode proxy-gateway

no ipv6 redirects

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common

end

config profile defaultNetworkIpv6TfProfile

interface vlan $vlanId

vrf member $vrfName

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common

end

config profile defaultNetworkIpv4v6EfProfile

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode proxy-gateway

no ip redirects

no ipv6 redirects

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common

end

config profile defaultNetworkIpv4v6TfProfile

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common

end

config profile defaultNetworkIpv4EfEdgeServiceProfile

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

# ip dhcp relay address $dhcpServerAddr use-vrf default

fabric forwarding mode proxy-gateway

no ip redirects

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common-services

end

config profile defaultNetworkIpv4TfEdgeServiceProfile

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

# ip dhcp relay address $dhcpServerAddr use-vrf default

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common-services

end

config profile defaultNetworkIpv4v6EfServiceProfile

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode proxy-gateway

no ip redirects

no ipv6 redirects

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common-services

end

config profile defaultNetworkIpv4v6TfServiceProfile

interface vlan $vlanId

vrf member $vrfName

ip address $gatewayIpAddress/$netMaskLength

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

include profile vrf-common-services

end

config profile defaultNetworkL2Profile

vlan $vlanId

vn-segment $segmentId

mode fabricpath

end

config profile defaultNetworkdefaultPartitionIpv4EfProfile

interface vlan $vlanId

ip address $gatewayIpAddress/$netMaskLength

# ip dhcp relay address $dhcpServerAddr

fabric forwarding mode proxy-gateway

no ip redirects

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

end

config profile defaultNetworkdefaultPartitionIpv4TfProfile

interface vlan $vlanId

ip address $gatewayIpAddress/$netMaskLength

# ip dhcp relay address $dhcpServerAddr

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

end

config profile defaultNetworkdefaultPartitionIpv6EfProfile

interface vlan $vlanId

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode proxy-gateway

no ipv6 redirects

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

end

config profile defaultNetworkdefaultPartitionIpv6TfProfile

interface vlan $vlanId

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

end

config profile defaultNetworkdefaultPartitionIpv4v6EfProfile

interface vlan $vlanId

ip address $gatewayIpAddress/$netMaskLength

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode proxy-gateway

no ip redirects

no ipv6 redirects

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

end

config profile defaultNetworkdefaultPartitionIpv4v6TfProfile

interface vlan $vlanId

ip address $gatewayIpAddress/$netMaskLength

ipv6 address $gatewayIpv6Address/$prefixLength

fabric forwarding mode anycast-gateway

no shutdown

vlan $vlanId

vn-segment $segmentId

mode fabricpath

end