Configuring BGP Basic
Functions
Prerequisites
Configuration Procedure
Task
"Configuring a Large Scale BGP
Network" on page 390
"Configuring BGP GR" on page 392
The section describes BGP basic configuration.
n
This section does not differentiate between BGP and MP-BGP.
■
Since BGP employs TCP, you need to specify IP addresses of peers, which may
■
not be neighboring routers.
Using logical links can also establish BGP peer relationships.
■
In general, IP addresses of loopback interfaces are used to improve stability of
■
BGP connections.
The neighboring nodes are accessible to each other at the network layer.
Follow these steps to configure BGP basic functions:
To do...
Enter system view
Enable BGP and enter BGP
view
Specify a Router ID
Specify the AS number of a
peer or a peer group
Configure a description for a
peer or a peer group
Enable IPv4 unicast address
family for all peers
Enable a peer
Ignore a peer or peer group
Configuring BGP Basic Functions
"Configuring BGP Peer Groups" on
page 390
"Configuring BGP Community" on
page 391
"Configuring a BGP Route Reflector"
on page 392
"Configuring a BGP Confederation"
on page 392
Use the command...
system-view
bgp as-number
router-id ip-address
peer { group-name |
ip-address } as-number
as-number
peer { group-name |
ip-address } description
description-text
default ipv4-unicast
peer ip-address enable
peer { group-name |
ip-address } ignore
Remarks
Optional
Optional
Optional
Optional
Optional
Remarks
-
Required
Not enabled by default
Optional
If no IP addresses are
configured for loopback
interface and other interfaces,
the task becomes required.
Required
Not specified by default
Optional
Not configured by default
Optional
Enabled by default
Optional
Enabled by default
Optional
Not ignored by default
381