beautypg.com

Configure ldp pw redundancy, Displaying and maintaining mpls l2vpn, Configuring vpn instances – H3C Technologies H3C S12500-X Series Switches User Manual

Page 264

background image

253

Configure LDP PW redundancy

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter cross-connect group
view.

xconnect-group group-name

N/A

3.

Enter cross-connect view.

connection connection-name N/A

4.

(Optional.) Specify whether

to switch traffic from the
backup PW to the primary

PW when the primary PW

recovers, and specify the wait
time for the switchover.

revertive { wtr wtr-time | never }

By default, traffic is immediately
switched back from the backup
PW to the primary PW when the

primary PW recovers.

5.

Enter cross-connect PW view.

peer ip-address pw-id pw-id
[ pw-class class-name |
tunnel-policy tunnel-policy-name ] *

N/A

6.

Configure a backup LDP PW
and enter cross-connect

backup PW view.

backup-peer ip-address pw-id
pw-id [ pw-class class-name |

tunnel-policy tunnel-policy-name ] *

By default, no backup LDP PW is
configured.

7.

Return to user view.

return

N/A

8.

Manually switch traffic to the

backup PW of the specified
PW.

l2vpn switchover peer ip-address
pw-id pw-id

N/A

Displaying and maintaining MPLS L2VPN

Execute display commands in any view and the reset command in user view.

Task Command

Display LDP PW label information.

display l2vpn ldp [ peer ip-address [ pw-id pw-id ] |
xconnect-group group-name ] [ verbose ]

Display cross-connect forwarding
information (in standalone mode).

display l2vpn forwarding { ac | pw } [ xconnect-group
group-name ] [ slot slot-number ] [ verbose ]

Display cross-connect forwarding
information (in IRF mode).

display l2vpn forwarding { ac | pw } [ xconnect-group
group-name ] [ chassis chassis-number slot slot-number ]
[ verbose ]

Display L2VPN PW information.

display l2vpn pw [ xconnect-group group-name ] [ ldp | static ]
[ verbose ]

Display PW class information.

display l2vpn pw-class [ class-name ]

Display service instance information.

display l2vpn service-instance [ interface interface-type
interface-number
[ service-instance instance-id ] ] [ verbose ]

Display cross-connect group information. display l2vpn xconnect-group [ name group-name ] [ verbose ]