07-31-2007 01:00 AM - edited 03-05-2019 05:35 PM
HI Experts,
How can i find the Root Bridge name ( Hostname ) from any switch within the switched network .
BR,
Ibrahim Alwahidi
07-31-2007 01:23 AM
Hi Ibrahim,
Thats is not possible and also in your VTP post you want to know the host name but that is not possible.
Show commands will either give you an ip address and for something like finding root bridge you will get mac address of the root bridge but not the host names.
If you have mainatiend soem DNS entries then you may do a lookup to find the details.
HTH
Ankur
07-31-2007 01:24 AM
Hi Ibrahim,
"show spanning-tree root" displays the MAC address of the root bridge, do you mean you want to know the hostname from the MAC address, as i don't think that it is possible.
HTH,
Mohammed Mahmoud.
07-31-2007 01:26 AM
You will not able to find the root bridge Hostname on the network unless you know the IP address of it and you have a DNS entry for the root bridge in the DNS server.
You can certainly find the mac-address of the root bridge and locate the root bridge on the network.
Switch# show spanning-tree active
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address 0001.42e2.cdd0
Cost 3038
Port 24 (GigabitEthernet2/0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 49153 (priority 49152 sys-id-ext 1)
Address 0003.fd63.9580
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Uplinkfast enabled
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi2/0/1 Root FWD 3019 128.24 P2p
You can also use " show spanning-tree detail "
HTH,Please rate if it does.
-amit singh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide