Operation Manual – IPv4 Routing
H3C S5500-EI Series Ethernet Switches
Chapter 5 BGP Configuration
5-21
To do…
Use the command…
Remarks
Specify the AS number of
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
Ignore a peer or peer
group
peer
{
group-name |
ip-address
}
ignore
Optional
Not ignored by default
globally
log-peer-change
Optional
Enabled by default
Enable the
logging of
peer state
changes
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 establishing
TCP connections to a
peer or peer group
peer
{
group-name |
ip-address
}
connect-interface
interface-type
interface-number
Optional
By default, BGP uses the
outbound interface of the
best route to the BGP peer
as the source interface for
establishing a TCP
connection.
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.