In addition to the Inbound FEC-filter configuration, the show mpls ldp command displays the following inbound FEC-filter information.
Number of FECs from the peer which are filtered due to the inbound FEC filter configuration
To display the prefix list and filtered information, use the show mpls ldp fec prefix prefix-filter command. In the following example, the downstream mapping for the inbound FECs is filtered by the inbound-FEC filter prefix list and is displayed as a retained state. The output displays that it is retained due to the inbound FEC-filter action.
device# show mpls ldp fec prefix prefix-filter 172.16.8.0/24 FEC_CB: 0x2cd83d78, idx: 4, type: 2, pend_notif: None, fec_definition:22080000 State: current, Ingr: Yes, Egr: No, UM Dist. done: Yes Prefix: 172.16.8.0/24 next_hop: 10.55.55.14, out_if: e3/16 Downstream mappings: Local LDP ID Peer LDP ID Label State CB 10.44.44.44:0 10.14.14.14:0 1024 Retained (f) 0x2cd3b610(-1)
To display the filtered information, use the show mpls ldp fec prefix filtered command.
device# show mpls ldp fec prefix filtered Total number of prefix FECs: 1607 Total number of prefix FECs installed: 1505 Total number of prefix FECs filtered(in/out): 0/0 Total number of prefix FECs with LWD timer running: 0 Destination State Out-intf Next-hop Ingress Egress Filtered LWD 10.44.44.44/32 current -- -- No Yes 10.66.66.66/32 current Eth 4/2 10.1.1.2 Yes No 10.14.14.14/32 current Eth 3/16 10.55.55.14 Yes No
To display the label database for the sessions when there is at least one mapping which is filtered due to the FEC-filter filter action, use the show mpls ldp database command. In the following example, the inbound FECs filtered by the inbound-FEC filter prefix list are displayed as a retained state.
device# show mpls ldp database Session 10.44.44.44:0 - 10.14.14.14:0 Downstream label database: Label Prefix State 3 10.14.14.14/32 Installed 1024 172.16.8.0/24 Retained(filtered) 1025 172.16.16.0/24 Retained(filtered) 1026 172.16.32.0/24 Retained(filtered) 1027 172.16.64.0/24 Retained(filtered) 1028 172.16.8.0/28 Retained(filtered) 1029 172.16.8.16/28 Retained(filtered) 1030 172.16.8.32/28 Retained(filtered) 1031 172.16.8.64/28 Retained(filtered) Upstream label database: Label Prefix 3 10.44.44.44/32 1024 10.66.66.66/32 Session 10.44.44.44:0 - 10.66.66.66:0 Downstream label database: Label Prefix State 3 10.66.66.66/32 Installed Upstream label database: Label Prefix 3 10.44.44.44/32 1025 10.14.14.14/32
To display the number of FECs from the peer which are filtered due to the inbound FEC filter configuration, use the show mpls ldp session detail command.
device# show mpls ldp session detail Number of link LDP sessions: 1 Number of Operational link LDP sessions: 1 Number of targeted LDP sessions: 0 Number of Operational targeted LDP sessions: 0 Peer LDP ID: 10.66.66.66:0, Local LDP ID: 10.44.44.44:0, State: Operational Adj: Link, Role: Passive, Next keepalive: 2 sec, Hold time left: 32 sec Keepalive interval: 6 sec, Max hold time: 36 sec Configured keepalive timeout: 36 sec Peer proposed keepalive timeout: 36 sec Up time: 21 sec TCP connection: 10.44.44.44:646--10.66.66.66:9075, State: ESTABLISHED Neighboring interfaces: Eth 4/2 Next-hop addresses received from the peer:7 10.1.1.2 10.66.66.66 10.168.1.1 10.168.1.2 10.168.1.3 10.168.1.4 10.168.1.5 IGP Sync: Unrecognized Notification Capability: Local: Off, Remote: Off Local State: In-sync, RemoteState: - Rx label silence time: 1000 ms, Timer not running Graceful restart: enabled Number of FECs Received from peer: 18 Number of FECs installed from peer: 5 Number of FECs filtered from peer(in/out): 1/0