3com S7906E Verweisanleitung
1-44
Examples
# In IPv4 MBGP address family view, set the number of routes that can be received from peer
131.108.1.1 to 10000.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.108.1.1 as-number 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer 131.108.1.1 enable
[Sysname-bgp-af-mul] peer 131.108.1.1 route-limit 10000
peer route-policy (MBGP family view)
Syntax
peer { group-name | ip-address } route-policy route-policy-name { export | import }
undo peer { group-name | ip-address } route-policy route-policy-name { export | import }
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
group-name: Peer group name, a string of 1 to 47 characters.
ip-address: IP address of an IPv4 MBGP peer.
route-policy-name: Route policy name, a string of 1 to 19 characters.
export: Applies the route policy to routes advertised to the peer/peer group.
import: Applies the route policy to routes received from the peer/peer group.
Description
Use the peer route-policy command to apply a route policy to routes incoming from or outgoing to a
peer or peer group.
Use the undo peer route-policy command to remove the configuration.
By default, no route policy is applied to routes from/to the peer/peer group.
The peer route-policy command does not apply the if-match interface clause in the referenced route
policy. Refer to Route policy Commands in the IP Routing Volume for related commands.
Examples
# In IPv4 MBGP address family view, apply the route policy test-policy to routes outgoing to the peer
group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] ipv4-family multicast