标签:line desc 服务 tle groupadd chown test int str
#./configure --enable-vtysh
--enable-user=root --enable-group=root --enable-vty-group=root#make
vim /etc/services
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
#cp /usr/local/etc/zebra.conf.sample /usr/local/etc/zebra.conf
zebra -d
#groupadd quagga
#useradd quagga -g quagga
#chown quagga:quagga /var/run/
#chmod 777 /var/run/
#chown quagga:quagga /usr/local/etc/
#chmod 777 /usr/local/etc/
#zebra -d
#telnet localhost 2601
cat /usr/local/etc/zebra.conf
!-*- zebra -*-
!
! zebra sample configuration file
!
! $Id: zebra.conf.sample,v 1.12002/12/1320:15:30 paul Exp $
!
hostname Router
password zebra
enable password zebra
!
!Interface‘s description.
!
!interface lo
! description test of desc.
!
!interface sit0
! multicast
!
!Staticdefault route sample.
!
!ip route 0.0.0.0/0203.181.89.241
!
!log file zebra.log
标签:line desc 服务 tle groupadd chown test int str
原文地址:http://www.cnblogs.com/yml435/p/6764907.html