Ip Configuration - OmniSwitch os6900 Network Configuration Manual

Table of Contents

Advertisement

IP Configuration

IP Configuration
IP is enabled on the switch by default and a few options that can, or need to be, configured. This section
provides instructions for basic IP configuration options.
Configuring the Router Primary Address
By default, the router primary address is derived from the first IP interface that becomes operational on the
router. if the router router-id is not a valid IP unicast address, the router primary IP address is used by BGP
to derive its unique BGP Identifier.
Use the
ip router primary-address
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 router primary address of the router is used as the router ID. However, if a primary address
has not been explicitly configured, the router ID defaults to the address of the first IP interface that
becomes operational.
Use the
ip router router-id
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, EBGP, and IBGP
(highest to lowest).
Use the
ip route-pref
configure the route preference of an OSPF route, you would enter:
-> ip route-pref ospf 15
To display the current route preference configuration, use the
-> show ip route-pref
Protocol
------------+------------------------
Local
Static
OSPF
RIP
EBGP
IBGP
page 15-16
command to configure the router primary address. Enter the
command to configure the router ID. Enter the command, followed by the IP
command to change the route preference value of a router. For example, to
Route Preference Value
1
2
110
120
190
200
OmniSwitch AOS Release 7 Network Configuration Guide
show ip route-pref
command:
Configuring IP
June 2013

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents