---> We can filter labels to particular neighbor or router by using LDP Filtering.
---> LDP Filtering can be achieved on the router by using this command.
Router(config)# no mpls ldp advertise-labels
---> The above command will filter labels associated with all the networks. If you want to filter only particular labels then you can use access-list
Router(config)# access-list 10 permit 1.1.1.1 0.0.0.0
Router(config)# no mpls ldp advertise-lables for 10
---> Now Router will not advertise the label for 1.1.1.1 network.
---> LDP Filtering can be achieved on the router by using this command.
Router(config)# no mpls ldp advertise-labels
---> The above command will filter labels associated with all the networks. If you want to filter only particular labels then you can use access-list
Router(config)# access-list 10 permit 1.1.1.1 0.0.0.0
Router(config)# no mpls ldp advertise-lables for 10
---> Now Router will not advertise the label for 1.1.1.1 network.
By using ACLs.
ReplyDelete