Discard route, Export default metric, Ospf dynamic cost support – Avaya X330WAN User Manual

Page 59: Export default metric ospf dynamic cost support

Advertising
background image

Enhanced Routing Capabilities

Avaya X330WAN User’s Guide

37

For example:

The command

ip route 193.168.10.0 24 serial 1:1 permanent

creates a permanent static route to the network 193.168.10.0 24 via the Serial 1:1
interface.

Note:

Permanent static routes should not be configured over Serial Layer 2

interfaces that participate in a Primary-Backup pair. For more information on
Backup interfaces, refer to "Backup Interfaces" on page 44.

Discard Route

Discard Route enables you to prevent forwarding traffic to specific networks. You
can configure a static route that drops all packets destined to it. This is called a
discard route, indicated by the “null0” parameter, and is configured using the

ip

route

<network> <mask> null0

command.

For example:

the command

ip route 134.66.0.0 16 Null0

specifies the network

134.66.0.0 16 as a discard route.

Export Default Metric

X330WAN enables you to configure the metric to be used in updates that are
redistributed from one routing protocol to another.
In RIP, the default is 1 and the maximum value is 16. In OSPF, the default is 20.
Set this value before redistribution using the

default-metric

command from

within the

router rip

or

router ospf

contexts. This value is used for all types of

redistributed routes, regardless of which protocol the route was learned from.

OSPF Dynamic Cost Support

An X330WAN OSPF interface can dynamically set a Cost. By default the OSPF
interface Cost is calculated based on the interface bandwidth, according to the
formula:

Cost = 100,000/bandwidth (in kbps)

The result is that the higher the bandwidth, the lower the Cost.
To manually configure the Cost of the OSPF interface:

Statically configure the Cost using the

ip ospf cost

command from the

interface context. By using this option, no dynamic bandwidth updates can
change the Cost. Return to dynamic cost calculation using the

no ip ospf cost

command.

Manually set the bandwidth of the interface using the

bandwidth

command

from within the Interface context. In this case, the configured bandwidth and
not the actual interface bandwidth is taken into account when calculating the
cost based on the above formula.

Advertising