R2511-HP MSR Router Series MPLS Command Reference(V5)

184
Usage guidelines
By configuring different RR reflection policies on different RRs, you can implement load balancing among
the RRs.
Examples
# In BGP-VPNv4 subaddress family view, specify an Extended Communities attribute for the RR to filter
the incoming VPNv4 route update packets.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] rr-filter 10
# In BGP-L2VPN address family view, specify an Extended Communities attribute for the RR to filter the
incoming VPNv4 route update packets.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] l2vpn-family
[Sysname-bgp-af-l2vpn] rr-filter 10
sham-link
Use sham link to configure a sham link.
Use undo sham link source-ip-address destination-ip-address to remove a sham link.
Use undo sham link source-ip-address destination-ip-address with optional keywords to restore the
defaults of the corresponding parameters for a sham link.
Syntax
sham-link source-ip-address destination-ip-address [ cost cost | dead dead-interval | hello hello-interval
| retransmit retrans-interval | trans-delay delay | simple [ cipher | plain ] password1 | { md5 |
hmac-md5 } key-id [ cipher | plain ] password2 ] *
undo sham-link source-ip-address destination-ip-address [ cost | dead | hello | retransmit | trans-delay
| simple | { md5 | hmac-md5 } key-id ] *
Views
OSPF area view
Default command level
2: System level
Parameters
source-ip-address: Specifies the source IP address for the sham link.
destination-ip-address: Specifies the destination IP address for the sham link.
cost: Specifies the cost for the sham link. The value range is 1 to 65535, and the default is 1.
dead-interval: Specifies the dead interval in seconds. The value range is 1 to 32768, and the default is
40. It must be equal to the dead interval of the router on the other end of the virtual link and must be at
least four times the hello interval.
hello-interval: Specifies the interval at which the interface sends hello packets. The value range is 1 to
8192 seconds, and the default is 10 seconds. It must be equal to the hello interval of the router on the
other end of the virtual link.