Configuration steps, Configuration example – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 332
![background image](/manuals/361646/332/background.png)
308
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
LDP outbound FEC filtering
2
Configuration steps
Follow the listed steps to configure LDP outbound FEC filter.
1. Create a prefix-list to permit or deny required set of FECs.
2. Go to the ldp config mode available on the router mpls config mode.
3. Set the above created prefix-list in the global or per neighbor outbound fec filter configuration.
Configuration example
For Global outbound FEC filter configuration
Example: To set LDP to prevent advertisement of FEC 10.44.44.44/32 while allowing all other
FECs to all neighbors follow the listed configuration steps.
Brocade(config)# ip prefix-list list-abc deny 10.44.44.44/32
Brocade(config)# ip prefix-list list-abc permit 0.0.0.0/0 ge 32
Brocade(config)# router mpls
Brocade(config-mpls)# ldp
Brocade(config-mpls-ldp)# filter-fec list-abc out
Syntax: [no] filter-fec prefix-list out
Parameters:
prefix-list
Prefix-list specifying the prefixes.
out
Specifies outbound-fec-filter configuration.
For per neighbor outbound FEC filter configuration
Example: To set LDP to prevent advertisement of FEC 10.44.44.44/32 while allowing all other
FECs to neighbor 10.12.12.12 follow the listed configuration steps.
Brocade(config)# ip prefix-list list-abc deny 10.44.44.44/32
Brocade(config)# ip prefix-list list-abc permit 0.0.0.0/0 ge 32
Brocade(config)# router mpls
Brocade(config-mpls)# ldp
Brocade(config-mpls-ldp)# session 10.12.12.12 filter-fec list-abc out
Syntax: [no] session peer-ip filter-fec prefix-list out
Parameters:
session
The session keyword specifies the per session configuration.
peer-ip
The peer-ip parameter is the peer IP of the LDP to which the filter needs to be applied.
out
The out keyword specifies the outbound-fec-filter configuration.