Building Peering Sessions
Command References
admin@XorPlus# set protocols bgp bgp-id <ipv4 address>
Note: This command is to configure a BGP-ID. It indicates a BGP router uniquely.
admin@XorPlus# set protocols bgp local-as <as-number>
Note: This command is to configure an AS-number. It tells us which AS the BGP router is in. It should be expressed using a two-byte length digit or a 4-byte length digit <0-4294967295> or <0..65535>.<0..65535>.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> as <peer-as-number>
Note: This command is to specify a BGP peer and it’s AS-number.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> local-ip <local-ipv6-address>
Note: This command is to specify the local IPv6 address for BGP peer session.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> ipv6-unicast <true/false>
Note: IPv6 BGP route will be propagated to its BGP peer after enabling IPv6-unicast.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> ipv4-unicast <true/false>
Note: The IPv4 BGP route entry should be propagated via BGP update packet. IPv4-unicast was disabled by default.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> default-route-advertise disable <true/false>
Note: This command is to advertise a default route entry to its BGP peer after user enables default-route-advertise.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> allow-as-loop <true/false>
Note: This command is to receive the BGP route entry with its own as number. By default, the BGP route entry with its own AS number will be dropped to prevent loops.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> holdtime <0 or 3-65535>
Note: This command is to set the hold-timer value, and the keepavlive timer will be holdtime/3, holdtime should be 0. This means, the BGP peering session will not expire anymore, and holdtime should be the digit 3-65535.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> md5-password <text>
Note: This command is to configure a md5-password. the two peers must have the same md5-password.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> next-hop-self <true/false>
Note: This command is to enable next-hop-self when user configures IBGP peer session. The next-hop will be set its own IPv6 address after user enables next-hop-self.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> prefix-limit maximum <1-12000>
Note: This command is to set the maximum BGP route entry limit for one BGP peer.
admin@XorPlus# set protocols bgp peer <peer-ipv6-address> public-as-only <true/false>
Note: The private AS-number will be removed from the AS-path if the private AS number in the AS-path after user enables public-as-only.
Copyright © 2025 Pica8 Inc. All Rights Reserved.