Version:

Version:


Table of Contents

New Features

Download PDF
Copy Link

Support BGP AS number input in asdot and asdot+ format 7.2.1

BGP Autonomous System (AS) numbers can be inputted in asdot and asdot+ format in compliance with RFC 5396 when configuring the following in the CLI.

  • BGP AS, neighbor local and remote AS, and neighbor group local and remote AS:
    config router bgp
    	set as <string>
    	config neighbor
            edit <ip>
                set remote-as <string>
                set local-as <string>
            next
        end
        config neighbor-group
            edit <name>
                set remote-as <string>
                set local-as <string>
            next
        end
    end

    as <string>

    Enter the router AS number in asplain (1 - 4294967295), asdot, or asdot+ format. Enter 0 to disable BGP.

    remote-as <string>

    Enter a value in asplain (1 - 4294967295), asdot, or asdot+ format.

    local-as <string>

    Enter a value in asplain (1 - 4294967295), asdot, or asdot+ format.

  • Route map AS path:
    config router route-map
        edit <name>
            config rule
                edit <id>
                    set set-aspath <string>  
                next
            end
        next
    end

    set-aspath <string> 

    Enter a value in asplain (1 - 4294967295), asdot, or asdot+ format.

Note

get router info bgp summary and other BGP router commands still display the AS numbers in asplain format.

Example

In this example, neighbor 1.1.1.1's remote AS is configured in asdot format. Neighbor 172.16.201.2's remote AS is configured in asdot format, and the local AS in asplain format.

To configure the AS in asdot and asplain formats:
config router bgp
    set as 65535.65535
    set router-id 3.3.3.3
    config neighbor
        edit "1.1.1.1"
            set remote-as 65535.65535
        next
        edit "172.16.201.2"
            set remote-as 65050
            set local-as 65516.65516
        next
    end
end
To verify the BGP neighbors and routing table:
# get router info bgp summary
VRF 0 BGP router identifier 3.3.3.3, local AS number 4294967295
BGP table version is 4
3 BGP AS-PATH entries
0 BGP community entries

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 4294967295 21 18 3 0 0 00:04:09 13
172.16.201.2 4 65050 24 28 4 0 0 00:05:42 4

Total number of neighbors 2

The BGP AS number 65535.65535 in asdot format corresponds to AS number 4294967295 in asplain format in this output.

Support BGP AS number input in asdot and asdot+ format 7.2.1

BGP Autonomous System (AS) numbers can be inputted in asdot and asdot+ format in compliance with RFC 5396 when configuring the following in the CLI.

  • BGP AS, neighbor local and remote AS, and neighbor group local and remote AS:
    config router bgp
    	set as <string>
    	config neighbor
            edit <ip>
                set remote-as <string>
                set local-as <string>
            next
        end
        config neighbor-group
            edit <name>
                set remote-as <string>
                set local-as <string>
            next
        end
    end

    as <string>

    Enter the router AS number in asplain (1 - 4294967295), asdot, or asdot+ format. Enter 0 to disable BGP.

    remote-as <string>

    Enter a value in asplain (1 - 4294967295), asdot, or asdot+ format.

    local-as <string>

    Enter a value in asplain (1 - 4294967295), asdot, or asdot+ format.

  • Route map AS path:
    config router route-map
        edit <name>
            config rule
                edit <id>
                    set set-aspath <string>  
                next
            end
        next
    end

    set-aspath <string> 

    Enter a value in asplain (1 - 4294967295), asdot, or asdot+ format.

Note

get router info bgp summary and other BGP router commands still display the AS numbers in asplain format.

Example

In this example, neighbor 1.1.1.1's remote AS is configured in asdot format. Neighbor 172.16.201.2's remote AS is configured in asdot format, and the local AS in asplain format.

To configure the AS in asdot and asplain formats:
config router bgp
    set as 65535.65535
    set router-id 3.3.3.3
    config neighbor
        edit "1.1.1.1"
            set remote-as 65535.65535
        next
        edit "172.16.201.2"
            set remote-as 65050
            set local-as 65516.65516
        next
    end
end
To verify the BGP neighbors and routing table:
# get router info bgp summary
VRF 0 BGP router identifier 3.3.3.3, local AS number 4294967295
BGP table version is 4
3 BGP AS-PATH entries
0 BGP community entries

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
1.1.1.1 4 4294967295 21 18 3 0 0 00:04:09 13
172.16.201.2 4 65050 24 28 4 0 0 00:05:42 4

Total number of neighbors 2

The BGP AS number 65535.65535 in asdot format corresponds to AS number 4294967295 in asplain format in this output.