You are on page 1of 6

MPLS - PROCEDIMENTO

Este documento contém informações confidenciais e sigilosas,


sua distribuição não é permitida sem expressa autorização do
departamento de pós-vendas da linha Multilaser PRO.

CONTROLE DE VERSÃO
Versão Data Responsável Descrição
1.0 05/07/2021 Cleiton Badam Criação do documento
1- Configurando a instância MPLS.
Execulte este procedimento para configurar sessões LDP entre roteadores para implementar o
encaminhamento MPLS

c650(config)#interface loopback1
c650(config-if-loopback1)# ip address 10.0.250.249 255.255.255.255
c650(config-if-loopback1)#exit
c650(config)#interface vlan210
c650(config-if-vlan100)#ip address 10.10.82.10 255.255.255.0
c650(config)#interface xgei-1/3/1
c650(config-if-xgei-1/3/1)#no shutdown
c650(config-if-xgei-1/3/1)#switchport vlan 210 tag

Configure o OSPF Protocol.


c650(config)#router ospf 1
c650(config-ospf-1)area 0.0.0.0
c650(config-ospf-1)interface vlan210
c650(config-ospf-1) network 10.0.250.249 0.0.0.0
c650(config-ospf-1) network 10.10.82.0 0.0.0.255
c650(config-ospf-1) router-id 10.0.250.249

2- Configure função basica do MPLS LDP Instance.

c650(config)#mpls ldp instance 1


c650(config-ldp-1)#interface vlan210
c650(config-ldp-1)#interface vlan250
c650(config-ldp-1)#router-id loopback1
c650(config-ldp-1)#target-session 10.0.250.252

Verificando os rótulos externos MPLS.

ZTE-c650#show mpls forwarding-table


Local Outgoing Prefix or Outgoing Next Hop M/S
label label Lspname interface
207024 Untagged 0.0.0.0/0 vlan250 172.16.250.238 M
207025 Untagged 10.0.250.102/32 vlan210 10.10.82.2 M
207026 Poptag 10.0.250.252/32 vlan250 172.16.250.237 M
207027 Untagged 10.0.250.253/32 vlan210 10.10.82.1 M
207028 Untagged 10.0.250.255/32 vlan210 10.10.82.7 M
207029 Untagged 10.0.250.254/32 vlan210 10.10.82.1 M

3- Criando PW e habilitando a função L2PVN

c650(config)interface vlan1000
c650(config-if-vlan2000)#exit
c650(config)#vpls c650
c650(config-vpls-zte)#access-point vlan1000
c650(config-vpls-zte)#mtu 1508
c650(config-vpls-zte-ac-vlan2000)#access-params ethernet
c650(config-vpls-zte)#pseudo-wire pw2 split-horizon
c650(config-vpls-zte-pw-pw1)#neighbour 10.0.250.252 vcid 101
c650(config-vpls-zte-pw-pw1-neighbour)#encapsulation tagged
Validando as configurações.

ZTE-c650#show ip forwarding route


