Static-Lsp Egress - H3C S5820X Series Command Reference Manual

Mpls command reference
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Default command level
1: Monitor level
Parameters
index: Clears statistics for the LSP with the specified index number. The LSP index is in the range of 0 to
4294967295.
all: Clears statistics for all LSPs.
name lsp-name: Clears statistics for the LSP with the specified name. The LSP name is a string of 1 to 15
characters.
Examples
# Clear MPLS statistics for LSP lsp1.
<Sysname> reset mpls statistics lsp name lsp1
Related commands
display mpls statistics lsp

static-lsp egress

Use static-lsp egress to configure a static LSP taking the current LSR as the egress.
Use undo static-lsp egress to remove a static LSP taking the current LSR as the egress.
Syntax
static-lsp egress lsp-name incoming-interface interface-type interface-number in-label in-label
undo static-lsp egress lsp-name
Views
System view
Default command level
2: System level
Parameters
lsp-name: Specifies an LSP name, a string of 1 to 15 characters.
incoming-interface interface-type interface-number: Specifies an incoming interface by its type and
number.
in-label in-label: Specifies an incoming label, which can be 0, 3, or a value in the range of 16 to 1023.
Examples
# Configure a static LSP taking the current LSR as the egress, and specify the LSP's name as bj-sh,
incoming interface as VLAN-interface 3, and incoming label as 233.
<Sysname> system-view
[Sysname] static-lsp egress bj-sh incoming-interface vlan-interface 3 in-label 233
Related commands
display mpls static-lsp
static-lsp ingress
static-lsp transit
105

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents