Configures or removes ingress group for classifying the packets received on the interface.
Config mode
The no form of the command deletes a specified ingress group or all configured ingress groups.
Removal of an ingress-group fails silently if the group is not present.
Message | Reason |
---|---|
Error: ingress-group name identifier cannot exceed 64 characters | Ingress-group name is longer then 64 characters. |
Error: ingress-group name identifier must be an arbitrary sequence of alphabets, numerals, underscores, hyphens or dots. | Ingress-group name contains invalid characters. |
Error: ingress-group name identifier must start with an alphabetic character or an underscore | Ingress-group name begins with non-alphabetic character or does not begin with an undescore. |
Error: ingress-group name identifier must not be reserved keyword "ingress-group" | Ingress-group name includes the reserved word ingress-group . |
Error: Unbind ingress group from ports before deleting ingress group. | Ingress-group cannot be deleted if it is bound to an interface |
Error: Unbind route map from ingress group before deleting ingress group. | Ingress-group cannot be deleted if it is bound to a route-map. |
The following example configures the ingress group and uses the set command to bind route-map rm1 to this ingress group, then verifies the configuration with the show command.
device# configure terminal device(config)# ingress-group group-1 device(config-ingress-group)# set route-map rm1 device# show running-config ingress-group ingress-group ingress-group-1 set route-map rm1