Preference (Mbgp Address Family View) - HP 3600 v2 Series Command Reference Manual

Ip multicast
Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

Default level
2: System level
Parameters
group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address: Specifies an IPv4 MBGP peer by its IP address.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
export: Applies the routing policy to routes advertised to the peer or the peer group.
import: Applies the routing policy to routes received from the peer or the peer group.
Description
Use peer route-policy to apply a routing policy to routes incoming from or outgoing to a peer or peer
group.
Use undo peer route-policy to remove the configuration.
By default, no routing policy is applied to routes from/to the peer or the peer group.
The peer route-policy command does not apply the if-match interface clause in the referenced routing
policy. For more information, see Layer 3—IP Routing Command Reference.
Examples
# In IPv4 MBGP address family view, apply the routing 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
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test route-policy test-policy export

preference (MBGP address family view)

Syntax
preference { external-preference internal-preference local-preference | route-policy route-policy-name }
undo preference
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
external-preference: Specifies the preference of eBGP routes, in the range of 1 to 255.
internal-preference: Specifies the preference of iBGP routes, in the range of 1 to 255.
local-preference: Specifies the preference of local routes, in the range of 1 to 255.
247

Advertisement

Table of Contents
loading

Table of Contents