To display the contents of the TFIB, use the show tag-switching forwarding-table privileged EXEC command.
show tag-switching forwarding-table [{network {mask | length} | tags tag[- tag] |
interface interface| next-hop address | tsp-tunnel [tunnel-id ]}] [detail]
Syntax | Description |
network | (Optional) Destination network number. |
mask | IP address of destination mask whose entry is to be shown. |
length | Number of bits in mask of destination. |
tags tag - tag | (Optional) Shows entries with specified local tags only. |
interface interface | (Optional) Shows entries with specified outgoing interface only. |
next-hop address | (Optional) Shows entries with specified neighbor as next hop only. |
tsp-tunnel [tunnel-id] | (Optional) Shows entries with specified TSP tunnel only, or all TSP tunnel entries. |
detail | (Optional) Displays information in long form (includes length of encapsulation, length of MAC string, MTU, and all tags). |
Privileged EXEC
This command first appeared in Cisco IOS Release 11.1 CT. The optional parameters allow specification of a subset of the entire TFIB.
The following is sample output from the show tag-switching forwarding-table command:
Router# show tag-switching forwarding-table
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
26 Untagged 10.253.0.0/16 0 Et4/0/0 172.27.32.4
28 1/33 10.15.0.0/16 0 AT0/0.1 point2point
29 Pop tag 10.91.0.0/16 0 Hs5/0 point2point
1/36 10.91.0.0/16 0 AT0/0.1 point2point
30 32 10.250.0.97/32 0 Et4/0/2 10.92.0.7
32 10.250.0.97/32 0 Hs5/0 point2point
34 26 10.77.0.0/24 0 Et4/0/2 10.92.0.7
26 10.77.0.0/24 0 Hs5/0 point2point
35 Untagged [T] 10.100.100.101/32 0 Tu301 point2point
36 Pop tag 168.1.0.0/16 0 Hs5/0 point2point
1/37 168.1.0.0/16 0 AT0/0.1 point2point
[T] Forwarding through a TSP tunnel.
View additional tagging info with the 'detail' option
The following is sample output from the show tag-switching forwarding-table command when you specify detail:
Router# show tag-switching forwarding-table detail
Local Outgoing Prefix Bytes tag Outgoing NextHop
tag tag or VC or Tunnel Id switched interface
26 Untagged 10.253.0.0/16 0 Et4/0/0 172.27.32.4
MAC/Encaps=0/0, MTU=1504, Tag Stack{}
28 1/33 10.15.0.0/16 0 AT0/0.1 point2point
MAC/Encaps=4/8, MTU=4470, Tag Stack{1/33(vcd=2)}
00020900 00002000
29 Pop tag 10.91.0.0/16 0 Hs5/0 point2point
MAC/Encaps=4/4, MTU=4474, Tag Stack{}
FF030081
1/36 10.91.0.0/16 0 AT0/0.1 point2point
MAC/Encaps=4/8, MTU=4470, Tag Stack{1/36(vcd=3)}
00030900 00003000
30 32 10.250.0.97/32 0 Et4/0/2 10.92.0.7
MAC/Encaps=14/18, MTU=1500, Tag Stack{32}
006009859F2A00E0F7E984828847 00020000
32 10.250.0.97/32 0 Hs5/0 point2point
MAC/Encaps=4/8, MTU=4470, Tag Stack{32}
FF030081 00020000
34 26 10.77.0.0/24 0 Et4/0/2 10.92.0.7
MAC/Encaps=14/18, MTU=1500, Tag Stack{26}
006009859F2A00E0F7E984828847 0001A000
26 10.77.0.0/24 0 Hs5/0 point2point
MAC/Encaps=4/8, MTU=4470, Tag Stack{26}
FF030081 0001A000
35 Untagged 10.100.100.101/32 0 Tu301 point2point
MAC/Encaps=0/0, MTU=1504, Tag Stack{}, via Et4/0/2
36 Pop tag 168.1.0.0/16 0 Hs5/0 point2point
MAC/Encaps=4/4, MTU=4474, Tag Stack{}
FF030081
1/37 168.1.0.0/16 0 AT0/0.1 point2point
MAC/Encaps=4/8, MTU=4470, Tag Stack{1/37(vcd=4)}
00040900 00004000
Table 11-7 describes the significant fields in the output from the show tag-switching forwarding-tablecommand.
13.58.185.199