show tag-switching forwarding-table

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).

Command Mode

Privileged EXEC

Usage Guidelines

This command first appeared in Cisco IOS Release 11.1 CT. The optional parameters allow specification of a subset of the entire TFIB.

Sample Displays

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.

Table 11-7. show tag-switching forwarding-table Field Descriptions
Field Description
Local tag Tag assigned by this router.
Outgoing tag or VC Tag assigned by next hop, or VPI/VCI used to get to next hop. Some of the entries you can have in this column are

[T] means forwarding through a TSP tunnel.

Untagged means there is no tag for the destination from the next hop, or Tag Switching is not enabled on the outgoing interface.

Pop tag means the next hop advertised an implicit NULL tag for the destination, and this router popped the top tag.
Prefix or Tunnel Id Address or tunnel to which packets with this tag are going.
Bytes tag switched Number of bytes switched with this incoming tag.
Outgoing interface Interface through which packets with this tag are sent.
NextHop IP address of neighbor that assigned the outgoing tag.
Mac/Encaps Length in bytes of Layer 2 header, and length in bytes of packet encapsulation, including Layer 2 header and tag header.
MTU MTU of tagged packet.
Tag Stack All the outgoing tags. If the outgoing interface is TC-ATM, the VCD is also shown.
00020900 00002000 The actual encapsulation in hexadecimal form. There is a space shown between Layer 2 and tag header.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.185.199