static-cr-lsp ingress
Use static-cr-lsp ingress to configure the ingress node of a static CRLSP.
Use undo static-cr-lsp ingress to delete the ingress node configuration of a static CRLSP.
Syntax
static-cr-lsp ingress lsp-name { nexthop ip-address | outgoing-interface interface-type interface-number } out-label out-label-value [ bandwidth [ ct0 | ct1 | ct2 | ct3 ] bandwidth-value ]
undo static-cr-lsp ingress lsp-name
Default
No static CRLSPs exist.
Views
System view
Predefined user roles
network-admin
Parameters
lsp-name: Specifies a name for the static CRLSP, a case-sensitive string of 1 to 15 characters.
nexthop ip-address: Specifies the next hop IP address. The address cannot be a public IP address on the local device.
outgoing-interface interface-type interface-number: Specifies an outgoing interface by its type and number. The specified interface must be a P2P interface.
out-label out-label-value: Specifies an outgoing label. The value range for the out-label-value argument is 0, 3, and 16 to 1048575.
bandwidth: Specifies the CT and required bandwidth for the static CRLSP. If you do not specify this keyword, the bandwidth required by the static CRLSP is 0 kbps. If you specify this keyword but do not specify a CT, the static CRLSP belongs to CT 0.
ct0: Specifies CT 0 for the static CRLSP.
ct1: Specifies CT 1 for the static CRLSP.
ct2: Specifies CT 2 for the static CRLSP.
ct3: Specifies CT 3 for the static CRLSP.
bandwidth-value: Specifies the bandwidth required by the static CRLSP, in the range of 1 to 4294967295 kbps. The default is 0 kbps.
Usage guidelines
CT 2 and CT 3 are valid only in IETF DS-TE mode. In prestandard DS-TE mode, CT 2 and CT 3 are invalid and the tunnel cannot be established.
Examples
# Configure a static CRLSP on the ingress node: specify its name as static-te-2, next hop IP address as 202.55.25.33, outgoing label as 237, CT as CT 0, and required bandwidth as 20 kbps.
<Sysname> system-view [Sysname] static-cr-lsp ingress static-te-2 nexthop 202.55.25.33 out-label 237 bandwidth ct0 20
Related commands
display mpls static-cr-lsp
static-cr-lsp egress
static-cr-lsp transit