- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
06-MPLS Hybrid Insertion Commands | 46.13 KB |
Table of Contents
Chapter 1 MPLS Hybrid Insertion Configuration Commands
1.1 L3+ Hybrid Insertion Configuration Commands
1.1.2 l2vpn-vpls service binding service-id
1.1.3 l2vpn-vpls service binding vsi
Chapter 1 MPLS Hybrid Insertion Configuration Commands
1.1 L3+ Hybrid Insertion Configuration Commands
1.1.1 backup interface
Syntax
backup interface interface-type interface-number
undo backup interface
View
MPLS virtual service interface view, MPLS-VPLS virtual service interface view
Default Level
2: System level
Parameters
interface-type interface-number: Specifies the backup service interface by type and number. Values of interface-type include MPLS and MPLS-VPLS.
Description
Use the backup interface command to specify the backup interface for a virtual service interface.
Use the undo backup interface command to cancel the configuration of the backup virtual service interface.
After the active virtual service interface is down, the service can be switched to the backup virtual service interface to ensure uninterrupted traffic forwarding.
Examples
# Specify MPLS1/0/1 as the backup virtual service interface of MPLS 0/0/1.
<Sysname> system-view
[Sysname] interface mpls 0/0/1
[Sysname-MPLS0/0/1] backup interface MPLS1/0/1
# Specify MPLS-VPLS 1/0/2 as the backup virtual service interface of MPLS-VPLS 0/0/2.
<Sysname> system-view
[Sysname] interface MPLS-VPLS 0/0/2
[Sysname-MPLS-VPLS0/0/2] backup interface MPLS-VPLS1/0/2
1.1.2 l2vpn-vpls service binding service-id
Syntax
l2vpn-vpls service binding service-id service-id
undo l2vpn-vpls service binding service-id
View
MPLS-VPLS virtual service interface view
Default Level
2: System level
Parameters
service-id: Specifies the service ID of the current virtual service interface when the load is shared among several MPLS-VPLS virtual service interfaces.
service-id: Specifies the service ID of the current virtual service interface.
& Note:
When several MPLS-VPLS virtual service interfaces are used for load sharing, you need to specify a unique service-id for each interface.
Description
Use the l2vpn-vpls service binding service-id command to redirect the VPLS service to the MPLS-VPLS virtual service interface on the L3+ board capable of MPLS processing.
Use the undo l2vpn-vpls service binding service-id command to cancel the redirection.
Examples
# Redirect the VPLS service to the MPLS-VPLS virtual service interface, MPLS-VPLS 0/0/2, on the L3+ board capable of MPLS processing.
<Sysname> system-view
[Sysname] interface MPLS-VPLS 0/0/2
[Sysname-MPLS-VPLS0/0/2] l2vpn-vpls service binding service-id 2
1.1.3 l2vpn-vpls service binding vsi
Syntax
l2vpn-vpls service binding vsi vsi-name
undo l2vpn-vpls service binding { all | vsi vsi-name }
View
MPLS-VPLS virtual service interface view
Default Level
2: System level
Parameters
vsi: Specifies a VPLS instance.
vsi-name: Specifies the name of VPLS instance to be bound.
all: Specifies all VPLS instances that are bound.
Description
Use the l2vpn-vpls service binding vsi command to specify the VPLS instance to be bound on the MPLS-VPLS virtual service interface.
Use the undo l2vpn-vpls service binding vsi command to cancel the binding of the VPLS instance bound with the MPLS-VPLS virtual service interface.
You can bind a VPLS instance to one MPLS-VPLS virtual service interface only.
Examples
# Bind VPLS instance aaa with the virtual service interface MPLS-VPLS 0/0/2.
<Sysname> system-view
[Sysname] interface MPLS-VPLS 0/0/2
[Sysname-MPLS-VPLS0/0/2] l2vpn-vpls service binding vsi aaa
1.1.4 mpls service binding
Syntax
mpls service binding
undo mpls service binding
View
MPLS virtual service interface view
Default Level
2: System level
Parameters
None
Description
Use the mpls service binding command to redirect the MPLS service at the public network side to the MPLS virtual service interface on the L3+ board capable of MPLS processing.
Use the undo mpls service binding command to cancel the redirection.
Examples
# Redirect the MPLS service at the public network side to the MPLS virtual service interface, MPLS 0/0/1, on the L3+ board capable of MPLS processing.
<Sysname> system-view
[Sysname] interface MPLS 0/0/1
[Sysname-MPLS0/0/1] mpls service binding