EasyManuals Logo

Huawei Quidway S6500 Series Command Manual

Huawei Quidway S6500 Series
845 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 #367 background imageLoading...
Page #367 background image
Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration Commands
Huawei Technologies Proprietary
6-13
whole-match: Fully matching.
Description
Using if-match community command, you can match the community attribute of the
BGP information. Using undo if-match community command, you can cancel the
match of the community attribute.
This if-match sub-statement of route-policy is used to filter BGP routing information.
The match condition is specified according to the community attributes of the routing
information.
For the related commands, see route-policy, ip community-list.
Example
# A community-list numbered as 1 is defined first, allowing the autonomous system
number to contain the routing information of 100 and 200. Then, the route-policy named
test is defined. The node No.10 of the route-policy defines a if-match sub-statement,
which quotes the definition of the community-list.
[Quidway] ip community-list 1 permit 100:200
[Quidway] route-policy test permit node 10
[Quidway-route-policy] if-match community 1
6.1.17 if-match cost
Syntax
if-match cost value
undo if-match cost
View
Route policy view
Parameter
value: Specify the required route metric value, ranging from 0 to 4294967295.
Description
Using if-match cost command, you can configure one of the match rules of
route-policy to match the cost of the routing information. Using undo if-match cost
command, you can cancel the configuration of the match rule.
By default, no if-match sub-statement is defined.
For the related commands, see if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match tag, route-policy, apply ip next-hop, apply
local-preference, apply cost, apply origin, apply tag.

Table of Contents

Other manuals for Huawei Quidway S6500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Huawei Quidway S6500 Series and is the answer not in the manual?

Huawei Quidway S6500 Series Specifications

General IconGeneral
BrandHuawei
ModelQuidway S6500 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals