diff --git a/changelog/undistributed/changelog_show_interface_nxos_20250127214524.rst b/changelog/undistributed/changelog_show_interface_nxos_20250127214524.rst new file mode 100644 index 0000000000..db033e4f4f --- /dev/null +++ b/changelog/undistributed/changelog_show_interface_nxos_20250127214524.rst @@ -0,0 +1,6 @@ +-------------------------------------------------------------------------------- + Fix +-------------------------------------------------------------------------------- +* NXOS + * Modified ShowInterfaceStatus: + * Updated regex pattern to accommodate the value 'adminCfgC'. diff --git a/src/genie/libs/parser/nxos/show_interface.py b/src/genie/libs/parser/nxos/show_interface.py index 356b8aef29..4a4f4bfdab 100755 --- a/src/genie/libs/parser/nxos/show_interface.py +++ b/src/genie/libs/parser/nxos/show_interface.py @@ -3762,7 +3762,7 @@ def cli(self, interface="", output=None): # containing any number of blank spaces. This makes it very difficult to use a regular # expression to dynamically match the status column, so hard-coding offers a happy # middle ground. - r'(?Pconnected|disabled|sfpAbsent|noOperMem|notconnec|xcvrAbsen|down|linkFlapE)\s+' + r'(?Pconnected|disabled|sfpAbsent|noOperMem|notconnec|xcvrAbsen|down|linkFlapE|adminCfgC)\s+' r'(?P\S+)\s+' r'(?P\S+)\s+' r'(?P\S+)\s*'