IPv4 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes : BROADC: Broadcast, USER-I: User-ipaddr, USER-S: User-special,
MULTIC: Multicast, USER-N: User-network, DHCP-D: DHCP-DFT,
ASBR-V: ASBR-VPN, STAT-V: Static-VRF, DHCP-S: DHCP-static,
GW-FWD: PS-BUSI, NAT64: Stateless-NAT64, LDP-A: LDP-area,
GW-UE: PS-USER, P-VRF: Per-VRF-label, TE: RSVP-TE, NAT-M : NAT-mask
BP: BRAS-pool, HAGP: Hybrid-access-gateway-protocol;
Status codes: *valid, >best, R: Relay;
Dest Gw Interface Owner Pri Metric
*> 0.0.0.0/0 172.16.250.238 vlan250 Static 1 0
*> 3.3.3.0/24 10.10.82.1 vlan210 OSPF 110 21
*> 10.0.250.102/32 10.10.82.2 vlan210 OSPF 110 2
*> 10.0.250.249/32 10.0.250.249 loopback1 Address 0 0
*> 10.0.250.252/32 172.16.250.237 vlan250 OSPF 110 1
*> 10.0.250.253/32 10.10.82.1 vlan210 OSPF 110 11
*> 10.0.250.254/32 10.10.82.1 vlan210 OSPF 110 21
*> 10.0.250.255/32 10.10.82.7 vlan210 OSPF 110 1
*> 10.10.79.0/24 10.10.82.1 vlan210 OSPF 110 11
*> 10.10.81.0/24 10.10.82.1 vlan210 OSPF 110 21
*> 10.10.82.0/24 10.10.82.10 vlan210 Direct 0 0
*> 10.10.82.10/32 10.10.82.10 vlan210 Address 0 0
*> 10.10.88.0/24 10.10.82.1 vlan210 OSPF 110 11
*> 10.100.102.0/24 10.10.82.1 vlan210 OSPF 110 11
*> 100.64.16.0/20 10.10.82.1 vlan210 OSPF 110 11
*> 172.16.0.0/24 10.10.82.1 vlan210 OSPF 110 11
*> 172.16.33.0/24 10.10.82.1 vlan210 OSPF 110 21
*> 172.16.250.224/28 172.16.250.234 vlan250 Direct 0 0
*> 172.16.250.234/32 172.16.250.234 vlan250 Address 0 0
*> 172.16.250.252/30 10.10.82.1 vlan210 OSPF 110 11
*> 172.20.200.0/30 10.10.82.1 vlan210 OSPF 110 21
*> 172.22.200.0/30 10.10.82.1 vlan210 OSPF 110 21
*> 172.31.255.0/24 10.10.82.1 vlan210 OSPF 110 11
*> 186.225.97.160/30 10.10.82.1 vlan210 OSPF 110 31
*> 192.168.12.0/24 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.13.0/24 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.16.0/24 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.16.101/32 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.16.102/32 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.16.104/32 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.16.105/32 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.16.106/32 10.10.82.1 vlan210 OSPF 110 21
*> 192.168.16.107/32 10.10.82.1 vlan210 OSPF 110 21
--More--
ZTE-c650#show mpls forwarding-table
Local Outgoing Prefix or Outgoing Next Hop M/S
label label Lspname interface
207024 Untagged 0.0.0.0/0 vlan250 172.16.250.238 M
207025 Untagged 10.0.250.102/32 vlan210 10.10.82.2 M
207026 Poptag 10.0.250.252/32 vlan250 172.16.250.237 M
207027 Untagged 10.0.250.253/32 vlan210 10.10.82.1 M
207028 Untagged 10.0.250.255/32 vlan210 10.10.82.7 M
207029 Untagged 10.0.250.254/32 vlan210 10.10.82.1 M
207030 Untagged 192.168.16.160/32 vlan210 10.10.82.1 M
207031 Untagged 192.168.16.159/32 vlan210 10.10.82.1 M
207032 Untagged 192.168.16.158/32 vlan210 10.10.82.1 M

ZTE-c650#show l2vpn forwardinfo


Headers: PWType - Pseudo Wire type and Pseudo Wire connection mode
Llabel - Local label, Rlabel - Remote label
VPNowner - Owner type and instance name
Codes : H - HUB mode, S - SPOKE mode, L - VPLS, W - VPWS, M - MSPW
MO - MONITOR, AL - Admin-VPLS, $pw - auto_pw, R - RING-TREE
B - bridge-domain, C - VPWS-COMMUNITY

PWName PeerIP FEC PWType State Llabel Rlabel VPNowner


pw2 10.0.250.252 128 VLAN H UP 207124 16485 L:c650

ZTE-c650#show l2vpn brief


VPLS count:1 VPWS count:0 VLSS count:0 MSPW count:0
MONITOR count:0 Admin-VPLS count:0 RING-TREE count:0
VPWS-COMMUNITY count:0 VPWS-VXLAN count:0
name type Default-VCID PW AC description
c650 VPLS - 1 1
ZTE-c650#sh
ZTE-c650#show mac vlan 1000
Total mac address : 2

Mac address Vlan Type Port Vc


-------------------------------------------------------------------------------
3042.407f.f727 1000 Dynamic vport-1/3/1.19:1
cc2d.e0c2.5158 1000 Dynamic AC-vlan1000
ZTE-c650#sh gpon rem
ZTE-c650#sh gpon remote-onu wa
ZTE-c650#sh gpon remote-onu wan-
ZTE-c650#sh gpon remote-onu wan-ip gpo
ZTE-c650#sh gpon remote-onu wan-ip gpon_onu-1/3/1:19
WAN index: 1
Mode: PPPoE
Authentication: auto
Username: badam
Password: badam
Service name:
Status: connected
Ping response: enable
Traceroute response: disable
VLAN tag mode: tag
CVLAN: 1000
CVLAN priority: 0
SVLAN: 0
Current IP: 192.168.16.194
Current mask: 255.255.255.255
Current gateway: 192.168.16.254
Current primary DNS: 10.10.88.200
Current secondary DNS: 8.8.8.8
Domain name:
Host name: omci_ipv4_pppoe_1
MAC address: 3042.407f.f727
IP host ID: 1

You might also like