LDP Inbound Label Advertisement Filtering
#IOS-XE
config replace flash:isis.cfg
#IOS-XR
configure
load bootflash:isis.cfg
commit replace
yAnswer
Explanation
Verification




Last updated
#IOS-XE
config replace flash:isis.cfg
#IOS-XR
configure
load bootflash:isis.cfg
commit replace
y



Last updated
#R1-6
router isis
mpls ldp autoconfig
#R1
ip access-list standard LDP_FILTER_IN
deny 10.0.0.0 0.255.255.255
permit host 20.20.20.20
deny 20.0.0.0 0.255.255.255
permit any
!
mpls ldp neighbor 2.2.2.2 labels accept LDP_FILTER_IN
#XR1, XR2
router isis 1
add ipv4
mpls ldp auto-config
!
mpls ldp
#XR2
ipv4 access-list LDP_FILTER_IN
10 deny ipv4 10.0.0.0/8 any
20 permit ipv4 host 20.20.20.20 any
30 deny ipv4 20.0.0.0/8 any
40 permit ipv4 any any
!
mpls ldp
address-family ipv4
label
remote
accept
from 19.19.19.19:0 for LDP_FILTER_IN#IOS-XE
mpls ldp neighbor RID labels accept ACL#IOS-XR
mpls ldp
address-family ipv4
label
remote
accept
from RID:0 for ACL