tunnel-type ipv6NEW!
Configures the source IPv6 address with
mask and tunnel type for the transport tunnel packets to be terminated.
Syntax
tunnel-type
gre
[
ipv6-src
ipaddr
mask
]
no
tunnel-type
gre
[
ipv6-src
ipaddr
mask
]
Parameters
- gre
- Specifies the type of tunnel to be
terminated.
- ipv6-src
ipaddr
mask
- Specifies the source IPv6 address and mask
configured in hexadecimal between 0 and FFFF. Example:
202:304:606:708:90a:b0c:d0e:f11.
- The upper 4 bytes and lower 8 bytes of the
mask must be zero because only 32 bits out of 128 bits of IPv6 are
supported. Example: 0000:0000:FFFF:FFFF:0000:0000:0000:0000.
Modes
Transport tunnel config
mode
Usage Guidelines
This command is available only to users with the admin
role.
If all the parameters match along with the chassis MAC, the transport header is
removed and packets are subjected to further processing.
If the IP address is not provided, all packets matching the tunnel type or transport
header type are configured for termination.
Validations for the command are as follows:
- Tunnel type must be GRE.
- Valid IP address and mask must be
provided.
- Only valid unicast IP addresses are supported. Multicast IP
addresses are not supported.
- Only one tunnel type per
transport tunnel is allowed. The configured tunnel type must
be removed before you configure a new tunnel type.
- If the same command is run more
than once, the second and subsequent instances are ignored
and no error is reported.
- If the no form of the command is run
without the configuration, the command is ignored and no
error is reported.
Examples
The following example configures the transport tunnel.
device(config-transport-tunnel)# tunnel-type gre ipv6-src 2233:304:606:708:90a:b0c:d0e:f11
device(config)# show transport-tunnel tt1
Name : tt1
Source-Ipv6-Addr : 2233:304:606:708:90a:b0c:d0e:f11
Source-Ipv6-Mask : 0000:0000:FFFF:FFFF:0000:0000:0000:000
Tunnel-Type : GRE
Ingress-Group : none
device# show running-config transport-tunnel
transport-tunnel tt1
tunnel-type gre ipv6-src 2233:304:606:708:90a:b0c:d0e:f11 0000:0000:FFFF:FFFF:0000:0000:0000:000