Basic Mpls Commands; Accept-Label - H3C S5820X Series Command Reference Manual

Mpls command reference
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Basic MPLS commands

These interface types support MPLS and MPLS LDP: Layer 3 Ethernet interface, Layer 3 aggregate
interface, and VLAN interface.
The term "Layer 3 Ethernet interface" refers to route-mode (Layer 3) Ethernet ports. You can set an
Ethernet port to operate in route mode by using the port link-mode route command (see Layer 2—LAN
Switching Configuration Guide).
Commands configured in MPLS LDP view serve the public network LDP, and those configured in MPLS
LDP VPN instance view serve the MPLS LDP VPN instance.
The S5820X Switch Series does not support MPLS.

accept-label

Use accept-label to configure a label acceptance control policy.
Use undo accept-label to restore the default.
Syntax
accept-label peer peer-id ip-prefix ip-prefix-name
undo accept-label peer peer-id
Default
An LSR accepts all label bindings received from its LDP peers.
Views
MPLS LDP view, MPLS LDP VPN instance view
Default command level
2: System level
Parameters
peer peer-id: Specifies an LDP peer. The peer-id argument is the LSR ID of the LDP peer.
ip-prefix ip-prefix-name: Specifies the IP prefix list to be used for filtering received FEC-label bindings.
ip-prefix-name is the name of the IP prefix list, a string of 1 to 19 characters.
Usage guidelines
A label acceptance control policy is for filtering the FEC-label bindings received. With such a policy
configured, an upstream LSR filters the label bindings received from the specified downstream LSR by the
specified IP prefix list, and accepts and saves only bindings with the FEC destinations permitted by the
specified IP prefix list.
When the label acceptance control configuration on an LSR is changed (for example, the label
acceptance control policy is deleted by using the undo accept-label command), you must execute the
reset mpls ldp command to reset LDP sessions, so that the downstream LSR re-advertises its label bindings
and the upstream LSR can obtain the label bindings not accepted before.
44

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents