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

Fit AP V200R010C00 Command Reference

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).
discard srr

discard srr

Function

Using the discard srr command, you can enable the function of discarding IP packets with source-route options.

Using the undo discard srr command, you can disable the function of discarding the IP packets with source-route options.

By default, the function of discarding IP packets with source-route options is not enabled. That is, a device processes the IP packets with source-route options.

Format

discard srr

undo discard srr

Parameters

None

Views

VLANIF interface view, loopback interface view

Default Level

2: Configuration level

Usage Guidelines

After the discard srr command is run, the device does not process but discard the IP packets with source-route options (including the packets to be forwarded and the packets for itself). This prevents attackers from snooping into the network structure and enhances network security.

srr indicates the source-route options, which are actually called the source and record route (SRR) options. During packet routing, the IP address list is updated on each hop. Therefore, each hop needs to record the routes for sending the response packet along the reverse path. The SRR options are classified into the Loose Source and Record Route (LSRR) option and Strict Source and Record Route (SSRR) option.

NOTE:

The discard srr command applies to only incoming packets.

Example

# Configure the device to discard the IP packets with source-route options on VLANIF100.

<Huawei> system-view
[Huawei] interface vlanif 100
[Huawei-Vlanif100] discard srr
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 150361

Downloads: 125

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