Difference between revisions of "CCNP TSHOOT Learning Guide/Chapter 4"
From Teknologisk videncenter
m |
m (→show platform forward interface example) |
||
Line 50: | Line 50: | ||
*traceroute mac - Example below | *traceroute mac - Example below | ||
==== show platform forward ''interface'' example ==== | ==== show platform forward ''interface'' example ==== | ||
+ | |||
+ | Show how the switch will direct traffic | ||
<source lang=cli> | <source lang=cli> | ||
− | |||
SW1#<input>show platform forward gigabitEthernet 0/1 vlan 1 0021.5a7c.5549 001b.2a32.2e99</input> | SW1#<input>show platform forward gigabitEthernet 0/1 vlan 1 0021.5a7c.5549 001b.2a32.2e99</input> | ||
Ingress: | Ingress: | ||
Line 81: | Line 82: | ||
Between two MAC-addresses in two different VLANs in a layer 3 switch | Between two MAC-addresses in two different VLANs in a layer 3 switch | ||
<source lang=cli> | <source lang=cli> | ||
− | + | SW1#<input>show platform forward gigabitEthernet 0/1 vlan 1 0021.5a7c.5549 000c.29ca.39dd</input> | |
Ingress: | Ingress: | ||
Global Port Number: 1, lpn: 3 Asic Number: 1 | Global Port Number: 1, lpn: 3 Asic Number: 1 |
Revision as of 07:59, 15 June 2010
Maintaining and troubleshooting Campus Switched Solutions
Contents
VLAN Troubleshooting
Layer 2 reviewing
ARP
- show mac-addresses
SW1#<input>show mac-address-table</input>
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
All 0100.0ccc.cccc STATIC CPU
All 0100.0ccc.cccd STATIC CPU
<notice>...OUTPUT OMITTED...</notice>
1 001b.0cba.4f99 DYNAMIC Gi0/9
1 001b.2a32.2e99 DYNAMIC Gi0/5
1 0021.5a7c.5549 DYNAMIC Gi0/4
1 00a0.d1e6.60b4 DYNAMIC Gi0/22
41 0014.f273.96c0 DYNAMIC Gi0/7
<notice>...OUTPUT OMITTED...</notice>
41 001b.0cb6.9141 DYNAMIC Gi0/7
41 001b.0cba.4fc1 DYNAMIC Gi0/9
41 001b.2a32.2ec1 DYNAMIC Gi0/5
12 001f.297d.3460 DYNAMIC Gi0/2
20 00a0.c543.035d DYNAMIC Gi0/6
22 0003.47ca.d67c DYNAMIC Gi0/7
22 000c.296c.1120 DYNAMIC Gi0/12
24 0016.769f.ff4e DYNAMIC Gi0/8
28 0013.2085.a1fe DYNAMIC Gi0/9
28 0013.2085.c447 DYNAMIC Gi0/9
<notice>...OUTPUT OMITTED...</notice>
Troubleshooting layer 2
- Hardware issues (move cable to good port)
- VLAN configuration.
- Inter-VLAN traffic must be routed
- Trunk configuration
- Same trunkprotocol (DOT1Q,ISL)
- Same Native VLAN
Verifying Layer 2 Forwarding
Often used commands
- show mac-address-table
- show vlan
- show interface trunk
- show interface switchport
- show platform forward interface - Example below
- traceroute mac - Example below
show platform forward interface example
Show how the switch will direct traffic
SW1#<input>show platform forward gigabitEthernet 0/1 vlan 1 0021.5a7c.5549 001b.2a32.2e99</input>
Ingress:
Global Port Number: 1, lpn: 3 Asic Number: 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
Hashes: L2Src 0x00 L2Dst 0x09 L3Src 0x00 L3Dst 0x09
Lookup Key-Used Index-Hit A-Data
Classify 68_0070001B_2A322E99-00_00000021_5A7C5549 00FFC 00000000
InputACL 20_0070001B_2A322E99-00_00000021_5A7C5549 01FF8 01000000
L2LrnMsk FF_03FFFFFF_FFFFFFFF-00_000003FF_00000000
L2Learn 83_00010021_5A7C5549-93_00000401_00000000 01840 00000000
L2FwdMsk FF_03FFFFFF_FFFFFFFF
L2Fwd 83_0001001B_2A322E99 0003E 000000C5
Station Descriptor: F005F001, DestIndex: F005, RewriteIndex: F001
==========================================
Egress: Asic 0, switch 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
portMap 0x4, non-SPAN portMap 0x4
Output Packets:
------------------------------------------
GigabitEthernet0/5 Packet 1
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070001B_2A322E99-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/5 0001 0021.5a7c.5549 001b.2a32.2e99
Between two MAC-addresses in two different VLANs in a layer 3 switch
SW1#<input>show platform forward gigabitEthernet 0/1 vlan 1 0021.5a7c.5549 000c.29ca.39dd</input>
Ingress:
Global Port Number: 1, lpn: 3 Asic Number: 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
Hashes: L2Src 0x00 L2Dst 0x0A L3Src 0x00 L3Dst 0x0A
Lookup Key-Used Index-Hit A-Data
Classify 68_0070000C_29CA39DD-00_00000021_5A7C5549 00FFC 00000000
InputACL 20_0070000C_29CA39DD-00_00000021_5A7C5549 01FF8 01000000
L2LrnMsk FF_03FFFFFF_FFFFFFFF-00_000003FF_00000000
L2Learn 83_00010021_5A7C5549-93_00000401_00000000 01840 00000000
L2FwdMsk FF_03FFFFFF_FFFFFFFF
L2Fwd 83_0001000C_29CA39DD 01840 0000003C
Station Descriptor: 02E70000, DestIndex: 02E8, RewriteIndex: F001
==========================================
Egress: Asic 0, switch 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
portMap 0xF, non-SPAN portMap 0xF
Output Packets:
------------------------------------------
GigabitEthernet0/7 Packet 1
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/7 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/8 Packet 2
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/8 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/5 Packet 3
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/5 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/6 Packet 4
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/6 0001 0021.5a7c.5549 000c.29ca.39dd
==========================================
Egress: Asic 1, switch 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
portMap 0xD, non-SPAN portMap 0xD
Output Packets:
------------------------------------------
GigabitEthernet0/2 Packet 5
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/2 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/4 Packet 6
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/4 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/1 Packet 7
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Dropped due to failed deja vu check.
==========================================
Egress: Asic 2, switch 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
portMap 0x4, non-SPAN portMap 0x4
Output Packets:
------------------------------------------
GigabitEthernet0/13 Packet 8
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/13 0001 0021.5a7c.5549 000c.29ca.39dd
==========================================
Egress: Asic 3, switch 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
portMap 0xE, non-SPAN portMap 0xE
Output Packets:
------------------------------------------
GigabitEthernet0/11 Packet 9
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/11 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/12 Packet 10
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/12 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/9 Packet 11
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/9 0001 0021.5a7c.5549 000c.29ca.39dd
==========================================
Egress: Asic 5, switch 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
portMap 0x9, non-SPAN portMap 0x9
Output Packets:
------------------------------------------
GigabitEthernet0/23 Packet 12
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/23 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/22 Packet 13
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/22 0001 0021.5a7c.5549 000c.29ca.39dd
==========================================
Egress: Asic 6, switch 1
Source Vlan Id: Real 1, Mapped 1. L2EncapType 0, L3EncapType 3
portMap 0x6, non-SPAN portMap 0x6
Output Packets:
------------------------------------------
GigabitEthernet0/19 Packet 14
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/19 0001 0021.5a7c.5549 000c.29ca.39dd
------------------------------------------
GigabitEthernet0/20 Packet 15
Lookup Key-Used Index-Hit A-Data
OutptACL 30_0070000C_29CA39DD-00_00000021_5A7C5549 01FFC 01000000
Port Vlan SrcMac DstMac Cos Dscpv
Gi0/20 0001 0021.5a7c.5549 000c.29ca.39dd