
217
dual-npe revertive
Description
Use the
dual-npe revertive
command to enable the switchback function and set the switchback delay time.
Use the
undo dual-npe revertive wtr-time
command to restore the default switchback delay time.
Use the
undo dual-npe revertive
command to disable the switchback function.
By default, the switchback function is disabled.
Syntax
dual-npe revertive
[
wtr-time
wtr-time
]
undo
dual-npe revertive
[
wtr-time
]
View
VSI LDP view
Default level
2: System level
Parameters
wtr-time
wtr-time
: Specifies the switchback delay time. After the primary PW comes back, the system
waits for a period of time dictated by the switchback delay time before switching data from the
secondary PW back to the primary PW. The
wtr-time
parameter is ranging from 1 to 720, in minutes. The
default is 30 minutes.
Examples
# Create a VPLS instance named vpna that uses the peer discovery mechanism of manual configuration,
and set the switchback delay time to 1 minute.
<Sysname> system-view
[Sysname] vsi vpna static
[Sysname-vsi-vpna] pwsignal ldp
[Sysname-vsi-vpna-ldp] dual-npe revertive wtr-time 1
encapsulation (service instance view)
Description
Use the
encapsulation
command to configure a packet matching rule for the current service instance.
Use the
undo encapsulation
command to delete the packet matching rule of the current service instance.
By default, no packet matching rule is configured for a service instance.
•
The packet matching rule you configured overwrites the previous configuration, if any.
•
On a port, if you have configured to match packets carrying the current port’s PVID tag in a service
instance without specifying the
only-tagged
keyword, and to match untagged packets in another
service instance, untagged packets are matched in the service instance where this command was
configured first. Therefore, when configuring to match packets carrying specific VLAN tags, specify
the
only-tagged
keyword also. Otherwise, untagged packets may be matched to a different service
instance than the one you expected.