- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 03:40 PM - edited 04-09-2024 03:46 PM
Hi all,
I am working on scoping a DNA Center migration project for a customer. Unfortunately, the customer's previous network engineer did not document their maglev configuration very well, so I am needing to login to the DNA Center appliance maglev to view the configuration myself. I know that I can use the command "sudo maglev-config update" to essentially re-launch the maglev config and view how each interface is configured. HOWEVER, before it gets to the remaining configuration (most notably, the screen where you enter what virtual IP address each interface is supposed to use for the cluster), I get this screen:
If I am understanding this correctly, I would have to take access to the DNAC offline just to SEE what the maglev configuration is? I don't intend on making ANY changes at all to this configuration on the existing production appliance, I just need to get in and see/take screenshots of how it is configured so I can duplicate the new install properly. Is there a command to do this? Unfortunately, the customer is a hospital and internal policies dictate that any reboot/restart/take down of any networking monitoring equipment has to go through a whole CAB review and a maintenance window. So ...you can imagine I'm trying to find a way not to have to submit a bunch of paperwork and have to get up in the middle of the night just to run view how something is already configured.
Thanks in advance for the information!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 10:01 AM
From the CLI,
Note: due to restricted shell, commands are limited without root admin access.
You can use the following from CLI:
$ ip a | egrep "management"
$ ip a | egrep "internet"
$ ip a | egrep "cluster"
$ ip a | egrep "enterprise"
These will get the IP address and VIP configured (if up and running). Note: capture on all nodes if 3 Node Cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 05:01 PM
Another way to gather the networking information is to use the APIs and a REST API application like Postman. Perform the API request against a single node in the Cluster and it will gather the networking information from all of the nodes.
GET
{{PROTOCOL}}://{{CATC.IP.ADDRESS}}/api/system/v1/maglev/nodes/config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 05:14 PM - edited 04-10-2024 07:34 AM
Hey @Tomas de Leon - I guess maybe I spoke a bit too soon. Spent so much time yesterday looking at command line that my brain wasn't working correctly. The API you have does indeed show the interface configuration, but not the VIP configuration. Here's an export from my lab. I'm using both the Enterprise and Cluster interfaces, both with a .249 host address. The VIP for each, though, is a .248 address, which is not shown anywhere in that API output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 10:01 AM
From the CLI,
Note: due to restricted shell, commands are limited without root admin access.
You can use the following from CLI:
$ ip a | egrep "management"
$ ip a | egrep "internet"
$ ip a | egrep "cluster"
$ ip a | egrep "enterprise"
These will get the IP address and VIP configured (if up and running). Note: capture on all nodes if 3 Node Cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 10:09 AM
That got it! Thanks!
