R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
426
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
site-of-origin: Specifies the SoO attribute, a string of 3 to 21 characters. The SoO attribute has the
following formats:
• 16-bit AS number:32-bit user-defined number. For example, 100:3.
• 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.
• 32-bit AS number:16-bit user-defined number, where the minimum value of the AS number is 65536.
For example, 65536:1.
Usage guidelines
The SoO attribute specifies the site where the route was originated. It prevents advertising a route back
to the originating site. If the AS-path attribute is lost, the router can use the SoO attribute to avoid routing
loops.
After you configure the SoO attribute for a BGP peer or peer group, BGP adds the SoO attribute into the
route updates received from the BGP peer or peer group. Before advertising route updates to the peer or
peer group, BGP checks the SoO attribute of the route update against the configured SoO attribute. If
they are the same, BGP does not advertise the route updates to the BGP peer or peer group to avoid
loops.
If a PE configured with AS number substitution connects to multiple CEs in the same VPN site through
different interfaces, routing loops will occur. To avoid routing loops, configure the same SoO attribute for
the CEs on the PE.
Examples
# In BGP IPv4 unicast address family view, configure the SoO attribute as 100:1 for the peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv4
[Sysname-bgp-ipv4] peer 1.1.1.1 soo 100:1
# In BGP VPN IPv4 unicast address family view, configure the SoO attribute as 100:1 for the peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] address-family ipv4
[Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 soo 100:1
Related commands
peer substitute-as