Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > R

ramd.conf(4)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

ramd.conf — Route Administration Manager Daemon (RAMD) configuration file

SYNOPSIS

/etc/ramd.conf

DESCRIPTION

ramd.conf is the configuration file for the Route Administration Manager daemon (RAMD) for IPv6. This file comprises of configuration statements that configures ramd, ripngd, bgpd and isisd.

ripngd, bgpd, and isisd are referred to as routing daemons. Upon startup, the daemons read this configuration file. This file contains:

  • interface configuration statements,

  • protocol configuration statements,

  • static route configuration statements,

  • control configuration statements, and

  • aggregate configuration statements.

Configuring RAMD

The RAMD configuration file, /etc/ramd.conf, consists of a set of configuration statements that terminate with a semi-colon (;).

These configuration statements are composed of tokens separated by white space. This structure simplifies the identification of parts of the configuration associated with each other and with specific protocols. Comments can be specified with a pound sign (#) at the beginning of the line.

Syntax conventions

The syntax conventions specific to the configuration file are:

highlight

Highlighting indicates keywords and special characters that the parser expects.

underline

Underlining (or italic) indicates a parameters whose value can be specified.

[ ]

Parameters shown in square brackets indicate optional keywords and parameters.

|

The vertical bar indicates a choice between parameters.

( )

Parentheses group keywords and parameters.

For example, consider the following syntax description:

  • [routepoll (off|on) [interval seconds] ;]

The square brackets indicate that the parameter is optional. The keywords in the example configuration statement are routepoll, on, off, and interval. The vertical bar | indicates a choice between on and off. The underline (or italic font) seconds indicates that a value must be specified.

RAMD Configuration Statement Summary

The /etc/ramd.conf file is divided into ramd global section and routing protocol section. The configuration statements for the ramd global section are given below:

as

Defines the autonomous system (AS) number.

routerid

Defines the originating router (BGP).

kernel

Configures kernel interface options.

preference

Specifies the preference order of routes to the same destination.

interface

Configures specific interface attributes.

traceoptions

Specifies events to be traced.

redirect

Specifies the processing of redirect requests.

martians

Specifies invalid destination addresses.

route_filter

Configures route filtering.

static

Defines static routes.

import

Specifies routes to be imported.

export

Specifies routes to be exported.

RAMD Global Configuration

Autonomous System Statement

The as sets the autonomous system number of this router to be autonomous system. This option is required if BGP is in use. The AS number is assigned by the Network Information Center (NIC).

The syntax of the as configuration statement is as follows:

as asnum;

This autonomous system appears only once in an AS path.

Router ID Statement

The routerid sets the router identifier for use by the BGP protocol. This number uniquely identifies the router within the autonomous system.

The syntax of the routerid configuration statement is as follows:

routerid routerid_value;

The routerid value can be an IP address of an interface or unique number. It is mandatory if BGP is configured.

Kernel Statement

The kernel configuration statement specifies the kernel interface options that controls the retrieval of the interface and the route tables from the kernel. Only one kernel configuration statement can be specified in the configuration file.

The syntax of the kernel configuration statement is as follows:

kernel { [snmp (on|off);] [scaninterval time-interval;] [routepoll (off|on) [interval poll-interval];] [remnantholdtime timer-value;] [noflushatexit;] [traceoptions trace-options;] [traceoptions [filename [replace] [size file-size] [k|m] files numb-of-files"] [except trace-options];] };

where the following means:

snmp (on|off);

ramd supports enterprise-specific Management Information Base (MIB) based on Community-based Simple Network Management Protocol version 2 (SNMPv2C). ramd implements EMANATE subagent.

The snmp configuration statement lets ramd enable or disable SNMP support.

After starting ramd, if on is specified in the configuration file, ramd registers with the SNMP master agent, snmpdm(1M). ramd subagent accepts:

GET

retrieves classes of variables from the MIB,

SET

sets the value of a variable on a MIB, and

GET-NEXT

retrieves one value of the variable from the MIB operations.

By default, snmp support is disabled; in other words, snmp state is off.

scaninterval time-interval;

Specifies the interface scan interval in seconds. This value specifies how often ramd scans the kernel interface table to identify the modifications. The default value is 15 seconds.

routepoll (off|on) [interval poll-interval];

Configures polling of kernel routing table.

on

polls the kernel routing table, periodically.

off

disables polling of the kernel routing table.

By default, route polling is disabled.

interval poll-interval;

Specifies how often the kernel routing table is scanned for modifications. The default poll interval is 30 seconds.

By default, route polling is disabled.

remnantholdtime timer-value;

Specifies the duration, in minutes, for which ramd retains the remnant routes (routes retrieved from the kernel upon ramd startup) in its routing table. On remnant hold timeout, ramd deletes all IPv6 routes except Static, Direct and Mobile IPv6 routes. By default, remnant hold time is 3 minutes. The time interval can be in the range of 0-15 minutes.

noflushatexit;

Specifies that ramd does not delete the routes from the kernel when it exits. By default, ramd deletes the routes from the kernel when it exits.

traceoptions trace-options;

Specifies the events to be traced. The specified option should be separated by commas, without any spaces between them. The valid trace options are:

iflist

Traces the list of interfaces retrieved from the kernel interface table.

request

Traces the route add and delete request by ramd to modify the kernel routing table.

policy

Traces the application of route filters and martian routes.

function

Traces the functions and their arguments.

timer

Traces the timer events.

nostamp

Traces the events without time stamp information.

all

Traces iflist, request, policy, function, and timer information.

no

No tracing is done.

By default, no tracing is done.

traceoptions [filename [replace] [size file-size [k|m] files numb-of-files] [except trace-options];

filename

Specifies the name of the trace file.

replace

Replaces an existing trace file and the tracing starts at the beginning of the trace file. By default, trace information is appended to the existing trace file.

size file-size

Specifies the maximum size of the trace file. The minimum size remains 10k. The default trace file size remains 10k.

k|m

Represents the size of the file in Kilobyte or Megabyte.

files numb-of-files

Specifies the maximum files. When the trace file reaches the specified size, the files are renamed as filename.0, filename.1, filename.2, up to the value specified in the option. The minimum value for files remain 2.

except trace-options

Traces all options, except the options that you specify in this statement.

This traceoptions configuration statement can be used in the ripngd, bgpd and isisd configuration section.

Preference

The preference value is an arbitrarily assigned value used to determine the order of routes to the same destination in a single routing database. Preference is the value that ramd uses to order the preference of routes from one protocol or peer to another. The preference value can be set in the RAMD configuration file in different configuration statements. It can be specified in the interface configuration statement to prefer one interface over the other. The preference can also be configured for the protocol.

The preference is not used to control the selection of routes within an Interior Gateway Protocol. This is accomplished automatically by the protocol based on the metric value. Each route has only one preference value associated with it, even though the preferences can be set at many places in the configuration file. The last or the most specific preference value set for a route is the value used. The route with smallest preference value is the active route.

The best route is selected as follows:

1.

The route with the best (numerically smallest) preference is selected.

2.

If the routes are from the same protocol, the one with the lowest metric is selected.

3.

If the routes have the same metric value, the route with the lowest numeric next hop address is selected.

Assigning Preferences

RAMD assigns a default preference to each source from which it receives routes. The preference values range from 0 - 255, with the lowest number indicating the most preferred route.

The default preference values for different types of routes are:

Direct route

0

IS-IS route

15

Static route

60

RIPng route

100

BGP route

170

The syntax of the preference configuration statement is:

  • preference(ripng|bgp|isis|static|direct) preference-value;

This configuration statement assigns preference values for routes learned from routing protocols.

Interface Configuration Statement

The interface configuration statement configures the primary address and the preference for an interface.

The syntax of the interface configuration statement is:

interface interface-name { [preference preference-value;] [alias primary IPv6-address;] [aliases-nh (primary|lowestip|keepall);] };

where the following means:

preference preference-value;

Sets the preference for routes to this interface when the interface is up. The default preference is 0.

alias primary IPv6-address;

Specifies a primary address for this interface. It overrides the address that ramd determines to be primary.

aliases-nh (primary|lowestip|keepall);

Specifies the address that ramd installs as the next hop for interface routes, when multiple addresses are assigned to an interface like the ServiceGuard environment.

primary

Replaces the next hop address with the primary address for all the direct routes of an interface.

lowestip

Replaces the next hop address with the lowest IPv6 address for all the direct routes of an interface.

keepall

ramd does not modify any direct routes for this interface. The ramd daemon does all the route modification in its routing table.

ICMPv6 Redirect Message Processing

ramd processes the ICMPv6 redirect request and decides whether to accept the redirect. If the redirect is accepted, ramd installs a route in its routing table with the protocol as redirect. ramd deletes the redirect routes from its routing table after 3 minutes.

If ramd is configured to reject redirects, that is if noredirect option is specified in the redirect configuration statement, it checks whether the kernel routing table is modified by the redirect message. If the kernel routing table is modified, ramd deletes the redirect route and restores the previous route that was modified by the redirect message. By default, ramd ignores the redirect messages. ramd handles the redirect message only when the redirect configuration statement is specified in the /etc/ramd.conf configuration file.

The redirect configuration statement does not prevent the system from sending redirects, but only from listening to them.

The syntax of the redirect configuration statement is:

redirect { [preference preference-value;] [interface list-of-interfaces [noredirect];] [trustedgateway gateway-list;] };

where the following means:

preference preference-value;

Specifies the preference value for the redirect routes. By default, preference value is 30.

interface list-of-interfaces

Specifies the list of interfaces through which ramd receives the redirect message.

noredirect

Specifies ramd to ignore the redirect message received through this interface.

trustedgateway gateway-list;

Specifies the list of gateways from which RAMD has to accept redirect message. If this configuration statement is specified, RAMD ignores the redirect message from a gateway which is not specified in this list of gateways. By default, RAMD accepts redirect message from all the directly connected gateways on the shared network.

Martians Configuration Statement

Martians configuration statement specifies a list of invalid addresses and all routing information from these addresses is ignored. A misconfigured system sends out invalid destination addresses. These invalid addresses are called martians. The ramd daemon rejects these invalid addresses.

The syntax of the martians configuration statement is:

martians { [host host-address [allow];] [prefix prefixlength [allow];] [default [allow];] };

This configuration statement allows additions to the list of martian addresses. See the section Route Filter Configuration Statement below for more information on specifying ranges. Specify the allow option to explicitly allow a subset of a range that was disallowed. The configuration file accepts only one martians configuration statement.

Route Filter Configuration Statement

The route filter configuration statement specifies a method to group list of network and host addresses. The RAMD configuration file configures route filtering.

A route_filter definition can have multiple hosts and prefixes listed.

This route filter can be specified in export and import configuration statements and are referred by names.

The syntax of the route_filter configuration statement is:

route_filter filter-name { [prefix prefixlength;] [host host-address;] [all;] };

where the following means:

filter-name

Specifies the unique name of the filter. filter-name must be a string and the length must not exceed 32 characters.

prefix prefixlength;

prefix specifies the destination network address, and prefixlength specifies the valid number of bits in the destination network address.

host host-address;

Specifies the host to configure and the destination host address.

all;

Specifies to filter all the valid IPv6 address.

Static Configuration Statement

The static configuration statement defines the static routes that are added to the kernel routing table, when ramd starts. The configuration statement accepts multiple static routes. Dynamic routes with better preference can override static routes.

The syntax of the static configuration statement is:

static (host host-address|default |net prefix prefixlen prefixlength) (gateway address|interface interface-name) [metric metricvalue] [retain] [preference preference-value];

where the following means:

host

Specifies that the type of route is a host route.

default

Specifies that the static route prefix is 0 and the prefix length is 0.

net

Specifies that the type of route is a network route.

prefix

Specified the destination network address.

prefixlen

Specifies the valid number of bits in the network address. For a net route, the value is between 1 and 127.

gateway

Specifies that the gateway address can be used to reach the host or network. Alternatively, the interface name can be specified using the interface option. A gateway address or an interface name must be specified.

interface

Specifies the name of the interface through which the static route is reachable.

metric

Specifies the metric with which the route is added to the kernel. If the next hop is not directly reachable, the metric value must be greater than 1.

retain

Specifies that ramd does not delete this route when ramd exits.

preference

Specifies the preference of this route. This overrides the global preference of static routes. The default preference is the value specified in the preference configuration statement.

Import Configuration Statement

The import configuration statement control importing of routes from the routing protocols and installing them in the RAMD routing database and kernel routing table. The import configuration statement specifies whether to update the kernel routing table or not for a protocol. By default, ramd installs static, ripng, and bgp routes in the kernel routing table.

The syntax of the import configuration statement is:

import (static|ripng|bgp|all) [route-filter-name (allow|restrict)];

where the following means:

static

Installs static routes in the kernel routing table.

ripng

Installs RIPng routes in the kernel routing table.

bgp

Installs BGP routes in the kernel routing table.

all

Install static, RIPng and BGP routes in the kernel routing table.

route-filter-name

Specifies the route filter associated with this import policy.

allow

Specifies that these routes provided in the route filter must be installed in the routing table.

restrict

Specifies that these routes must not be installed in the routing table. These routes are not exported to other protocols.

By default, the routing daemons import routes to the ramd daemon. The ramd daemon installs the best route in the kernel routing table.

Export Configuration Statement

The export configuration statement controls the routes that ramd advertises to other protocols. The main difference between export and import is that route import is controlled by source information, while route exportation is controlled by both source and destination.

The syntax of the export configuration statement is:

export (direct|static|ripng|bgp|all|none) to (daemon-name|all|none) [metric metricvalue] [route-filter-name (allow|restrict)];

The protocols specified before the keyword to are the source protocols (direct, static, ripng, bgp, all, and none).

The protocols specified after the keyword to are the destination protocols (daemon-name, all, and none), where daemon-name can be ripngd, bgpd or isisd.

Source Protocols

direct

Exports direct routes to the destination protocol.

static

Exports static routes to the destination protocol.

ripng

Exports RIPng routes to the destination protocol.

bgp

Exports BGP routes to the destination protocol.

all

Export direct, static, RIPng and BGP routes to the destination protocol.

none

Exports no routes to the destination protocol.

Destination Protocols

daemon-name

Exports routes from the source protocols to daemon-name.

all

Exports routes from the source protocols to all daemons.

none

Exports no routes from the source protocol.

metric

Indicates the metric value to be used for exporting these routes to the destination.

route-filter-name

Indicates the route filter associated with this export policy.

allow

Exports only these routes to the destination protocol.

restrict

Specifies that ramd doe not export these routes to the destination protocol.

RIPNG SECTION OF THE CONFIGURATION FILE

This section describes the RIPng statements in the RAMD configuration file.

RIPng Protocal Overview

The RIPng routing protocol is a distance vector protocol. It runs over the UDP layer. The key features of the RIPng protocol are as follows:

  • RIPng routers sharing a common data link become neighbors for route exchange.

  • RIPng routers exchange IPv6 reachability information in the RIPng route updates with neighbors.

  • RIPng routers send the best route to RAMD to update the kernel routing table.

  • RIPng routers run as a daemon process. RIPng protocol section of the RAMD configuration file, /etc/ramd.conf, can be used to configure the RIPng daemon.

rdc is a Command Line Interface (CLI) utility that controls the operations of the RIPng daemon. The CLI utility, ram_monitor, can be used to monitor the RIPng information.

Enabling RIPng

The RAMD configuration file enables or disables the RIPng protocol. If the ripng configuration statement is not specified in the configuration file, by default, the value is off. Only one ripng configuration statement can be specified in the configuration file. The syntax for ripng is:

  • ripng (on|off) {admin (up|down); [snmp (on|off); ]};

where the following means:

ripng

Enables or disables RIPng protocol. By default, RIPng protocol is disabled.

admin

Specifies the administrative status of the RIPng protocol. By default, administrative status is up.

snmp

Enables or disables SNMP support in ripngd. When on is specified, ripngd subagent registers with the snmpdm(1M) master agent and accesses the SNMP operations like GET, SET, and GET-NEXT.

ripngd supports enterprise-specific MIB based on SNMPv2C. ripngd implements EMANATE subagent.

By default, snmp is off.

Using ram_monitor for RIPng

The RIPng routers can be monitored using ram_monitor. The CLI port number can be specified in the RIPng section of the RAMD configuration file.

The syntax of the cliport configuration statement is as follows:

cliport port-number;

This configuration statement specifies the TCP port number on which ripngd listens for ram_monitor connection. If the CLI port number is not specified, ripngd does not service ram_monitor queries. Specify this CLI port number with ram_monitor to monitor RIPng routers.

Global Configuration Statement for RIPng

The configuration of global parameters for ripngd are explained below. These statements are defined in the RIPng section of the configuration file.

Horizon Type

The horizon statement in the RIPng section of the RAMD configuration file specifies the horizon type; e.g., the mode for RIPng routers to send route updates.

The syntax of the horizon configuration statement is as follows:

  • horizon (split|poison);

where:

split

Specifies that the horizon is split horizon. The RIPng router does not send the routes learned from a peer to that peer. This is the value used when the RIPng router creates a default profile.

poison

Specifies that the horizon is poison reverse. The RIPng router sends the routes learned from a peer to that peer with metric set to infinity. By default, poison reverse is enabled.

Propagation for RIPng

The propagate statement controls the propagation of static or dynamic RIPng routes to its peers. By default, both static and dynamic routes are propagated.

The syntax of the propagate configuration statement is as follows:

  • propagate (dynamic|both);

where:

dynamic

Specifies that the RIPng router propagates only the dynamic routes.

both

Specifies that the RIPng router propagates both static and dynamic routes.

Propagation of Sitelocal Routes for RIPng

The sitelocal statement specifies if site-local address can be propagated to another system or not.

The syntax of the sitelocal configuration statement is as follows:

  • sitelocal (allow|restrict);

where:

allow

Specifies that propagation of site-local routes is allowed.

restrict

Specifies that the RIPng router must not propagate the site-local routes.

Redistributed Routes for RIPng

The defaultmetric statement specifies the metric to be used when advertising routes through the RIPng protocol. This is applicable for the routes learned from other protocols.

If no value is specified, the default value is 1. The metric specified in the export policy overrides this configuration.

The syntax of the defaultmetric configuration statement is as follows:

defaultmetric metricvalue;

where metricvalue specifies the default metric value.

Maximum Routes for RIPng

The maxroutes statement specifies the maximum routes that a RIPng router can store in its routing table. By default, this is 30000.

The syntax of the maxroutes configuration statement is as follows:

maxroutes numb-of-routes;

where numb-of-routes specifies the maximum routes that a RIPng router can store in its routing table.

Route Filtering Configuration for RIPng

The following statement is used to route filters.

The syntax of the route_filter configuration statement is as follows:

route_filter filter-name { [prefix prefixlength;] [host host-address;] [all;] };

A route filter can have a combination of multiple host routes and multiple net routes. If all configuration statement is specified, host and net entries must not be specified. This route filter can be specified in the filter configuration statements. See the filter statement in the Route Filtering Configuration for RIPng section.

Route Aggregation for RIPng

Route aggregation is the process of merging two or more routes to form a single route on the basis of matching bits in each route. It reduces the number of routes in the RIPng route update message. The receiving RIPng neighbor router installs the aggregate route in the kernel routing table. Hence, route aggregation reduces the number of routes in the kernel routing table.

The aggregate configuration statement can be used to generate aggregate routes. If this statement is not specified in the configuration file, RIPng router does not perform route aggregation.

The syntax of the aggregate configuration statement is as follows:

aggregate { [prefix prefixlength [preference preference-value] [restrict] ]; };

where:

prefix prefixlength

Specifies the routes that can be aggregated and its prefix length.

preference preference-value

Specifies the preference value of the aggregate route. By default, the value is 130.

restrict

Specifies the route that ripngd must not aggregate.

Profile Configuration for RIPng

The RIPng section provides a directive to configure a profile that can be used by the interfaces for configuration of the horizon, the periodic update time, the triggered update delay time, the route age time, and the garbage collection time. By default, a profile is available with poison reverse configured.

The syntax of the profile configuration statement is as follows:

profile id { [horizon (split|poison);] [updtime timer-value;] [trigdelay timer-value;] [routeage timer-value;] [gcollect timer-value;] };

where:

horizon

Specifies the horizon for this profile. By default, horizon is poison reverse.

updtime

Specifies the periodic timeout interval after which regular route updates are sent. By default, this is 30 seconds.

trigdelay

Specifies the interval by which the triggered update is delayed. By default, this is 5 seconds.

routeage

Specifies the interval after which a route ages, if there are no updates to this route. By default, this is 180 seconds.

gcollect

Specifies the garbage collection time interval after which a route must be purged from the routing table. By default, this is 120 seconds.

By default, a profile ID with "0" is created with configured values for the horizon type.

Tracing for RIPng

For RIPng, you can set tracing at protocol or event level.

The syntax of the traceoptions configuration statement is as follows:

traceoptions trace-options;

which specifies the events to be traced. The options should be separated by commas, without any spaces between them. The valid trace options are:

route

Specifies to trace route events.

policy

Specifies to trace application of protocol and user-specified policy to routes being imported and exported.

timer

Specifies to trace timer events.

normal

Specifies to trace normal ( packet, timer events) protocol occurrences.

general

Specifies to trace normal and route events.

detail

Specifies to trace RIPng packets in detail.

send

Specifies to trace only outgoing RIPng packets.

recv

Specifies to trace only incoming RIPng packets.

request

Specifies to trace RIPng route request packets.

response

Specifies to trace RIPng route response packets.

packets

Specifies to trace both RIPng route request and response packets.

nostamp

Specifies that trace messages must not have the time stamp information.

all

Traces iflist, request, policy, function, and timer information.

no

No tracing is done.

By default, no tracing is done.

Gateway Filters Configuration for RIPng

In the RIPng section of the RAMD configuration file, you can specify the gateway filter configuration that controls the transmission and reception of RIPng updates.

These are the possible gateway specifications:

trustedgateway gateway-list;

The trusted gateway list specifies the list of gateways that the RIPng router can accept for its route updates, where gateway-list is a list of gateway addresses separated by space.

By default, RIPng router accepts route updates from all the gateways.

sourcegateway gateway-list;

The source gateway list specifies a list of gateways that the RIPng router can send for its route updates, where gateway-list is a list of gateway addresses separated by space.

By default, RIPng router sends route updates to all gateways.

Interface Configuration for RIPng

In the RIPng section of the RAMD configuration file, you can use the interface statement to specify RIPng related interface attribute configuration, where interface-name denotes one of the kernel interface name.

The syntax of the interface configuration statement is as follows:

interface interface-name { [enable|disable;] [metric metricvalue;] [ripin|noripin;] [ripout|noripout;] [profile id;] [filter dir (in|out) route-filter-name-list [allow|restrict] ]; };

where the following means:

enable

Specifies that RIPng protocol is enabled on this interface.

disable

Specifies that RIPng protocol is disabled on this interface. By default, RIPng protocol is enabled on this interface.

metric

Specifies the cost of this interface. By default, the RIPng router takes the defaultmetric configuration statement value.

Controlling RIPng's Operation Based on Direction

The RIPng section of the RAMD configuration file specifies the control of RIPng operation based on the direction.

  • [noripin|ripin] [noripout|ripout]

where:

noripin

Specifies that RIPng packets received through this interface are ignored. By default, it listens to RIPng packets on all non-loopback interfaces.

ripin

Specifies that ripngd can process incoming updates. By default, this is enabled.

noripout

Specifies that RIPng packets are not sent on the specified interfaces. By default, it sends RIPng packets on all interfaces.

ripout

Specifies that ripngd can send updates. By default, this is enabled.

Associating a Profile with an Interface for RIPng

The profile statement associates a profile on a particular interface. If the profile id is not specified, a default profile (id 0) is used.

The syntax of the profile configuration statement is as follows:

profile id;

where id specifies the profile ID on a particular interface.

Route Filtering Based on Interface for RIPng

You can specilfy the list of route filters for a specific interface. If no filter is configured, filter policies are not applied to the RIPng packets that are sent and received on this interface.

The syntax of the filter configuration statement is as follows:

  • filter dir (in|out) route-filter-name-list [allow|restrict];

where the following means:

in|out

Specifies the direction to apply the filter.

route-filter-name-list

Specifies a space separated list of multiple route filters to associate with this filter.

allow|restrict;

Let ripngd allow or restrict route information that matches the route defined in the route filter. If the allow or restrict option is not specified, the default option is restrict.

Note: This configuration statement accepts only one filter statement per interface.

BGP SECTION OF THE CONFIGURATION FILE

The following describes the BGP section of the RAMD configuration file.

BGP Protocal Overview

BGP protocol runs over TCP. The key features of the BGP protocol are as follows:

  • The BGP routing protocol uses the standard port number 179.

  • The BGP routers exchange routing information with its peers. A peer in a different Autonomous System (AS) is in an external peer and peer in the same AS is internal peer.

  • The BGP routers use the path vector algorithm to select the best route for installation.

  • The BGP protocol runs as a daemon process. The BGP daemon can be configured through the BGP protocol section of the RAMD configuration file, /etc/ramd.conf.

  • The BGP routers send the best route to ramd for updating the IPv6 kernel routing table.

  • The BGP router enforces policy decisions on routes installed and advertised.

Enabling BGP

The RAMD configuration file is used to enable or disable the BGP protocol. If the BGP section is not specified in the configuration file, by default, bgpd is off.

The syntax for enabling BGP is:

  • bgp (on|off) {admin (up|down); [snmp (on|off);] };

where the following means:

bgp (on|off)

Enables or disables BGP protocol. By default, BGP protocol is disabled.

admin

Specifies the administrative status of the BGP protocol. By default, administrative status is up.

snmp

Enables or disables SNMP support in bgpd. When on is specified, bgpd subagent registers with the snmpdm(1M) master agent and accesses the SNMP operations like GET, SET, and GET-NEXT. bgpd supports enterprise-specific MIB based on SNMPv2C. bgpd implements EMANATE subagent. By default, snmp is off.

Please note that as and routerid are mandatory parameters when BGP is on.

Using ram_monitor for BGP

ram_monitor can be used to monitor the BGP daemon. The BGP section in the RAMD configuration file provides a directive to specify the CLI port number.

cliport port-number;

bgpd listens for ram_monitor connection on port-number. If the CLI port number is not specified, bgpd does not provide CLI service.

Maximum Routes for BGP

The maxroutes statement configures the maximum routes that bgpd can store in its routing table.

The syntax of the maxroutes configuration statement is as follows:

maxroutes numb-of-routes;

where numb-of-routes specifies the maximum routes that bgpd can store in its routing table. By default, this value is 5000.

Maximum Peers for BGP

The maxpeers statement configures the maximum peers that bgpd supports.

The syntax of the maxpeers configuration statement is as follows:

maxpeers numb-of-peers;

where numb-of-peers pecifies the maximum peers that bgpd supports. By default, this value is 50.

Enabling Synchronization for BGP

The synchronization rule of BGP states that if an Autonomous System (AS), such as AS 1, passes traffic from one AS to another, BGP does not advertise a route before all routers within the AS (AS 1) have learned about the routes through an Interior Gateway Protocol (IGP). The BGP section in the RAMD configuration enables or disables synchronization of routes with IGP.

The syntax of the sync configuration statement is as follows:

sync (on|off);

where:

on

Enables bgpd synchronization.

off

Disables bgpd synchronization. By default, synchronization is disabled.

Propagation of Non-BGP Routes

The propnon-bgp statement specify the control or propagation of non-bgp routes to external peer or both external and internal peers. By default, bgpd propagates non-bgp routes to both external and internal peers.

The syntax of the propnon-bgp configuration statement is as follows:

propnon-bgp (external|both);

where:

external

Specifies propagation of non-bgp routes to external peers.

both

Specifies propagation of non-bgp routes to both external and internal peers.

Overlapping Routes for BGP

The overlap statement sets policy handling of overlapping routes. Route overlap occurs when bgpd receives a set of less and more specific routes.

The syntax of the overlap configuration statement is as follows:

overlap (less|more|both);

where:

less

Specifies bgpd to install the less specific routes.

more

Specifies bgpd to install the more specific routes.

both

Specifies bgpd to install both less specific and more specific routes.

Route Filtering for BGP

For BGP, you can configure the update filter. bgpd applies this filter on incoming and outgoing update messages. There can be many route_filter configuration statements. If no filter is configured, filter policies are not applied to the BGP packets.

The syntax of the route_filter configuration statement is as follows:

route_filter filter-name { [as asnum] [(prefix prefixlength) | (hosthost-address) | all] [aspath aslist]" dir (in|out); } (allow|restrict);

where:

as asnum

Specifies the remote autonomous system (AS) number based on which bgpd applies the filter.

prefix prefixlength

Specifies the route prefix based on which bgpd applies the filter.

host host-address

Specifies the host routes on which bgpd applies this filter.

all

Specifies bgpd to filter all routes.

aspath aslist

Specifies the AS path list based on which bgpd applies this filter.

dir (in|out)

Specifies the direction of update messages on which bgpd applies this filter. The in option applies the filter on incoming routes and the out option applies the filter on outgoing routes.

allow|restrict;

Specifies to allow or restrict the incoming or outgoing routes. By default, bgpd allows all routes.

Route Aggregation for BGP

Route aggregation is the process of merging two or more routes to form a single route on the basis of matching bits in each route. It reduces the number of routes in the BGP route update message. The receiving BGP neighbor router installs the aggregate route in the kernel routing table. Hence, route aggregation reduces the number of routes in the kernel routing table. bgpd that generates aggregate routes do not use the originated aggregate routes for packet forwarding.

The aggregate configuration statement can be used to generate aggregate routes. If the aggregate configuration statement is not specified in the configuration file, bgpd does not perform route aggregation. Route aggregation is effective only when the overlap both configuration statement is specified.

The syntax of the aggregate configuration statement is as follows:

aggregate { [prefix prefixlength [all|summary-only] [preference preference-value] [restrict] ]; };

where:

prefix prefixlength

Specifies the routes that can be aggregated and its prefix length.

all|summary-only

Specifies bgpd to advertise aggregated routes and more specific routes or advertise only aggregated routes.

preference preference-value

Specifies the preference for the aggregated routes. By default, this value is 130.

restrict

Specifies that bgpd must not aggregate with this route.

Local Preference (LP) for BGP

bgpd uses the defaultlocalpref configuration statement to set the preference value:

defaultlocalpref preference-value;

where preference-value specifies the default LP value.

The BGP section in the RAMD configuration file specifies the value for local preference attribute. bgpd uses the localpref configuration to set preference value based on autonomous system (AS) number, AS path or prefix. Routes with higher local preference value is preferred to those with a low preference value. localpref configuration statement overrides the defaultlocalpref configuration statement.

The syntax of the localpref configuration statement is as follows:

localpref { [as asnum] [prefix prefixlength] [aspath aslist] [dir (in|out)] pref preference-value [override|inherit]; };

where:

as asnum

Specifies the local preference value for the routes from the remote autonomous system (AS). Applicable only for the in direction.

prefix prefixlength

Specifies the local preference value for the route prefix.

aspath aslist

Specifies the local preference values for the AS path list.

dir (in|out)

Specifies the local preference value for the incoming or outgoing routes. By default, bgpd specifies the local preference value for the incoming routes.

pref preference-value

Specifies the value for local preference (LP).

override|inherit

Specifies that the local preference value must override or inherit the LP value in the incoming updates. By default, this is inherit.

Multi Entry/Exit Discriminator (MED) for BGP

bgpd uses the defaultmetric configuration to set the metric value:

defaultmetric metricvalue;

where metricvalue specifies the default metric value.

For BGP external peers, the metric value can be used to specify the preferred path to enter or exit in the same autonomous system (AS). bgpd sends the specified metric value in its update messages. bgpd uses the metric statement to set metric value based on AS, AS path, route prefix, or directions. bgpd uses Multi Entry or Exit Discriminator (MED) to convey the preferred path to an AS, where lower MED value is preferred over higher MED value. By default, MED is disabled.

The syntax of the metric configuration statement is as follows:

metric { [as asnum] [prefix prefixlength] [aspath aslist] [dir (in| out)] metricvalue metricvalue [override|inherit]; };

where the following means:

as asnum

Specifies the MED value to assign for routes from the peer in the specified autonomous system (AS).

prefix prefixlength

Specifies the MED value for the route prefix.

aspath aslist

Specifies the MED value if the update message contains the specified list of AS numbers.

dir (in|out)

Specifies the MED value for the incoming or outgoing update messages. By default, bgpd specifies the MED value for the incoming update messages.

metricvalue metricvalue

Specifies the metric value for the MED.

override|inherit

Specifies that the MED value must override or inherit. By default, the MED value is inherit.

bgpd uses the following configuration statement to configure MED comparison.

always-compare-med (on|off);

where:

off

Compares MED between the routes received from the same autonomous system (AS). This is the default.

on

Compares MED between the routes received from the same or different AS.

Tracing for BGP

You can use the BGP section in the configuration file to set BGP tracing at protocol or event level. By default, no tracing is done:

traceoptions trace-options;

where trace-options specifies the events to be traced. The options are comma separated without any space between them. The valid trace options are:

no

Disables tracing.

all

Enables all the trace options.

route

Specifies to trace route addition and deletion in the bgpd routing table.

policy

Specifies to trace application of protocol and user-specified policy to routes imported, exported and advertised.

timer

Traces timer events.

function

Traces at function level. When enabled, traces every function, with entry, exit and important values used in the function.

normal

Traces normal (packet, timer events) protocol occurrences. Specifies to trace normal and route events.

detail

Traces all BGP packets in detail.

send

Traces only outgoing BGP packets.

recv

Traces only incoming BGP packets.

open

Traces BGP OPEN packets.

keepalive

Traces BGP KEEPALIVE packets.

update

Traces BGP UPDATE packets.

notification

Traces BGP NOTIFICATION packets.

packets

Traces all BGP protocol packets.

nostamp

Specifies that trace messages must not have time stamp information.

state

Traces BGP state machine transitions.

By default, no tracing is done.

Peer Configuration for BGP

You can configure the peers of the system other than the peer group.

The syntax of the peer configuration statement is as follows:

peer host-address [up|down] [if ifname] peeras asnum { [auth(md5 passwd-string|none);] [holdtime timer-value;] [keepalive timer-value;] [minasorgtime timer-value;] [minrtadvtime timer-value;] [lcladdr local-address;] [logupdown (on|off);] [multihop (on|off);] [nexthop-self (on|off);] [metricout metricvalue;] [preference preference-value;] [showwarnings (on|off);] [traceoptions trace-options;] [gateway address;] [noaggregatorid;] [keepalivealways;] [noauthcheck;] [hoplimit hoplimit;] [sendbuffer buffersize;] [recvbuffer buffersize;] [keep (all|none);] [passive;] [localas asnum;] [noasloop;] };

This peer configuration can be specified inside the group configuration or outside the group configuration. The up option enables the session with the peer and down option disables the session.

host-address

Specifies the host address for the peer.

if ifname

Specifies the interface name through which the peer is connected. This is applicable and mandatory for peers with link local address only.

peeras asnum

Specifies the remote autonomous system (AS) number of the peer.

auth (md5 passwd-string|none);

Enables or disables authentication for a peer. By default, authentication is disabled.

A MD5 password string must be specified with auth when it is enabled.

holdtime timer-value;

Specifies the default value in hold time to use when negotiating the connection with the peer. By default, the hold time is 120 seconds.

keepalive timer-value;

Specifies the keep alive time value for the peer. By default, the keep alive time is 40 seconds.

minasorgtime timer-value;

Specifies the minimum autonomous system (AS) origination interval for the peer. By default, minasorgtime is 15 seconds.

minrtadvtime timer-value;

Specifies the minimum route advertisement interval for the peer. By default, the value is 30 seconds.

lcladdr local-address;

Specifies the address on the local end of the TCP connection with the peer.

logupdown (on|off);

Specifies whether peer up or down events are logged in syslog(3C). By default, this value is off.

multihop (on|off);

Specifies the multihop feature for a peer. Multihop must be enabled for indirectly connected external peers. By default, multihop is disabled.

nexthop-self (on|off);

Specifies whether the next hop address is its own address or third party address in the update message for a peer. By default, nexthop-self is disabled.

preference preference-value;

Specifies the preference value for BGP routes learned from the peer.

showwarnings (on|off);

Logs the warning messages in trace file of bgpd when receiving questionable BGP updates such as duplicate routes and deletions of non-existing routes from the peer. By default, showwarning is off.

noaggregatorid;

Specifies that the aggregator ID in the aggregate attribute must be 0 instead of the router ID.

keepalivealways;

Specifies that keepalive is sent always, even when sending update packet for a peer.

noauthcheck;

Specifies that the authentication field of the incoming packets to be 1 and need not be checked. This configuration is ignored if authentication is enabled.

hoplimit hoplimit;

Specifies the hop limit for peer. The maximum value of hoplimit is 255. By default, hoplimit is 255.

sendbuffer buffersize;

Specifies the send buffer size in TCP socket for a specified peer. By default, the buffer size is 65536.

recvbuffer buffersize;

Specifies the receive buffer size in TCP sockets for a specified peer. By default, the buffer size is 65536.

keep (all|none);

Specifies to retain the routes learned from a peer even if the autonomous system (AS) paths of the routes contain one of the exported AS numbers. By default, no routes are retained.

passive;

Specifies that no attempt must be made from this peer to establish TCP connection with the BGP speaker. A BGP speaker is a router that sends, receives and processes BGP messages. The BGP speaker must wait for the peer to initiate the connection. By default, all explicitly configured peers are active.

localas asnum;

Specifies the AS number that the BGP speaker is representing to this peer. Only if a BGP router contains a true BGP peer, localas configuration is valid.

noasloop;

Prevents routes with looped AS paths from advertising to version 4 external peers.

metricout metricvalue;

Specifies the metric value to be used on all routes sent to this peer. This overrides the defaultmetric and metric configuration.

gateway address;

Specifies the gateway to be used for the routes from this peer.

Group Configuration for BGP

The group statement is used to configure the peers of a system. A group consists of peers based on their type and autonomous system (AS). The group configuration accepts multiple peer configuration statements.

The syntax of the group configuration statement is as follows:

group (internal | external | test | igp [proto proto] | routing proto proto | [interface interface-list]) peeras asnum { [auth (md5 passwd-string|none);] [holdtime timer-value;] [keepalive timer-value;] [minasorgtime timer-value;] [minrtadvtime timer-value;] [lcladdr local-address;] [logupdown (on|off);] [multihop (on|off);] [nexthop-self (on|off);] [metricout metricvalue;] [preference preference-value;] [showwarnings (on|off);] [traceoptions trace-options;] [gateway address;] [noaggregatorid;] [keepalivealways;] [noauthcheck;] [hoplimit hoplimit;] [sendbuffer buffersize;] [recvbuffer buffersize;] [keep (all|none);] [passive;] [localas asnum;] [noasloop;] allow { [prefix prefixlength;] [all;] [host host-address;] }; peer host-address [up|down] if ifname {...}; };

The group configuration accepts many groups, but each must possess a unique combination of type and peer autonomous system (AS).

internal

Specifies that group members must be directly connected. The group members must belong to the same AS. Routes received from external peer are by default advertised with the received metric.

external

Specifies the external peers. The peers must be directly connected unless multihop is enabled. By default, no metric is included in external advertisements.

igp proto proto

Specifies an internal group that runs in association of an interior gateway protocol. Routes received from this group are advertised only when bgpd learns the route from the protocol specified in the proto field.

routing proto proto

Specifies an internal group that uses the routes of an interior protocol to resolve next hop address. A type routing group propagates external routes between routers that are not directly connected. It computes immediate next hop for these routes by using the BGP next hop.

test

Specifies an internal or external BGP router that implements a fixed policy. Routes received from test peer is discarded. Routes are advertised to the test peer without applying any filter policy.

Allow Clause for BGP

The BGP router allows connections only from configured peers. The allow configuration statement enables unconfigured peer connections from any address in the specified range of network. All parameters for these peers must be configured in the group clause.

prefix prefixlength;

Allows peering with routers whose IP address are in the specified range.

all;

Allows peering with all incoming connections.

host host-address;

Allows peering with specified hosts.

Group Member Configuration

The peer clause configures an individual peer. Each peer inherits all parameters specified on a group as default.

  • peer host-address [up|down] [if ifname] {...};

where:

peer host-address

Specifies the peer address.

up|down

Specifies the administrative status of the peer.

The configuration statements specified in this peer configuration statement overrides the group configuration statements except for minrtadvtime, localas and minasorgtime configuration statements. metricout configuration overrides for external peer.

See the Peer Configuration for BGP section for explanations on the rest of the group configuration statements.

Need info on if ifname {...}

IS-IS SECTION OF THE CONFIGURATION FILE

The following describes the IS-IS section of the RAMD configuration file.

IS-IS Protocal Overview

IS-IS is a link state interior gateway protocol (IGP), or Intra-Domain Routing Protocol, originally developed for routing ISO/CLNP (International Organization for Standardization/Connectionless Network Protocol) packets. IS-IS of RAMD supports IPv6 Routing information exchange. It transmits over data link layer. The key features of the IS-IS protocol are as follows:

  • The IS-IS supports two-level routing hierarchy. Routing within an area is Level 1 routing and across areas is Level 2 routing.

  • The IS-IS routers become neighbors if the hello packets contain information that meets the criteria for forming an adjacency. The criteria differ depending on the type of media used. The main criteria are matching authentication, IS-type and Maximum Transmission Unit (MTU) size.

  • The IS-IS builds Link-State Packet (LSP) that communicates the reachability information to adjacent routers. Floods LSPs to all adjacent neighbors except the interface on which they received the LSP. IS-IS uses Shortest Path Algorithm (SPF), also known as Djikstra algorithm, to compute its routing table by selecting the best paths in the network. SPF runs individually for Level 1 and Level 2 database.

  • The IS-IS runs as a daemon process. IS-IS can be configured using the IS-IS protocol section of the RAMD configuration file, /etc/ramd.conf.

  • The IS-IS routers provide the best path to ramd for updating the kernel routing table.

Enabling IS-IS

The RAMD configuration file enables or disables the IS-IS protocol. If the IS-IS section is not specified in the configuration file, by default, IS-IS is off.

  • isis (on|off) {admin(up|down); [snmp (on|off) ;]};

where:

isis

Enables or disables IS-IS protocol. By default, IS-IS protocol is disabled.

admin

Specifies the administrative status of the IS-IS protocol. By default, administrative status is up.

snmp

Enables or disables SNMP support in isisd. When on is specified, isisd subagent registers with the snmpdm(1M) master agent and accesses the SNMP operations like GET, SET, and GET-NEXT. isisd supports enterprise-specific MIB based on SNMPv2C. isisd implements EMANATE subagent. By default, snmp is off.

Using ram_monitor for IS-IS

ram_monitor can be used to monitor IS-IS. CLI port number can be specified in the IS-IS section in the RAMD configuration file:

cliport port-number;

isisd listens for ram_monitor connection. If the CLI port number is not specified, isisd does not provide CLI service.

System Level for IS-IS

The level statement in the IS-IS section of the configuration file defines the level of the interface:

  • level (l1|l2|both);

specifies the IS-IS level of the interface. By default, this value is both.

Maximum Areas for IS-IS

The maxareaddr statement configures the maximum area address in a system:

maxareaaddr num;

where num specifies the maximum area addresses supported by IS-IS. By default, this value is 3.

Area ID for IS-IS

The area statement specifies the area ID for this system. This configuration is mandatory:

area areaid;

where areaid specifies the area ID for this system.

Area Authentication for IS-IS

The following statement specifies the authentication type and authentication key for area authentication. Area authentication is used in L1 Link State PDUs (LSPs) and Sequence Number PDUs (SNPs).

The syntax of the area configuration statement is as follows:

  • area auth (simple [txpwd string] [rxpwd pwdlist] | none);

where:

simple

Specifies the password type as plain text password.

txpwd string

Specifies the password to use for authentication while transmitting L1 LSPs and SNPs.

rxpwd pwdlist

Specifies the set of area passwords used for authenticating the received L1 LSPs and SNPs.

pwdlist

Specifies the list of passwords, in the form: simple string1 string2 ...

Domain Authentication for IS-IS

The following statement specifies the authentication type and authentication key for domain authentication. Domain authentication is used in L1 LSPs and SNPs.

The syntax of the domain configuration statement is as follows:

  • domain auth (simple [txpwd string] [rxpwd pwdlist] | none);

where:

simple

Specifies the password type as plain text password.

txpwd string

Specifies the set of passwords to use for authentication while transmitting L2 control PDUs.

rxpwd pwdlist

Specifies the set of domain passwords used for authenticating the received L2 LSPs, Complete Sequence Number PDUs (CSNPs) and Partial Sequence Number PDUs (PSNPs).

pwdlist

Specifies the list of passwords, in the form: simple string1 string2 ...

Originating LSP Buffer Size for IS-IS

The following statement specifies the buffer size for LSPs originated.

The syntax of the origlspbufsize configuration statement is as follows:

  • origlspbufsize level (l1|l2|both) lspbufsize;

where:

level (l1|l2|both)

Specifies the origination buffer size for L1 and L2 LSPs. By default, this value is both.

lspbufsize

Specifies the origination buffer size. By default, this value is 1492.

Sitelocal Configuration for IS-IS

The sitelocal statement is used to let isisd allow or restrict sending site-local address in its route updates. By default, IS-IS does not send site-local addresses in its route updates.

The syntax of the sitelocal configuration statement is as follows:

  • sitelocal (allow|restrict) ;

where:

allow

Specifies isisd to send site-local address in its route updates.

restrict

Specifies isisd to restrict sending the site-local address in its route updates.

LSP Maximum Regeneration Interval for IS-IS

The statement below configures the maximum time allowed to elapse without LSP regeneration.

The syntax of the lsp-max-regeneration-interval configuration statement is as follows:

lsp-max-regeneration-interval timer-interval;

where time-interval specifies the time interval. By default, this is 900 seconds.

Export-Defaults Configuration for IS-IS

The following statement defines the export attributes for routes sent from ramd.

The syntax of the export-defaults configuration statement is as follows:

export-defaults { [level (l1|l2);] [preference preference-value;] [metric (metricvalue|inherit);] [metric-type (internal|external);] };

where:

level (l1|l2)

Specifies the level in which the IS-IS advertises the routes exported from ramd. By default, it is L1 for L1 routers and L2 for L2 and L1/L2 routers.

metric (metricvalue|inherit)

Specifies the default metric set on IP External Reachability Information routes under export-defaults configuration statement. By default, this value is inherit.

metric-type (internal|external)

Specifies the default type of the metric set on IS-IS routes from another protocol. By default, this value is internal.

preference preference-value

Specifies the preference value for routes exported from ramd. By default, it inherits the preference value given by ramd.

Interface Configuration for IS-IS

The following statement can be used to enable or disable IS-IS on an interface basis.

The syntax of the interface configuration statement is as follows:

interface interface-name { [(enable|disable);] [smallhellos (on|off);] [auth (simple [txpwd string] [rxpwd pwdlist]|none);] [csn-interval time-interval [level (l1|l2|both];] [psn-interval time-interval[level(l1|l2|both)];] [dis-hello-interval time-interval [level (l1|l2|both)];] [hello-interval time-interval [level (l1|l2|both)];] [hello-multiplier multipliernum [level (l1|l2|both)];] [lsp-interval time-interval ; ] [level (l1|l2|both);] [metric metricvalue [level (l1|l2|both)];] [passive (on|off);] [priority prioritylevel [level (l1|l2 |both)]; [extdomain (true|false);]};

where:

enable|disable ;

Enables or disables isisd. By default, this value is disable.

smallhellos (on|off);

Specifies to send unpadded hellos on the interface. By default, this value is off.

auth (simple... | none);

Specifies the authentication type and authentication key for the interface. By default, this value is none.

csn-interval time-interval [level (l1|l2|both)];

Specifies the CSNP interval time for an interface. By default, this value is 10 seconds.

psn-interval time-interval [level (l1|l2|both)];

Specifies the PSNP interval time for an interface. By default, this value is 2 seconds.

dis-hello-interval time-interval [level (l1|l2|both)];

Specifies the Designate IS (DIS) hello interval time for an interface. By default, this value is 1000 milliseconds.

hello-interval time-interval [level (l1|l2|both)];

Specifies the interval time for IS-IS to advertise hello packets on the interface. By default, this value is 3 seconds.

hello-multiplier multipliernum [level (l1|l2|both)];

Specifies the number of hello intervals between reception of a hello before considering the neighbor IS as down. By default, this value is 10 seconds.

lsp-interval time-interval;

Specifies the minimum time to wait before regenerating LSP. By default, this value is 5 seconds.

level (l1|l2|both);

Specifies the level of the interface. By default, this value is same as system level.

metric metricvalue [level (l1|l2|both)];

Specifies the metric for traversing an interface. By default, the metric value is 10.

passive (on|off);

Specifies the interface as passive. That is, IS-IS is off and the ifaddress is sent out in LSPs to other interfaces. By default, this value is off.

priority prioritylevel [level (l1|l2|both)];

Specifies the priority of DIS election for an interface. By default, the priority level is 64.

extdomain (true|false);

Specifies the external domain attribute of an interface. By default, this value is false.

System ID for IS-IS

This configuration is used to specify the system ID of the router. This configuration is mandatory.

systemid systemid;

where systemid specifies the system ID of the router.

Overload for IS-IS

The following configuration specifies whether the IS-IS system enters or leaves overload state. By default, this value is off.

The syntax of the overload configuration statement is as follows:

  • overload (off|l1|l2|both);

where:

off

Specifies that isisd does not enter the overload state.

l1

Specifies to enter overload state for L1.

l2

Specifies to enter overload state for L2.

both

Specifies to enter overload state for L1 and L2.

Route Leaking for IS-IS

The following configuration specifies that IS-IS can leak L2 reachability information into L1 domain. By default, this value is off.

The syntax of the l2tol1leak configuration statement is as follows:

  • l2tol1leak (on|off);

where:

on

Specifies to leak from L2 to L1.

off

Specifies that isisd does not leak from L2 to L1.

Require SNP Authentication for IS-IS

The following configuration specifies whether to authenticate for SNPS or not. By default, this value is off.

The syntax of the require-snp-auth configuration statement is as follows:

  • require-snp-auth (on|off);

where:

on

Specifies to enable SNP authentication.

off

Specifies to disable SNP authentication.

Summary Configuration for IS-IS

The following configures the summary addresses. Summary configuration can be used only if the system is a L1L2 router.

Summary Originate for IS-IS

The following statement defines the list of L1 router that IS-IS summarizes and propagates in L2 LSPs.

The syntax of the summary-originate configuration statement is as follows:

  • summary-originate { prefix prefixlength metric metricvalue; };

where:

prefix prefixlength

Specifies the route prefix and its length.

metricvalue

Specifies the metric value associated with the summary address.

Summary Filter for IS-IS

The following statement defines the L1 routes that IS-IS filters when advertising in L2 LSPs.

The syntax of the summary-filter configuration statement is as follows:

  • summary-filter { prefix prefixlength ; };

where prefix prefixlength specifies the route prefix and its length.

IPRA Configuration for IS-IS

The following configures the IP reachable addresses.

The syntax of the ipra configuration statement is as follows:

  • ipra { prefix prefixlength metric cost-value SNPA-0Address; };

where:

prefix prefixlength

Specifies the route prefix and its length.

metric cost-value

Specifies the metric associated with the IPRA.

SNPA-Address

Specifies the Subnetwork Point of Attachment (SNPA) address. It must be one of the interface SNPA address or adjacency SNPA address.

Tracing for IS-IS

You can sets IS-IS tracing at protocol or event level. By default, no tracing is done. The following specifies the events to be traced.

traceoptions trace-options;

where the options are separated by commas without any space between them. The valid trace options are:

no

Disables tracing.

all

Enables all the trace options.

function

Specifies to trace at function level. When enabled, traces every function, with entry, exit and important values used in the function.

state

Specifies to trace state machine transitions.

policy

Specifies to trace application of protocol and user-specified policy to imported and exported routes.

timer

Specifies to trace timer events.

route

Specifies to trace route addition and deletion in isisd routing table.

normal

Specifies to trace all the IS-IS protocol activities.

general

Specifies to trace the combination of route and normal trace information.

nostamp

Specifies to trace without time stamp.

adjacency

Specifies to trace IS-IS protocol for adjacency events.

dis-election

Specifies to trace IS-IS protocol for dis-election events.

db

Specifies to trace IS-IS protocol for LSP database events.

flood

Specifies to trace IS-IS protocol for LSP flooding events.

lsp

Specifies to trace IS-IS protocol for LSP events.

packets

Specifies to trace IS-IS protocol for IS-IS PDUs.

hello

Specifies to trace IS-IS protocol for hello PDUs.

csn

Specifies to trace IS-IS protocol for CSN PDUs.

psn

Specifies to trace IS-IS protocol for PSN PDUs.

detail

Specifies to trace IS-IS protocol packets in detail.

send

Specifies to trace IS-IS protocol only for outgoing PDUs.

recv

Specifies to trace IS-IS protocol only for incoming PDUs.

By default, no tracing is done.

Partition for IS-IS

The following statement configures the support for partition repair. By default, this value is no.

The syntax of the partition configuration statement is as follows:

  • partition (yes|no);

where:

yes

Specifies to support partition repair.

no

Specifies that isisd does not support partition repair.

Maximum Routes for IS-IS

The maxroutes statement configures the maximum routes that IS-IS can store.

The syntax of the maxroutes configuration statement is as follows:

maxroutes numb-of-routes;

where numb-of-routes specifies the maximum routes. By default, this value is 10000.

Maximum Adjacency for IS-IS

The following statement specifies the maximum adjacency that IS-IS can support.

The syntax of the maxadj configuration statement is as follows:

maxadj adjnum;

where adjnum specifies the maximum adjacencies. By default, this value is 255.

Maximum LSP for IS-IS

The following statement specifies maximum LSPs that IS-IS can support.

The syntax of the maxlsp configuration statement is as follows:

maxlsp lsp;

where lsp specifies the maximum LSPs. By default, this value is 1000.

Maximum Virtual Adjacencies for IS-IS

The following statement specifies the maximum virtual support for partition repair.

The syntax of the maxvirtadj configuration statement is as follows:

maxvirtadj adjnum;

where adjnum specifies the maximum virtual adjacencies for partition table. By default, this value is 5.

Maximum Circuits for IS-IS

The following statement specifies the maximum circuits that IS-IS can support.

The syntax of the maxckt configuration statement is as follows:

maxckt numb-of-circuits;

where numb-of-circuits specifies the maximum circuits. By default, this value is 255.

Maximum Lifetime of LSPs for IS-IS

The following statement specifies the maximum lifetime of LSPs.

The syntax of the maxage configuration statement is as follows:

maxage lspage;

where lspage specifies the maximum lifetime of LSPs. By default, this value is 1200 seconds.

Zero Age for IS-IS

The following statement specifies the time to wait before purging an expired LSP.

The syntax of the zeroage configuration statement is as follows:

zeroage age;

where age specifies the time to wait before purging an expired LSP. By default, this value is 60 seconds.

Receive Buffer Size for IS-IS

The following statement specifies the size of the largest LSP that the system receives.

The syntax of the recvbuffer configuration statement is as follows:

recvbuffer buffersize;

where buffersize specifies the size of the largest LSP. By default, this value is 1492 bytes.

EXAMPLES

To start ramd with the periodic route polling option disabled, include the following in the configuration file:

kernel { routepoll off; };

A RIPng Example

The following is the configuration to run ripngd with the listener mode on the lan0 interface:

ripng on { admin up; cliport 15000; interface lan0 { noripout; }; };

A BGP Example

The following is the configuration to run bgpd to establish BGP sessions with external peer group members and exchange IPv6 reachability information:

as 200; routerid 10.4.7.191; export static to bgp; bgp on { admin up; group external peeras 400 { holdtime 10; keepalive 10; minasorgtime 20; minrtadvtime 20; peer 3344::3344 { holdtime 90; keepalive 30; noauthcheck; passive; }; peer 3344::3345 { multihop on; holdtime 120; keepalive 40; }; }; };

Route Aggregation Example

Consider that RIPng or BGP routers learned the following routes from its neighbors:

Route 1 - 2222::5515/128 Route 2 - 2222::4389/128

Consider that RIPng or BGP protocol section of the configuration file contains the following route aggregation statement:

aggregate { 2222::/64; };

RIPng or BGP router applies the configured aggregate statement on Route 1 and Route 2. Since the first 64 bits of Route 1 and Route 2 matches with the aggregation configuration. RIPng or BGP router aggregates these routes and generates an aggregated route as 2222::/64.

An IS-IS Example

The following is the configuration to run isisd to establish IS-IS adjacencies and exchange IPv6 reachability information:

export static to isis; export direct to isis; isis on { admin up; cliport 10501; area "49:00:01"; level both; partition yes; systemid "AB:00:00:00:00:00"; traceoptions "/tmp/isisd.log" size 1000 k files 3; traceoptions packets; interface lan1 { enable; }; };

The sample file gives an example to configure IS-IS as a L1L2 router and enable IS-IS on lan1 interface. The configuration file enables partition repair support. An area becomes partitioned as a result of failure of one or more links in the area. However, if each of the partitions has a connection to the level 2 sub domain, it is possible to repair the partition through the level 2 sub domain, provided that the level 2 sub domain itself is not partitioned.

For example, if two L1L2 routers are connected through a single L1 link, if the L1 link goes down, the area is partitioned. If the routers are reachable through L2 routers, the partition can be repaired. The partition partition yes; option allows the partition to be repaired by having a virtual L1 adjacency with the neighbor through the L2 domain.

Default configuration file for RIPng

The following is the default configuration file for RIPng:

export direct to ripng; export static to ripng; ripng on { admin up; cliport 15000; };

AUTHOR

/etc/ramd.conf was developed by Future Software Ltd.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.