22: Configuring Routing Information Protocol (RIP)
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 203 of 463
Figure 106: The MD5 authentication key chains configuration section
Web Field/UCI/Package Option
Description
Web: Key Chain Name
UCI: ripd.@key_chain[0].key_chain_name
Opt: key_chain_name
Specifies chain name
Web: Key ID
UCI: ripd.@key_chain[0].key_id
Opt: key_id
Specifies key ID. Must be unique and match at both ends.
Web: Authentication key
UCI: ripd.@key_chain[0].auth_key
Opt: auth_key
Specifiy Keyed MD5 chain.
Table 66: Information table for MD5 authentication key chains commands
22.4
Configuring RIP using command line
RIP is configured under the ripd package /etc/config/ripd.
There are four config sections ripd, interface, key_chain and offset.
You can configure multiple interface, key_chain and offset sections.
By default, all RIP interface instances are named interface, it is identified by
@interface
then the interface position in the package as a number. For example, for the first
interface in the package using UCI:
ripd.@interface[0]=interface
ripd.@interface[0].rip_interface=lan
Or using package options:
config interface
option rip_interface 'lan'
By default, all RIP key_chain instances are named key_chain, it is identified by
@key_chain
then the key_chain position in the package as a number. For example, for
the first key_chain in the package using UCI:
ripd.@key_chain[0]=key_chain
ripd.@key_chain[0].key_chain_name=Keychain1