egress

Creates or deletes an egress.

Syntax

egress name
no egress name

Parameters

name
Specifies the name of the configured egress object.
Supports 1-32 characters. Characters allowed are alpha-numeric, underscore and dot. Underscore is not allowed as the first character.

Modes

Config mode

Egress config mode

Usage Guidelines

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.

Examples

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