cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
635
Views
5
Helpful
1
Replies

ip default-gateway

kasunrajapakse
Level 1
Level 1

Hi Guys, 

 

I have a L2 switch with the following setup.My problem is that I can see a packet loss from this L2 switch to 10.113.7.1 and i want to know which path the traffic is flowing. 

I can't do "show ip route 10.113.7.1" because routing is not enabled. 

 

vlan 311 is being trunked among multiple ports and used as access ports in 2 ports. 

How i can check what interface that it takes to reach 10.113.7.1?

 

 

interface Vlan311
ip address 10.113.7.12 255.255.255.192
!
ip default-gateway 10.113.7.1

 

==============================================================

SW3#traceroute 10.113.7.1
Type escape sequence to abort.
Tracing the route to 10.113.7.1
VRF info: (vrf in name/id, vrf out name/id)
1 10.113.7.1 8 msec 17 msec 8 msec
Colindale-SW3#

 

 

 

SW3#show vlan brief

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi1/0/5, Gi1/1/3
111 VLAN0111 active
156 VLAN0156 active Gi1/0/42, Gi1/0/44, Gi1/0/48
157 VLAN0157 active Gi1/0/41, Gi1/0/43, Gi1/0/47
158 VLAN0158 active Gi1/0/40, Gi1/0/46
300 VLAN0300 active
304 VLAN0304 active
311 VLAN0311 active Gi1/0/26, Gi1/0/45
313 VLAN0313 active

 

 

 

SW3#show interfaces trunk

Port Mode Encapsulation Status Native vlan
Gi1/0/1 on 802.1q trunking 1
Gi1/0/2 on 802.1q trunking 1
Gi1/0/12 on 802.1q trunking 317
Gi1/0/16 on 802.1q trunking 1
Gi1/0/17 on 802.1q trunking 1
Gi1/0/18 on 802.1q trunking 1
Gi1/0/19 on 802.1q trunking 1
Gi1/0/29 on 802.1q trunking 317
Gi1/1/1 on 802.1q trunking 1

Port Vlans allowed on trunk
Gi1/0/1 311,313-314,317,323,353,365
Gi1/0/2 311,313-314,317,323
Gi1/0/12 317,330,352
Gi1/0/16 1-4094
Gi1/0/17 1-4094
Gi1/0/18 1-4094
Gi1/0/19 1-4094
Gi1/0/29 317,330,352
Gi1/1/1 60-61,156-161,170-173,180,311-323,330-335,341-342,352-353,360-361,365,555,998-999

Port Vlans allowed and active in management domain
Gi1/0/1 311,313,317,353,365
Gi1/0/2 311,313,317
Gi1/0/12 317,330,352
Gi1/0/16 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/17 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/18 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/19 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/29 317,330,352
Gi1/1/1 156-158,311,313,317,330-332,334-335,341-342,352-353,360-361,365

Port Vlans in spanning tree forwarding state and not pruned
Gi1/0/1 311,313,317,353,365
Gi1/0/2 311,313,317
Gi1/0/12 317,330,352
Gi1/0/16 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/17 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/18 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/19 1,111,156-158,300,304,311,313,317,330-332,334-335,341-342,352-353,360-361,365
Gi1/0/29 317,330,352
Gi1/1/1 156-158,311,313,317,330-332,334-335,341-342,352-353,360-361,365

 

1 Accepted Solution

Accepted Solutions

Cristian Matei
VIP Alumni
VIP Alumni

Hi,

 

  You first say "show ip arp | i 10.113.7.1" to find out the MAC address, and afterwards you say "show mac address-table address xxxxx" , where you replace xxxxx with the MAC address, in order to find the physical port.

 

Regards,

Cristian Matei.

View solution in original post

1 Reply 1

Cristian Matei
VIP Alumni
VIP Alumni

Hi,

 

  You first say "show ip arp | i 10.113.7.1" to find out the MAC address, and afterwards you say "show mac address-table address xxxxx" , where you replace xxxxx with the MAC address, in order to find the physical port.

 

Regards,

Cristian Matei.

Review Cisco Networking products for a $25 gift card