Configures or removes the specific header type to be matched for traffic classification.
Ingress-group config mode
Validations for the command are as follows:
The following examples configure traffic types gre and ipip with decap and new-scope modes.
device(config)# ingress-group ing-1 device(config-ingress-group)# traffic-type gre mode decap device(config-ingress-group)# end device# show running-config ingress-group ing-1 ingress-group ing-1 traffic-type gre mode decap device(config-ingress-group)# traffic-type ipip mode new-scope Show running: device# show running-configuration ingress-group ing-1 ingress-group ing-1 traffic-type ipip mode new-scope
The following example configures gtpu traffic type with decap mode.
device(config-ingress-group)# traffic-type gtpu teid 3000 mode decap device(config-ingress-group)# end device# show running-config ingress-group ing ingress-group ing traffic-type gtpu teid 3000 traffic-type gtpu ip any any device# conf t device(config)# ingress-group ing device(config-ingress-group)# no traffic-type gtpu teid device(config-ingress-group)# traffic-type gtpu teid 5000 mode decap show ingress-group ing Name : ing Route-Map : - Description : - Interfaces : none Traffic-Type : GTPU Tunnel-Id : 5000 Mode : decap Destination-ip-addr : any Source-ip-addr : any device# show running-config ingress-group ingress-group ing traffic-type gtpu teid 5000 mode decap traffic-type gtpu ip any any device# conf t device(config)# ingress-group ing device(config-ingress-group)# no traffic-type gtpu teid device(config-ingress-group)# end device# show running-config ingress-group ingress-group ing traffic-type gtpu mode decap traffic-type gtpu ip any any
The following example configures nvgre traffic type with decap mode.
device(config-ingress-group)# traffic-type nvgre vsid 7000 mode decap device(config-ingress-group)# end device# show running-config ingress-group ing ingress-group ing Name : ing Route-Map : - Description : - Interfaces : none Traffic-Type : NVGRE Tunnel-Id : 7000 Mode : decap Destination-ip-addr : any Source-ip-addr : any device# show running-config ingress-group ingress-group ing traffic-type nvgre vsid 7000 mode decap traffic-type nvgre ip any any device# conf t device(config)# ingress-group ing device(config-ingress-group)# no traffic-type nvgre mode device(config-ingress-group)# end device# show running-config ingress-group ingress-group ing traffic-type nvgre vsid 7000 traffic-type nvgre ip any any
The following example configures the vxlan traffic type with decap mode.
device(config-ingress-group)# traffic-type vxlan vni 2000 mode decap device(config-ingress-group)# end device# show running-config ingress-group ing Name : ing Route-Map : - Description : - Interfaces : none Traffic-Type : VxLAN Tunnel-Id : 2000 Mode : decap Destination-ip-addr : any Source-ip-addr : any device# show running-config ingress-group ingress-group ing traffic-type vxlan vni 2000 mode decap traffic-type vxlan ip any any device(config)# ingress-group ing device(config-ingress-group)# no traffic-type vxlan vni device(config-ingress-group)# end device# show running-config ingress-group ingress-group ing traffic-type vxlan mode decap traffic-type vxlan ip any any