Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Applying a Prefix to Routes Learned from a Peer

    Apply the long-prefix-filter prefix only to routes learned from a particular peer within a group.

    [edit]
    protocols {bgp {group 4 {type external;peer-as 47;export local-customers;import [ martian-filter as47-filter ];neighbor 192.168.1.4;neighbor 192.168.1.5;neighbor 192.168.1.6 {import [ martian-filter as47-filter long-prefix-filter ];}}}}

    Published: 2013-02-10