Apply Origin; Apply Preference - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

apply origin

Syntax
View
Parameters
Description
Related commands:
Examples

apply preference

Syntax
View
Parameters
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply mpls-label
apply origin { igp | egp as-number | incomplete }
undo apply origin
Routing policy view
igp: Sets the origin of BGP routing information to IGP.
egp: Sets the origin of BGP routing information to EGP.
as-number: Autonomous system number for EGP routes, in the range of 1 to
65535.
incomplete: Sets the origin of BGP routing information to unknown.
Use the
apply origin
routes.
Use the
undo apply origin
No origin attribute is set for routing information by default.
if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop,
if-match cost, if-match tag, route-policy, apply ip-address next-hop, apply
local-preference, apply cost and apply tag.
# Create routing policy policy1 with node 10, matching mode as permit. If a route
matches AS-path-ACL 1, set the origin for the route to IGP.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply origin igp
apply preference preference
undo apply preference
Routing policy view
preference: Routing preference, in the range of 1 to 255.
command to apply the specified origin attribute to BGP
command to remove the clause configuration.
1193

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents