H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 6 BGP Configuration
6-8
To do... Use the command... Remarks
Enable BGP and enter
BGP view
bgp as-number
Required
By default, BGP is
disabled.
Create a peer group
group group-name
[ internal | external ]
Required
Add a peer to the peer
group
peer peer-address group
group-name [ as-number
as-number ]
Required
If it is an IBGP peer, you
need not specify an AS
number.
Set an AS number for the
peer group
peer group-name
as-number as-number
Required
By default, a peer group
has no AS number.
Assign a description string
for a BGP peer/a BGP
peer group
peer { group-name |
ip-address } description
description-text
Optional
By default, a peer/a peer
group is not assigned a
description string.
Activate a specified BGP
peer
peer { group-name |
ip-address } enable
Required
Specify the source
interface for route update
packets
peer { group-name |
ip-address }
connect-interface
interface-type
interface-number
Optional
By default, the source
interface of the optimal
route update packets is
used.
Allow routers that belong
to non-directly connected
networks to establish
EBGP connections.
peer group-name
ebgp-max-hop
[hop-count ]
Optional
By default, routers that
belong to two non-directly
connected networks
cannot establish EBGP
connections.
You can configure the
maximum hops of EBGP
connection by specifying
the hop-count argument.