Basic Cisco and Juniper router Configuration

This article will help you understand and manage basic configuration of devices from different brands. With Cisco and Juniper router configurations, you will be able to manage network that is made of devices from other sellers, not only Cisco.  In that way, you will not be in problems when making some implementation, changes or troubleshooting connectivity issues on multi-brand network topologies.Basic configuration on Router of any kind consists of configuring hostname in the first place, and then passwords for different kinds of access lines. Access lines that must be configured in basic config are console port and telnet remote connection. After access lines we are approaching to interface configuration that consists of adding IP address and subnet mask and the command for enabling the interface. Optional is to configure the description of the interface that will be useful in the running-configuration examination and troubleshooting.

In short, basic config consists of:

  • Hostname
  • Enable Secret password
  • Console line
  • Telnet line
  • Interface
    • IP address and subnet mask
    • Enabling interface
    • Description (optional)

Topology View

R1 - simple configuration topology


Cisco config

Basic configuration:

Router#Configure terminal
Router(config)#hostname R1
R1(config)#enable secret SECRETPASS
R1(config)#line console 0
R1(config-line)#password CISCO
R1(config)#line vty 0 4
R1(config-line)#password CISCO

R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address
R1(config-if)#no shutdown
R1(config-if)#description this is LAN interface - default gateway

R1(config)#interface serial 0/0
R1(config-if)#ip add
R1(config-if)#no shutdown
R1(config-if)#clock rate 64000
R1(config-if)#description this is WAN interface connected to R2

Juniper config

# cli
 [email protected]>
 [email protected]ame> configure
 [email protected]#
 [email protected]# set system host-name R1
 [email protected]# set system root-authentication SECRETPASS
 [email protected]# set system root-authentication encrypted-password SECRETPASS
 [email protected]# set system root-authentication ssh-rsa key
 [email protected]# set system services telnet
 [email protected]# edit interfaces ge-1/1/0
[edit interfaces ge-1/1/0]
 [email protected]# set description New GigabitEthernet network card
[edit interfaces ge-1/1/0]
 [email protected]# set unit 0 family inet address
[edit interfaces ge-1/1/0]
 [email protected]# commit


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: