HP 10500 SERIES Configuration Manual page 214

Hide thumbs Also See for 10500 SERIES:
Table of Contents

Advertisement

default-offset default-offset: Specifies the initial CE ID, 0 or 1. 0 indicates CEs in the VPN are
numbered from 0. 1 indicates CEs in the VPN are numbered from 1.
This parameter and the CE range together determine the label blocks that the PE assigns to CEs:
When you first execute the ce command and specify the CE range as ce-range1, the PE assigns
the first label block. The LR of the label block equals ce-range1. If the default-offset is 0, the LO
of the label block is 0. Otherwise, the LO is 1.
When you execute the ce command for the second time and specify the CE range as ce-range2
(greater than ce-range1), the PE assigns the second label block. The LR of the second label
block = ce-range2–ce-range1. If the default-offset is 0, the LO of the label block is ce-range1.
Otherwise, the LO is ce-range1+1.
The subsequent label blocks are calculated in the same way. For example, if you execute the
following commands on the PE in order, the PE assigns three label blocks. They are LB1/0/10,
LB2/10/12, and LB3/22/14, where LB1, LB2, and LB3 are label values automatically selected
by the PE.
ce ce1 id 1 range 10 default-offset 0
ce ce1 id 1 range 22
ce ce1 id 1 range 36
ce-offset ce-id: Specifies the ID of the peer CE that establishes a local or remote connection with the
local CE.
If you execute the connection command without specifying the ce-offset ce-id option:
When you execute the connection command for the first time, the PE creates a connection
between the local CE and the peer CE with an ID of default-offset. If the default-offset equals the
local CE ID, the PE creates a connection for the local CE and the peer CE with an ID of
default-offset+1.
When you execute the connection command for the second time, the PE creates a connection
between the local CE and the peer CE with an ID of "previous connection CE ID+1." If the
"previous connection CE ID+1" equals the local CE ID, the PE creates a connection for the local
CE and the peer CE with an ID of "previous connection CE ID+2."
When you plan a VPN, HP recommends that you set CE IDs in incremental sequence and then
configure CE connections in the sequence of CE IDs so you can omit the ce-offset keyword (use the
default setting) for most connections.
To modify the CE range by executing the ce command, you can only change the CE range to a
bigger value than that of the current CE range. For example, if the current CE range is 10, you can
change it to 20, but you cannot change it to 5. Changing the CE range to a bigger value does not
interrupt current services. To change the CE range to a smaller value, you must delete the current CE,
re-create the CE, and specify a smaller CE range for it.
Configuration procedure
To create a CE connection:
Step
1.
Enter system view.
2.
Enter MPLS L2VPN view.
Command
system-view
mpls l2vpn vpn-name
206
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents