Monday, November 22, 2010

Creating Command Aliases on Cisco Router

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config) #alias exec rt show ip route
Router(config) #alias exec on show ip ospf neighbor
Router(config) #end
Router#

Router#show aliases
Exec mode aliases:
h help
lo logout
p ping
r resume
s show
u undebug
un undebug
w where
rt show ip route
on show ip ospf neighbor
Router#

4 comments:

  1. Hi,

    how to apply alias for "configure terminal" ??????

    ReplyDelete
    Replies
    1. router>enable
      router#config ter
      router(config)#alias exec c config t

      router.enable
      router#c
      router(config)#

      Delete
  2. Go to router on it
    when you get the command prompt
    router>enable
    router#config ter
    thats how you go to configure terminal mode
    thanks

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete