3com S7906E Guide De Référence

Page de 2327
 
1-42 
By default, no route policy is applied to the routes incoming from or outgoing to an IPv6 MBGP peer or 
peer group. 
The if-match interface clause in the route policy referenced by the peer route-policy command will 
not be applied. 
Refer to Route Policy Commands in the IP Routing Volume for related information. 
Examples 
# Apply the route policy test-policy to routes received from the IPv6 MBGP peer group test
<Sysname> system-view 
[Sysname] route-policy test-policy permit node 10 
[Sysname-route-policy] if-match cost 10 
[Sysname-route-policy] apply cost 65535 
[Sysname-route-policy] quit 
[Sysname] bgp 100 
[Sysname-bgp] ipv6-family 
[Sysname-bgp-af-ipv6] group test external 
[Sysname-bgp-af-ipv6] quit 
[Sysname-bgp] ipv6-family multicast 
[Sysname-bgp-af-ipv6-mul] peer test enable 
[Sysname-bgp-af-ipv6-mul] peer test route-policy test-policy import 
preference (IPv6 MBGP address family view) 
Syntax 
preference { external-preference internal-preference local-preference 
route-policy 
route-policy-name } 
undo preference 
View 
IPv6 MBGP address family view 
Default Level 
2: System level 
Parameters 
external-preference: Preference of IPv6 multicast eBGP routes, in the range 1 to 255. An IPv6 multicast 
eBGP route is learned from an IPv6 multicast eBGP peer. 
internal-preference: Preference of IPv6 multicast iBGP routes, in the range 1 to 255. An IPv6 multicast 
iBGP route is learned from an IPv6 multicast iBGP peer. 
local-preference: Preference of locally generated IPv6 MBGP routes, in the range 1 to 255. 
route-policy-name: Route policy name, a string of 1 to 19 characters. Using a route policy, you can 
configure the preferences for the routes that match the filtering conditions. As for the unmatched routes, 
the default preferences are adopted.