1 .. _bgp-user-guide-bgp-server:
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.
10 Here is a sample of bgp port listening re-configuration:
12 **URL:** ``/restconf/config/odl-bgp-peer-acceptor-config:bgp-peer-acceptor-config/default``
16 **Content-Type:** ``application/xml``
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>
30 @line 3: Binding address: By default is 0.0.0.0, so it is not a mandatory field.
32 @line 4: Binding Port: Port were BGP Server will listen.