Modifying the default metric for redistribution, Enabling route redistribution, Enabling – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 218: Route redistribution

Advertising
background image

200

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

Configuring OSPF

NOTE

If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in
“/mask-bits” format. To enable the software to display the CIDR masks, enter the ip
show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format
to configure the ACL entry regardless of whether the software is configured to display the masks in
CIDR format.

If you use the CIDR format, the ACL entries appear in this format in the running-config and
startup-config files, but are shown with subnet mask in the display produced by the show ip
access-list commands.

Because this ACL is input to an OSPF distribution list, the destination-ip parameter actually
specifies the subnet mask of the route.

The wildcard parameter specifies the portion of the subnet mask to match against. For example,
the destination-ip and wildcard values 255.255.255.255 0.0.0.255 mean that subnet mask /24
and longer match the ACL.

If you want the policy to match on all network masks, enter any any.

Modifying the default metric for redistribution

The default metric is a global parameter that specifies the cost applied to all OSPF routes by
default. The default value is 10. You can assign a cost from 1 through 15.

NOTE

You also can define the cost on individual interfaces. The interface cost overrides the default cost.

To assign a default metric of 4 to all routes imported into OSPF, enter the following commands.

Brocade(config)#router ospf

Brocade(config-ospf-router)#default-metric 4

Syntax: default-metric value

The value can be from 1 through 16,777,215. The default is 10.

Enabling route redistribution

To enable route redistribution, use one of the following methods.

NOTE

Do not enable redistribution until you have configured the redistribution filters. Otherwise, you might
accidentally overload the network with routes you did not intend to redistribute.

To enable redistribution of RIP and static IP routes into OSPF, enter the following commands.

Brocade(config)#router ospf

Brocade(config-ospf-router)#redistribution rip

Brocade(config-ospf-router)#redistribution static

Brocade(config-ospf-router)#write memory

Advertising