cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
508
Views
0
Helpful
1
Replies

ACI Fex configuration queries

Robo123
Level 1
Level 1

Hi All,

I have ACI fabric setup where some of my servers are connected on the FEX module.urrently i'm planning to move the FEX connectivity from Leaf 1 to Leaf 2.

Robo123_0-1678283471283.png

Can some one confirm post movement of the FEX from Leaf1 to Leaf2 should i need to configure each and every individual interfaces from the new Node or the config will be auto fetch?

For the movement time should i need to create any profile for the Fex module?

 

 

1 Reply 1

RedNectar
VIP
VIP

Hi @Robo123 ,

Let's start with some conceptual points.

Any server attached to a FEX is essentially directly attached to a leaf.

So for each and every server attached to the FEX, moving them to a new leaf (even if physically attached to the same FEX) is moving the server to a new leaf.

In your case, moving the FEX is like moving a line-card from one chassis to another chassis.

So by now, you'll pretty much realise that this probably not going to be easy.

Although this may be able to be refined, here are my suggestions:

  1. Configure the ports where the FEX is moving to ready for the new FEX, creating a new_FEX_profile
  2. Make sure you use the same FEX ID as it is at the moment.
  3. In the ACI GUI, navigate to Fabric > Access Policies >> Interfaces > Leaf Interfaces > Profiles > old_FEX_profile >+ Save as...  and save the profile - make sure you select Only ConfigurationSubtree and JSON - i.e NONE of the defaults.
    • You'll get a file something like my output below - which Visual Studio Code has formatted to look pretty for me 
  4. Look for any reference to the old Leaf ID in the output. If you are using the system generated Leaf and Interface profiles that came with ACI v5.2(7f) then they will look very much like mine.
  5. Replace these numbers with the leaf ID of the new leaf and save the file.

    IMPORTANT - I HAVEN'T BEEN ABLE TO TEST THE REST OF THIS

  6. Move the FEX cabling
  7. Right click on the new_FEX_profile (actually - right click anywhere in the tree that gives you the Post option) and choose Post
    1. Make sure the Parent ID is changed to uni/
    2. Select the file you just saved and click Post

      This is the point at which it could all go wrong

  8. Remove/delete the old FEX Profile

What could go wrong?

Well, particularly if you are using the new system-generated Leaf and Interface Profiles, you may get an error about trying to change system defined stuff.

Apart from that, it would be normal for some errors to appear but they should sort themselves out after a while.

I hope this helps.


Don't forget to mark answers as correct if it solves your problem. This helps others find the correct answer if they search for the same problem.



JSON file of connected servers on FEX

{
    "totalCount": "1",
    "imdata": [
        {
            "infraFexP": {
                "attributes": {
                    "annotation": "",
                    "descr": "",
                    "dn": "uni/infra/fexprof-system-fex-192-profile-node-1202",
                    "name": "system-fex-192-profile-node-1202",
                    "nameAlias": "",
                    "ownerKey": "",
                    "ownerTag": "",
                    "userdom": "all"
                },
                "children": [
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T03:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T03:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "webserver.t03.dns",
                                            "fromCard": "1",
                                            "fromPort": "13",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "13",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T12:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T12:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T12 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "22",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "22",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T14:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T14:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T14 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "24",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "24",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T17:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T17:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "webserver.t17.dns",
                                            "fromCard": "1",
                                            "fromPort": "27",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "27",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T18:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T18:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "webserver.t18.dns",
                                            "fromCard": "1",
                                            "fromPort": "28",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "28",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T09:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T09:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T09 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "19",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "19",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T04:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T04:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T04 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "14",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "14",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T01:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T01:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T01 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "11",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "11",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T15:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T15:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T15 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "25",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "25",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T11:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T11:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "",
                                            "fromCard": "1",
                                            "fromPort": "21",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "21",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T02:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T02:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T02 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "12",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "12",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T13:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T13:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T13 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "23",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "23",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T10:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T10:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "",
                                            "fromCard": "1",
                                            "fromPort": "20",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "20",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraHPortS": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-port-selector-accportgrp-T05:SA.Host_APPG",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "type": "range",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsAccBaseGrp": {
                                        "attributes": {
                                            "annotation": "",
                                            "fexId": "101",
                                            "tDn": "uni/infra/funcprof/accportgrp-T05:SA.Host_APPG",
                                            "userdom": "all"
                                        }
                                    }
                                },
                                {
                                    "infraPortBlk": {
                                        "attributes": {
                                            "annotation": "",
                                            "descr": "T05 WebServerBM",
                                            "fromCard": "1",
                                            "fromPort": "15",
                                            "name": "portblock1",
                                            "nameAlias": "",
                                            "toCard": "1",
                                            "toPort": "15",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "infraFexBndlGrp": {
                            "attributes": {
                                "annotation": "",
                                "descr": "",
                                "name": "system-fex-192-profile-node-1202",
                                "nameAlias": "",
                                "ownerKey": "",
                                "ownerTag": "",
                                "userdom": "all"
                            },
                            "children": [
                                {
                                    "infraRsMonFexInfraPol": {
                                        "attributes": {
                                            "annotation": "",
                                            "tnMonInfraPolName": "",
                                            "userdom": "all"
                                        }
                                    }
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ]
}

 

RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License