Configuring BGP Neighbor Discovery Through RPM
BGP neighbors can be configured at the following hierarchy levels:
[edit protocols bgp group group-name]
—Default logical system and default routing instance.[edit routing-instances instance-name protocols bgp group group-name]
—Default logical system with a specified routing instance.[edit logical-systems logical-system-name protocols bgp group group-name]
—Configured logical system and default routing instance.[edit logical-systems logical-system-name routing-instances instance-name protocols bgp group group-name]
—Configured logical system with a specified routing instance.
If a device has a large number of BGP neighbors configured, you can direct (filter) the RPM probes to a selected group of BGP neighbors rather than to all the neighbors. To identify the BGP devices to receive RPM probes, you can configure routing instances.
When you configure BGP neighbor discovery through RPM, if you do not specify a logical system, the RPM probe applies to configured BGP neighbors for all logical systems. If you do not specify a routing instance, the RPM probe applies to configured BGP neighbors in all routing instances. You can explicitly configure RPM probes to apply only to the default logical system, the default routing instance, or to a particular logical system or routing instance.
To configure BGP neighbor discovery through RPM, configure the
probe properties at the [edit services rpm bgp]
hierarchy:
data-fill data; data-size size; destination-port port; history-size size; logical-system logical-system-name [routing-instances routing-instance-name]; moving-average-size number; probe-count count; probe-interval seconds; probe-type type; routing-instances instance-name; test-interval interval;
To specify the contents of the data portion of Internet Control Message Protocol (ICMP) probes, include the
data-fill
statement at the[edit services rpm bgp]
hierarchy level. The value can be a hexadecimal value.To specify the size of the data portion of ICMP probes, include the
data-size
statement at the[edit services rpm bgp]
hierarchy level. The size can be from0
through65400
and the default size is0
.To specify the User Datagram Protocol (UDP) port or Transmission Control Protocol (TCP) port to which the probe is sent, include the
destination-port
statement at the[edit services rpm bgp]
hierarchy level. Thedestination-port
statement is used only for the UDP and TCP probe types. The value can be7
or from49160
through65535
.To specify the number of stored history entries, include the
history-size
statement at the[edit services rpm bgp]
hierarchy level. Specify a value from0
to512
. The default is50
.To specify the logical system used by ICMP probes, include the
logical-system logical-system-name
statement at the[edit services rpm bgp]
hierarchy level. If you do not specify a logical system, the RPM probe applies to configured BGP neighbors for all logical systems. To apply the probe to only the default logical system, you must set the value oflogical-system-name
tonull
.To specify a number of samples for making statistical calculations, include the moving-average-size statement at the
[edit services rpm bgp]
hierarchy level. Specify a value from 0 through 255.To specify the number of probes within a test, include the
probe-count
statement at the[edit services rpm bgp]
hierarchy level. Specify a value from1
through15
.To specify the time to wait between sending packets, include the
probe-interval
statement at the[edit services rpm bgp]
hierarchy level. Specify a value from1
through255
seconds.To specify the packet and protocol contents of the probe, include the
probe-type
statement at the[edit services rpm bgp]
hierarchy level. The following probe types are supported:icmp-ping
—Sends ICMP echo requests to a target address.icmp-ping-timestamp
—Sends ICMP timestamp requests to a target address.tcp-ping
—Sends TCP packets to a target.udp-ping
—Sends UDP packets to a target.udp-ping-timestamp
—Sends UDP timestamp requests to a target address.Note:Some probe types require additional parameters to be configured. For example, when you specify the
tcp-ping
orudp-ping
option, you must configure the destination port using thedestination-port port
statement. Theudp-ping-timestamp
option requires a minimum data size of 12; any smaller data size results in a commit error. The minimum data size for TCP probe packets is 1.
To specify the routing instance used by ICMP probes, include the
routing-instances
statement at the[edit services rpm bgp]
hierarchy level. The default routing instance is Internet routing tableinet.0
. If you do not specify a routing instance, the RPM probe applies to configured BGP neighbors in all routing instances. To apply the RPM probe to only the default routing instance, you must explicitly set the value ofinstance-name
todefault
.To specify the time to wait between tests, include the
test-interval
statement at the[edit services bgp probe]
hierarchy level. Specify a value from0
through86400
seconds. A value of 0 seconds causes the RPM test to stop after one iteration. The default value is 1.