Cisco Router Basic Commands video tutoial – Configure Serial interface

In the video two of CCNA lab video tutorial 3, we will configure Router0 and Router1 for the Serial interfaces. Similar to configure FastEthernet interface, we will set the ip address of Serial interface 0/0 of Router0 as 11.0.0.1 with subnet mask 255.0.0.0, then turn on the interface with command “no shutdown”. Since we use serial DCE connection, don't forget to set clock rate in order to synchronize the communication.

We do the same on Router1, set the ip address of Serial interface 0/0 as 11.0.0.2 with subnet mask 255.0.0.0, then turn it on. We finally ping the ip address 11.0.0.1 on Router1 in order to verify Routers’ configuration.

This video also shows:

how to change hostname. -- hostname yourhostname

how to set encrypted password. -- enable secret yourpassword

how to set password for the physical console and the vty line. -- password yourpassword

how to save your configurations from the RAM to the NVRAM (nonvolalile RAM). -- write (copy running-config startup-config)



Commands to configure serial interface for Router0

Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#interface s 0/0
Router(config-if)#ip address 11.0.0.1 255.0.0.0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
Router(config-if)#clock rate 64000
Router(config-if)#

Commands to configure serial interface for Router1

Router>enable
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int s 0/0
Router(config-if)#ip address 11.0.0.2 255.0.0.0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
Router(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#sh ip int bri
Interface              IP-Address      OK? Method Status                Protocol

FastEthernet0/0        unassigned      YES manual administratively down down

FastEthernet0/1        unassigned      YES manual administratively down down

Serial0/0              11.0.0.2        YES manual up                    up

Serial0/1              unassigned      YES manual administratively down down
Router#ping 11.0.0.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/34/47 ms

Router#

Commands to change hostname, set passwords and save configuration

Router>enable
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname SanFrancisco
SanFrancisco(config)#enable secret class
SanFrancisco(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
SanFrancisco#exit

SanFrancisco con0 is now available

Press RETURN to get started.

SanFrancisco>enable
Password:
SanFrancisco#config
Configuring from terminal, memory, or network [terminal]? t
Enter configuration commands, one per line.  End with CNTL/Z.
SanFrancisco(config)#line console 0
SanFrancisco(config-line)#password cisco
SanFrancisco(config-line)#login
SanFrancisco(config-line)#^Z
%SYS-5-CONFIG_I: Configured from console by console
SanFrancisco#exit

SanFrancisco con0 is now available

Press RETURN to get started.

User Access Verification

Password:

SanFrancisco>enable
Password:
SanFrancisco#config t
Enter configuration commands, one per line.  End with CNTL/Z.
SanFrancisco(config)#line vty 0 4
SanFrancisco(config-line)#password cisco
SanFrancisco(config-line)#login
SanFrancisco(config-line)#exit
SanFrancisco(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
SanFrancisco#write
Building configuration...
[OK]
SanFrancisco#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
SanFrancisco#

1 comment: