0% found this document useful (0 votes)
9 views6 pages

OSPF Configuration and Interface Status

Uploaded by

maitafacha99
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views6 pages

OSPF Configuration and Interface Status

Uploaded by

maitafacha99
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

R1>enable

Password:
Password:
Password:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface Serial0/0/0
R1(config-if)#ip address [Link] [Link]
R1(config-if)#clock rate 128000
R1(config-if)#bandwidth 128
R1(config-if)#no
R1(config-if)#no shut
R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down


R1(config-if)#interface Lo0

R1(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R1(config-if)#exit
R1(config)#interface Lo0
R1(config-if)#ip address [Link] [Link]
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface Lo1

R1(config-if)#
%LINK-5-CHANGED: Interface Loopback1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

R1(config-if)#ip address [Link] [Link]


R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface Lo2

R1(config-if)#
%LINK-5-CHANGED: Interface Loopback2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state to up

R1(config-if)#ip address [Link] [Link]


R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#copy running-config startup-config


Destination filename [startup-config]?
Building configuration...
[OK]
R1#show startup-config
Using 1284 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!

R1#
R1#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

R1#

R1 con0 is now available

Press RETURN to get started.

Acces non autorise

User Access Verification


Password:

R1>show ip interface brief


Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 [Link] YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
Serial0/1/0 unassigned YES unset administratively down down
Serial0/1/1 unassigned YES unset administratively down down
Loopback0 [Link] YES manual up up
Loopback1 [Link] YES manual up up
Loopback2 [Link] YES manual up up
Vlan1 unassigned YES unset administratively down down
R1>ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R1>ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R1>ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R1>ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/12/27 ms

R1>ping [Link]

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R1>enable
Password:
Password:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#router-id [Link]
R1(config-router)#network [Link] [Link] area 1
R1(config-router)#network [Link] [Link] area 1
R1(config-router)#network [Link] [Link] area 0
R1(config-router)#exit
R1(config)#interface Lo1
R1(config-if)#passive interface
^
% Invalid input detected at '^' marker.

R1(config-if)#passive interface
^
% Invalid input detected at '^' marker.

R1(config-if)#passive interface
^
% Invalid input detected at '^' marker.

R1(config-if)# passive interface


^
% Invalid input detected at '^' marker.

R1(config-if)#

R1>en
Password:
R1#show ip protocols

Routing Protocol is "ospf 1"


Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID [Link]
It is an autonomous system boundary router
Redistributing External Routes from,
Number of areas in this router is 2. 2 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
[Link] [Link] area 1
[Link] [Link] area 1
[Link] [Link] area 0
Passive Interface(s):
Loopback1
Loopback2
Routing Information Sources:
Gateway Distance Last Update
[Link] 110 00:09:28
[Link] 110 00:09:28
Distance: (default is 110)

R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface


[Link] 0 FULL/ - 00:00:39 [Link] Serial0/0/0
R1#show ip osfp in
R1#show ip osfp inter
R1#show ip osfp interface br
R1#show ip ospf interface br
R1#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State
Nbrs F/C
Lo1 1 1 [Link]/[Link] 1 WAIT
0/0
Lo2 1 1 [Link]/[Link] 1 WAIT
0/0
Se0/0/0 1 0 [Link]/[Link] 781 POINT
0/0

R1#

R1 con0 is now available

Press RETURN to get started.

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down

01:55:42: %OSPF-5-ADJCHG: Process 1, Nbr [Link] on Serial0/0/0 from FULL to DOWN,


Neighbor Down: Interface down or detached

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

01:55:52: %OSPF-5-ADJCHG: Process 1, Nbr [Link] on Serial0/0/0 from LOADING to


FULL, Loading Done

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down

02:29:47: %OSPF-5-ADJCHG: Process 1, Nbr [Link] on Serial0/0/0 from FULL to DOWN,


Neighbor Down: Interface down or detached

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

02:29:57: %OSPF-5-ADJCHG: Process 1, Nbr [Link] on Serial0/0/0 from LOADING to


FULL, Loading Done

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down

05:41:55: %OSPF-5-ADJCHG: Process 1, Nbr [Link] on Serial0/0/0 from FULL to DOWN,


Neighbor Down: Interface down or detached

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

05:42:05: %OSPF-5-ADJCHG: Process 1, Nbr [Link] on Serial0/0/0 from LOADING to


FULL, Loading Done

You might also like