H3C S9500 Series Operation Manual page 658

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

Advertisement

Operation Manual – MPLS
H3C S9500 Series Routing Switches
[H3C-B] mpls l2vpn
# Configure VLAN 211.
[H3C-B] vlan 211
[H3C-B-vlan211] port gigabitethernet 2/1/1
[H3C-B-vlan211] interface Vlan-interface 211
[H3C-Vlan-interface 211] quit
# Configure the VLAN interface.
[H3C-B] vlan 212
[H3C-B-vlan212] port gigabitethernet 2/1/2
[H3C-B-vlan212] quit
[H3C-B] interface Vlan-interface 212
[H3C-B-Vlan-interface212] ip address 169.1.1.1 255.255.0.0
[H3C-B-Vlan-interface212] mpls
[H3C-B-Vlan-interface212] mpls ldp enable
# 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
[H3C-B-ospf-1-area-0.0.0.0] network 192.2.0.0 0.0.0.255
# Create an LSP tunnel.
[H3C-B] mpls
[H3C-B-mpls] mpls ldp
# 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 L2VPN connection.
[H3C-B] interface vlan-interface 211
[H3C-B-Vlan-interface211] mpls l2vc 192.1.1.1 20
3)
Configure P.
# Configure the LSR ID. Enable MPLS, LDP, and MPLS L2VPN.
[H3C-P] mpls lsr-id 192.1.1.3
[H3C-P] mpls
[H3C-P-mpls] quit
[H3C-P] mpls ldp
4-13
Chapter 4 MPLS L2VPN

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents