IPv4 Router Interface Configuration Example

The following example:

See the current firmware release notes for the number of routing interfaces supported on an S- K- and 7100-Series routing module. Each interface can be configured for the RIP and/or OSPF routing protocols. Each interface can be configured for BGP on the S- and 7100-Series platforms.

A primary IP address must be configured on each routing interface. Secondary IP addresses can optionally be configured. See the current firmware release notes for the number of secondary addresses supported on an interface and module. Use the ip address command in interface configuration command mode to assign an IP address and optional secondary IP addresses to an interface, specifying whether the assigned address is primary or secondary.

S- and K-Series routing interfaces support Equal Cost Multipath (ECM). ECM is a routing technique for routing packets along multiple paths of equal cost. Two algorithms are available for ECM routing:

Use the ip ecm-forwarding-algo command to set the ECM forwarding algorithm for this S- or K-Series device. ECM forwarding uses the hash threshold algorithm by default.