Is there a way that I could get IP address from isis system id?
When show isis hostname it will provide understandable hostname and also system is... its not an iso address right... so anyhow can i get the ip address of the device from system is? Thanks
Only if you enceded it first. For example 49.0001.1921.6800.1001.00. You can read it as 192.168.1.1.
Im getting output like below
By default No. But you can if you configure system ID to represent IP address in Binary Coded Decimal (BCD) format.
For example, for ip address 192.168.1.1 the NET address can be configured as 49.0001.1921.6800.1001.00 which consists of the following parts:
root@R2# run show isis hostnameIS-IS hostname database:System ID Hostname Type1921.6800.1001 R1 Dynamic1921.6800.1002 R2 Static
Not sure if that's what you are looking for, but in order to find the IP addresses assigned to a system you can use
show isis database extensive <SYSID> | grep 'IP prefix:'
Noted and thank you.
got syntax error. Im trying to get all hostname and ip of devices via isis database.
as already mentioned, it's sysid is encoded from router-id, you can try either
show isis database 1280.4916.9054 extensive | match "IP router id"IP router id: 188.8.131.52
show isis database R2_re extensive | match "IP router id"IP router id: 184.108.40.206
the second one looks more convinient you just need a hostname, hope that helps
Hi Noted and thank you sir.