H3C S9500 Series Operation Manual - page 15
Operation Manual – MPLS OAM
H3C S9500 Series Routing Switches
Chapter 1 MPLS OAM Configuration
1-14
[SwitchA] mpls oam ingress lsp-name LspAtCw lsp-id 100
[SwitchA] mpls oam ingress lsp-name LspAtCp lsp-id 200
# Configure a protection group.
[SwitchA] mpls protect-switch 1 work-lsp lspAtCw protect-lsp lspAtCp holdoff
10 mode revertive wtr 20
Using the display mpls protect-switch all command, you will see the following
information:
[SwitchA] display mpls protect-switch all
-----------------------------------------------------------------------
Protection-Switching Information
-----------------------------------------------------------------------
PROTECT-ID Dft-W Dft-P Ctrl-W Ctrl-P SwitchRst
1 No-defect No-defect Up Up W
# Enable MPLS OAM on the ingress node.
[SwitchA] mpls oam ingress enable all
5)
Configure MPLS OAM for Switch C
# Enable MPLS OAM globally.
[SwitchC] mpls oam
# Configure OAM parameters for the egress node.
[SwitchC] mpls oam egress lsp-name lspAtCw lsr-id 1.1.1.1 lsp-id 100
backward-lsp lspCtA share
[SwitchC] mpls oam egress enable lsp-name lspAtCw
[SwitchC] mpls oam egress lsp-name lspAtCp lsr-id 1.1.1.1 lsp-id 200
backward-lsp lspCtA share
[SwitchC] mpls oam egress enable lsp-name lspAtCp
After completing the above configurations, you can view information about the current
LSP and OAM and statistics of OAM verification packets on Switch A and Switch C.
The following takes the display on Switch C as an example.
# Display configuration information about the current LSP and OAM.
--------------------------------------------------------------------------
Verbose information about the 1st OAM at egress
--------------------------------------------------------------------------
lsp basic information: oam basic information:
--------------------------------------------------------------------------
Lsp-name : lspAtCw Oam-Index : 1024
Lsp signal status : Up Oam select board : 2
Lsp incoming Label : 3 Enable-state : --