set egress

Sets the egress to be used by an egress group.

Syntax

set egress name
no set egress name

Parameters

name
Specifies the name of the configured egress. Name must not exceed 64 characters and must start with an alphabetic character or an underscore followed by an arbitrary sequence of alphabetic or numeric characters, underscores, hyphens, or dots.

Modes

Modes

Egress-group config mode

Usage Guidelines

You must have the admin role to perform this task.

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.
Table 1. Error messages
Message Reason
Error: egress name identifier must start with an alphabetic character or an underscore. Egress name begins with non-alphabetic character or does not begin with an underscore.
Error: egress name identifier cannot exceed 64 characters Egress name is longer than 64 characters.
Error: egress name identifier must start with an alphabetic character or an underscore Egress name begins with non-alphabetic character or does not begin with an underscore.
Error: egress name identifier must be an arbitrary sequence of alphabets, numerals, underscores, hyphens or dots. Egress name contains invalid characters.
Error: egress name identifier must not be reserved keyword "egress". Egres name includes the reserved word egress

Examples

The following example binds an egress to an egress group.

device# configure terminal
device(config)# egress-group eg1 
device(config-egress-group)# set egress egress_1

device# show running-config egress-group
egress-group eg1 
  set egress egress_1

The following example unbinds an egress from an egress group.

device# configure terminal
device(config)# egress-group eg1 
device(config-egress-group)# no set egress egress_1