I am facing issue on Cisco 4506 and 4507 switches that I am running OSPF on both the switches and when I set interface bandwidth to 2048 then it is calculating its cost as 488 instead of 48, where as when I set interface bandwidth to 2048 on other switches and routers it shows correct cost of 48.
My 2nd question is regarding CDP
On point to point links cdp information shows correct IP of neighbouring device interface IP but in case of switches where there are multiple Vlans and multiple IPs and both the switches are connected through trunk. Which IP should be displayed through show cdp command?
e.g. Switch A has 2 VLANs with 10.68.0.1 and 10.160.0.1 and Loopback address of 10.255.25.1 which IP address should be seen on switch B when displaying show cdp neigh detail command.
Which criteria does CDP takes when displaying these information, is it the highest IP address of neighbouring device or some other method.
I am getting 10.160.0.1 on my switch but highest IP is Loopback address IP.
Kindly help me out in these 2 problems.