- DL manuals
- H3C
- Switch
- S9500 Series
- Operation Manual
H3C S9500 Series Operation Manual - page 28
Operation Manual – MPLS VLL
H3C S9500 Series Routing Switches
Chapter 1 MPLS VLL
1-27
To do...
Use the command...
Remarks
Create a CE or modify
the CE Range of an
existing CE
ce name [ id id
[ range range ]
[ default-offset
offset ] ]
Enter an existing CE
ce name
Required
Each CE created on a PE needs
to uniquely correspond to one
actual CE device connected to
the PE. You need to specify a
unique ID for these CEs. You can
also specify the CE Range. It is
desired that the CE ID begins with
1 and increases in step of 1.
Create connections
between CEs
connection
[ ce-offset offset ]
{ interface
vlan-interface
vlan-id [ multi-port] }
Required
When planning a VPN, you can
specify CE IDs for CEs beginning
with 1 and increasing in step of 1,
and then establish connections
by CE IDs. You can establish
connections with CE Offset not
provided for simplifying the
configuration. In this case, the
default CE Offset is used.
Summary of S9500 Series
Page 1
Operation manual – mpls vll h3c s9500 series routing switches table of contents i table of contents chapter 1 mpls vll ..................................................................................................................... 1-1 1.1 mpls vll overview.........................................
Page 2: Chapter 1 Mpls Vll
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-1 chapter 1 mpls vll when configuring mpls vll, go to these sections for information you are interested in: z mpls vll overview z ccc mpls vll configuration z martini mpls vll configuration z kompella mpls vll configu...
Page 3
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-2 1.1 mpls vll overview 1.1.1 concepts in mpls vll mpls virtual leased line (mpls vll) provides transparently transmission of layer 2 data of users over an mpls network. From the users’ perspective, this mpls network ...
Page 4
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-3 tunnel label vc label label stack l2 pdu tunnel label vc label label stack l2 pdu tunnel label vc label label stack l2 pdu tunnel label vc label label stack l2 pdu figure 1-3 structure of an mpls vll packet the fiel...
Page 5
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-4 1.1.4 implementation at present, the official standard for mpls vll has not been established yet. However, the ppvpn (provider-provisioned virtual private network) group of ietf (internet engineering task force) def...
Page 6
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-5 vpn type implementation feature martini uses extended ldp as the signaling to transmit the vc information. Uses vc-type and vc-id to identify vcs. Vc-type indicates the encapsulation type of data link layer, and vc-...
Page 7
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-6 caution: z mpls vll does not support ndp transparent transmission. Z it is not recommended to bind vlls on the default vlan interface. Z martini vll and kompella vll modes support multiport access mode, while ccc do...
Page 8
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-7 to do... Use the command... Remarks establish local ccc connection ccc ccc-connection-name interface vlan-interface vlan-id out-interface vlan-interface vlan-id establish remote ccc connection ccc ccc-connection-nam...
Page 9
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-8 1.2.2 ccc mpls vll configuration example (1) i. Network requirements ces and the corresponding pes shown in figure 1-5 are interconnected through their gigabitethernet ports. Data is encapsulated as ethernet packets...
Page 10
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-9 [h3c-vlan213] port gigabitethernet 2/1/3 [h3c-vlan213] interface vlan-interface 213 [h3c-vlan-interface213] quit # enable mpls on the interface of vlan 214. [h3c] vlan 214 [h3c-vlan214] port gigabitethernet 2/1/4 [h...
Page 11
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-10 [h3c-vlan212] port gigabitethernet 2/1/2 [h3c-vlan212] quit [h3c] interface vlan-interface 212 [h3c-vlan-interface212] ip address 6.6.6.1 24 [h3c-vlan-interface212] mpls # configure a static lsp, with the out-label...
Page 12
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-11 [h3c-mpls] static-lsp transit peb-pea l2vpn incoming-interface vlan-interface 212 in-label 200 nexthop 5.5.5.1 out-label 211 caution: following must be met to make a local ccc connection to go up: z the interfaces ...
Page 13
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-12 iii. Configuration procedure 1) configure pe-a # configure the lsr-id. Enable mpls and mpls l2vpn. System-view [pe-a] mpls lsr-id 1.1.1.1 [pe-a] mpls [pe-a] mpls l2vpn # create public network vlan 12, configure a v...
Page 14
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-13 system-view [p-mpls] static-lsp transit p l2vpn incoming-interface vlan-interface34 in-label 843 nexthop 192.168.14.1 out-label 814 1.3 martini mpls vll configuration 1.3.1 configuring martini mpls vll follow these...
Page 17
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-16 configuration or an aggregation port. Other configurations, such other vll connections, igmp, and igmp snooping, cannot be made on the specified vlan interface; otherwise these configurations will not work normally...
Page 18
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-17 # configure vlan 212. [h3c-a] vlan 212 [h3c-a-vlan212] port gigabitethernet 2/1/2 [h3c-a-vlan212]interface vlan-interface 212 [h3c-a-vlan-interface212] quit # configure vlan 21. [h3c-a] vlan 21 [h3c-a-vlan21] port ...
Page 19
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-18 [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-inte...
Page 20
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-19 [h3c-p-vlan-interface21] ip address 168.1.1.2 255.255.0.0 [h3c-p-vlan-interface21] quit [h3c-p] vlan 22 [h3c-p-vlan22 port gigabitethernet 2/1/2 [h3c-p-vlan22] quit [h3c-p] interface vlan-interface 22 [h3c-p-vlan-i...
Page 21
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-20 z in system view, enable the primary connection auto-restore function. Ii. Network diagram v la n5 0 g 4/1 /1 7 1 .1 .1.1 p e 1 p e 3 30 .3 0.3 0.1 g 5/1 /2 7 0.7 0.7 0.2 g 5/1 /1 3 vl a n30 2.2 .2.2 3.3 .3 .3 4.4 ...
Page 22
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-21 [pe1-mpls] static-lsp egress 2to1 incoming-interface vlan-interface10 in-label 3 # configure the peer relationship with pe2 so that the ldp remote session can be established between them. [pe1] mpls ldp remote-peer...
Page 23
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-22 [pe2] mpls [pe2-mpls]static-lsp ingress pe2-pe3 destination 3.3.3.3 32 nexthop 50.50.50.1 out-label 50 [pe2-mpls]static-lsp egress pe3-pe2 incoming-interface vlan-interface50 in-label 180 [pe2-mpls]static-lsp ingre...
Page 24
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-23 [pe3-vlan-interface70] interface g5/1/1 [pe3-gigabitethernet5/1/1] port link-type trunk [pe3-gigabitethernet5/1/1] port trunk permit vlan 70 # create a static lsp from pe3 to pe2. [pe3]mpls [pe3-mpls]static-lsp egr...
Page 25
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-24 [p-gigabitethernet 4/1/18]q [p]vlan 50 [p-vlan50] interface vlan 50 [p-vlan-interface50] ip address 50.50.50.1 255.255.255.0 [p-vlan-interface50] mpls [p-vlan-interface50] interface g4/1/17 [p-gigabitethernet 4/1/1...
Page 26
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-25 [pe2-vlan-interface101] quit # restore the martini mpls vll virtual connection to primary globally. [pe2] mpls l2vc manual-restore # in system view, enable the primary connection auto-restore function for martini m...
Page 28
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-27 to do... Use the command... Remarks create a ce or modify the ce range of an existing ce ce name [ id id [ range range ] [ default-offset offset ] ] enter an existing ce ce name required each ce created on a pe nee...
Page 29
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-28 caution: z you can only change the ce range to a number larger than the existing one. For example, you can change a ce range from 10 to 20, rather than from 10 to 5. The only way to change a ce range to a smaller n...
Page 30
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-29 ii. Network diagram v l an 21 2 ce a ce b p e a p e b p v l an 22 v la n2 1 v la n2 1 2 figure 1-9 network diagram for kompella mpls vll (1) iii. Configuration procedure 1) configure pe-a. # enable mpls globally. [...
Page 31
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-30 [h3c-bgp] l2vpn-family [h3c-bgp-af-l2vpn] peer 100 enable # create and configure the vpn. [h3c] mpls l2vpn vpn1 encapsulation ethernet [h3c-mpls-l2vpn-vpn1] route-distinguisher 100:1 [h3c-mpls-l2vpn-vpn1] vpn-targe...
Page 32
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-31 [h3c-vlan-interface22] mpls ldp enable [h3c-vlan-interface22] mpls ldp transport-ip interface [h3c-vlan-interface22] quit # configure bgp. [h3c] bgp 100 [h3c-bgp] group 100 internal [h3c-bgp] peer 100 connect-inter...
Page 33
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-32 ii. Network diagram figure 1-10 network diagram for kompella mpls vll (2) iii. Configuration procedure 1) configure pe-a. # configure lsr id and enable mpls and ldp. System-view [pe-a] mpls lsr-id 1.1.1.1 [pe-a] mp...
Page 34
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-33 [pe-a-ospf-1-area-0.0.0.0] quit # enable bgp and configure the bgp peer relationship with pe-b and pe-c, using the loopback interface as the source interface. [pe-a] bgp 100 [pe-a-bgp] group ibgp internal [pe-a-bgp...
Page 35
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-34 z configure a loopback interface. Its ip address is used as the router-id. Z enable ospf and advertise the routes of the interfaces. 1.5 displaying and debugging mpls vll to do... Use the command... Remarks display...
Page 36
Operation manual – mpls vll h3c s9500 series routing switches chapter 1 mpls vll 1-35 z vc state being down indicates the encapsulation types or vc ids of the two ends are not the same. Make sure the interface types (access or trunk) of the two pe interfaces and the vc ids of the two ends are consis...