3com 8807 Guía De Referencia
700
C
HAPTER
39: MPLS B
ASIC
C
ONFIGURATION
C
OMMANDS
ip-prefix-name: Name of IP address prefix list.
Description
Use the mpls ldp label-accept command to control the acceptance of label
binding through the IP address prefix filtering policy when a Label Mapping event
is received.
binding through the IP address prefix filtering policy when a Label Mapping event
is received.
Use the undo mpls ldp label-accept command to cancel the configuration.
Example
# Configure to deny the Label Mapping information of 1.1.1.1 through 1.1.1.3.
First, configure the corresponding IP Prefix.
First, configure the corresponding IP Prefix.
<SW8800> system-view
[SW8800] ip ip-prefix fec index 1 deny 1.1.1.1 32
[SW8800] ip ip-prefix fec index 2 deny 1.1.1.2 32
[SW8800] ip ip-prefix fec index 3 deny 1.1.1.3 32
[SW8800] ip ip-prefix fec index 100 permit 0.0.0.0 0 greater-equal 0
less-equal 32
# Then, configure a specific IP Prefix that will be used in the policy for filtering
ingress label mapping.
ingress label mapping.
[SW8800] mpls ldp label-accept fec
mpls ldp label-advertise
Syntax
mpls ldp label-advertise fec-ip-prefix [ lsr-ip-prefix ] [ swap-only ]
undo mpls ldp label-advertise { fec-ip-prefix | all }
View
System view
Parameter
label-advertise: Specifies a filtering policy for label mapping advertisement
fec-ip-prefix: FEC address prefix list
lsr-ip-prefix: LSR IP address prefix list
swap-only: Creates no Ingress LSP but Swap entries (only when the
advertisement control policy is passed).
advertisement control policy is passed).
all: Deletes all filtering policies for label mapping advertisement.
Description
Use the mpls ldp label-advertise command to control the advertisement of
locally distributed labels; that is, control which label mapping is advertised to
which LDP peer.
locally distributed labels; that is, control which label mapping is advertised to
which LDP peer.
Use the undo mpls ldp label-advertise command to cancel the configuration.
By default, the labels of all destination addresses are advertised to all LDP peers.
By default, the labels of all destination addresses are advertised to all LDP peers.