CentOS Configuration Zebra OSPF

Source: Internet
Author: User
Tags centos

Create the Zebra and OSPFD configuration files:

[Root@localhost ~]# cp/usr/local/etc/zebra.conf.sample/usr/local/etc/zebra.conf
[root@localhost ~]# cp/usr/ Local/etc/ospfd.conf.sample/usr/local/etc/ospfd.conf

Launch zebra and OSPFD processes:

[Root@localhost ~]# zebra-d
[root@localhost ~]# ospfd-d

Log into Zebra router: "Default port is 2601, password default is Zebra"

[root@localhost ~]# telnet localhost 2601
Trying 127.0.0.1 ...
Connected to localhost.
Escape character is ' ^] '.


Hello, this is Quagga (version 1.0.20160309).
Copyright 1996-2005 Kunihiro Ishiguro, et al.




User Access Verification


Password:zebra
router>
router>
router>
router>?
Echo echo a message back to the vty
enable Turn in privileged mode command
exit exit current MO De and previous mode help Description of the
Interactive Help system
List Print command li St
quit Exit current mode and down to previous mode
show show running system Information
TE Rminal Set Terminal line parameters The Who Display who's on
vty
router>

Login OSPFD Service: "Default port is 2604, default password is Zebra"

[root@localhost ~]# telnet localhost 2604
Trying 127.0.0.1 ...
Connected to localhost.
Escape character is ' ^] '.

Hello, this is Quagga (version 1.0.20160309).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
ospfd>
ospfd>
ospfd>
ospfd>
  Echo      Echo a message back to the vty
  enable    Turn in privileged mode command
  exit      exit current mode and down To previous mode help Description of the      Interactive Help system
  list      Print command list
  quit< C22/>exit current mode and down to previous mode
  show      show running System Information
  terminal  Set te Rminal line parameters The Who Display who's on       vty
ospfd>

Configure OSPF

ospfd> Enable
ospfd# Configure terminal
ospfd (config) # router
ospfd (config) # router OSPF
OSPFD ( Config-router) #network 10.92.18.0/30 area 0
ospfd (config-router) # exit
ospfd (config) # exit
ospfd# show ip OSPF neighbor all


    neighbor-ID Pri State           Dead time Address         Interface            rxmtl
rqstl dbsml 2.2.2.2           1 full/dr           39.460s 10.92.18.1      eth0:10.92.18.2          0     0     0
ospfd# Write
Configuration saved to/usr/local/etc/ospfd.conf
ospfd#

OSPF configuration is complete.


Related Article

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.