Member-only story

Useful Notes about Cisco Configuration

Maciej
4 min readFeb 16, 2021

--

Few important things about cisco CLI

When we start configuring the CISCO device like router or switch , it is quite important which mode you are currently in the CLI.

Below there is classify the modes.

  • User mode
    Router>
  • Privileged mode
    Router #
  • Global configuration mode
    Router (Config) #
  • Line
    Router (Config-Line) #
  • Interface
    Router (config-if) #

Basic Configuration

  • Change host name
Router>en
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname R1
R1(config)#
  • DNS lookup prevention
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#
R1(config)#no ip domain lookup
R1(config)#

📝 By using this we stop the name resolution function, so if you make a typo in the command, you can quickly retype it and reduce wasted time.

  • Redisplay the command after outputting the debug message
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#line console 0…

--

--

Maciej
Maciej

Written by Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.

No responses yet