For feedback and comments: |
documentation.feedback@alcatel-lucent.com |
• RIP is configured in the config>router>rip context. RIP is not enabled by default. Three hierarchical levels are included in RIP configurations:
•
•
• This section provides information to configure RIP and examples of common configuration tasks. For a router to accept RIP updates, in the config>router>rip context, you must define at least one group and one neighbor. A router will ignore updates received from routers on interfaces not configured for RIP. Configuring other RIP commands and parameters are optional.The RIP configuration commands have three primary configuration levels: rip for global configurations, group group-name for RIP group configurations, and neighbor ip-int-name for RIP neighbor configurations. Within the different levels, the configuration commands are identical. For the repeated commands, the command that is most specific to the neighboring router is in effect; that is, neighbor settings have precedence over group settings which have precedence over RIP global settings.The minimal RIP parameters that need to be configured in the config>router>rip context are:
•
• ALA-A>config>router>rip# info----------------------------------------------group "RIP-ALA-A"neighbor "to-ALA-4"exitexit----------------------------------------------ALA-A>config>router>rip#
3. The following command sequences create a logical IP interface. The logical interface can associate attributes like an IP address, port, Link Aggregation Group (LAG), or the system. For more information about configuring interfaces, refer to the IP Router Configuration Overview chapter.CLI Syntax: config> routerExample: config>router> interface “to-ALA-4”
config>router>if$ address 10.10.12.1/24
config>router>if# port 1/1/1
config>router>if# exitALA-3>config>router# info#------------------------------------------echo "IP Configuration "#------------------------------------------interface "system"address 10.10.10.103/32
exitinterface "to-ALA-4"
address 10.10.12.1/24
port 1/1/1
exit#------------------------------------------ALA-3>config>router#This section only provides brief instructions to configure route policies. For more details, refer to the Route Policy Overview chapter.To enter the mode to create or edit route policies, you must enter the begin keyword at the config>router>policy-options prompt. Other editing commands include:
• The commit command saves and enables changes made to route policies during a session.
• The abort command discards changes that have been made to route policies during a session.Use the following CLI syntax to configure a policy to use for the RIP global, group, and neighbor import and export commands.CLI Syntax: config>router>policy-optionspolicy-statement namedescription textentry entry-iddescription textCLI Syntax: config>router> policy-optionsThe following example displays some commands to configure a policy statement. Policy option commands are configured in the config>router context. Use the commit command to save the changes.Example: config>router>policy-options# begin
policy-options# policy-statement“RIP-policy”
policy-options>policy-statement$ description "this is a
test RIP policy”
policy-options>policy-statement>default# entry 1
policy-options>policy-statement>entry$ action accept
policy-options>policy-statement>entry# exit
policy-options>policy-statement# default-action rejectALA-A>config>router>policy-options# info----------------------------------------------policy-statement "RIP-policy"description "this is a test RIP policy"entry 1action acceptexitexitdefault-action rejectexit----------------------------------------------ALA-A>config>router>policy-options>policy-statement#CLI Syntax: config>routerdescription stringmessage-size numbermetric-in metricmetric-out metricpreference numberno shutdowngroup group-namedescription stringmessage-size numbermetric-in metricmetric-out metricpreference numberno shutdownneighbor ip-int-namedescription stringmessage-size numbermetric-in metricmetric-out metricpreference numberno shutdownOnce the RIP protocol instance is created, the no shutdown command is not required since RIP is administratively enabled upon creation. Minimally, to enable RIP on a router, at least one group and one neighbor must be configured. There are no default groups or neighbors. Each group and neighbor must be explicitly configured.CLI Syntax: config>routermessage-size numbermetric-in metricmetric-out metricpreference numberno shutdownExample: config>router# ripALA-A>config>router>rip# info----------------------------------------------authentication-type simple
authentication-key "ac1865lvz1d" hash
timers 300 600 600
----------------------------------------------ALA-A>config>router>rip#CLI Syntax: config>router# ripgroup group-namedescription stringmessage-size numbermetric-in metricmetric-out metricpreference numberno shutdownExample: config>router# rip
config>router>rip# group headquartersALA-A>config>router>rip# info----------------------------------------------authentication-type simpleauthentication-key "ac1865lvz1d" hashtimers 300 600 600group "headquarters"
description "Mt. View"
exit----------------------------------------------ALA-A>config>router>rip#CLI Syntax: config>router# ripgroup group-nameneighbor ip-int-namedescription stringmessage-size numbermetric-in metricmetric-out metricpreference numberno shutdownExample: config>router# rip
config>router>rip# group headquarters1
config>router>rip>group# neighbor ferguson-274
config>router>rip>group>neighbor$ preference 255
config>router>rip>group>neighbor# send bothALA-A>config>router>rip>group>neighbor# info----------------------------------------------message-size 255preference 255split-horizon enableno timers----------------------------------------------ALA-A>config>router>rip>group>neighbor#Modify, add or remove RIP parameters in the CLI. The changes are applied immediately. For the complete list of CLI commands, refer to Configuring RIP Parameters .CLI Syntax: config>router# ripgroup group-name
. . .neighbor ip-int-name
. . .Example: config>router>rip# group "headquarters"
config>router>rip>group# neighbor "ferguson-274"
config>router>rip>group>neighbor# import RIPpolicy
config>router>rip>group>neighbor# message-size 150
ALA-A>config>router>rip# info----------------------------------------------authentication-type simpleauthentication-key "ac1865lvz1d" hashtimers 300 600 600group "headquarters"description "Mt. View"neighbor "ferguson-274"import "RIPpolicy"
message-size 150
preference 255split-horizon enableno timersexitexit----------------------------------------------ALA-A>config>router>rip#CLI Syntax: config>router# rip[no] group group-nameExample: config>router# rip
config>router>rip# group "RIP-ALA-3"CLI Syntax: config>router# rip[no] group group-name[no] neighbor ip-int-nameExample: config>router# rip
config>router>rip# group "RIP-ALA-4"