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-45
Related commands: reflect between-clients, reflector cluster-id.
Examples
# Configure the peer group test as the route reflector client.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test reflect-client
5.1.50 peer route-policy export
Syntax
peer group-name route-policy route-policy-name export
undo peer group-name route-policy route-policy-name export
View
BGP view
Parameters
group-name: Name of peer group, containing 1 to 47 characters.
route-policy-name: The specified Route-policy. The length of route-policy-name
argument ranges from 1 to 19 character string.
Description
Use the peer route-policy export command to assign the Route-policy to the routes
advertised to the peer group.
Use the undo peer route-policy export command to delete the specified
Route-policy.
By default, the peer group has no Route-policy association.
The peer route-policy export command applies to peer groups only.
Related commands: peer route-policy import
Examples
# Apply the Route-policy named test-policy to the route advertised from the peer
group named test.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test route-policy test-policy export