PREV NEXT INDEX

Avici Systems Inc.


alias


Creates an alias to an existing command.

Syntax: alias mode shortform full-command

no alias mode shortform

mode

The command mode in which the alias is available for use. Valid values are:

  • config - Global configuration

  • exec - Executive

  • interface - Interface configuration

  • line - Line configuration

  • route-map - Route map configuration

  • router - Router configuration

  • global - Global Mode

shortform

Specifies the pseudonym to be used for the full-command.

Valid strings may:

  • include alphanumeric and special characters

  • include from 1 to 44 characters

full-command

Specifies the command the alias replaces.

The maximum length is 256 characters.

Description: The alias command creates a pseudonym or shorthand for a command.

Use the alias mode shortform full-command command to create an alias.

Use the no alias mode shortform command to delete an alias.

Factory Default: None.

Command Mode: Configuration.

Example 1: In the following example:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#alias exec shldpentbr show mpls ldp entity interface pos brief

router(config)#end

router#show alias



List of aliases in the system:



shldpentbr show mpls ldp entity interface pos brief

router#shldpentbr



Interface/Egress LDP Id Status Neighbor

---------------- --------------------- --------- --------

.

.

.

Example 2: The following example removes the alias created in the previous example:

router(config)#no alias exec shldpentbr

Related Commands: show running-config
show alias


PREV NEXT INDEX

Copyright © 2005 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: navigation.fm
    HTML File Name: navigation2.html
    Last Updated: 02/25/05 at 14:25:22

Please email suggestions and comments to: doc@avici.com