Class BgpNeighborLocalAsConfig.Builder

    • Constructor Detail

    • Method Detail

      • setAsPathModifierType

        public BgpNeighborLocalAsConfig.Builder setAsPathModifierType​(java.lang.String asPathModifierType)
        Possible values are: Optional parameter. If this property is not set, by default BGP prepends neighbor's local_as_num value to the AS_PATH for BOTH outgoing and incoming route advertisements from the peer neighbor. By setting one of the following value, user can modify the default prepend action on the AS_PATH in both inbound and outbound direction. NO_PREPEND: If type is NO_PREPEND, then the local router will NOT prepend the incoming advertisement from that peer with neighbor's local_as_num, so the AS path advertised will now prepend only the BGP local-as of the router. NO_PREPEND_REPLACE_AS - If type is \"NO_PREPEND_REPLACE_AS\", then the local routes will be advertised with the neighbor's local-as instead of the BGP's local-as to peer router.
        Parameters:
        asPathModifierType - New value for the property.