R21xx-HP FlexFabric 11900 MPLS Command Reference
Table Of Contents
- Title Page
- Contents
- MCE commands
- description
- display bgp group ipv4 vpn-instance
- display bgp peer ipv4 vpn-instance
- display ip vpn-instance
- domain-id
- export route-policy
- ext-community-type
- import route-policy
- ip binding vpn-instance
- ip vpn-instance
- ipv4-family
- route-distinguisher
- route-tag
- routing-table limit
- vpn-instance-capability simple
- vpn-target
- IPv6 MCE commands
- Basic MPLS commands
- Static LSP commands
- LDP commands
- accept-label
- advertise-label
- backoff
- display mpls ldp discovery
- display mpls ldp fec
- display mpls ldp interface
- display mpls ldp lsp
- display mpls ldp parameter
- display mpls ldp peer
- display mpls ldp summary
- graceful-restart
- graceful-restart timer
- label-distribution
- loop-detect
- lsp-trigger
- lsr-id
- maxhops
- md5-authentication
- mpls ldp
- mpls ldp enable
- mpls ldp timer
- mpls ldp transport-address
- pv-limit
- reset mpls ldp
- session protection
- targeted-peer
- vpn-instance
- Tunnel policy commands
- MPLS L3VPN commands
- description (VPN instance view)
- display bgp group vpnv4
- display bgp peer vpnv4
- display bgp routing-table ipv4 unicast inlabel
- display bgp routing-table ipv4 unicast outlabel
- display bgp routing-table vpnv4
- display bgp routing-table vpnv4 advertise-info
- display bgp routing-table vpnv4 as-path-acl
- display bgp routing-table vpnv4 community-list
- display bgp routing-table vpnv4 inlabel
- display bgp routing-table vpnv4 outlabel
- display bgp routing-table vpnv4 peer
- display bgp routing-table vpnv4 statistics
- display ip vpn-instance
- domain-id
- export route-policy
- ext-community-type
- import route-policy
- ip binding vpn-instance
- ip vpn-instance (system view)
- ipv4-family (VPN instance view)
- ipv4-family vpnv4
- nesting-vpn
- peer next-hop-invariable
- peer upe
- peer upe route-policy
- policy vpn-target
- refresh bgp vpnv4
- reset bgp vpnv4
- route-distinguisher (VPN instance view)
- route-tag
- routing-table limit
- rr-filter
- tnl-policy (VPN instance view/IPv4 VPN view/IPv6 VPN view)
- vpn popgo
- vpn-target (VPN instance view/IPv4 VPN view/IPv6 VPN view)
- IPv6 MPLS L3VPN commands
- display bgp group vpnv6
- display bgp peer vpnv6
- display bgp routing-table vpnv6
- display bgp routing-table vpnv6 advertise-info
- display bgp routing-table vpnv6 as-path-acl
- display bgp routing-table vpnv6 community-list
- display bgp routing-table vpnv6 inlabel
- display bgp routing-table vpnv6 outlabel
- display bgp routing-table vpnv6 peer
- display bgp routing-table vpnv6 statistics
- ipv6-family (VPN instance view)
- ipv6-family vpnv6
- policy vpn-target
- refresh bgp vpnv6
- reset bgp vpnv6
- rr-filter
- MPLS L2VPN commands
- VPLS commands
- backup-peer
- description
- display l2vpn ldp
- display l2vpn forwarding
- display l2vpn mac-address
- display l2vpn pw
- display l2vpn pw-class
- display l2vpn service-instance
- display l2vpn vsi
- encapsulation
- l2vpn enable
- l2vpn switchover
- mac-learning enable
- mtu
- peer
- pw-class
- pw-type
- pwsignaling
- reset l2vpn mac-address
- revertive
- service-instance
- shutdown
- vsi
- xconnect vsi
- Support and other resources
- Index
73
<Sysname> reset mpls ldp
# Reset all LDP sessions in the VPN instance vpn1.
<Sysname> reset mpls ldp vpn-instance vpn1
session protection
Use session protection to enable session protection.
Use undo session protection to disable session protection.
Syntax
session protection [ duration time ] [ peer peer-prefix-list-name ]
undo session protection
Default
Session protection is disabled.
Views
LDP view
Predefined user roles
network-admin
Parameters
duration time: Specifies the session protection duration time in the range of 30 to 2147483 seconds. If
you do not specify the duration, session protection always takes effect.
peer peer-prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63
characters. Sessions to the peers whose LSR IDs are permitted by the specified IP prefix list are protected.
If you do not specify this option, all sessions established by the Basic Discovery mechanism are
protected.
Usage guidelines
If two LDP peers have both a direct link and an indirect link in between, you can configure this feature to
protect their LDP session when the direct link fails.
LDP establishes both a Link Hello adjacency over the direct link and a Targeted Hello adjacency over the
indirect link with the peer. When the direct link fails, LDP deletes the Link Hello adjacency but still
maintains the Targeted Hello adjacency. In this way, the LDP session between the two peers is kept
available, and the FEC-label mappings based on this session are not deleted. When the direct link
recovers, the LDP peers do not need to re-establish the LDP session or re-learn the FEC-label mappings.
When you enable the session protection function, you can specify the session protection duration. If the
Link Hello adjacency does not recover within the duration, LDP deletes the Targeted Hello adjacency and
the LDP session. If you do not specify the session protection duration, the two peers always maintain the
LDP session over the Targeted Hello adjacency.
Examples
# Enable protection for the session to the peer 3.3.3.3, and set the session protection duration to 120
seconds.
<Sysname> system-view
[Sysname] ip prefix-list protected-peer-list index 1 permit 3.3.3.3 32
[Sysname] mpls ldp
[Sysname-ldp] session protection duration 120 peer protected-peer-list










