PREV NEXT INDEX

Avici Systems Inc.


set ip next-hop


Sets the next-hop address.

Syntax: [no] set ip next-hop {next-hop|use-peer-address}

next-hop

IP address of the next hop. Packets that match the criteria defined by the match ip next-hop are output to this address.

use-peer-address

IP address of a peer. Next-hop address is set to the peer address on the inbound update routes.

Description: Use the set ip next-hop command to set the value of the next hop attribute in routes that pass the match clauses.

Use the no set ip next-hop command to delete an entry from the route map.

Route maps consist of sets of match and set commands. Match commands define the match criteria for route maps. Routes that match the match criteria are processed according to the actions defined by the set commands. Routes that do not match all of the match criteria in the route map are ignored.

Use the route-map command to create a route map. Use the various match and set commands to define the conditions for redistributing routes between protocols or instances of the same protocol.

The next-hop attribute identifies the next hop to reach a route. Next-hop for an EBGP session is the IP address of the BGP neighbor that announced the route. Next-hop for IBGP sessions is either the BGP neighbor that announced the route (for routes that originate inside the autonomous system) or the BGP neighbor from which the route was learned (for routes injected into the autonomous system via EBGP).

Factory Default: Disabled.

Command Mode: Route map configuration.

Example: In the following example:

router(config)#access-list 20 permit 10.5.1.121 0.0.0.255

router(config)#access-list 20 permit 128.20.0.0 0.0 255.255

router(config)#access-list 20 permit 120.0.0.0 0.255.255.255

router(config)#access-list 20 deny any

router(config)#route-map nexthop permit 10

router(config-route-map)#match ip address 20

router(config-route-map)#set ip next-hop 10.5.1.190

router(config-route-map)#end

router(config)#

Related Commands: route-map
match as-path
match community
match ip address
match ip next-hop
match ip route-source
match metric
show route-map
match route-type
match tag
set as-path
set community
set community
set level
set local-preference
set metric
set metric-type
set origin
set tag
set weight


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: Routing_Pol.fm
    HTML File Name: Routing_Pol34.html
    Last Updated: 05/10/04 at 16:38:37

Please email suggestions and comments to: doc@avici.com