3Com Switch 8800 Advanced Software V5 Configuration Guide

Configuring BGP Basic Functions 435
In general, IP addresses of loopback interfaces are used to improve stability of
BGP connections.
Prerequisites The neighboring nodes are accessible to each other at the network layer.
Configuration Procedure To configure BGP basic functions, use the following commands:
c
CAUTION:
To do... Use the command... Remarks
Enter system view system-view -
Enable BGP and enter BGP
view
bgp as-number Required
Not enabled by default
Specify a Router ID Router-id ip-address Optional
If no IP addresses are
configured for loopback
interface and other interfaces,
the task becomes required
Specify the AS number for a
peer or a peer group
peer { group-name |
ip-address } as-number
as-number
Required
Not specified by default
Configure a description for a
peer or a peer group
peer { group-name |
ip-address } description
description-text
Optional
Not configured by default
Enable IPv4 unicast address
family for all peers
default ipv4-unicast Optional
Enabled by default
Enable a peer peer ip-address enable Optional
Enabled by default
Disable session with a peer or
peer group
peer { group-name |
ip-address } ignore
Optional
Not disabled by default
Enable the
logging on
peer state
changes
Enable BGP
logging
globally
log-peer-change Optional
Enabled by default
Enable
logging for a
peer or peer
group
peer { group-name |
ip-address } log-change
Optional
Enabled by default
Specify a preferred value for
routes from a peer or peer
group
peer { group-name |
ip-address }
preferred-value value
Optional
The preferred value defaults to
0
Specify the source interface
for route updates to a
peer/peer group
peer { group-name |
ip-address }
connect-interface
interface-type
interface-number
Optional
By default, BGP employs the
source interface of the best
routing updates
Allow the establishment of
EBGP connection to a non
directly connected peer/peer
group
peer { group-name |
ip-address } ebgp-max-hop
[ hop-count ]
Optional
Not allowed by default. By
specifying hop-count, you can
specify the max hops for the
EBGP connection