Cisco Cisco IOS Software Release 12.2(25)S

Page de 18
      MPLS LDP Inbound Label Binding Filtering
Configuration Examples for MPLS LDP Inbound Label Binding Filtering
5
Multiple Releases (See Feature History Table)
 tib entry: 10.10.0.0/16, rev 711
     local binding:  tag: imp-null
 tib entry: 10.0.0.0/8, rev 1135
     local binding:  tag: imp-null
     remote binding: tsr: 12.12.12.12:0, tag: imp-null
 tib entry: 10.0.0.0/8, rev 8
     local binding:  tag: imp-null
Router#
Configuration Examples for MPLS LDP Inbound Label Binding 
Filtering
In the following example, the mpls ldp neighbor labels accept command is configured with an access 
control list to filter label bindings received on sessions with the neighbor 10.110.0.10.
Label bindings for prefixes that match 10.b.c.d are accepted, where b is less than or equal to 63, and c 
and d can be any integer between 0 and 128. Other label bindings received from 10.110.0.10 are rejected.
Router# configure terminal
Router(config)# access-list 1 permit 10.63.0.0 0.63.255.255     
Router(config)# mpls ldp neighbor 10.110.0.10 labels accept 1       
Router(config)# end
In the following example, the show mpls ldp bindings neighbor command displays label bindings that 
were learned from 10.110.0.10. This example verifies that the LIB does not contain label bindings for 
prefixes that have been excluded.
Router# show mpls ldp bindings neighbor 10.110.0.10
tib entry: 10.2.0.0/16, rev 4
remote binding: tsr: 10.110.0.10:0, tag: imp-null
tib entry: 10.43.0.0/16, rev 6
remote binding: tsr: 10.110.0.10:0, tag: 16
tib entry: 10.52.0.0/16, rev 8
remote binding: tsr: 10.110.0.10:0, tag: imp-null
Additional References
The following sections provide additional references related to MPLS LDP inbound label binding filters. 
Related Documents
Related Topic
Document Title
MPLS Label Distribution Protocol (LDP)
MPLS Label Distribution Protocol (LDP), Release 12.0(23)S
Cisco IOS Switching Services Command Reference, Release 12.0
Cisco IOS Release Switching Services Configuration Guide, 
Release 12.0