Configuring IP

IP Configuration

OmniSwitch 6600 Family Network Configuration Guide

April 2006

page 14-13

IP Configuration

IP is enabled on the switch by default and there are few options that can, or need to be, configured. This 

section provides instructions for some basic IP configuration options.

Configuring the Router Primary Address

The router primary address is used by advanced routing protocols (e.g., OSPF) to identify the switch on 

the network. It is also the address that is used to access the switch for management purposes.

Use the 

ip router primary-address

 

command to configure the router primary address. Enter the 

command, followed by the IP address. For example, to configure a router primary address of 

172.22.2.115, you would enter:

-> ip router primary-address 172.22.2.115

Configuring the Router ID

By default, the primary address of the router is used as the router ID. However, if a primary address has 

not been configured, the router ID is used by OSPF to identify the switch on the network. The router ID 

can be any 32-bit number.

Use the 

ip router router-id

 

command to configure the router ID. Enter the command, followed by the IP 

address. For example, to configure a router ID of 172.22.2.115, you would enter:

-> ip router router-id 172.22.2.115

Configuring the Route Preference of a Router

By default, the route preference of a router is in this order: local, static, OSPF, RIP and BGP (highest to 

lowest).

Use the 

ip route-pref

 command to change the route preference value of a router. For example, to config-

ure the route preference of an OSPF route, you would enter:

-> ip route-pref ospf 15

Note. 

BGP is not supported on OmniSwitch 6600.

Configuring the Time-to-Live (TTL) Value

The TTL value is the default value inserted into the TTL field of the IP header of datagrams originating 

from the switch whenever a TTL value is not supplied by the transport layer protocol. The value is 

measured in hops.

Use the 

ip default-ttl

 

command to set the TTL value. Enter the command, followed by the TTL value. For 

example, to set a TTL value of 75, you would enter:

-> ip default-ttl 75 

The default hop count is 64. The valid range is 1 to 255. Use the 

show ip config

 command to display the 

default TTL value.

Page 291
Image 291
Open full-size image