Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring Routing Information (Rev. 03)
Controlling and Modifying Routing Information
© 2008 Foundry Networks, Inc.
Page 31 of 48
Setting IP Next-hop
The
set ip next-hop
command, in Route-map Configuration Mode, sets the specified IP address as
the next-hop field for matched routes. The
no
form of this command cancels the next-hop setting.
Command Syntax
device-name
(config-route-map)#
set ip next-hop A.B.C.D
device-name
(config-route-map)#
no
set ip next-hop
[
A.B.C.D
]
Argument Description
A.B.C.D
The IP address of the next hop.
Configuration Examples
Redistribution of Static Routes
The following example shows how to start OSPF and redistribute static routes to the specified
network.
1. Enable OSPF and enter into Router OSPF Configuration mode:
device-name
(config)#
router ospf
2. Enable redistributes static routes:
device-name
(config-router)#
redistribute static
3. Set OSPF network:
device-name
(config-router)#
network 192.168.1.0/24 area 0