< Home

Configuring RIP Version Number

RIP versions include RIPv1 and RIPv2. The two versions have different functions.

Procedure

  • Configure the global RIP version number.
    1. Access the system view.

      system-view

    2. Configure a RIP process and access the RIP process view.

      rip [ process-id ]

    3. Set a global RIP version number.

      version { 1 | 2 }

      The RIP-1 protocol poses a security risk, and therefore the RIP-2 protocol is recommended.

  • Configure the RIP version number for an interface.
    1. Access the system view.

      system-view

    2. Access the interface view.

      interface interface-type interface-number

    3. Set a RIP version number of the packets received by the interface.

      rip version { 1 | 2 [ broadcast | multicast ] }

      By default, an interface receives both RIPv1 and RIPv2 packets but sends only RIPv1 packets. When configuring RIPv2 on an interface, you can specify the mode in which the interface sends packets. If no RIP version number is configured in the interface view, the global RIP version is used. The RIP version set on an interface takes precedence over the global RIP version.

      The RIP-1 protocol poses a security risk, and therefore the RIP-2 protocol is recommended.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic