cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
1545
Views
0
Helpful
2
Replies

Behaviour of "traceroute mac" command...

Alexander Demin
Level 1
Level 1

Hello!

I've got a test environment:

SwitchA---SwitchB---SwitchC

SwitchA and SwitchB is a 3560E Cat. (Universal-M IOS 12.2(53)SE2 )

SwitchC is a 3550 Cat. (SMI IOS 12.2(25)SEA )

CDP is fully enabled.

A vlan is configured over this little switch cloud. For example - vlan_id 77.

I configured  two SVI's with IP addresses in that vlan on SwitchA and SwitchC:

SVI on Switch A:

SwitchA#sh interfaces vlan 77
Vlan77 is up, line protocol is up
  Hardware is EtherSVI, address is 3cdf.1e62.4042 (bia 3cdf.1e62.4042)
  Internet address is 172.16.1.2/30

SVI on Switch C:

SwitchC#sh interfaces vlan 77
Vlan77 is up, line protocol is up
  Hardware is EtherSVI, address is 000d.bcd9.9d00 (bia 000d.bcd9.9d00)
  Internet address is 172.16.1.1/30

Some diags concerning mac-addresses assigned to those SVIs:

SwitchA#sh mac address-table | i 3cdf.1e62.4042
SwitchA#

SwitchA#sh mac address-table dynamic vlan 77
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
77    000d.bcd9.9d00    DYNAMIC     Te0/2
Total Mac Addresses for this criterion: 1

SwitchC#sh mac-address-table | i 000d.bcd9.9d00
All    000d.bcd9.9d00    STATIC      CPU

SwitchC#sh mac-address-table dynamic vlan 77
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
77    3cdf.1e62.4042    DYNAMIC     Po2

Ping from SwitchC to SwitchA is OK:

SwitchC#ping 172.16.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms

When I try to do traceroute mac, or traceroute  mac ip I get:

From SwitchC to SwitchA:

SwitchC#traceroute mac 000d.bcd9.9d00 3cdf.1e62.4042 vlan 77 detail
Error: Source Mac address not found.
Layer2 trace aborted.

From SwitchA to SwitchC:

SwitchA#traceroute mac 3cdf.1e62.4042 000d.bcd9.9d00 vlan 77 detail
Error: Source Mac address not found.
Layer2 trace aborted.

Command reference says:

This example shows the Layer 2 path when the switch cannot find the destination port for the source MAC address:

Switch# traceroute mac 0000.0011.1111 0000.0201.0201
Error:Source Mac address not found.
Layer2 trace aborted.

Does this mean that SVI's are not considered by IOS as destination ports?

How can I overcome this feature/bug/limitation ? Make a static entry for those SVI MACs, bounding them to trunks, or whatever ?

Thanks in advance.

wbr, Alex.

DAO21-RIPE
2 Replies 2

milan.kulik
Level 10
Level 10

Hi,

IMHO, it should work.

Isn't your problem caused by tracing in VLAN 171 but the MAC addresses available and SVIs configured in VLAN 77?

BR,

Milan

No, its not the case of vlan_id, I made a mistake in my letter, I was using traceroute mac with vlan 77.

p.s. updated the starting letter.

milan.kulik wrote:

Hi,

IMHO, it should work.

Isn't your problem caused by tracing in VLAN 171 but the MAC addresses available and SVIs configured in VLAN 77?

BR,

Milan

DAO21-RIPE