Deriving the router id – Alcatel-Lucent 7750 SR OS User Manual

Page 72

Advertising
background image

Common Configuration Tasks

Page 72

7750 SR OS Router Configuration Guide

Deriving the Router ID

The router ID defaults to the address specified in the system interface command. If the system
interface is not configured with an IP address, then the router ID inherits the last four bytes of the
MAC address. The router ID can also be manually configured in the

config>router router-

id

context. On the BGP protocol level, a BGP router ID can be defined in the

config>router>bgp router-id

context and is only used within BGP.

Note that if a new router ID is configured, protocols are not automatically restarted with the new
router ID. The next time a protocol is initialized the new router ID is used. An interim period of
time can occur when different protocols use different router IDs. To force the new router ID, issue
the

shutdown

and

no shutdown

commands for each protocol that uses the router ID, or restart

the entire router.

Use the following CLI syntax to configure the router ID:

CLI Syntax:

config>router

router-id router-id

interface ip-int-name

address {ip-address/mask|ip-address netmask} [broad-

cast all-ones|host-ones]

The following example displays the router ID command usage:

Example

:

config>router# router-id

10.10.0.4

config>router# exit

Example

:

config>router# interface “system”

config>router>if# address

10.10.0.4/32

config>router>if# exit

The following example displays the router ID configuration:

A:ALA-4>config>router# info

#------------------------------------------

# IP Configuration

#------------------------------------------

interface "system"

address 10.10.0.4/32

exit

. . .

router-id 10.10.0.4

#------------------------------------------

A:ALA-4>config>router#

Advertising