listener-policy

Creates or removes a listener policy.

Syntax

listener-policy { name sequence-id }
no listener-policy { [ name sequence-id ]| sequence-id | all }

Parameters

name
Specifies the listener policy name. Supports 1 through 64 characters. Allowed Characters are alpha-numeric, underscore, and dot.
Underscore is not allowed as the first character.
sequence-id
Specifies the sequence ID. The valid range is 1 through 65535.
all
Specifies that all listener policies are to be deleted with the no form of the command.

Modes

Config mode

Usage Guidelines

Valid listener policy name must be provided.

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.

Attempts to remove any listener policy that is not configured are ignored.

Examples

The following examples show how to configure a listener policy.

device# configure terminal
device(config)# listener-policy lp1 4 13

device(config)# listener-policy lp2 5 

device(config)# no listener-policy lp1 4 13 
device(config)# no listener-policy lp2 5  

The following example removes the configured listener policy.

device# configure terminal
device(config)# no listener-policy lp1 4 243