Ok, so I've setup filtering, and it was pretty easy. However, I'm having a hard time understanding the output of certain show commands. The only way I was able to tell that it was working properly was by capturing packets and making sure there was, or was not a label present.
For example:
Garrus#show mpls ldp bindings neighbor 192.168.23.2 det
Advertisement spec:
Prefix acl = prefixes; Peer acl = peers
tib entry: 1.1.1.0/24, rev 11
tib entry: 2.2.2.0/24, rev 16
remote binding: tsr: 2.2.2.2:0, tag: imp-null
Advert acl(s): Prefix acl prefixes; Peer acl peers
tib entry: 3.3.3.0/24, rev 17
remote binding: tsr: 2.2.2.2:0, tag: 16
Advert acl(s): Prefix acl prefixes; Peer acl peers
tib entry: 192.168.12.0/24, rev 18
remote binding: tsr: 2.2.2.2:0, tag: imp-null
Advert acl(s): Prefix acl prefixes; Peer acl peers
tib entry: 192.168.23.0/24, rev 15
By looking at that, is there an easy way to tell which prefixes were filtered? Also, why does it even show up in the lfib if I'm filtering it?
Garrus#show mpls forwarding-table
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Pop tag 2.2.2.0/24 0 Fa0/0 192.168.23.2
17 Pop tag 192.168.12.0/24 0 Fa0/0 192.168.23.2
18 Untagged 1.1.1.0/24 0 Fa0/0 192.168.23.2
*EDIT*
Does it show up in the lfib because of it's ties with CEF? Because I can see in the CEF table that it's outgoing is untagged.
Garrus#show ip cef 1.1.1.0 255.255.255.0 det
1.1.1.0/24, version 15, epoch 0, cached adjacency 192.168.23.2
0 packets, 0 bytes
tag information set
local tag: 18
via 192.168.23.2, FastEthernet0/0, 0 dependencies
next hop 192.168.23.2, FastEthernet0/0
valid cached adjacency
tag rewrite with Fa0/0, 192.168.23.2, tags imposed: {}