In-depth analysis of using Linux + Zebra to build a soft route system (1)

Source: Internet
Author: User

Basic settings of Zebra

Zebra has no background interaction program.RoutingManagement Program. It controls other software modules and provides master ports for interaction with customers. The Zebra RPM kit contains a complete reference setting file. However, you only need to create a/etc/zebra. conf file that includes the following content to set Zebra.

The simplest Zebra setting file:

The following is a code snippet:

 
 
  1. hostname speedmetal  
  2.  
  3. password zebra  
  4.  
  5. enable password zebra 

Whenever you enter the interactive setting mode, the Hostname command specifies the name of the vro. This name can be set at will, and may not match the host name. The Password command determines the logon Password of the interactive Zebra terminal. After/etc/zebra. conf is created, run the following command to start the zebra non-Background interaction program:

The following is a code snippet:

 
 
  1. # service zebra start 

Now we can enter the Zebra Interactive dialog mode by connecting to port 2601 of the machine. Zebra dialog mode instance:

The following is a code snippet:

 
 
  1. [root@speedmetal zebra]# telnet 127.0.0.1 2601  
  2.  
  3. Trying 127.0.0.1...  
  4.  
  5. Connected to 127.0.0.1.  
  6.  
  7. Escape character is '^]'.  
  8.  
  9. Hello, this is zebra (version 0.93b).  
  10.  
  11. Copyright 1996-2002 Kunihiro Ishiguro.  
  12.  
  13. User Access Verification  
  14.  
  15. Password: zebra  
  16.  
  17. speedmetal> enable  
  18.  
  19. Password: zebra  
  20.  
  21. speedmetal# ?  
  22.  
  23. configure Configuration from vty interface  
  24.  
  25. copy  Copy configuration  
  26.  
  27. debug Debugging functions (see also 'undebug')  
  28.  
  29. disableTurn off privileged mode command  
  30.  
  31. endEnd current mode and change to enable mode.  
  32.  
  33. exit  Exit current mode and down to previous mode  
  34.  
  35. help  Description of the interactive help system  
  36.  
  37. list  Print command list  
  38.  
  39. no Negate a command or set its defaults  
  40.  
  41. quit  Exit current mode and down to previous mode  
  42.  
  43. show  Show running system information  
  44.  
  45. terminal  Set terminal line parameters  
  46.  
  47. whoDisplay who is on vty  
  48.  
  49. write Write running configuration to memory, network, or terminal  
  50.  
  51. speedmetal# 

We can easily understand this, because we can click on the screen? Key to understand the meaning of a command at any time. If you have experience configuring the Cisco router, I believe this setting process is no stranger. So far, we have only completed the setting and running of Zebra, and the setting of various protocols has not started yet. If you are ready, let's continue.


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.