Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring Advanced Routing Information (Rev. 03)
Open Shortest Path First (OSPF)
© 2008 Foundry Networks, Inc
Page 16 of 68
device-name
(config-route-map)#
match metric 1
device-name
(config-route-map)#
set metric 5
device-name
(config-route-map)#
set metric-type 1
device-name
(config-route-map)#
exit
device-name
(config)#
router ospf
device-name
(config-router)#
redistribute rip route-map rip2ospf
Defining a Distribute List
The
distribute-list
command, in Router OSPF Configuration mode, filters routes according to the
access list that specifies which routes will be advertised. To remove the defined distribute list, use
the
no
form of the command.
The user can use this command to prevent other routers from learning one or more routes. The
distribute-list out
command includes an
access-list-name
argument that represents
permit
or
deny
actions on routes specified in an access or prefix list.
Command Syntax
device-name
(config-router)#
distribute-list ACL-NAME out
{
connected
|
kernel
|
rip
|
static
}
device-name
(config-router)#
no distribute-list
ACL-NAME
out
{
connected
|
kernel
|
rip
|
static
}
Argument Description
ACL-NAME
Name of routing access-list that specifies action and match criteria.
connected
IP interface routes of the router.
kernel
Kernel originated route entries.
rip
Routes known by RIP protocol.
static
Static routes.
Configuring OSPF Neighbors
The
neighbor
command, in Router OSPF Configuration mode, configures OSPF routers
interconnecting to non-broadcast networks. To remove a configuration, use the
no
form of this
command.
The user must include one
neighbor
entry in the OSPF configuration for each known non-
broadcast network
neighbor
. The
neighbor
address has to be on the primary address of the IP
interface.
If a neighboring router appears to be inactive (no Hello received for the Router
Dead Interval
period), it may still be necessary to send Hello packets to the dead neighbor. These hello packets
will be sent at a reduced
Poll Interval
rate.
Command Syntax
device-name
(config-router)#
neighbor A.B.C.D
device-name
(config-router)#
no neighbor A.B.C.D