[AYAME configuration manual]
A. ldpd Configuration
=====================
1) Edit the /usr/ayame/etc/ldpd.conf file.
You can use the /usr/ayame/etc/ldpd.conf.example file for a template.
$ cd /usr/ayame/etc
# cp ldpd.conf.example ldpd.conf
- Router ID Configuretion
It's preferable that a "routerid" is an unique and reachable value.
Therefore it is a good idea to use an IP address binded
the network interface for the MPLS communication.
- Interface Configuration
Set the ip address of the network interface for the LDP communication
to the "interface" entry.
If you want to use multiple interfaces for this purpose,
you can make as many "interface" entries as you need.
- Extra Parameters
Refer [Appendix 1: Parameter description in ldpd.conf] and
set parameters you need.
2) Add the route for the multicast network.
# route add -net 224.0.0.0 -netmask 255.0.0.0 127.0.0.1
3) Start the ldpd.
# /usr/ayame/sbin/ldpd &
* ldpd Command Interface
You can use the ldpd command interface with connecting to the port
10646 via telnet.
B. bgpd Configuration
=====================
1) Make the basic bgpd.conf.
Use the /usr/ayame/etc/bgpd.conf.sample file for a template.
$ cd /usr/ayame/etc
# cp bgpd.conf.sample bgpd.conf
Refer the bgpd manual for the syntax of this configuration file.
$ man bgpd
There are the configuration files used by AYAME project in the DISTIX
first cross-connection test, the bgpd.conf-as105 and
the bgpd.conf-as205, under the /usr/ayame/etc directory.
Refer them if you need.
2) Start the bgpd.
# /usr/ayame/sbin/bgpd &
C. zebra configuration
======================
1) Copy basic zebra.conf
Use the /usr/ayame/etc/zebra.conf.sample file for a template.
$ cd /usr/ayame/etc
# cp zebra.conf.sample zebra.conf
There are the configuration files used by AYAME project in the DISTIX
first cross-connection test, the zebra.conf-as105 and
the zebra.conf-as205, under the /usr/ayame/etc directory.
Refer them if you need.
2) Start the zebra.
# /usr/ayame/sbin/zebra &
* zebra Command Interface
You can use the zebra command interface with connecting to the port
2601 via telnet.
Please refer the zebra manual about zebra commands.
$ man zebra
Appendix 1: Parameter description in ldpd.conf
------------------------------------------------------------
[router ID]
Set the 'Router ID' of the LSR.
This value is used for router_id of LDP ID at the PDU header.
Syntax: routerid = <routerid>
[LDP protocol behaivior]
- label distribution control mode
Set the label disrtibution mode of the ldp.
Syntax: distmode = <independent | ordered>
- label advertisement mode
Set the label advertisement mode of the ldp.
Syntax: advmode = <unsolicited | ondemand>
- label retention mode
Set the label retention mode of the ldp.
Syntax: retentionmode = <conservative | liberal>
- loop detection algorithm
Specify the argorithm of loop detection mechanisms.
If the value of "pathvector "is 'on', the ldp appends
the "Path-vector TLV" into sending message.
The value of "hopcount" is 'on', the ldp also sends
the "Hop-count TLV" in the message.
Syntax: pathvector = <on | off>
Syntax: hopcount = <on | off>
You can specify both of these, if needed.
- juniper mode
Specify the FEC type on the FEC TLV message sent by the ldp.
If the value of "dontusehostaddr" is 'on', the ldp
treats any host_route FEC TLV as a network FEC TLV with
prefix /32.
Syntax: dontusehostaddr = <on | off>
The juniper's ldp implimentation can not recognize any host_route
FEC TLV. You should specify the parameter 'on' to peer juniper routers.
[other parameters]
- LDP protocol version
Set the protocol version of the ldp messages.
Syntax: protoversion = 1
- LDP protocol keepalive interval
Set the keepalive interval to hold LDP session (in second)
Syntax: keepalive = 60
- Upper limit of the path-vector length
Set the longest value of the path vector
Syntax: pathveclimit = 15
- Max PDU length
Set the max size of PDU units
Syntax: maxpdulen = 4096
[LDP peering session specification]
Set the LDP peering specification to each MPLS capable interface
which sends out an LDP HELLO message.
If the LSR has multiple interfaces, you should specify this
directive to each interface.
Syntax: interface = <if_addr> <adv_mode> <hello_interval> <dead_interval> <tr_addr>
if_addr : an interface name to send LDP HELLO message.
adv_mode : <unsolicited | ondemand | default>
hello_interval: time interval for next HELLO message output(in second)
dead_interval : time interval to maintain the already established
HELLO adjacencies (in second)
tr_addr : Specify the address to use in Transport Address TLV.
------------------------------------------------------------