Creates or deletes an egress.
Config mode
Egress config mode
This command is available only to users with the admin role.
A valid egress name must be provided. The reserved name, all, cannot be used for configuration.
An egress name must be unique. An error is returned if you try to use the same name for an egress as for an egress group.
The following reserved keywords cannot be used as name identifiers: all, ingress-group, egress, egress-group, match, list, access-list, route-map, and listener-policy.The no form of the command deletes the specified egress name.
The following example creates egress-123.
device(config)# egress egress-100 device(config-egress)# precedence 10 interface ethernet 1/10 device(config-egress)# set encap-100 device(config-egress)# set listener-policy lp-100 device# show running-config egress Egress egress-100 Precedence 10 interface ethernet 1/10 encap-100 lp-100