H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 5 BGP Configuration
5-20
5.3.1 Prerequisites
The neighboring nodes are accessible to each other at the network layer.
5.3.2 Configuration Procedure
Follow these steps to configure BGP basic functions:
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 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.