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 2000 mode decap device(config-ingress-group)# end device# show running-config ingress-group ing1 ingress-group ing1 traffic-type gtpu teid 2000 mode decap
The following example configures nvgre traffic type with new-scope mode.
device(config-ingress-group)# traffic-type nvgre vsid 1000 mode new-scope device(config-ingress-group)# end device# show running-config ingress-group ing1 ingress-group ing1 traffic-type nvgre vsid 1000 mode new-scope
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-1 ingress-group ing-1 traffic-type vxlan vni 2000 mode decap