description

Sets the description for a route map, listener policy, interface, or mirror object.

Syntax

description description-string
no description description-string

Parameters

description description-string
Specifies the description of the route map, listener policy, interface, or mirror object.
Maximum length of the description is 64 characters. Special characters are allowed.

Modes

Route-map config mode

Listener-policy config mode

Interface config mode

Mirror config mode

Usage Guidelines

This command is available only to users with admin role.

The no description command removes the user configured interface description.

Table 1. Error messages
Message Reason
Error: Length cannot be greater than 63 chars Description provided was more than 63 characters.

Examples

The following examples show how to configure description for an interface.

device# configure terminal
device(config)# route
device(config-if-eth 1/10)# description Ethernet Interface 1/10 (100G)

device# show running interface ethernet 1/10 
interface ethernet 1/10 
description Ethernet Interface 1/10 (100G) 
shutdown

device(config-if-eth-1/1)#description Description1234567890123456789012345678901234567890123456789012345678901234567890 
Error: Length cannot be greater than 63 chars

The following examples show how to configure description for a listener policy.

device# configure terminal
device(config)# listener-policy lp-12
device(config-listener-policy)# description listener policy 12

device# show listener-policy lp-12 
interface ethernet 1/10 
description listener-policy 12
shutdown

The following examples show how to configure description for a route map.

device# configure terminal
device(config)# route-map rmap10
device(config-route-map)# description rmap10 configured Jan 23, 1951

device# show route-map rmap10 
interface ethernet 1/10 
description rmap10 configured Jan 23, 2013
no shutdown

The following examples show how to configure description for a mirror object.

device(config)# mirror mirr_1 
device(config-mirror)# description mirror-1 

device# show mirror mirr_1 

                  Name : mirr_1 
           Description : mirror-1 
             Interface : none