H3C S9500 Series Operation Manual page 833

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – MPLS VLL
H3C S9500 Series Routing Switches
[H3C-B-Vlan-interface22] mpls
[H3C-B-Vlan-interface22] mpls ldp enable
# Configure VLAN 212.
[H3C-B] vlan 212
[H3C-B-vlan212] port gigabitethernet 2/1/2
[H3C-B-vlan212] interface vlan-interface 212
[H3C-B-Vlan-interface212] quit
# Configure an IP address for the Loopback interface, which is used as the LSR-ID.
[H3C-B] interface loopback 0
[H3C-B-LoopBack0] ip address 192.1.1.2 255.255.255.255
# Enable OSPF.
[H3C-B] ospf 1
[H3C-B-ospf-1] area 0.0.0.0
[H3C-B-ospf-1-area-0.0.0.0] network 192.1.1.2 0.0.0.0
[H3C-B-ospf-1-area-0.0.0.0] network 169.1.0.0 0.0.255.255
# Configure the LDP Remote Peer.
[H3C-B] mpls ldp remote-peer 1
[H3C-B-mpls-remote1] remote-ip 192.1.1.1
# Configure a Martini MPLS VLL connection.
[H3C-B] interface vlan-interface 212
[H3C-B-Vlan-interface212] mpls l2vc 192.1.1.1 20 encapsulation ethernet
3)
Configure P.
# Configure the LSR-ID. Enable MPLS, and LDP.
[H3C-P] mpls lsr-id 192.1.1.3
[H3C-P] mpls
[H3C-P-mpls] quit
[H3C-P] mpls ldp
# Configure an IP address for the Loopback interface and use it as the LSR-ID.
[H3C-P] interface loopback 0
[H3C-P-LoopBack0] ip address 192.1.1.3 255.255.255.255
[H3C-P-LoopBack0] quit
# Configure the VLAN interface.
[H3C-P] vlan 21
[H3C-P-vlan21] port gigabitethernet 2/1/1
[H3C-P-vlan21] quit
[H3C-P] interface Vlan-interface 21
[H3C-P-Vlan-interface21] mpls
[H3C-P-Vlan-interface21] mpls ldp enable
1-18
Chapter 1 MPLS VLL

Advertisement

Table of Contents
loading

Table of Contents