Automation

Expand all | Collapse all

Getting isis hostname and router-id

Jump to Best Answer
  • 1.  Getting isis hostname and router-id

    Posted 04-09-2019 01:48

    Hi Experts.. I'm getting the info by executing 'show isis hostname'. I would like to know if there is any possibilities to get list of hostname and router-id with any other command line?

    For example Im trying below but it return nothing. 

    show isis database extensive | match "IP router id" | match "Hostname"

     

    Any simple python script to extract those info would be helpful also. Thank you.

     



  • 2.  RE: Getting isis hostname and router-id
    Best Answer

    Posted 04-09-2019 04:00

    Hi,

     

    You might try as following:

    show isis database extensive | match "Hostname|IP router id"

     

    Regards,

    Roman



  • 3.  RE: Getting isis hostname and router-id

    Posted 04-09-2019 17:37

    Hi sir, Yup..as what I requested... thank you sir.