Home > other >  OSPF dynamic routing protocol
OSPF dynamic routing protocol

Time:09-26

[the topology]

[the experimental steps] layer 3 switches configuration
Switch> En
Switch# conf t
Enter configuration commands, one per line. The End with CNTL/z.
The Switch (config) # IP routing
The Switch (config) # vlan 20
The Switch (config - vlan) # exit
The Switch (config) # int vlan 20
The Switch (# config - if)
% the LINK - 5 - CHANGED: Interface Vlan20, CHANGED state to the up

The Switch (config - if) # IP add 10.10.10.1 255.255.255.0
The Switch (config - if) # no shut
The Switch (config - if) # exit
The Switch (config) # int f0/1
The Switch (config - if) # sw
The Switch (config - if) # sw
The Switch (config - if) 20 # switchport access vlan
The Switch (# config - if)
% LINEPROTO - 5 - UPDOWN: Line protocol on Interface Vlan20, changed state to the up

The Switch (config - if) # exit
The Switch (config) # int f0/2
The Switch (config - if) # no sw
The Switch (config - if) # no switchport
The Switch (config - if) # IP add 192.168.1.6 255.255.255.252
The Switch (config - if) # no shut
The Switch (config - if) # exit
The Switch (config) # int lo 0

The Switch (# config - if)
% the LINK - 5 - CHANGED: Interface Loopback0, CHANGED state to the up

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

The Switch (config - if) # IP add 100.0.0.3 255.255.255.255
The Switch (config - if) # no shut
The Switch (config - if) # exit
The Switch (config) #


The Switch (config) # router ospf 10
The Switch (config - the router) # network 10.10.10.0 0.0.0.255 area 0
The Switch (config - the router) # network 192.168.1.4 0.0.0.3 area 10
The Switch (config - the router) # network 100.0.0.3 0.0.0.0 area 10
The Switch (config - the router) # area 10 vi
The Switch (config - the router) # 10 virtual area - the link 100.0.0.1


The router configuration 1
Router> En
The router # conf t
Enter configuration commands, one per line. The End with CNTL/z.
The Router (config) # int serial 0/3/0
The Router (config - if) # IP add 1.1.1.5 255.255.255.252
The Router (config - if) # no shut

% the LINK - 5 - CHANGED: Interface Serial0/3/0, CHANGED state to down
The Router (config - if) # exit
The Router (config) # int lo 0

The Router # (config - if)
% the LINK - 5 - CHANGED: Interface Loopback0, CHANGED state to the up

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

The Router (config - if) # IP add 100.0.0.1 255.255.255.255
The Router (config - if) # no shut
The Router # (config - if)
The Router (config - if) # exit
The Router (config) # int f0/1
The Router (config - if) # IP add 192.168.1.5 255.255.255.252
The Router (config - if) # no shut

The Router # (config - if)
% the LINK - 5 - CHANGED: Interface FastEthernet0/1, CHANGED the state to the up

% LINEPROTO - 5 - UPDOWN: Line protocol on Interface FastEthernet0/1, changed the state to the up
The exit
The Router # (config)

The Router (config) # Router ospf 10
The Router (config - the Router) # network 1.1.1.4 0.0.0.3 area 0
The Router (config - the Router) # network 100.0.0.1 0.0.0.0 area 10
The Router (config - the Router) # network 192.168.1.4 0.0.0.3 area 10
The Router (config - the Router) # 10 virtual area - the link 100.0.0.3

The router configuration 2
Router> En
The router # conf t
Enter configuration commands, one per line. The End with CNTL/z.
The Router (config) # int serial 0/3/0
The Router (config - if) # IP add 1.1.1.6 255.255.255.252
The Router (config - if) # no shut

The Router # (config - if)
% the LINK - 5 - CHANGED: Interface Serial0/3/0, CHANGED state to the up
The exit
The Router (config) # int lo 0

The Router # (config - if)
% the LINK - 5 - CHANGED: Interface Loopback0, CHANGED state to the up

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

The Router (config - if) # IP add 100.
% LINEPROTO - 5 - UPDOWN: Line protocol on Interface Serial0/3/0, changed state to u
^
% Invalid input detected at '^' marker.
The Router (config - if) # IP add 100.0.0.2 255.255.255.255
The Router (config - if) # no shut
The Router (config - if) # exit
The Router (config) # int f0/1
The Router (config - if) # IP add 192.168.20.1 255.255.255.0
The Router (config - if) # no shut

The Router # (config - if)
% the LINK - 5 - CHANGED: Interface FastEthernet0/1, CHANGED the state to the up

% LINEPROTO - 5 - UPDOWN: Line protocol on Interface FastEthernet0/1, changed the state to the up
The exit
The Router # (config)




The Router (config) # Router ospf 10
The Router (config - the Router) # network 1.1.1.4 0.0.0.3 area 0
The Router # (config - the Router)
00:11:24: % OSPF - 5 - ADJCHG: Process 10, Nbr 100.0.0.1 on Serial0/3/0 from LOADING to FULL, LOADING Done
The network 100.0.0.2 0.0.0.0 area 0
The Router (config - the Router) # network 192.168.20.0 0.0.0.255 area 20
The Router # (config - the Router)

CodePudding user response:

Don't know what you want to ask question
  • Related