No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Security

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring URPF

Example for Configuring URPF

Networking Requirements

As shown in Figure 14-5, the R&D department of an enterprise connects to GE2/0/0 of RouterA, and the marketing department connects to GE1/0/0. RouterA has a reachable route to an external server, and users in the R&D and marketing departments are allowed to connect to the server through RouterA. RouterA is required to prevent staff in other departments from accessing the server without permission using source IP address spoofing.

Figure 14-5  Networking diagram of URPF configuration

Configuration Roadmap

The configuration roadmap is as follows:

Configure URPF on GE1/0/0 and GE2/0/0, and allow special processing for the default route.

Procedure

  1. Configure URPF on the interface.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] undo portswitch
    [RouterA-GigabitEthernet1/0/0] urpf strict allow-default-route
    [RouterA-GigabitEthernet1/0/0] ip address 10.10.1.5 24
    [RouterA-GigabitEthernet1/0/0] quit
    [RouterA] interface gigabitethernet 2/0/0
    [RouterA-GigabitEthernet2/0/0] undo portswitch
    [RouterA-GigabitEthernet2/0/0] ip address 10.10.2.5 24
    [RouterA-GigabitEthernet2/0/0] urpf strict allow-default-route
    

  2. Verify the configuration.

    # Run the display this command on GE1/0/0 to check the URPF configuration.

    [RouterA-gigabitethernet1/0/0] display this
    #
    interface GigabitEthernet1/0/0
     undo portswitch
     ip address 10.10.1.5 255.255.255.0
     urpf strict allow-default-route
    #
    return
    

    # Run the display this command on GE2/0/0 to check the URPF configuration.

    [RouterA-gigabitethernet2/0/0] display this
    #
    interface GigabitEthernet2/0/0
     undo portswitch
     ip address 10.10.2.5 255.255.255.0
     urpf strict allow-default-route
    #
    return

Configuration Files

Configuration files on RouterA

#
sysname RouterA
#
interface GigabitEthernet1/0/0
 undo portswitch
 ip address 10.10.1.5 255.255.255.0
 urpf strict allow-default-route
#
interface GigabitEthernet2/0/0
 undo portswitch
 ip address 10.10.2.5 255.255.255.0
 urpf strict allow-default-route
#
return
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034236

Views: 94962

Downloads: 53

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next