Multiple configuration search on interface

Multiple configuration search on interface

Dear Team

MF Network Automation does not have feature to search multiple configuration at interface level. Each single network device is having many interface and to search configuration on interface is difficult using current option in MF NA.

For example would like to search any 3 lines from below configuration in one attempt of search which is not possible using current search option 


interface GigabitEthernet1/6
switchport access vlan 168
switchport mode access
switchport voice vlan 176
authentication event fail action authorize vlan 144
authentication event server dead action authorize vlan 168
authentication event server dead action authorize voice
authentication event no-response action authorize vlan 144
authentication host-mode multi-domain
switchport mode access
authentication port-control auto
authentication order dot1x mab
authentication priority dot1x mab
authentication port-control auto

Request you to please provide the some solution ASAP

Regards,

Arun

4 Comments
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Dear Arun.

Using Reports -> Search For -> Configurations, you can use RegEx to search the configuration of a device. Let us know if that satisfy your requirement.

 

Valued Contributor.. arunmistry303 Valued Contributor..
Valued Contributor..

Dear Akashdeep,

We are looking for below configuration search on Cisco Switch where we have multiple Interface's configured

interface GigabitEthernet1/6
switchport mode access
authentication host-mode multi-domain
authentication port-control auto

Using RegEx have tried but no luck. Please advice if you have other options to check.

Regards,

Arun

 

 

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Hi Arun.

Thanks for your response.

I checked and we should be able to build that using RegEx. As RegEx is already supported option there is no product enhancement is needed to achieve the same.

If you are facing any issues with RegEx not working, please work with Micro Focus support team for the same.

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
Status changed to: Already Offered

As described in the comments, the required feature can already be achieved in the product and hence marking the state accordingly.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.