< Home

Configuring RIP to Check the Validity of Update Packets

Context

Checking the validity of RIP Update packets improves network security. Validity check includes zero field check for RIP-1 packets and source address check for RIP Update packets.

  • Zero field check

    In RIP-1 packets, the values of some fields must be zero. These fields are zero fields. After zero field check is enabled, a switch checks the zero fields in RIP-1 packets and discards the packets in which the zero field values are not 0.

  • Source address check

    Source address check for RIP Update packets verifies the source IP address of received RIP Update packets. Specifically, a switch checks whether the IP address of the interface that sends the packet is in the same network segment as that of the interface that receives the packet. If the IP addresses are not in the same network segment, the switch will not process the RIP packet.

Procedure

  • Configure zero field check for RIP-1 packets.
    1. Run system-view

      The system view is displayed.

    2. Run rip [ process-id ]

      The RIP view is displayed.

    3. Run checkzero

      Zero field check is configured for RIP-1 packets.

      Zero field check configuration is invalid in RIP-2.

  • Configure source address check for RIP Update packets.
    1. Run system-view

      The system view is displayed.

    2. Run rip [ process-id ]

      The RIP view is displayed.

    3. Run verify-source

      Source IP address check is configured for RIP Update packets.

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