Modify default metric for redistribution – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 668

634
Brocade TurboIron 24X Series Configuration Guide
53-1003053-01
Configuring OSPF
The 
The deny | permit parameter indicates whether packets that match the policy are dropped or 
forwarded.
The 
extended ACL as input for an OSPF distribution list, specify ip. 
Since this ACL is input to an OSPF distribution list, the 
destination network of the route. 
The 
part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number 
ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address 
must match the 
If you want the policy to match on all network addresses, enter any any.
If you prefer to specify the wildcard (mask value) in Classless Interdomain Routing (CIDR) format, 
you can enter a forward slash after the IP address, then enter the number of significant bits in the 
mask. For example, you can enter the CIDR equivalent of “10.4.0.0 0.255.255.255” as 
“10.4.0.0/8”. The CLI automatically converts the CIDR number into the appropriate ACL mask 
(where zeros instead of ones are the significant bits) and changes the non-significant portion of the 
IP address into zeros. 
NOTE
If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in 
“/
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. 
Since this ACL is input to an OSPF distribution list, the 
specifies the subnet mask of the route.
The 
example, the 
subnet mask /24 and longer match the ACL.
If you want the policy to match on all network masks, enter any any.
Modify 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 – 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.
