Cisco OSPF protocol

Source: Internet
Author: User

Single-region OSPF

Router (config) # router ospf 1 starts the OSPF routing process

Router (config-router) # router-id 1.1.1.1 configure the Router ID

Router (config-router) # network 1.0.0.0 0.20.255.255 area 0 specifies the interface and region in which the OSPF protocol runs


Multi-region OSPF

Router (config) # router ospf 1

Router (config-router) # router-id 1.1.1.1

Router (config-router) # network 1.0.0.0 0.20.255.255 area 0

Router (config-router) # network 2.0.0.0 0.20.255.255 area 1



Peripheral Area

Router (config) # area1 stub


Complete peripheral area

Router (config) # area1 stub no-summary


Route redistribution

Router rip

Redistribute ospf 10 metric 10

Router ospf 10

Redistribute rip metric 10 subnets


NSSA Region

Router (config) # area1 nssa


Virtual Link

Router (config) # area 100 virtual-link 1.1.1.1 peer RID


This article is from the blog "make a little progress every day" and will not be reposted!

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.