United States-English |
|
|
HP-UX Reference > Rramd.conf(4)HP-UX 11i Version 3: February 2007 |
|
NAMEramd.conf — Route Administration Manager Daemon (RAMD) configuration file DESCRIPTIONramd.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:
Configuring RAMDThe 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 conventionsThe syntax conventions specific to the configuration file are:
For example, consider the following syntax description:
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 SummaryThe /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:
RAMD Global ConfigurationAutonomous System StatementThe 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 StatementThe 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 StatementThe 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:
traceoptions [filename [replace] [size file-size [k|m] files numb-of-files] [except trace-options];
This traceoptions configuration statement can be used in the ripngd, bgpd and isisd configuration section. PreferenceThe 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:
Assigning PreferencesRAMD 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:
The syntax of the preference configuration statement is:
This configuration statement assigns preference values for routes learned from routing protocols. Interface Configuration StatementThe 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:
ICMPv6 Redirect Message Processingramd 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:
Martians Configuration StatementMartians 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 StatementThe 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:
Static Configuration StatementThe 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:
Import Configuration StatementThe 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:
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 StatementThe 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
Destination Protocols
RIPNG SECTION OF THE CONFIGURATION FILEThis section describes the RIPng statements in the RAMD configuration file. RIPng Protocal OverviewThe RIPng routing protocol is a distance vector protocol. It runs over the UDP layer. The key features of the RIPng protocol are as follows:
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 RIPngThe 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:
where the following means:
Using ram_monitor for RIPngThe 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 RIPngThe configuration of global parameters for ripngd are explained below. These statements are defined in the RIPng section of the configuration file. Horizon TypeThe 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:
where:
Propagation for RIPngThe 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:
where:
Propagation of Sitelocal Routes for RIPngThe 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:
where:
Redistributed Routes for RIPngThe 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 RIPngThe 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 RIPngThe 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 RIPngRoute 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:
Profile Configuration for RIPngThe 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:
By default, a profile ID with "0" is created with configured values for the horizon type. Tracing for RIPngFor 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:
By default, no tracing is done. Gateway Filters Configuration for RIPngIn 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:
Interface Configuration for RIPngIn 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:
Controlling RIPng's Operation Based on DirectionThe RIPng section of the RAMD configuration file specifies the control of RIPng operation based on the direction.
where:
Associating a Profile with an Interface for RIPngThe 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 RIPngYou 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:
where the following means:
Note: This configuration statement accepts only one filter statement per interface. BGP SECTION OF THE CONFIGURATION FILEThe following describes the BGP section of the RAMD configuration file. BGP Protocal OverviewBGP protocol runs over TCP. The key features of the BGP protocol are as follows:
Enabling BGPThe 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:
where the following means:
Please note that as and routerid are mandatory parameters when BGP is on. Using ram_monitor for BGPram_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 BGPThe 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 BGPThe 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 BGPThe 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:
Propagation of Non-BGP RoutesThe 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:
Overlapping Routes for BGPThe 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:
Route Filtering for BGPFor 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:
Route Aggregation for BGPRoute 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:
Local Preference (LP) for BGPbgpd 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:
Multi Entry/Exit Discriminator (MED) for BGPbgpd 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:
bgpd uses the following configuration statement to configure MED comparison. always-compare-med (on|off); where:
Tracing for BGPYou 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:
By default, no tracing is done. Peer Configuration for BGPYou 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.
Group Configuration for BGPThe 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).
Allow Clause for BGPThe 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.
Group Member ConfigurationThe peer clause configures an individual peer. Each peer inherits all parameters specified on a group as default.
where:
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 FILEThe following describes the IS-IS section of the RAMD configuration file. IS-IS Protocal OverviewIS-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:
Enabling IS-ISThe 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.
where:
Using ram_monitor for IS-ISram_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-ISThe level statement in the IS-IS section of the configuration file defines the level of the interface:
specifies the IS-IS level of the interface. By default, this value is both. Maximum Areas for IS-ISThe 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-ISThe 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-ISThe 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:
where:
Domain Authentication for IS-ISThe 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:
where:
Originating LSP Buffer Size for IS-ISThe following statement specifies the buffer size for LSPs originated. The syntax of the origlspbufsize configuration statement is as follows:
where:
Sitelocal Configuration for IS-ISThe 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:
where:
LSP Maximum Regeneration Interval for IS-ISThe 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-ISThe 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:
Interface Configuration for IS-ISThe 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:
System ID for IS-ISThis 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-ISThe 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:
where:
Route Leaking for IS-ISThe 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:
where:
Require SNP Authentication for IS-ISThe 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:
where:
Summary Configuration for IS-ISThe following configures the summary addresses. Summary configuration can be used only if the system is a L1L2 router. Summary Originate for IS-ISThe 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:
where:
IPRA Configuration for IS-ISThe following configures the IP reachable addresses. The syntax of the ipra configuration statement is as follows:
where:
Tracing for IS-ISYou 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:
By default, no tracing is done. Partition for IS-ISThe following statement configures the support for partition repair. By default, this value is no. The syntax of the partition configuration statement is as follows:
where:
Maximum Routes for IS-ISThe 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-ISThe 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-ISThe 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-ISThe 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-ISThe 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-ISThe 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. EXAMPLESTo start ramd with the periodic route polling option disabled, include the following in the configuration file: kernel { routepoll off; }; A RIPng ExampleThe 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 ExampleThe 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 ExampleConsider 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 ExampleThe 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. |
Printable version | ||
|