Chapter 4 Ip Routing Policy Configuration Commands; Ip Routing Policy Configuration Commands; Apply Cost - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 4 IP Routing Policy Configuration
Note:
When running a routing protocol, the Ethernet switch also functions as a router. The
word "router" and the router icons covered in the following text represent routers in
common sense and Ethernet switches running a routing protocol. To improve
readability, this will not be mentioned again in this manual.

4.1 IP Routing Policy Configuration Commands

4.1.1 apply cost

Syntax
apply cost value
undo apply cost
View
Route policy view
Parameter
value: Route cost value of route information.
Description
Use the apply cost command to configure the route cost value of route information.
Use the undo apply cost command to cancel the apply clause.
By default, no apply clause is defined.
An apply clause of Route-policy sets the cost of the routes passing the filtering.
Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ip
next-hop, if-match cost, if-match tag, route-policy, and apply tag.
Example
# Define an apply clause. When it is used for setting route information attribute, it sets
the route cost value of route information as 120.
Commands
Huawei Technologies Proprietary
4-1
Chapter 4 IP Routing Policy Configuration
Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents