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

PDF

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

Configure Fibre Channel NPV policies using the CLI

Want to summarize with AI?

Log in

Configures Fibre Channel NPV policies on leaf switches using the CLI to manage port groups, fabric policies, and interface profiles. This process ensures proper connectivity and policy inheritance for Fibre Channel traffic.


Before you begin

Leaf switch ports to be used in an NPV application have been converted to Fibre Channel (FC) ports.

Procedure

  1. Create a template of a Fibre Channel F port policy group.

    Example:

    
                            apic1(config)# 
                            
                                template fc-policy-group my-fc-policy-group-f-ports
                             
                            apic1(config-fc-pol-grp-if)# 
                            
                                vsan-domain member dom1
                             
                            apic1(config-fc-pol-grp-if)# 
                            
                                switchport mode f
                             
                            apic1(config-fc-pol-grp-if)# 
                            
                                switchport trunk-mode trunk-off
                             
                        

    You can configure other switchport settings, such as speed.

  2. Create a template of a Fibre Channel NP port policy group.

    Example:

    
                            apic1(config)# 
                            
                                template fc-policy-group my-fc-policy-group-np-ports
                             
                            apic1(config-fc-pol-grp-if)# 
                            
                                vsan-domain member dom1
                             
                            apic1(config-fc-pol-grp-if)# 
                            
                                switchport mode np
                             
                            apic1(config-fc-pol-grp-if)# 
                            
                                switchport trunk-mode trunk-on
                             
                        

    You can configure other switchport settings, such as speed.

  3. Create a fabric-wide Fibre Channel policy.

    Example:

    
                            apic1(config)# template fc-fabric-policy 
                            
                                my-fabric-fc-policy
                             
                            apic1(config-fc-fabric-policy)# 
                            
                                fctimer e-d-tov 1000
                             
                            apic1(config-fc-fabric-policy)# 
                            
                                fctimer r-a-tov 5000
                             
                            apic1(config-fc-fabric-policy)# 
                            
                                fcoe fcmap 0E:FC:01
                             
                        
  4. Create a Fibre Channel port channel policy.

    Example:

    
                            apic1(config)# 
                            
                                template fc-port-channel my-fc-pc
                             
                            apic1(config-fc-po-ch-if)# 
                            
                                lacp max-links 4
                             
                            apic1(config-fc-po-ch-if)# 
                            
                                lacp min-links 1
                             
                            apic1(config-fc-po-ch-if)# 
                            
                                vsan-domain member dom1
                             
                        
  5. Create a leaf-wide Fibre Channel policy group.

    Example:

    
                            apic1(config)# 
                            
                                template fc-leaf-policy my-fc-leaf-policy
                             
                            apic1(config-fc-leaf-policy)# 
                            
                                npv auto-load-balance disruptive
                             
                            apic1(config-fc-leaf-policy)# 
                            
                                fcoe fka-adv-period 10
                             
                        
    Note

    The policy commands that are shown here are only examples, and are not mandatory settings.

  6. Create a leaf policy group.

    
                            apic1(config)# 
                            
                                template leaf-policy-group lpg1
                             
                            apic1(config-leaf-policy-group)# 
                            
                                inherit fc-fabric-policy my-fabric-fc-policy
                             
                            apic1(config-leaf-policy-group)# 
                            
                                inherit fc-leaf-policy my-fc-leaf-policy
                             
                        

    The leaf policy group is created by inheriting FC-related policies.

  7. Create a leaf profile to apply a leaf-policy-group to a leaf-group.

    Example:

    
                            apic1(config)# 
                            
                                leaf-profile my-leaf-profile
                             
                            apic1(config-leaf-profile)# 
                            
                                leaf-group my-leaf-group
                             
                            apic1(config-leaf-group)# 
                            
                                leaf 101
                             
                            apic1(config-leaf-group)# 
                            
                                leaf-policy-group lpg1
                             
                        

    This example applies fabric-wide FC policies and leaf-wide FC policies that are grouped into a leaf policy group lpg1 to leaf 101.

  8. Create a leaf interface profile and apply a fc-policy-group to a set of FC interfaces.

    Example:

    
                            apic1(config)# 
                            
                                leaf-interface-profile my-leaf-interface-profile
                             
                            apic1(config-leaf-if-profile)# 
                            
                                leaf-interface-group my-leaf-interface-group
                             
                            apic1(config-leaf-if-group)# 
                            
                                fc-policy-group my-fc-policy-group-f-ports
                             
                            apic1(config-leaf-if-group)# 
                            
                                interface fc 1/1-10