Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

PDF

Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

Configure FCoE connectivity with policies and profiles using the NX-OS style CLI

Want to summarize with AI?

Log in

Configure FCoE connectivity for EPG environments using NX-OS style CLI sequences with policies and profiles to establish bridge domains, VSAN mappings, and interface configurations.


This task configures FCoE connectivity for EPG e1 under tenant t1 using NX-OS style CLI sequences with policies and profiles.

The NX-OS style CLI sequences create and use policies to configure FCoE connectivity for EPG e1 under tenant t1.

Procedure

  1. Under the target tenant configure a bridge domain to support FCoE traffic.

    The sample command sequence creates bridge domain b1 under tenant t1 configured to support FCoE connectivity.

    Example:

    apic1# configure 
    apic1(config)# tenant t1
    apic1(config-tenant)# vrf context v1
    apic1(config-tenant-vrf)# exit
    apic1(config-tenant)# bridge-domain b1 
    apic1(config-tenant-bd)# fc
    apic1(config-tenant-bd)# vrf member v1
    apic1(config-tenant-bd)# exit
    apic1(config-tenant)# exit
    apic1(config)# 
  2. Under the same tenant, associate your target EPG with the FCoE configured bridge domain.

    The sample command sequence creates EPG e1 associates that EPG with FCoE-configured bridge domain b1.

    Example:

    apic1(config)# tenant t1
    apic1(config-tenant)# application a1 
    apic1(config-tenant-app)# epg e1
    apic1(config-tenant-app-epg)# bridge-domain member b1 
    apic1(config-tenant-app-epg)# exit
    apic1(config-tenant-app)# exit
    apic1(config-tenant)# exit
    apic1(config)# 
  3. Create a VSAN domain, VSAN pools, VLAN pools and VSAN to VLAN mapping.

    In Example A, the sample command sequence creates VSAN domain, dom1 with VSAN pools and VLAN pools, maps VSAN 1 VLAN 1 and maps VSAN 2 to VLAN 2

    Example:

    A
    apic1(config)# vsan-domain dom1
    apic1(config-vsan)# vsan 1-10
    apic1(config-vsan)# vlan 1-10
    apic1(config-vsan)# fcoe vsan 1 vlan 1 loadbalancing 
                      src-dst-ox-id 
    apic1(config-vsan)# fcoe vsan 2 vlan 2 

    In Example B, an alternate sample command sequence creates a reusable VSAN attribute template pol1 and then creates VSAN domain dom1, which inherits the attributes and mappings from that template.

    Example:

    B
    apic1(config)# template vsan-attribute pol1
    apic1(config-vsan-attr)#  fcoe vsan 2 vlan 12 
                              loadbalancing src-dst-ox-id
    apic1(config-vsan-attr)#  fcoe vsan 3 vlan 13 
                              loadbalancing src-dst-ox-id
    apic1(config-vsan-attr)#  exit
    apic1(config)#  vsan-domain dom1
    apic1(config-vsan)#     inherit vsan-attribute pol1
    apic1(config-vsan)#     exit
  4. Create the physical domain to support the FCoE Initialization (FIP) process.

    Example:

    apic1(config)# vlan-domain fipVlanDom
    apic1(config)# vlan-pool fipVlanPool
    
    
  5. Configure a Fibre Channel SAN policy.

    The sample command sequence creates Fibre Channel SAN policy ffp1 to specify a combination of error-detect timeout values (EDTOV), resource allocation timeout values (RATOV), and the default FC map values for FCoE-enabled interfaces on a target leaf switch.

    Example:

    apic1#
    apic1# configure
    apic1(config)# template fc-fabric-policy ffp1
    apic1(config-fc-fabric-policy)# fctimer e-d-tov 1111
    apic1(config-fc-fabric-policy)# fctimer r-a-tov 2222
    apic1(config-fc-fabric-policy)# fcoe fcmap 0E:FC:01
    apic1(config-fc-fabric-policy)# exit
    
  6. Create a Fibre Channel node policy.

    The sample command sequence creates Fibre Channel node policy flp1 to specify a combination of disruptive load-balancing enablement and FIP keep-alive values. These values also apply to all the FCoE-enabled interfaces on a target leaf switch.

    Example:

    apic1(config)# template fc-leaf-policy flp1
    apic1(config-fc-leaf-policy)# fcoe fka-adv-period 44
    apic1(config-fc-leaf-policy)# exit
  7. Create Node Policy Group.

    The sample command sequence creates a Node Policy group, lpg1, which combines the values of the Fibre Channel SAN policy ffp1 and Fibre Channel node policy, flp1. The combined values of this node policy group can be applied to Node profiles configured later.

    Example:

    apic1(config)# template leaf-policy-group lpg1
    apic1(config-leaf-policy-group)# inherit fc-fabric-policy ffp1
    apic1(config-leaf-policy-group)# inherit fc-leaf-policy flp1
    apic1(config-leaf-policy-group)# exit
    apic1(config)# exit
    apic1#
  8. Create a Node Profile.

    The sample command sequence creates node profile lp1 associates it with node policy group lpg1, node group lg1, and leaf switch 101.

    Example:

    apic1(config)# leaf-profile lp1
    apic1(config-leaf-profile)# leaf-group lg1
    apic1(config-leaf-group)# leaf 101 
    apic1(config-leaf-group)# leaf-policy-group lpg1
  9. Create an interface policy group for F port interfaces.

    The sample command sequence creates interface policy group ipg1 and assigns a combination of values that determine priority flow control enablement, F port enablement, and slow-drain policy values for any interface that this policy group is applied to.

    Example:

    apic1(config)# template policy-group ipg1
    apic1(config-pol-grp-if)# priority-flow-control mode auto
    apic1(config-pol-grp-if)# switchport mode f
    apic1(config-pol-grp-if)# slow-drain pause timeout 111
    apic1(config-pol-grp-if)# slow-drain congestion-timeout count 55
    apic1(config-pol-grp-if)# slow-drain congestion-timeout action log
    
  10. Create an interface policy group for NP port interfaces.

    The sample command sequence creates interface policy group ipg2 and assigns a combination of values that determine priority flow control enablement, NP port enablement, and slow-drain policy values for any interface that this policy group is applied to.

    Example:

    apic1(config)# template policy-group ipg2
    apic1(config-pol-grp-if)# priority-flow-control mode auto
    apic1(config-pol-grp-if)# switchport mode np
    apic1(config-pol-grp-if)# slow-drain pause timeout 111
    apic1(config-pol-grp-if)# slow-drain congestion-timeout count 55
    apic1(config-pol-grp-if)# slow-drain congestion-timeout action log
    
  11. Create an interface profile for F port interfaces.

    The sample command sequence creates an interface profile lip1 for F port interfaces, associates the profile with F port specific interface policy group ipg1, and specifies the interfaces to which this profile and its associated policies applies.

    Example:

    apic1# configure
    apic1(config)# leaf-interface-profile lip1
    apic1(config-leaf-if-profile)#  description 'test description lip1'
    apic1(config-leaf-if-profile)#  leaf-interface-group lig1
    apic1(config-leaf-if-group)# description 'test description lig1'
    apic1(config-leaf-if-group)# policy-group ipg1
    apic1(config-leaf-if-group)# interface ethernet 1/2-6, 1/9-13
    
    
  12. Create an interface profile for NP port interfaces.

    The sample command sequence creates an interface profile lip2 for NP port interfaces, associates the profile with NP port specific interface policy group ipg2, and specifies the interface to which this profile and its associated policies applies.

    Example:

    apic1# configure
    apic1(config)#     leaf-interface-profile lip2
    apic1(config-leaf-if-profile)#         description 'test description lip2'
    apic1(config-leaf-if-profile)#         leaf-interface-group lig2
    apic1(config-leaf-if-group)#           description 'test description lig2'
    apic1(config-leaf-if-group)# policy-group ipg2
    apic1(config-leaf-if-group)# interface ethernet 1/14
    
    
  13. Configure QoS Class Policy for Level 1.

    The sample command sequence specifies the QoS level of FCoE traffic to which priority flow control policy might be applied and pauses no-drop packet handling for Class of Service level 3.

    Example:

    apic1(config)# qos parameters level1
    apic1(config-qos)# pause no-drop cos 3
    

FCoE connectivity is configured for EPG e1 under tenant t1 using policies and profiles. The configuration includes bridge domains, VSAN mappings, interface policies, and QoS settings for proper FCoE operation.