beautypg.com

Westermo MR Series User Manual

Page 52

background image

52

6622-3201

Web Interface and Command Line Reference Guide

www.westermo.com

group ”peering AS65002” {

remote-as 65002

neighbor 10.0.0.2 {

descr

”AS65002-p1”

}
neighbor 10.0.0.3 {
descr ”AS65002-p2”
}
}

Instead of the neighbor’s IP address, an address/netmask pair may be given:

neighbor 10.0.0.0/8

In this case, the neighbor specification becomes a template, and if a neighbor connects from
an IP address within the given network, the template is cloned, inheriting everything from the
template but the remote address, which is replaced by the connecting neighbor’s address. With
a template specification it is valid to omit remote-as; bgp will then accept any AS the neighbor
presents in the OPEN message.

There are several neighbor properties:

announce (all|none|self|default-route)

If set to none, no UPDATE messages will be sent to the neighbor. If set to default-route, only
the default route will be announced to the neighbor. If set to all, all generated UPDATE messag-
es will be sent to the neighbor. This is usually used for transit AS’s and IBGP peers. The default
value for EBGP peers is self, which limits the sent UPDATE messages to announcements of the
local AS. The default for IBGP peers is all.

announce (IPv4|IPv6) (none|unicast)

For the given address family, control which subsequent address families (at the moment, only
none, which disables the announcement of that address family, and unicast are supported) are
announced during the capabilities negotiation. Only routes for that address family and subse-
quent address family will be announced and processed.

demote group

Increase the carp(4) demotion counter on the given interface group, usually carp, when the
session is not in state ESTABLISHED. The demotion counter will be increased as soon as bgp
starts and decreased 60 seconds after the session went to state ESTABLISHED. For neigh-
bors added at runtime, the demotion counter is only increased after the session has been
ESTABLISHED at least once before dropping.

depend on interface

The neighbor session will be kept in state IDLE as long as interface reports no link. For carp(4)
interfaces, no link means that the interface is currently backup. This is primarily intended to be
used with carp(4) to reduce failover times.

The state of the network interfaces on the system can be viewed using the show interfaces
command to bgpctl.

descr description

Add a description. The description is used when logging neighbor events, in status reports, for
specifying neighbors, etc., but has no further meaning to bgp.

down

Do not start the session when bgp comes up but stay in IDLE.

dump (all|updates) (in|out) file [timeout]

Do a peer specific MRT dump. Peer specific dumps are limited to all and updates. See also the
dump section in GLOBAL CONFIGURATION.

This manual is related to the following products: