1) IDRP Related Top Level Protocol
1.1) RDI Statement
rdi osi_rdi ;1.2) NET Statement
net osi_net ;1.3)ISO protocol Statements
ISO Martian Statement
iso martians osi_i ; { martian_list_iso }; where: martian_list_iso is a list of of osi addresses the following format osi-prefix /length martian_list_iso ::= /* Empty */ | martian_list_iso martian_iso martian_option L_EOS | martian_list_iso error L_EOS ; martian_iso ::= host_mask_iso | network_mask_flags_iso | default_mask_iso ;2) IDRP protocol Statement
idrp [yes|no|on|off] [{ traceoptions [log | nm | internal | sm | pdus [pdu_type]] | group [External| Internal | RDI xxx] { neighbor [on|off]net osi-address ip-address RDI hex-address intf net osi-address [snpa hex-address1 hex-address2 proto-support [iso | ip] | sock-support [idrp | ip] | authtype [test | clear | crypt | simple] authcode hex-string | closewait-time integer out_pdus integer | holdtime integer | minadvinteger | listen_open [on| off] | rexmit-time integer | closestay integer | multi-exit number | rib refresh [on | off] | ribs-supported [all | rib-id1 rib-id2...rib-idn]; } | local-node { proto-support [iso | ip]; sock-support [idrp | ip]; | authtype [test | clear | crypt | simple]; authcode hex-string; | capacity integer; | holdtime integer; | snpa hex-string1 [hex-string2| hex-string3..hex-stringN]; | expenseinteger; | maxcpuinteger; | maxpduinteger; | maxribcheckinteger; | minadvinteger; | MinAdvRDinteger; | rdlreinteger; multiexit [on|off]; priority integer; delay integer; rexmit-time integer; | route-server[on | off]; version integer; closewait-time integer; | out_pdus integer; | closestay integer; | net-auto-nlri [on| off]; | expanded-next-hop [on| off]; | ext-info { route-server [on| off]; | extinfo; | multi-exit value; | hopcount-offset value; | delay value; expense value; priority value; capacity value; prohibit-dist { rdi1 rdi2 rdi3 ..rdiN } ; | allow-dist { rdi1 rdi2 rdi3 ..rdiN } ; | }; | local-info { route-server [on| off]; | extinfo; | multi-exit value; | hopcount-offset value; | delay value; expense value; priority value; capacity value; prohibit-dist { rdi1 rdi2 rdi3 ..rdiN } ; | allow-dist { rdi1 rdi2 rdi3 ..rdiN } ; | }; | rib-supported { rib integer { delay value; | expense value; | priority value; | capacity value; | security[faa-admin | faa-gencom | faa-operations | faa-systmg] value; | kernel hex-string; | isoinet ; } }; };/import statements with IDRP protocol
RDI format
import proto idrp RDI [rdi | any] [intf [ip-host] | NET [osi-address]] | [gated-pref value | idrp-pref value] | [idrp-ps-policy-atts { idrp_policy_attributes }] restrict; import proto idrp RDI [rdi | any] [intf [ip-host] | NET [osi-address]] | [idrp-ps-policy-atts { idrp_policy_attributes };] { [ip all;] | # all ip routes imported all; ] | # all osi routes imported ip all restrict ;] | # all ip routes not imported all restrict; ] | # all osi routes not imported osi-prefix gw osi-net [preference(integer)]; # nlri for osi ip-prefix gw ip-host; [preference(integer)] # nlri for ip }RD Path format
import proto idrp rdpath / [ null | . | .* | rdi | [ rdi-set] ] [intf [ip-host] | NET [osi-address]] | [gated-pref value | idrp-pref value] | [idrp-ps-policy-atts { idrp_policy_attributes }] restrict; import proto idrp RDI [rdi | any] [intf [ip-host] | NET [osi-address]] | [idrp-ps-policy-atts { idrp_policy_attributes }; ] | [idrp-ps-atts { idrp_ps_attributes };] { [ ip all;] | # all ip routes imported all; ] | # all osi routes imported ip all restrict ;] | # all ip routes not imported ] | # all osi routes not imported osi-prefix gw osi-net [preference(integer)]; # nlri for osi ip-prefix gw ip-host; [preference(integer)] # nlri for ip }idrp_policy_attributes for import and export
The idrp_policy_attributes describe the policy that gated can run on idrp attributes to select routes. The policy can be expressed in compare operators and in null (which implies allow) or restrict. The functions are:
route-server [null |restict]; | extinfo [null | restrict] ; | hier-rec [null | restrict] ; | multi-exit [< | <= | > | > = | != ] value; | multi-exit [null | restrict]; |; hopcount-offset [< | <= | > | > = | != ] value; | net osi-address; delay [< | <= | > | > = | != ] value; | delay [null | restrict] ; rdlre [< | <= | > | > = | != ] value; | rdlre [null | restrict] ; expense [< | <= | > | > = | != ] value; | expense [null | restrict] ; priority [< | <= | > | > = | != ] value; | priority [null | restrict] ; capacity [null | restrict] ; capacity [< | <= | > | > = | != ] value; | dist-list-incl{ rdi1 rdi2 rdi3 ..rdiN } ; | dist-list-excl{ rdi1 rdi2 rdi3 ..rdiN } ; |idrp_ps_attributes for import and export
The idrp_ps_attributes describe the policy that gated uses to modify the idrp attributes. The attribute policy will include the modifications to the idrp attributes.
route-server [on |off]; | extinfo ; | hier-rec ; | multi-exit value; | hopcount-offset value; | net osi-address; delay value ; rdlre value; | expense value; | priority value; | capacity value; | prohibit-dist{ rdi1 rdi2 rdi3 ..rdiN } ; | allow-dist{ rdi1 rdi2 rdi3 ..rdiN } ; |export statements with IDRP protocol
Restrict forms can be rdi or rdpath for the idrp protocol. Routes from
form 1: restrict a set of idrp routes imported by rdi
export proto idrp rdi [rdi1 | any] { proto idrp rdi [rdi | any] [intf [ip-host] | NET [osi-address]] | [idrp-ps-policy-atts { idrp_policy_attributes } restrict;] }form 2: restrict a set of idrp routes imported by rdi path
export proto idrp rdi [rdi1 | any] { proto idrp rdpath / [ null | . | .* | rdi | [ rdi-set] ] [intf [ip-host] | NET [osi-address]] | [idrp-ps-policy-atts { idrp_policy_attributes } restrict;]form 3: Allow a set of routes to be imported by rdi
export proto idrp rdi [rdi1 | any] { proto static restrict; }form 4: Allow routes to be exported from imported idrp routes by rdi
export proto idrp rdi [rdi1 | any] { proto idrp rdi [rdi | any] [intf [ip-host] | NET [osi-address]] | [idrp-ps-policy-atts { idrp_policy_attributes } metric] [idrp-ps-atts { idrp_ps_attribute }] { [ ip all;] | # all ip routes imported all; ] | # all osi routes imported ip all restrict ;] | # all ip routes not imported ] | # all osi routes not imported osi-prefix gw osi-net [preference(integer)]; # nlri for osi ip-prefix gw ip-host; [preference(integer)] # nlri for ip } }form 5: Allow routes to be exported from imported idrp routes by rdpath
export proto idrp rdi [rdi1 | any] { proto idrp rdpath / [ null | . | .* | rdi | [ rdi-set] ] [intf [ip-host] | NET [osi-address]] | [idrp-ps-policy-atts { idrp_policy_attributes } metric] [idrp-ps-atts { idrp_ps_attribute }] { [ ip all;] | # all ip routes imported all; ] | # all osi routes imported ip all restrict ;] | # all ip routes not imported ] | # all osi routes not imported osi-prefix gw osi-net [preference(integer)]; # nlri for osi ip-prefix gw ip-host; [preference(integer)] # nlri for ip } }