3Com 3031 Command Reference Manual page 669

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

Parameter
Description
Using the apply cost-type command, you can set the route cost type of route
information. Using the undo apply cost-type command, you can cancel the apply
clause.
By default, route cost type is not set.
Example
Set the cost type of IGP as MED value of BGP
[3Com-route-policy] apply cost-type internal
apply ip-address
Syntax
apply ip-address { ip-address [ ip-address ] | acl acl-number }
undo apply ip-address [ ip-address [ ip-address ] | acl acl-number ]
View
Routing policy view
Parameter
Description
Using the apply ip-address command, you can set the next hop address of route
information. Using the undo apply ip-address command, you can cancel the apply
clause.
By default, no apply clause is defined.
One of the apply clauses of the route-policy: When this command is used for
setting routing information attribute, it sets the next hop address of the packets
passed filtering.
If multiple next hop addresses are set through apply ip-address command, other
next hop addresses will be tried by turn when the first next hop address is invalid.
For the related commands, see if-match interface, if-match acl, if-match ip-prefix,
if-match ip next-hop, if-match cost, if-match tag, route-policy, apply
local-preference, apply cost, apply origin, and apply tag.
Example
Define an apply clause to set the next hop address of routing information as
193.1.1.8 when it is used for setting routing information attribute.
[3Com-route-policy] apply ip-address 193.1.1.8
internal: Uses the cost type of IGP as MED value of BGP to advertise route to
EBGP peer.
external: External cost type value of IS-IS.
ip-address: Next-hop address. Two next-hop addresses can be specified at
most.
acl-number: Specifies the number of the access control list used for filtering,
ranging from 1 to 99
IP Routing Policy Configuration Commands
669

Advertisement

Table of Contents
loading

Table of Contents