Install Quagga under Linux

Source: Internet
Author: User

The installation experience effect is considered because the quagga can emulate Cisco router effects

Corresponding Official Use documents:

Http://www.nongnu.org/quagga/docs/docs-info.html#VTY-shell-integrated-configuration

Download latest Version quagga-0.99.17.tar.gz

    • Installation process:

[Email protected] quagga-0.99.17]#/configure--prefix=/etc/quagga--disable-ipv6--enable-user=root--enable-group =root--enable-vty-group=root-enable-vtysh--with-libpam

[[email protected] quagga-0.99.17]# make

[[email protected] quagga-0.99.17]# make install

[Email protected] ~]# cd/etc/quagga/etc
[email protected] etc]# CP zebra.conf.sample zebra.conf

Change/etc/service file

Zebrasrv 2600/tcp # Zebra Service
Zebra 2601/tcp # Zebra Vty
RIPD 2602/tcp # RIPD Vty
Ripngd 2603/tcp # Ripngd Vty
OSPFD 2604/tcp # OSPFD Vty
BGPD 2605/tcp # BGPD Vty
OSPF6D 2606/tcp # ospf6d Vty
Ospfapi 2607/tcp # Ospfapi
ISISD 2608/tcp # ISISD Vty

    • Operating mode:

[Email protected] etc]#/etc/quagga/sbin/zebra-h
Usage:zebra [OPTION ...]

Daemon which manages kernel routing table management and redistribution between different routing protocols.

-B,--batch Runs in batch mode
-D,--daemon Runs in daemon mode
-F,--config_file Set configuration file name
-I,--pid_file Set process IDE

[Email protected] etc]#/etc/quagga/sbin/zebra-d
[Email protected] etc]# Ps-ef | grep zebra
Root 27881 1 0 16:13? 00:00:00/etc/quagga/sbin/zebra-d

    • How to use: Telnet 127.0.0.1 2601 (password in zebra.conf file)

Telnet 127.0.0.1 2601
Trying 127.0.0.1 ...
Connected to Nagios. Jf.com (127.0.0.1).
Escape character is ' ^] '.

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


User Access Verification

Password:
Router> en
Password:
router#

650) this.width=650; "title=" Untitled. jpg "alt=" wkiol1qkdxdyh7ceaabsv78sgdc119.jpg "src=" http://s3.51cto.com/wyfs02/M01 /4a/48/wkiol1qkdxdyh7ceaabsv78sgdc119.jpg "/>

Test environment to do two test environments

Service startup mode

650) this.width=650; "title=" capture. JPG "src=" http://s3.51cto.com/wyfs02/M01/4A/4C/wKioL1QkHIuxzA21AADr_HpIoUA094.jpg "alt=" wkiol1qkhiuxza21aadr_ Hpioua094.jpg "/>

Note:

Management interface Telnet 127.0.0.1 2601

RIP process Telnet 127.0.0.1 2602

OSPF process Telnet 127.0.0.1 2604

Subsequent use of Cisco device experience is possible, and the device routing update can be used to dynamically resolve all kernel routing problems.

Install Quagga under Linux

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.