21 set ip next-hop – CANOGA PERKINS 9175 Command Reference User Manual

Page 352

Advertising
background image

CanogaOS Command Reference

19-21

Examples

Switch# configure terminal
Switch (config)# route-map rmap1 permit 3
Switch (config-route-map)# set extcommunity rt 06:01
Switch # configure terminal
Switch (config)# route-map rmap1 permit 3
Switch (config-route-map)# set extcommunity rt 0.0.0.6:01
Switch # configure terminal
Switch (config)# route-map rmap1 permit 3
Switch (config-route-map)# set extcommunity soo 06:01
Switch # configure terminal
Switch (config-route-map)# route-map rmap1 permit 3
Switch (config-route-map)# set extcommunity soo 0.0.0.6:01

Related Commands

19.21 set ip next-hop

Use this command to set the specified next-hop value.

Use the no parameter with this command to turn off the setting.

Use this command to set the next-hop IP address to the routes.

Note:

This command is valid for BGP, OSPF, and RIP only.


Command Syntax

set ip next-hop A.B.C.D

no set ip next-hop

Syntax Description

A.B.C.D

Specifies the IP address of the next-hop.

Command Mode

Route-map mode

Defaults

No set ip next-hop is specified by default.

Examples

Switch# configure terminal

Switch(config)# route-map mymap permit 3

Advertising