Maximum-paths, Maximum-paths 1449 – LevelOne GTL-2691 User Manual

Page 1449

Advertising
background image

C

HAPTER

49

| IP Routing Commands

Global Routing Configuration

– 1449 –

If both static and dynamic paths have the same lowest cost, the first

route stored in the routing table, either statically configured or

dynamically learned via a routing protocol, will be used.

Static routes are included in RIP and OSPF updates periodically sent by

the router if this feature is enabled by the RIP or OSPF

redistribute

command (see

page 1463

or

page 1485

, respectively).

E

XAMPLE

This example forwards all traffic for subnet 192.168.1.0 to the gateway

router 192.168.5.254, using the default metric of 1.

Console(config)#ip route 192.168.1.0 255.255.255.0 192.168.5.254

Console(config)#

maximum-paths

This command sets the maximum number of paths allowed. Use the no

form to restore the default settings.

S

YNTAX

maximum-paths path-count
no maximum-paths

path-count - The maximum number of equal-cost paths to the same

destination that can be installed in the routing table. (Range: 1-8)

D

EFAULT

S

ETTING

Enabled, 4 paths

C

OMMAND

M

ODE

Global Configuration

E

XAMPLE

switch(config)#maximum-paths 8

switch(config)#

Advertising