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-38
Examples
# Disable the specified peer 18.10.0.9. After the configuration, the local router does not
exchange BGP routing information with the peer 18.10.0.9..
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer 18.10.0.9 group group1
[H3C-bgp] undo peer 18.10.0.9 enable
5.1.41 peer filter-policy export
Syntax
peer group-name filter-policy acl-number export
undo peer group-name filter-policy acl-number export
View
BGP view
Parameters
group-name: Name of the peer group, containing 1 to 47 characters.
acl-number: Basic or advanced ACL number, ranging from 2000 to 3999.
export: Applies a filtering policy on advertised routes. It applies to a peer group only.
Description
Use the peer filter-policy export command to configure the filter-policy list of routes
advertised by a peer group.
Use the undo peer filter-policy export command to cancel the existing configuration.
By default, a peer/peer group has no access control list (acl).
You can configure the peer filter-policy export command on a peer group only.
Related commands: acl, peer filter-policy import.
Examples
# Configure to filter the routes advertised by the peer group named test by using ACL
2000.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] peer test filter-policy 2000 export