EasyManuals Logo

H3C S7500E Series Command Manual

H3C S7500E Series
1565 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #504 background imageLoading...
Page #504 background image
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 6 Routing Policy Configuration Commands
6-9
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If a route
matches OSPF external route type, set the preference for the routing protocol to 90.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match route-type external-type1or2
[Sysname-route-policy] apply preference 90
6.1.11 apply preferred-value
Syntax
apply preferred-value preferred-value
undo apply preferred-value
View
Routing policy view
Parameters
preferred-value: Preferred value, in the range of 0 to 65535.
Description
Use the apply preferred-value command to apply a preferred value to BGP routes.
Use the undo apply preferred-value command to remove the clause configuration.
No preferred value is set for BGP routes by default.
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If a BGP route
matches AS-path-ACL 1, set the preferred value 66 for the BGP route.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply preferred-value 66
6.1.12 apply tag
Syntax
apply tag value
undo apply tag

Table of Contents

Other manuals for H3C S7500E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S7500E Series and is the answer not in the manual?

H3C S7500E Series Specifications

General IconGeneral
BrandH3C
ModelS7500E Series
CategorySwitch
LanguageEnglish

Related product manuals