摘要 |
<p>Disclosed in the present invention are a method and apparatus for forming L3VPN peer-to-peer service. The method comprises: A. any unmarked VRF of any PE node is selected to be an entering VRF, and the entering VRF is configured as an initiative VRF; B. the initiative VRF is judged whether it has RT value or not, when the initiative VRF has RT value, a dynamic regulation is used for searching for the associated VRF from all the unmarked VRFs of the network and marking the found associated VRF; the initiative VRF is judged whether it has VPN tag or not, when the initiative VRF has VPN tag, a static regulation is used for searching for the associated VRF from all the unmarked VRFs of the network and marking the found associated VRF; C. every found associated VRF is used respectively as an initiative VRF to repeat step B until all associated VRFs are searched; D. the entering VRF and the found associated VRF are combined to generate L3VPN peer-to-peer service. This invention avoids the shortage of forming L3VPN peer-to-peer service in present art effectively.</p> |