BGP as-path prepend on Netscreen?


  • administrators

    Is this even possible?  I think I have something in place that does it, but I have not tested it yet.



  • AS-Path prepended is supported on any NetScreen running ScreenOS with Dynamic Routing Protocol (ScreenOS 4.0.0 or
    higher, except NetScreen-5XP and NetScreen-100).
    Here is an example:
    set vrouter "trust-vr"
    set protocol bgp 65001
    set enable
    unset synchronization
    set as-path-access-list 10 permit "65001 65001 65001"
    set neighbor 10.100.31.61 remote-as 65000
    set neighbor 10.100.31.61 enable
    set neighbor 10.100.31.61 route-map “test” out
    set network 192.168.100.0/24
    exit
    exit
    set vrouter "trust-vr"
    set router-id 10.100.31.63
    set access-list 10 permit ip 192.168.100.0/24 1
    set route-map name “test” permit 10
    set match ip 10
    set as-path 10
    Here the access-list “10” is used to match the outbound advertised network numbers and used in the route-map “test” as
    matching criteria. The as-path-access-list “10” is used to prepend three AS numbers.


 

30
Online

38.4k
Users

12.7k
Topics

44.5k
Posts