Direction, Options/output modifiers – Compatible Systems 5.4 User Manual

Page 278

Advertising
background image

272

Chapter 16 - BGP

Hexadecimal numbers. Example 0x82cc0801 (This matches the host
address 130.204.8.1)

The optional /bits at the end of the IP address is a bit field denoting the
number of bits that are significant when doing the comparison against the
addresses from the IP packet. It denotes the top or most significant bits to use.

Direction

These parameters allow users to specify the direction for which the rule is
applied. Select in

or out.

Options/Output Modifiers

ipaddr (IP address/<bits>) toas (AS number)

This modifier limits output rules to routes going to the designated IP
address or Autonomous System (AS) number. IP address may be speci-
fied in any of the ways described above. The AS number is specified as
an integer.

origin (protocol(s))

This modifier limits output rules to routes originating from the desig-
nated protocol. Multiple protocols may be listed. Possible values are
icmp, rip, ripv2, static, OSPF, BGP, and direct.

setnhop (IP address)

This modifier allows the next hop to be set on the outgoing route. The
hop is specified as an IP address in standard dotted-decimal notation.

setmed (MED number)

This modifier allows the multi-exit discriminator (MED) to be set on the
outgoing route. This is a metric which is used only when there are
multiple paths to an AS. The MED is used to set a preference to a partic-
ular path to the AS, and is specified as an integer.

setasp (AS number)

This modifier allows the specified AS list to be prepended to the
outgoing AS path attribute. Up to 6 AS numbers may be entered. The AS
number is specified as an integer.

setcomm (community number)

This modifier allows a community list to be set on the outgoing route. A
community is a group of destinations to which routing decisions can be
applied. The community number can be specified with up to 6 commu-
nity numbers, specified as integers, or can be listed as one of the three
special communities, noexport, noadv, or noexpsub.

Advertising