ankbhasi Tue, 07/31/2007 - 01:23
User Badges:
  • Cisco Employee,

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.



mohammedmahmoud Tue, 07/31/2007 - 01:24
User Badges:
  • Green, 3000 points or more

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.


Mohammed Mahmoud.

Amit Singh Tue, 07/31/2007 - 01:26
User Badges:
  • Cisco Employee,

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


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


This Discussion