Cisco CCNP - MPLS / OSPF Lab 1

This article will describe the first CCNP MPLS lab.

Initial Configuration

Getting Command Line Access

Answer no to the initial configuration dialogue.

% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: n

Change from user mode to privileged mode

Router>enable
Router#

Change to configure mode

Router#configure 
Configuring from terminal, memory, or network [terminal]? terminal   
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#

Adding Base Configuration

Router(config)#hostname R1  
R1(config)#ip domain-name infoitech.co.uk

Securing Access

R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login

Require a password when logging in to the console.

R1(config-line)#line aux 0
R1(config-line)#password cisco
R1(config-line)#login

Saving the Configuration

R1#copy running-config startup-config
Destination filename [startup-config]? startup-config
Building configuration...
[OK]

Configuring Interfaces

Let's configure the interfaces according to the diagram below.

R1(config-if)#int lo0
R1(config-if)#ip address 10.0.0.1 255.255.255.255

Configuring the Loopback interface.

R1(config)#interface GigabitEthernet 0/0
R1(config-if)#ip address 10.1.2.1 255.255.255.0
R1(config-if)#description "R1 to R2"
R1(config-if)#no shutdown

Interface facing R2

R1#show interfaces description 
Interface                      Status         Protocol Description
Gi0/0                          up             up       "R1 to R2"
Gi0/1                          admin down     down     
Gi0/2                          admin down     down     
Gi0/3                          admin down     down     
Lo0                            up             up