Re-release routing configuration code

Source: Internet
Author: User

 

Router> en

Router # conf

Starting ing from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.

Router (config) # host R4

R4 (config) # int lo4

% LINK-5-CHANGED: Interface Loopback4, changed state to up

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

R4 (config-if) # ip add 192.168.4.1 255.255.255.0

R4 (config-if) # no shut

R4 (config-if) # exit

R4 (config) # int s0/1/0

R4 (config-if) # ip add 192.168.45.4 255.255.255.0

R4 (config-if) # clock rate 56000

R4 (config-if) # no shut

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

R4 (config-if) # exit

R4 (config) # router rip

R4 (config-router) # net 192.168.4.0

R4 (config-router) # net 192.168.45.0

R4 (config-router) # end

% SYS-5-CONFIG_ I: Configured from console by the console

R4 #

 

 

 

Router> en

Router # conf

Starting ing from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.

Router (config) # host R5

R5 (config) # int s0/1/1

R5 (config-if) # ip add 192.168.45.5 255.255.255.0

R5 (config-if) # no shut

R5 (config-if )#

% LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

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

R5 (config-if) # exit

R5 (config) # int s0/1/0

R5 (config-if) # ip add 192.168.56.5 255.255.255.0

R5 (config-if) # clock rate 56000

R5 (config-if) # no shut

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

R5 (config-if) # exit

R5 (config) # router rip

R5 (config-router) # net 192.168.45.0

R5 (config-router) # redistribute VPN 4567 metric 10

R5 (config-router) # exit

R5 (config) # router VPN 4567

R5 (config-router) # net 192.168.56.0

R5 (config-router) # redistribute rip metric 1544 20000 255 1 1500

R5 (config-router) # end

% SYS-5-CONFIG_ I: Configured from console by the console

R5 #

 

 

Router> en

Router # conf

Starting ing from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.

Router (config) # host R6

R6 (config) # int s0/1/1

R6 (config-if) # ip add 192.168.56.6 255.255.255.0

R6 (config-if) # no shut

% LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

R6 (config-if )#

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

R6 (config-if) # exit

R6 (config) # int s0/1/0

R6 (config-if) # ip add 192.168.67.6 255.255.255.0

R6 (config-if) # clock rate 56000

R6 (config-if) # no shut

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

R6 (config-if) # router VPN 4567

R6 (config-router) # net 192.168.56.0

R6 (config-router )#

% DUAL-5-NBRCHANGE: IP-EIGRP 4567: Neighbor 192.168.56.5 (Serial0/1/1) is up: new adjacency

R6 (config-router) # redistribute ospf 4567 metric 1544 20000 255 1 1500

R6 (config-router) # exit

R6 (config) # router ospf 4567

R6 (config-router) # net 192.168.67.0 0.0.0.255 area 0

R6 (config-router) # redistribute Kerberos 4567 subnets

R6 (config-router) # end

% SYS-5-CONFIG_ I: Configured from console by the console

R6 #

 

 

Router> en

Router # conf

Starting ing from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.

Router (config) # host R7

R7 (config) # int lo7

% LINK-5-CHANGED: Interface Loopback7, changed state to up

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

R7 (config-if) # ip add 192.168.7.1 255.255.255.0

R7 (config-if) # no shut

R7 (config-if) # exit

R7 (config) # int s0/1/1

R7 (config-if) # ip add 192.168.67.7 255.255.255.0

R7 (config-if) # no shut

% LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

R7 (config-if )#

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

R7 (config-if) # exit

R7 (config) # router ospf 4567

R7 (config-router) # net 192.168.7.0 0.0.255 area 0

R7 (config-router) # net 192.168.67.0 0.0.0.255 area 0

R7 (config-router) # end

% SYS-5-CONFIG_ I: Configured from console by the console

R7 #

00: 02: 39: % OSPF-5-ADJCHG: Process 4567, Nbr 192.168.67.6 on Serial0/1/1 from LOADING to FULL, Loading Done

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.