Fix MRI project list
[docs.git] / docs / user-guide / bgpcep-guide / bgp / bgp-user-guide-bgp-server.rst
1 .. _bgp-user-guide-bgp-server:
2
3 BGP Server
4 ==========
5
6 BGP uses TCP as its transport protocol, by default listens on port 179. OpenDaylight BGP plugin is configured to listen on port *1790*, due to
7 privileged ports restriction for non-root users.
8 One of the workarounds is to use port redirection. In case other port is desired to be used instead, we can reconfigure it.
9
10 Here is a sample of bgp port listening re-configuration:
11
12 **URL:** ``/restconf/config/odl-bgp-peer-acceptor-config:bgp-peer-acceptor-config/default``
13
14 **Method:** ``PUT``
15
16 **Content-Type:** ``application/xml``
17
18 **Request Body:**
19
20 .. code-block:: xml
21    :linenos:
22    :emphasize-lines: 3,4
23
24    <bgp-peer-acceptor-config xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-peer-acceptor-config">
25        <config-name>default</config-name>
26        <binding-address>0.0.0.0</binding-address>
27        <binding-port>1791</binding-port>
28    </bgp-peer-acceptor-config>
29
30 @line 3: Binding address: By default is 0.0.0.0, so it is not a mandatory field.
31
32 @line 4: Binding Port: Port were BGP Server will listen.