H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-40
ip-address: IP address of the peer.
as-number: Peer AS number of the peer/peer group, in the range of 1 to 65535.
Description
Use the peer group command to add a peer to the existing peer group.
Use the undo peer ip-address command to delete a peer.
When adding a peer to an EBGP peer group without AS number, you should also
specify the peer’s AS number. While adding a peer to an IBGP peer group or to a EBGP
peer group with AS number, you need not specify the AS number for the peer.
Examples
# Add a peer to the peer group test.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] group test external
[H3C-bgp] peer test as-number 2004
[H3C-bgp] peer 10.1.1.1 group test
5.1.44 peer ip-prefix export
Syntax
peer group-name ip-prefix ip-prefix-name export
undo peer group-name ip-prefix ip-prefix-name export
View
BGP view
Parameters
group-name: Name of peer group, containing 1 to 47 characters.
ip-prefix-name: Name of the specified ip-prefix, a string containing 1 to 19 characters.
Description
Use the peer ip-prefix export command to configure the route filtering policy of routes
advertised by the peer group based on the ip-prefix.
Use the undo peer ip-prefix export command to cancel the route filtering policy of the
peer group based on the ip-prefix.
By default, the route filtering policy of the peer group is not specified.
You can use the peer ip-prefix export command on peer groups only.
Related commands: peer ip-prefix import