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

Configuration Guide - Security

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the configurations of Security, including ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, Port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, URPF, keychain, MPAC, separating the management plane from the service plane, security risks, PKI.
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).
Configuring the Policy for Processing User-Side PPPoE Packets

Configuring the Policy for Processing User-Side PPPoE Packets

Context

After a policy for processing user-side PPPoE packets is configured, the Switch can add information about the interface connected to the PPPoE client. The user account and access interface can be authenticated, preventing user account embezzling.

You can configure a policy for processing original fields in user-side PPPoE packets in the system view or interface view. The configuration in the system view is valid for all interfaces. An interface preferentially uses the policy that is configured on the interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Configure a policy for processing original fields in user-side PPPoE packets.

    • Configuring a policy for processing original fields in user-side PPPoE packets in the system view

      Run pppoe intermediate-agent information policy { drop | keep | replace }

      A policy for all interfaces to process original fields in user-side PPPoE packets is configured.

      By default, the policy configured on an interface to process original fields in user-side PPPoE packets is replace.

    • Configuring the policy for processing original fields in user-side PPPoE packets in the interface view

      1. Run interface interface-type interface-number

        The Ethernet interface view is displayed.

      2. Run pppoe intermediate-agent information policy { drop | keep | replace }

        A policy for a specified interface to process original fields in user-side PPPoE packets is configured.

      3. (Optional) Run pppoe intermediate-agent information [ vlan vlan-id ] [ ce-vlan cevlan-id ] format { circuit-id | remote-id } { common | extend | user-defined text }

        The format of fields to be added to PPPoE packets is configured.

        By default, the format of fields circuit-id and remote-id added to PPPoE packets is common.

        If the pppoe intermediate-agent information format command is configured in both the interface and system views, the configuration in the interface view takes effect.

      4. Run quit

        The system view is displayed.

      By default, the policy configured on an interface to process original fields in user-side PPPoE packets is replace.

  3. (Optional) Configure the format and content of fields used to replace original fields when the policy for processing user-side PPPoE packets is replace.

    1. Run pppoe intermediate-agent information encapsulation { circuit-id | remote-id } *

      The content of fields to be added to PPPoE packets is configured.

    2. Run pppoe intermediate-agent information format { circuit-id | remote-id } { common | extend | user-defined text }

      The format of fields to be added to PPPoE packets is configured.

      By default, the format of fields circuit-id and remote-id added to PPPoE packets is common.

      If the pppoe intermediate-agent information format command is configured in both the interface and system views, the configuration in the interface view takes effect.

  4. (Optional) Run pppoe intermediate-agent information vendor-id vendor-id

    The vendor ID that the device adds to PPPoE packets is set.

    The default vendor ID that the device adds to PPPoE packets is 2011.

    NOTE:

    A vendor ID identifies a vendor. After PPPoE+ is enabled, the device must negotiate with the PPPoE server using PPPoE packets containing the vendor ID. By default, the device adds vendor ID 2011 to PPPoE packets. If the device is connected to a non-Huawei PPPoE server, the vendor ID may not be 2011; for example, the vendor ID is 3561. In this case, run the pppoe intermediate-agent information vendor-id vendor-id command to set the vendor ID to be the same as that in PPPoE packets sent from the non-Huawei PPPoE server.

Translation
Download
Updated: 2019-09-23

Document ID: EDOC1000178177

Views: 231898

Downloads: 746

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