Command Manual – MPLS 
Quidway S8500 Series Routing Switches  Chapter 2  BGP/MPLS VPN Configuration Commands
 
Huawei Technologies Proprietary 
2-55 
View 
VPN-instance view  
Parameter 
integer: The Maximum routes allowed for a VPN-instance, ranging from 1 to 65536.  
alarm-integer: Route threshold for alarming.  
syslog-alert: When the route maximum specified for a VPN-instance exceeds the 
threshold, routes can be added and only a SYSLOG error message is sent out. 
Description 
Use the routing-table limit command to limit the route maximum in a VPN-instance. 
Use the undo routing-table limit command to cancel the limitation. 
It is necessary to enter a VPN-instance sub-view before using the routing-table 
command. Create a VPN-instance routing table in this view and allocate a route 
distinguisher (RD) in either of the following formats: 
16-bit ASN: A 32-bit user-defined number, for example, 100:1. 
32-bit IP address: A 16-bit user-defined number, for example, 172.1.1.1:1. 
Create a VPN-target extended community for a VPN-instance and specify ingress or 
egress interface or both of them for the vpn-target command. These parameters can 
be used to configure ingress/egress routing information of the VPN-target extended 
community for a router. 
Example 
# Configure the maximum routes in VPN instance vpn1 to 1000. 
[Quidway] ip vpn-instance vpn1 
[Quidway-vpn-vpn1] route-distinguisher 100:1 
[Quidway-vpn-vpn1] vpn-target 100:1 import-extcommunity  
[Quidway-vpn-vpn1] routing-table limit 1000 syslog-alert 
2.1.67  sham-link 
Syntax 
sham-link source-addr destination-addr [ cost cost-value ] [ dead seconds ]  [ hello 
seconds ] [  md5 keyid key seconds  ]  [  retransimit  seconds ] [ simple passwor ] 
[ trans-delay seconds ] 
undo sham-link source-addr destination-addr 
View 
OSPF area view