The use of GRE
redirection results in the creation of new tunnel interfaces. You can display
these tunnel interfaces by entering the
show
ipv6
interface
brief
|
include
tunnel command:
Device# show ipv6 interface brief | include tunnel
Tunnel0 2001::DB8:1::1 YES unset up up
Tunnel1 2001::DB8:1::1 YES unset up up
Tunnel2 2001::DB8:1::1 YES unset up up
Tunnel3 2001::DB8:1::1 YES unset up up
Device#
The tunnel interfaces
are automatically created in order to process outgoing GRE-encapsulated traffic
for WCCP. The tunnel interfaces appear when a content engine connects and
requests GRE redirection. The tunnel interfaces are not created directly by
WCCP, but are created indirectly via a tunnel application programming interface
(API). WCCP does not have direct knowledge of the tunnel interfaces, but can
redirect packets to them, resulting in the appropriate encapsulation being
applied to the packets. After the appropriate encapsulation is applied, the
packet is then sent to the content engine.
Note |
The tunnel
interfaces are not used to connect with incoming WCCP GRE return packets.
|
One tunnel is created
for each service group that is using GRE redirection. One additional tunnel is
created to provide an IP address that allows the other tunnel group interfaces
to be unnumbered but still enabled for IPv6.
You can confirm the
connection between the tunnels and WCCP by entering the
show
tunnel
groups
wccp
command:
Device# show tunnel groups wccp
WCCP : service group 0 in "Default", ver v2, assgnmnt: hash-table
intf: Tunnel0, locally sourced
WCCP : service group 317 in "Default", ver v2, assgnmnt: hash-table
intf: Tunnel3, locally sourced
WCCP : service group 318 in "Default", ver v2, assgnmnt: hash-table
intf: Tunnel2, locally sourced
You can display
additional information about each tunnel interface by entering the
show
tunnel
interface
interface-number command:
Device# show tunnel interface t0
Tunnel0
Mode:multi-GRE/IP, Destination UNKNOWN, Source 2001::DB8:1::2
Application ID 2: WCCP : service group 0 in "Default", ver v2, assgnmnt: hash-table
Linestate - current up
Internal linestate - current up, evaluated up
Device# show tunnel interface t1
Tunnel1
Mode:multi-GRE/IP, Destination UNKNOWN, Source 2001::DB8:1::1
Application ID 2: unspecified
Linestate - current up
Internal linestate - current up, evaluated up
Device# show tunnel interface t2
Tunnel2
Mode:multi-GRE/IP, Destination UNKNOWN, Source 2001::DB8:1::1
Application ID 2: WCCP : service group 318 in "Default", ver v2, assgnmnt: hash-table
Linestate - current up
Internal linestate - current up, evaluated up
Device# show tunnel interface t3
Tunnel3
Mode:multi-GRE/IP, Destination UNKNOWN, Source 2001::DB8:1::1
Application ID 2: WCCP : service group 317 in "Default", ver v2, assgnmnt: hash-table
Linestate - current up
Internal linestate - current up, evaluated up
Device#
Note that the service
group number shown in the examples is the internal tunnel representation of the
WCCP service group number. Group 0 is the web-cache service. To determine the
dynamic services, subtract 256 from the displayed service group number to
convert to the WCCP service group number. For interfaces that are used for
redirection, the source address shown is the WCCP router ID.
You can display
information about the connected content engines and encapsulation, including
software packet counters, by entering the
show
adjacency
[tunnel-interface] [encapsulation ] [detail ] [internal ] command:
Device# show adjacency t0
Protocol Interface Address
IP Tunnel0 2001::DB8:1::1(3)
Device# show adjacency t0 encapsulation
Protocol Interface Address
IPV6 Tunnel1 2001:DB8:1::11(2)
Encap length 48
6000000000002FFF20010DB801000000
000000000000000120010DB800010000
00000000000000110000883E00000000
Provider: TUNNEL
IPV6 Tunnel1 2001:DB8:1::12(2)
Encap length 48
6000000000002FFF20010DB801000000
000000000000000120010DB800010000
00000000000000120000883E00000000
Provider: TUNNEL
Device# show adjacency t0 detail
Protocol Interface Address
IPV6 Tunnel1 2001:DB8:1::11(2)
0 packets, 0 bytes
epoch 0
sourced in sev-epoch 22
Encap length 48
6000000000002FFF20010DB801000000
000000000000000120010DB800010000
00000000000000110000883E00000000
Tun endpt
Next chain element:
punt
Device# show adjacency t0 internal
Protocol Interface Address
IPV6 Tunnel1 2001:DB8:1::11(2)
0 packets, 0 bytes
epoch 0
sourced in sev-epoch 22
Encap length 48
6000000000002FFF20010DB801000000
000000000000000120010DB800010000
00000000000000110000883E00000000
Tun endpt
Next chain element:
punt
parent oce 0x68C55B00
frame originated locally (Null0)
L3 mtu 0
Flags (0x2808C6)
Fixup disabled
HWIDB/IDB pointers 0x200900DC/0x20090D98
IP redirect disabled
Switching vector: IPv6 midchain adjacency oce
Next-hop cannot be inferred
IP Tunnel stack to 2001:DB8:1::11 in Default (0x0)
Device#