traffic-type ip
Configures the specific header type with
the IP address to be matched for traffic classification.
Syntax
traffic-type
{
gre
|
ipip
|
gtpu
|
vxlan
|
nvgre
}
ip
[
src-ip
src-mask
dst-ip
dst-mask
]
no
traffic-type
{
gre
|
ipip
|
gtpu
|
vxlan
|
nvgre
}
ip
Parameters
- {
gre
|
ipip
|
gtpu
|
vxlan
|
nvgre
}
- Specifies the header to be matched for
classifying the packet.
- ip
- Specifies the IPv4 or IPv6 addresses on
matching packets.
- src-ip
src-mask
dst-ip
dst-mask
- Specifies the
source IPv4 or IPv6 address, source IPv4 or IPv6 mask,
destination IPv4 or IPv6 address, and destination IPv4 or IPv6
mask values.
Modes
Ingress-group config
mode
Usage Guidelines
Validations for the command are as follows:
- This command is available only to users with the admin
role.
- Valid IP addresses must be provided. The following IP addresses are not valid:
- Unspecified IPv4 address
(0.0.0.0)
- Broadcast IPv4 address
(255.255.255.255)
- Unspecified IPv6 address
(“::”)
- Broadcast IPv6 address
(ffff:fffff:fffff:fffff:fffff:ffff:fffff:ffff)
- Only one traffic type per ingress
group is allowed.
- The configured traffic type
must be removed before you configure a new traffic
type.
- Existing traffic type cannot be
configured again with a different ID, IP, or scope.
- Both IPv4 and IPv6 addresses are
supported.
- The overlapping IP combination
between different ingress-group traffic-type is not
allowed.
- If the same command is run more
than once, the second and subsequent instances are ignored
and no error is reported.
- The no
keyword can remove only the IP configuration.
Examples
The following examples configures gtpu traffic type with IP address.
device(config-ingress-group)# traffic-type gtpu ip 192.168.2.1 255.255.255.0 192.168.3.2 255.255.255.0
device# show ingress-group ing
Name : ing
Route-Map : -
Description : -
Interfaces : none
Traffic-Type : GTPU
Tunnel-Id : any
Mode : none
Destination-ip-addr : 192.168.3.2
Destination-ip-mask : 255.255.255.0
Source-ip-addr : 192.168.2.1
Source-ip-mask : 255.255.255.0