Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
IP Configuration
Configuring IP
page 24-16
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
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
By default, the router primary address is derived from the first IP interface that becomes operational on the 
router.
 
The router primary IP address is used by BGP to derive its unique BGP Identifier, if the router
router-id is not a valid IP unicast address.
Use the
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 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
 
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, EBGP, and IBGP 
(highest to lowest).
Use th
 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
To display the current route preference configuration, use the 
-> show ip route-pref
  Protocol    Route Preference Value
------------+------------------------
  Local                 1
  Static                2
  OSPF                110
  RIP                 120
  EBGP                190
  IBGP                200