Está en la página 1de 76

AMERICA MOVIL PERU

Guía de Integración de

CellSite Router

Subdirección de Planificación de Red

Planificación Red Datos

Agosto 2019 v1.12


Elaborado Aprobado
Versión Fecha Observación
por por
1.0 Victor Ortiz J. Francia 04/12/18 Versión inicial Guia de configuración Equipos ATN910 Huawei
1.1 Victor Ortiz J. Francia 28/12/18 Actualización de QoS para WAN
1.2 Victor Ortiz J. Francia 09/01/19 Actualización de QoS para servicios
1.3 Victor Ortiz J. Francia 07/03/19 Actualización de QoS para servicios, comandos de validacion, Configuracion
TWAN
1.4 Victor Ortiz J. Francia 18/03/19 Actualización Puertos Eth-Trunk
1.5 Victor Ortiz J. Francia 27/03/19 Actualización MTU, Configuracion del Pre agregador (AgMPLS)
1.6 Victor Ortiz J. Francia 10/04/19 Actualización activación de licencias en puertos, Habilitacion de rCSR por Tx
Arrendado
1.7 Victor Ortiz J. Francia 12/04/19 Actualización habilitación de rCSR en Pre agregadores (IXR-R6, SAR-8, SAR-
8v2)
1.8 Victor Ortiz J. Francia 03/05/19 Actualización habilitación de rCSR por Tx MW (Pre agregador IPRAN)
1.9 Victor Ortiz J. Francia 10/06/19 Actualización de prefijos Redes_S1-U_Core y Redes_MME,
Actualización de políticas de QoS para integración de router por Tx MW y
arrendado
Actualización de QoS de la WAN
1.10 Victor Ortiz J. Francia 11/07/19 Actualización pre agregación cMPLS
1.11 Gerson Ugarte J. Francia 12/08/19 Actualización pre agregación Huawei
1.12 Gerson Ugarte J. Francia 23/08/19 Actualización Configuración Equipos NE40-M2H Huawei

Page 2
TABLA DE CONTENIDOS

TABLA DE CONTENIDOS ......................................................................................................................... 3


1. INTRODUCCIÓN .......................................................................................................................... 4
1.1. OBJETIVO ............................................................................................................................... 4
1.2. ALCANCE ................................................................................................................................. 4
1.3. Equipos de Acceso ................................................................................................................... 4
1.4. TOPOLOGÍA..............................................................................................................................
2. PROCEDIMIENTO DE CONFIGURACION FAMILIA ATN .................................................................... 5
2.1. CONFIGURACIÓN ..................................................................................................................... 5
2.1.1. CONFIGURACIÓN DE SISTEMA BÁSICA ................................................................................................ 5
 Nombre del Router ........................................................................................................................................ 5
 Configuración del nombre del archivo de configuración .......................................................................... 6
 Servidores SSH,Telnet y FTP ........................................................................................................................ 6
 Creación del Cliente Local............................................................................................................................. 6
 Guardar configuración ................................................................................................................................... 6
2.1.2. CONFIGURACIÓN DE GESTIÓN .............................................................................................................. 7
 Loopback de Gestión ..................................................................................................................................... 7
 Loopback de System ..................................................................................................................................... 7
 Loopback de ptp ............................................................................................................................................ 7
 TACACS ........................................................................................................................................................... 7
 Configuración de Source-Address................................................................................................................ 7
 TACACS ........................................................................................................................................................... 7
 Syslog .............................................................................................................................................................. 8
 NTP .................................................................................................................................................................. 9
 PTP ................................................................................................................................................................... 9
 SNMP ............................................................................................................................................................. 10
2.1.3. CONFIGURACIÓN FÍSICA....................................................................................................................... 11
 Puerto Network ............................................................................................................................................ 11
 Puerto Ether-trunk ....................................................................................................................................... 11
2.1.4. CONFIGURACIÓN DE INTERFAZ........................................................................................................... 11
2.1.5. Configuración QoS para WAN .............................................................................................................. 12
2.1.6. Configuración IGP para acceso IPRAN ................................................................................................. 12
2.1.7. Configuración IGP para acceso AgMPLS .............................................................................................. 13
2.1.8. Configuración MPLS ............................................................................................................................... 15
2.1.9. Configuración MPLS sobre IPRAN ......................................................................................................... 16
2.1.10. Configuración MPLS sobre AgMPLS ...................................................................................................... 16
2.1.11. Configuración BGP .................................................................................................................................. 16
2.1.12. Configuración TWAN .............................................................................................................................. 16
2.1.13. Configuración de servicios moviles ....................................................................................................... 19
 Servicios 2G .................................................................................................................................................. 19
 Servicios 3G ........................................................................................................................... 22
 Servicios 4G / TDD ................................................................................................................. 24
2.1.14. Configuración de la VRF 10050 y 250 .................................................................................................. 43
2.2. CONFIGURACION PARA EL PRE AGREGADOR ........................................................................................ 47
2.2.1. Pre Agregador IPRAN ............................................................................................................................. 57
2.2.2. Pre Agregador AgMPLS Cisco .............................................................................................. 69
2.2.3. Pre Agregador CMPLS Cisco ................................................................................................ 71
2.2.4. Pre Agregador Huawei ………………………………………………………....................................74
2.2.5. Configuración de los RR .................................................................................................... 76

Page 3
1. INTRODUCCIÓN

1.1. Objetivo
El propósito de este documento es de proveer el procedimiento a ser seguido para integrar los rCSR a
la red de acuerdo a los requerimientos.
Este documento refleja la información disponible en el tiempo de elaboración del mismo, se irá
trabajando sobre el este sujeto a un control de cambios regular.
1.2. Alcance
Este documento incluye la configuración a ser aplicada en los equipos de acceso
 Configuración básica de sistema.
 Configuración física
 Configuración de interfaz
 Configuración IGP
 Configuración MPLS
 Configuración BGP
 Configuración de QoS

1.3. Equipos de acceso


Esta Guia contempla la configuracion de los siguientes equipos
- ATN910 Huawei
- NE40E-M2H Huawei
1.4. Topología
Las configuraciones son detalladas de acuerdo a la siguiente topología de red:

NE40E-M2H

Page 4
2. PROCEDIMIENTO DE CONFIGURACION FAMILIA ATN – NE40

2.1. Configuración para el ATN910 – NE40


2.1.1. Configuración de sistema básica
 Nombre del Router

<Huawei> system-view
[Huawei] sysname <hostname>
[Huawei] quit
<Huawei> save
 Servidores SSH,Telnet y FTP.

<Huawei> system-view
[Huawei] aaa
[Huawei] local-user <user-name> password irreversible-cipher <password>
[Huawei] local-user <user-name> service-type ftp telnet ssh
[Huawei] command-privilege level rearrange
[Huawei] local-user <name-user> level 15
[Huawei] local-user <user-name> state block fail-times 3 interval 5
[Huawei] local-user <user-name> ftp-directory cfcard:
[Huawei] local-user <user-name> user-group manage-ug

[Huawei] stelnet server enable


[Huawei] snetconf server enable
[Huawei] ssh authentication-type default password

[Huawei] ftp client-source -i LoopBack1


[Huawei] sftp client-source -i LoopBack1
[Huawei] sftp server enable

Comando para ver la lista de usuarios locales


<HUAWEI> display local-user
-------------------------------------------------------------
Username State Type Access-limit Online
-------------------------------------------------------------
aaa@163 Active All 1 0
aaa Active All No 0
-------------------------------------------------------------
Total 2,2 printed

 Creación del Cliente Local

acl number 2001


rule 10 permit source 172.19.212.0 0.0.0.255
rule 50 permit source 172.19.216.0 0.0.0.255
rule 100 permit source 10.192.16.0 0.0.3.255
rule 150 permit source 10.235.0.0 0.0.255.255
rule 1000 deny

Page 5
user-interface con 0
authentication-mode password (Al aplicar este commando te solicitara colocar el
password)

user-interface vty 0 4
authentication-mode aaa
user privilege level 15
acl 2001 inbound
protocol inbound ssh

Comando para ver información sobre el user-interface actualmente utilizada.


<HUAWEI> display users
User-Intf Delay Type Network Address AuthenStatus AuthorcmdFlag
34 VTY 0 00:00:12 TEL 10.138.77.38 no
Username : Unspecified
+ 35 VTY 1 00:00:00 TEL 10.138.77.57 no
Username : Unspecified

 Guardar configuración
<Huawei> save

- Considerar la siguente version del sitema operative del ATN910C: V300R003C10SPC500

- Las licencias de puertos se encuentran cargadas en el equipo, considerar los siguientes comandos
para la habilitacion de los puertos

system-view

license

active port-basic slot slot-id port port-list

undo active port-basic slot slot-id [ port port-list ]

Validacion:

display license [ verbose ]

Lista de parámetros de configuración básica de sistema

Nombre del CSR que debe ser indicado a través de la siguiente definición:
<hostname>
rCSRsitename donde sitename es el nombre del site en donde el CSR esta
instalado.
<user-name> Login ID del usuario local (admin).

<password> Password del usuario local.

Page 6
2.1.2. Configuración de Gestión

 Loopback de Gestión

<Huawei> system-view
[Huawei] interface LoopBack1
[Huawei] description <management-ip-address>
[Huawei] ip address <ip> <mask>

 Loopback System

<Huawei> system-view
[Huawei] interface LoopBack0
[Huawei] description <System-ip-address>
[Huawei] ip address <ip> <mask>

 Loopback ptp

<Huawei> system-view
[Huawei] interface LoopBack2
[Huawei] description <ptp1588-ip-address>
[Huawei] ip address <ip> <mask>

 TACACS y Privilegios de usuarios

<Huawei> system-view
[Huawei] aaa
authentication-scheme default0
authentication-scheme default1
authentication-scheme default
authentication-mode local radius
authentication-scheme hwtacacs
authentication-mode local hwtacacs
authorization-scheme default
authorization-scheme hwtacacs
authorization-mode local hwtacacs
accounting-scheme default0
accounting-scheme default1
accounting-scheme hwtacacs
accounting-mode hwtacacs
domain default0
domain default1
domain default_admin
authentication-scheme hwtacacs
authorization-scheme hwtacacs
accounting-scheme hwtacacs
hwtacacs-server claro_aaa
recording-scheme hwtacacs
recording-mode hwtacacs claro_aaa
system recording-scheme hwtacacs
outbound recording-scheme hwtacacs
cmd recording-scheme hwtacacs
commit

[Huawei] hwtacacs-server template claro_aaa


hwtacacs-server authentication 172.19.216.46

Page 7
hwtacacs-server authentication 172.19.216.42 secondary
hwtacacs-server authorization 172.19.216.46
hwtacacs-server authorization 172.19.216.42 secondary
hwtacacs-server accounting 172.19.216.46
hwtacacs-server accounting 172.19.216.42 secondary
hwtacacs-server source-ip <ip loopback Gestion>
hwtacacs-server shared-key cipher ciscoman

command-privilege level 1 view global display cpu


command-privilege level 1 view global display cpu-monitor
command-privilege level 1 view global display current-configuration
command-privilege level 1 view global display event
command-privilege level 1 view global display info-center
command-privilege level 1 view shell display inventory
command-privilege level 1 view global display logbuffer
command-privilege level 1 view global display logfile
command-privilege level 1 view global display memory-monitor
command-privilege level 1 view global display saved-configuration
command-privilege level 1 view global display scp-client
command-privilege level 1 view global display security
command-privilege level 1 view global display sftp-client
command-privilege level 1 view global display snmp-agent
command-privilege level 1 view global display ssh
command-privilege level 1 view global display task
command-privilege level 1 view global display task-group
command-privilege level 1 view global display telnet
command-privilege level 1 view global display telnet-client
command-privilege level 1 view global display tftp-client
command-privilege level 1 view global display trapbuffer
command-privilege level 1 view shell display upgrade
command-privilege level 1 view global display user-interface

Comando para ver información sobre la plantilla del servidor HWTACACS


<HUAWEI> display hwtacacs-server template <name>
--------------------------------------------------------------------------
HWTACACS-server template name : ht
Primary-authentication-server : 129.7.66.66:49
Primary-accounting-server : 129.7.66.66:49
Secondary-authentication-server : 129.7.66.67:49
Current-authorization-server : 129.7.66.66:49
Current-accounting-server : 129.7.66.66:49
Source-IP-address : 0.0.0.0
Shared-key : ******
Quiet-interval (min) : 5
Response-timeout-Interval (sec) : 5
Domain-included : Yes
Traffic-unit : B

Page 8
 Syslog

<Huawei> system-view
[Huawei] info-center loghost source <LoopBack Gestion>
info-center loghost 172.19.216.31 local-time
info-center loghost 172.19.216.52 local-time
info-center loghost 172.19.216.60 local-time
info-center loghost 172.19.216.61 local-time

Comando para ver información sobre la configuración del log host.

<HUAWEI> display info-center


Information Center:enabled
Log host:
the interface name of the source address:gigabitethernet0/3/0
10.1.1.1, channel number 2, channel name loghost,
language english , host facility
local2
10.1.1.3, channel number 2, channel name loghost,
language english , host facility
Console:
channel number : 0, channel name : console
Monitor:
channel number : 1, channel name : monitor
SNMP Agent:
channel number : 5, channel name : snmpagent
Log buffer:
enabled,max buffer size 1024, current buffer size 512,
current messages 50, channel number : 4, channel name : logbuffer
dropped messages 13, overwritten messages 3
Trap buffer:
log - date, trap - date, debug - boot

Sent messages = 683, Received messages = 682

IO Reg messages = 0 IO Sent messages = 0


 NTP
<Huawei> system-view
ntp-service server disable
ntp-service ipv6 server disable
ntp-service source-interface <LoopBack Gestion>
ntp-service unicast-server 172.19.216.34 version 2
clock timezone GMT minus 05:00:00

Comando para ver información sobre el status del servicio ntp.

<HUAWEI> display ntp-service status


clock status: synchronized
clock stratum: 2
reference clock ID: LOCAL(0)
nominal frequency: 60.0002 Hz
actual frequency: 60.0002 Hz
clock precision: 2^18
root delay: 0.00 ms
root dispersion: 0.00 ms
peer dispersion: 10.00 ms
reference time: 15:51:36.259 UTC Apr 25 2010(C6179088.426490A3)

Page 9
 PTP

system-view
interface loopback 2
description loopback_ptp1588
ip address <ip-loopback> <mask>
quit

ptp-adaptive enable
ptp-adaptive device-type client
ptp-adaptive domain 10
ptp-adaptive local-ip <ip-loopback ptp>
ptp-adaptive acr two-way unicast-negotiate enable
ptp-adaptive remote-server1-ip <Server ptp primario>
ptp-adaptive remote-server2-ip <Server ptp secundario>

Los servidores PTP se asignan según la Guía de sincronización

- Comandos para validar

display ptp-adaptive all

 SNMP

<config> system-view

acl number 2000


rule 10 permit source 172.19.212.0 0.0.0.255
rule 50 permit source 172.19.216.0 0.0.0.255
rule 100 permit source 10.192.17.0 0.0.0.255
rule 1000 deny

snmp-agent
snmp-agent community write cipher Perl3t5 acl 2000
snmp-agent sys-info contact Claro - OM Team
snmp-agent sys-info location <location name> Peru
snmp-agent sys-info version v2c v3
snmp-agent community complexity-check disable
snmp-agent target-host trap address udp-domain 172.19.216.60 params securityname
cipher netadmro v2c
snmp-agent target-host trap address udp-domain 172.19.216.61 params securityname
cipher netadmro v2c
snmp-agent mib-view included iso iso
snmp-agent mib-view included iso-view iso
snmp-agent trap source <Loopback Gestion>
#
snmp-agent trap enable

Page 10
Comando para ver información sobre la comunidad snmp.

<HUAWEI> display snmp-agent community


Community name:adminnms2
Group name:adminnms2
Acl:2000
Storage-type: nonVolatile

<HUAWEI> display snmp-agent target-host


Target-host NO. 1
-----------------------------------------------------------
IP-address : 1.1.1.2
VPN instance : -
Security name : 1.1.2.1
Port : 162
Type : trap
Version : v1
Level : No authentication and privacy
NMS type : NMS
With ext-vb: : No
-----------------------------------------------------------

<HUAWEI> display trapbuffer


Trapping buffer configuration and contents : enabled
Allowed max buffer size : 1024
Actual buffer size : 256
Channel number : 3 , Channel name : trapbuffer
Dropped messages : 0
Current messages : 98

#Oct 11 2011 18:57:59+00:00 HUAWEI DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011


.5.25.191.3.1 configurations have been changed. The current change number is 95,
the change loop count is 0, and the maximum number of records is 4095.

2.1.3. Configuración física


 Puerto Network

<Huawei> system-view
interface <Eth-Port-ID>
description <string>
mtu <value>
set flow-stat interval 30
control-flap
undo icmp name net-unreachable send
undo icmp name port-unreachable send
undo dcn

 Puerto Eth-Trunk Static LACP

<Huawei> system-view
[Huawei] interface Eth-Trunk <trunk-id>
description <description cnx>
mode lacp-static
mtu <value>
set flow-stat interval 30
control-flap
undo icmp name net-unreachable send
undo icmp name port-unreachable send

Page 11
undo dcn

- Para los valores del MTU considerer la siguiente:


o Routers que se integran a un IPRAN considear el MTU de 2008
o Routers que se integran a un AgMPLS considerar el MTU de 9180
o Routers que se integran a un cMPLS considear el MTU de 1934
- Considerar 4 bytes adicionales en caso de MW, 2008 en caso de los rCSR Huawei

interface GigabitEthernet0/X/Y
undo shutdown
eth-trunk <trunk-id>
undo dcn
carrier down-hold-time 750
carrier up-hold-time 500

- Para los Eth-Trunk considerar esta solucion para enlaces nx1G


- Para los Escenarios Eth-Trunk que se integran a un AgMPLS/cMPLS no se requerirá el uso de
VLAN

2.1.4. Configuración de interfaz


<Huawei> system view
interface GigabitEthernet0/X/Y
ip address <ip address> <mask>
undo shutdown

 Configuracion de interfaz VLAN

interface Vlanif<VLAN-ID>
description <string>
mtu <value>
set flow-stat interval 30
control-flap
undo icmp name net-unreachable send
undo icmp name port-unreachable send
undo dcn

 Configuracion de Sub Interfaz

interface GigabitEthernet0/X/Y.<VLAN-ID>
vlan-type dot1q <VLAN-ID>
description <string>
mtu <value>
set flow-stat interval 30
control-flap
undo icmp name net-unreachable send
undo icmp name port-unreachable send
undo dcn

Page 12
Lista de parámetros de configuración de interfaz

Dirección IP para la interfaz de sistema que trabaja como loopback ID de los


<system-ip-
protocolos del plano de control.
address>
<interface- Nombre de la interfaz que indica a que equipo esta conectado
name> lógicamente.

<ip-address> Dirección IP de la interfaz.

<trunk-id> El Eth-Trunk ID es configurado dentro del rango de 0 a 63.

2.1.5. QoS para la WAN

port-wred best_effort
color green low-limit 50 high-limit 100 discard-percentage 100
color yellow low-limit 40 high-limit 90 discard-percentage 100
color red low-limit 30 high-limit 80 discard-percentage 100

port-wred low-priority
color green low-limit 60 high-limit 100 discard-percentage 100
color yellow low-limit 50 high-limit 90 discard-percentage 100
color red low-limit 40 high-limit 80 discard-percentage 100

port-wred high_priority
color green low-limit 60 high-limit 100 discard-percentage 100
color yellow low-limit 50 high-limit 90 discard-percentage 100
color red low-limit 40 high-limit 80 discard-percentage 100

diffserv domain 104-in


ip-dscp-outbound be green map 0
ip-dscp-inbound 46 phb ef green
ip-dscp-inbound 8 phb af1 green
ip-dscp-inbound 12 phb af2 green
ip-dscp-inbound 18 phb af2 green
ip-dscp-inbound 32 phb af4 green
ip-dscp-inbound 40 phb ef green
ip-dscp-inbound 48 phb cs6 green
ip-dscp-inbound 56 phb cs7 green
ip-dscp-inbound 10 phb af1 green
ip-dscp-inbound 12 phb af1 green
ip-dscp-inbound 14 phb af1 green
ip-dscp-inbound 18 phb af2 green
ip-dscp-inbound 20 phb af1 green
ip-dscp-inbound 22 phb af2 green
ip-dscp-inbound 26 phb af1 green
ip-dscp-inbound 28 phb af2 green
ip-dscp-inbound 30 phb af2 green
ip-dscp-inbound 34 phb af4 green
ip-dscp-inbound 36 phb af4 green
ip-dscp-inbound 38 phb af4 green
mpls-exp-outbound be green map 0
mpls-exp-inbound 1 phb af1 green
mpls-exp-inbound 2 phb af1 green
mpls-exp-inbound 3 phb af3 green
mpls-exp-inbound 4 phb af4 green
mpls-exp-inbound 5 phb ef green

Page 13
mpls-exp-inbound 6 phb cs6 green
mpls-exp-inbound 7 phb cs7 green

Para interfaz de 1G / 10G

interface GigabitEthernet0/X/Y

trust upstream 104-in


port-queue be wfq weight 5 port-wred best_effort outbound
port-queue af1 wfq weight 20 port-wred low-priority outbound
port-queue af2 wfq weight 5 port-wred high_priority outbound
port-queue af3 wfq weight 5 outbound
port-queue af4 wfq weight 5 outbound
port-queue ef pq shaping shaping-percentage 40 port-wred voice outbound
port-queue cs6 pq shaping shaping-percentage 20 port-wred signaling outbound

- Para las interfaces Eth-Trunk la configuracion del QoS se realizara en cada puerto asociado al
Eth-Trunk, la asignacion de puertos se indicaran en el format de programacion

interface GigabitEthernet0/X/Y

trust upstream 104-in


port-queue be wfq weight 5 port-wred best_effort outbound
port-queue af1 wfq weight 20 port-wred low-priority outbound
port-queue af2 wfq weight 5 port-wred high_priority outbound
port-queue af3 wfq weight 5 outbound
port-queue af4 wfq weight 5 outbound
port-queue ef pq shaping shaping-percentage 40 port-wred voice outbound
port-queue cs6 pq shaping shaping-percentage 20 port-wred signaling outbound

- Para escenarios donde usaremos Tx Arrendada (Azteca, Gilat, Internexa, TdP, Etc), consdierar la
siguiente configuracion

flow-queue IP-RAN-Tx-Arrendado-<BW de la Tx>


queue be wfq weight 5
queue af1 wfq weight 20
queue af2 wfq weight 5
queue af3 wfq weight 5
queue af4 wfq weight 5
queue ef pq shaping <40% del BW de la capacidad de la Tx>
queue cs6 pq shaping <20% del BW de la capacidad de la Tx>

qos-profile IP-RAN-Tx-Arrendado-<BW de la Tx>-OUT


user-queue cir <BW de la Tx> pir <BW de la Tx> flow-queue IP-RAN-Tx-Arrendado-
<BW de la Tx>

interface GigabitEthernet0/X/Y.<VLAN-ID>
qos-profile IP-RAN-Tx-Arrendado-<BW de la Tx>-OUT outbound

- Para escenarios donde usaremos Tx por MW, consdierar la siguiente configuracion

flow-queue IP-RAN-MW-<BW del MW>


queue be wfq weight 5
queue af1 wfq weight 10

Page 14
queue af2 wfq weight 3
queue af3 wfq weight 2
queue af4 wfq weight 5
queue ef pq shaping <50% del BW de la capacidad del MW>
queue cs6 pq shaping <25% del BW de la capacidad del MW>

qos-profile IP-RAN-MW-<BW del MW>-OUT


user-queue cir <BW del MW> pir <BW del MW> flow-queue IP-RAN-MW-<BW del MW>

interface GigabitEthernet0/X/Y.<VLAN-ID>
qos-profile IP-RAN-MW-<BW del MW>-OUT outbound

-Tener en cuenta para los casos de rCSR -

2.1.6. Configuración IGP para acceso IPRAN


Para el caso de equipos ATN910 de interfaz de 1G se utilizará el puerto 0/2/19 y
para 10G se utilizará el puerto 0/2/3.
Para el caso de equipos NE40 de interfaz de 1G se utilizará el puerto 0/2/1 y
para 10G se utilizará el puerto 0/2/0.

<Huawei> system-view
[Huawei] router id <Loopback System>

Para interfaz de 1G

ospf <process-id>
silent-interface all
undo silent-interface GigabitEthernet0/X/Y
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network WAN> <wilcard> description <description>

interface GigabitEthernet0/X/Y
description <string>
ip address <ip address> <mask>
mtu 2008
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

Para interfaz de 10G

ospf <process-id>
silent-interface all
undo silent-interface GigabitEthernet0/X/Y
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network WAN> <wilcard> description <description>

interface GigabitEthernet0/X/Y
description <string>

Page 15
ip address <ip address> <mask>
mtu 2008
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

Para interfaz Eth-Trunk

ospf <process-id>
silent-interface all
undo silent-interface Eth-Trunk<trunk-id>
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network WAN> <wilcard> description <description>

interface Eth-Trunk<trunk-id>
description <string>
mtu 2008
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

Para las interfaces Eth-Trunk la configuracion del QoS se realizara en cada puerto asociado
al Eth-Trunk
Para los Eth-Trunk considerar esta solucion para enlaces nx1G, los demas puertos se
asignara en el formato de programacion

El equipo de acceso se habilitara con OSPF, LDP y BGP hacia el pre agregador
Los datos del pre agregador se indicaran en el formato de programación

- Configurar la siguiente ruta estatica

ip route-static 10.0.0.0 255.0.0.0 <IP-WAN-next-hop>

- Para Tx por MW
interface GigabitEthernet0/X/Y
trust upstream 104-in
description <string>

interface GigabitEthernet0/X/Y.<VLAN-ID>
vlan-type dot1q <VLAN-ID>
mtu 2008

Page 16
qos-profile IP-RAN-MW-<BW del MW>-OUT outbound
description <string>
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf <process-id>
undo silent-interface GigabitEthernet0/X/Y.<VLAN-ID>
silent-interface all
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

2.1.7. Configuración IGP para acceso AgMPLS


Para el caso de equipos ATN910 de interfaz de 1G se utilizará el puerto 0/2/19 y
para 10G se utilizará el puerto 0/2/3.
Para el caso de equipos NE40 de interfaz de 1G se utilizará el puerto 0/2/1 y
para 10G se utilizará el puerto 0/2/0.

[Huawei] router id <Loopback System>

Para interfaz de 1G

interface GigabitEthernet0/X/Y
description <string>
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf <process-id>
undo silent-interface GigabitEthernet0/X/Y
silent-interface all
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

Para interfaz de 10G

interface GigabitEthernet0/X/Y
description <string>
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync

Page 17
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf <process-id>
silent-interface all
undo silent-interface GigabitEthernet0/X/Y
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

Para interfaz Eth-Trunk

interface Eth-Trunk<trunk-id>
description <string>
mtu 9180
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf <process-id>
silent-interface all
undo silent-interface Eth-Trunk<trunk-id>
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

Para las interfaces Eth-Trunk la configuracion del QoS se realizara en cada


puerto asociado al Eth-Trunk

Para los Escenarios Eth-Trunk que se integrean a un AgMPLS/cMPLS no se requerira


el uso de Sub Interfaces

Para los Eth-Trunk considerar esta solucion para enlaces nx1G, los demas puertos
se asignara en el formato de programacion

- Configurar la siguiente ruta estatica

ip route-static 10.0.0.0 255.0.0.0 <IP-WAN-next-hop>

2.1.8. Configuración IGP para acceso cMPLS


Para el caso de equipos ATN910 de interfaz de 1G se utilizará el puerto 0/2/19 y
para 10G se utilizará el puerto 0/2/3.
Para el caso de equipos NE40 de interfaz de 1G se utilizará el puerto 0/2/1 y
para 10G se utilizará el puerto 0/2/0.

Page 18
[Huawei] router id <Loopback System>

Para interfaz de 1G

interface GigabitEthernet0/X/Y
mtu 1934
description <string>
trust upstream 104-in
port-queue be wfq weight 5 port-wred best_effort outbound
port-queue af1 wfq weight 20 port-wred low-priority outbound
port-queue af2 wfq weight 5 port-wred high_priority outbound
port-queue af3 wfq weight 5 outbound
port-queue af4 wfq weight 5 outbound
port-queue ef pq shaping 400000 port-wred voice outbound
port-queue cs6 pq shaping 200000 port-wred signaling outbound

interface GigabitEthernet0/X/Y.<VLAN ID>


description <string>
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf <process-id>
undo silent-interface GigabitEthernet0/X/Y.<VLAN ID>
silent-interface all
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

Para interfaz de 10G

interface GigabitEthernet0/X/Y
mtu 1934
description <string>
trust upstream 104-in
port-queue be wfq weight 5 port-wred best_effort outbound
port-queue af1 wfq weight 20 port-wred low-priority outbound
port-queue af2 wfq weight 5 port-wred high_priority outbound
port-queue af3 wfq weight 5 outbound
port-queue af4 wfq weight 5 outbound
port-queue ef pq shaping 4000000 port-wred voice outbound
port-queue cs6 pq shaping 2000000 port-wred signaling outbound

interface GigabitEthernet0/X/Y.<VLAN ID>


description <string>
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

Page 19
ospf <process-id>
silent-interface all
undo silent-interface GigabitEthernet0/X/Y.<VLAN ID>
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

Para interfaz Eth-Trunk

interface Eth-Trunk<trunk-id>
description <string>
mtu 1934
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf <process-id>
silent-interface all
undo silent-interface Eth-Trunk<trunk-id>
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

Para las interfaces Eth-Trunk la configuracion del QoS se realizara en cada


puerto asociado al Eth-Trunk

Para los Escenarios Eth-Trunk que se integrean a un AgMPLS/cMPLS no se requerira


el uso de Sub Interfaces

Para los Eth-Trunk considerar esta solucion para enlaces nx1G, los demas puertos
se asignara en el formato de programacion

- Configurar la siguiente ruta estatica

ip route-static 10.0.0.0 255.0.0.0 <GW-VLAN 13>

Lista de parámetros de configuración IGP

<area-id> Área OSPF en donde el CSR será instalado.

<router-id> Identificador del router dentro de la red OSPF.

<process-id> Proceso id del protocolo OSPF.

Page 20
Comando para ver información sobre los neighbors establecidos.

 display ospf [ process-id ] peer


 display ospf [ process-id ] routing
 display ospf [ process-id ] lsdb [ brief ]

<HUAWEI> display ospf peer


OSPF Process 1 with Router ID 10.1.1.2

Neighbors

Area 0.0.0.0 interface 10.1.1.2(GigabitEthernet0/3/0)'s neighbors


Router ID: 10.1.1.1 Address: 10.1.1.1 GR State: Normal
State: Full Mode:Nbr is Slave Priority: 1
DR: 10.1.1.1 BDR: None MTU: 0
Dead timer due in 35 sec
Retrans timer interval: 5
Neighbor is up for 00:00:05
Authentication Sequence: [ 0 ]

2.1.9. Configuracion de IGP para escenario con Tx Arrendado


Para el caso de equipos ATN910 de interfaz de 1G se utilizará el puerto 0/2/19 y
para 10G se utilizará el puerto 0/2/3.
Para el caso de equipos NE40 de interfaz de 1G se utilizará el puerto 0/2/1 y
para 10G se utilizará el puerto 0/2/0.

interface GigabitEthernet0/X/Y
description <string>
trust upstream 104-in

interface GigabitEthernet0/X/Y.<VLAN-ID>
mtu 2008
qos-profile IP-RAN-MW-<BW del MW>-OUT outbound
vlan-type dot1q <VLAN-ID>
description <string>
ip address <ip address> <mask>
ospf authentication-mode md5 1 cipher B&k9DO%d4
ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf <process-id>
undo silent-interface GigabitEthernet0/X/Y.<VLAN-ID>
silent-interface all
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network> <wilcard> description <description>

Page 21
2.1.10. Configuración MPLS

<Huawei> system-view
mpls lsr-id <loopback system>

mpls

mpls ldp
backoff timer 5 10
md5-password cipher <system del pre agregador> B&k9DO%d4
graceful-restart
graceful-restart timer reconnect 120
propagate mapping for ip-prefix Core

ip ip-prefix Core index 10 permit 10.95.253.0 24 greater-equal 32


ip ip-prefix Core index 15 permit 10.140.0.0 24 greater-equal 32
ip ip-prefix Core index 20 permit 10.140.7.0 24 greater-equal 32
ip ip-prefix Core index 25 permit 10.140.8.0 24 greater-equal 32
ip ip-prefix Core index 30 permit 10.192.16.0 22
ip ip-prefix Core index 35 permit 10.252.1.96 29
ip ip-prefix Core index 40 permit 10.252.2.96 29
ip ip-prefix Core index 45 permit 10.252.12.96 29
ip ip-prefix Core index 50 permit 10.252.13.96 29
ip ip-prefix Core index 55 permit 10.252.17.96 29
ip ip-prefix Core index 60 permit 10.252.18.96 29
ip ip-prefix Core index 65 permit 10.252.19.96 29
ip ip-prefix Core index 70 permit 10.252.24.96 29
ip ip-prefix Core index 75 permit 10.252.25.96 29
ip ip-prefix Core index 80 permit 10.252.26.96 29
ip ip-prefix Core index 85 permit 10.252.35.96 29
ip ip-prefix Core index 90 permit 10.253.35.0 29 greater-equal 32
ip ip-prefix Core index 95 permit 10.253.0.0 16 greater-equal 32
ip ip-prefix Core index 100 permit 10.254.0.0 20 greater-equal 32
ip ip-prefix Core index 105 permit 10.254.32.0 19 greater-equal 32
ip ip-prefix Core index 110 permit 10.254.64.0 18 greater-equal 32
ip ip-prefix Core index 115 permit 172.19.216.0 24 greater-equal 32
ip ip-prefix Core index 120 permit 190.81.128.0 24 greater-equal 32
ip ip-prefix Core index 125 permit 190.116.132.0 24 greater-equal 32
ip ip-prefix Core index 130 permit 200.62.188.0 24 greater-equal 32
ip ip-prefix Core index 135 permit 10.190.0.0 16 greater-equal 32
ip ip-prefix Core index 140 permit 10.134.0.0 16 greater-equal 32

El equipo de acceso se habilitara con OSPF, LDP y BGP hacia el pre agregador
Los datos del pre agregador se indicaran en el formato de programación

2.1.11. Configuración MPLS sobre IPRAN

Para el caso de equipos ATN910 de interfaz de 1G se utilizará el puerto 0/2/19 y


para 10G se utilizará el puerto 0/2/3.
Para el caso de equipos NE40 de interfaz de 1G se utilizará el puerto 0/2/1 y
para 10G se utilizará el puerto 0/2/0.

Para Puerto de 1G

interface GigabitEthernet0/X/Y
mpls
mpls ldp
mpls ldp timer hello-send 3

Page 22
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

Para Puerto de 10G

interface GigabitEthernet0/X/Y
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

interface Eth-Trunk<trunk-id>
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

El equipo de acceso se habilitara con OSPF, LDP y BGP hacia el pre agregador
Los datos del pre agregador se indicaran en el formato de programación

- Para Tx por MW

interface GigabitEthernet0/X/Y.<VLAN ID>


mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

2.1.12. Configuración MPLS sobre AgMPLS

Para el caso de equipos ATN910 de interfaz de 1G se utilizará el puerto 0/2/19


y para 10G se utilizará el puerto 0/2/3.
Para el caso de equipos NE40 de interfaz de 1G se utilizará el puerto 0/2/1 y
para 10G se utilizará el puerto 0/2/0.

Para Puerto de 1G

interface GigabitEthernet0/X/Y
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

Para Puerto de 10G

interface GigabitEthernet0/X/Y
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30

Page 23
mpls ldp timer keepalive-send 3

interface Eth-Trunk<trunk-id>
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3
2.1.13. Configuración MPLS sobre Cmpls

Para el caso de equipos ATN910 de interfaz de 1G se utilizará el puerto 0/2/19


y para 10G se utilizará el puerto 0/2/3.
Para el caso de equipos NE40 de interfaz de 1G se utilizará el puerto 0/2/1 y
para 10G se utilizará el puerto 0/2/0.

Para Puerto de 1G

interface GigabitEthernet0/X/Y.<VLAN ID>


mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

Para Puerto de 10G

interface GigabitEthernet0/X/Y.<VLAN ID>


mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

interface Eth-Trunk<trunk-id>
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

2.1.14. Configuracion MPLS sobre Tx Arrendado


interface GigabitEthernet0/X/Y.<VLAN ID>
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

2.1.15. Configuración BGP

bgp 12252
router-id <router-id>
undo default ipv4-unicast
graceful-restart
group CSR-MPLS internal

Page 24
peer CSR-MPLS connect-interface LoopBack0
peer CSR-MPLS password cipher B&k9DO%d4
peer <ip System RR1> as-number 12252
peer <ip System RR1> group CSR-MPLS
peer <ip System RR1> description To_<Route Reflector 1 de la region>
peer <ip System RR2> as-number 12252
peer <ip System RR2> group CSR-MPLS
peer <ip System RR2> description To_<Route Reflector 2 de la region>
group RR_InLine internal
peer RR_InLine connect-interface LoopBack0
peer RR_InLine password cipher B&k9DO%d4
peer <ip address ABR> as-number 12252
peer <ip address ABR> group RR_InLine
peer <ip address ABR> description To ABR
ipv4-family unicast
undo synchronization
import-route direct
undo peer CSR-MPLS enable
undo peer <ip System RR1> enable
undo peer <ip System RR2> enable
peer RR_InLine enable
peer RR_InLine next-hop-local
peer RR_InLine label-route-capability
peer RR_InLine advertise-community
peer RR_InLine advertise-ext-community
peer <ip address ABR> enable
peer <ip address ABR> group RR_InLine
peer <ip address ABR> route-policy export_to_BGP-LU export
ipv4-family vpnv4
policy vpn-target
peer CSR-MPLS enable
peer CSR-MPLS advertise-community
peer <ip System RR1> enable
peer <ip System RR1> group CSR-MPLS
peer <ip System RR2> enable
peer <ip System RR2> group CSR-MPLS

route-policy export_to_BGP-LU permit node 10


if-match ip-prefix system
apply community 12252:<AS de la region> additive
apply mpls-label
route-policy export_to_BGP-LU permit node 20
if-match ip-prefix loopback_gestion
apply community 12252:65010 additive
apply mpls-label
route-policy export_to_BGP-LU permit node 30
if-match ip-prefix loopback_ptp1588
apply community 12252:65010 additive
apply mpls-label

ip ip-prefix system index 10 permit <ip address System> 32


ip ip-prefix loopback_gestion index 10 permit <ip address Loopback Gestion> 32
ip ip-prefix loopback_ptp1588 index 10 permit <ip address Loopback Syncptp> 32

En el route-policy export_to_BGP-LU permit node 10 el AS debe configurarse segun la region

Region Comunidad
LIMA 12252:65001

Page 25
NORTE 12252:65002
SUR 12252:65003
CENTRO 12252:65004

Se debe dejar pre-configurado la siguiente comunidades dependiendo la region

ip community-filter basic NORTE-CORE index 10 permit 12252:65000


ip community-filter basic NORTE-CORE index 20 permit 12252:65002

ip community-filter basic LIMA-CORE index 10 permit 12252:65000


ip community-filter basic LIMA-CORE index 20 permit 12252:65001

ip community-filter basic SUR-CORE index 10 permit 12252:65000


ip community-filter basic SUR-CORE index 20 permit 12252:65003

ip community-filter basic CENTRO-CORE index 10 permit 12252:65000


ip community-filter basic CENTRO-CORE index 20 permit 12252:65004

Para los equipos de acceso rCSR, la system debe configurarse en los siguientes RR
según la región

Region RR
LIMA rMPLSPolo1RR10
LIMA rMPLSVillaSalvadorRR09
CENTRO/NORTE rMPLSTrujilloRR01
CENTRO/NORTE rMPLSTrujilloRR02
SUR rMPLSArequipaRR01
SUR rMPLSArequipaRR02

Lista de parámetros de configuración BGP

<router-id> Establecimiento del ID para el protocolo BGP.

<password> Password para establecer la sección contra el peer

<group> Creación del peer group para iBGP.

<peer> Dirección ip del peer remoto.

Comando para visualizar el estado de los peers para ipv4.

<Huawei> display bgp peer


BGP local router ID : 2.2.2.2
Local AS number : 65009

Page 26
Total number of peers : 3 Peers in established state : 3
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
9.1.1.2 4 65009 49 62 0 00:44:58 Established 0
9.1.3.2 4 65009 56 56 0 00:40:54 Established 0
200.1.1.2 4 65008 49 65 0 00:44:03 Established 1

Comando para visualizar es estado de los peers para vpnv4.


<Huawei> display bgp vpnv4 all peer
BGP local router ID : 10.11.11.9
Local AS number : 65000
Total number of peers : 4 Peers in established state : 4
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
10.7.7.9 4 65000 79 82 0 00:01:31 Established 0
10.8.8.9 4 65000 42 66 0 00:01:16 Established 0
10.9.9.9 4 65000 21 34 0 00:00:50 Established 0
10.10.10.9 4 65000 2 4 0 00:00:21 Established 0

El equipo de acceso se habilitara con OSPF, LDP y BGP hacia el pre agregador
Los datos del pre agregador se indicaran en el formato de programación

2.1.16. Configuración TWAMP

nqa twamp
server
tcp port 862 all
control-session inactive 900
reflector
test-session inactive 900

2.1.17. Configuración de Servicios Móviles

Configuración del 2G

o Prefijos
ip ip-prefix Redes_ABIS index 10 permit 3.3.3.3 32
ip ip-prefix Redes_ABIS index 20 permit 10.95.28.160 27 greater-equal 27 less-equal 32
ip ip-prefix Redes_ABIS index 30 permit 10.95.70.64 27 greater-equal 27 less-equal 32
ip ip-prefix Redes_ABIS index 40 permit 10.95.71.128 27 greater-equal 27 less-equal 32
ip ip-prefix Redes_ABIS index 50 permit 10.95.74.0 24 greater-equal 24 less-equal 32

Page 27
ip ip-prefix Redes_ABIS index 60 permit 10.95.75.32 27 greater-equal 27 less-equal 32
ip ip-prefix Redes_ABIS index 70 permit 10.95.78.32 27 greater-equal 27 less-equal 32
ip ip-prefix Redes_ABIS index 80 permit 10.95.210.72 29 greater-equal 29 less-equal 32
ip ip-prefix Redes_ABIS index 90 permit 10.95.210.136 29 greater-equal 29 less-equal 32
ip ip-prefix Redes_ABIS index 100 permit 10.95.210.192 29 greater-equal 29 less-equal 32
ip ip-prefix Redes_ABIS index 110 permit 10.95.212.0 29 greater-equal 29 less-equal 32
ip ip-prefix Redes_ABIS index 120 permit 10.95.255.100 30 greater-equal 30 less-equal 32
ip ip-prefix Redes_ABIS index 130 permit 10.101.0.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 140 permit 10.101.1.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 150 permit 10.101.2.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 160 permit 10.101.3.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 170 permit 10.101.4.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 180 permit 10.101.5.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 190 permit 10.101.6.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 200 permit 10.101.7.128 30 greater-equal 30 less-equal 32
ip ip-prefix Redes_ABIS index 210 permit 10.101.8.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 220 permit 10.101.9.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 230 permit 10.101.11.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 240 permit 10.101.12.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 250 permit 10.101.13.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 260 permit 10.101.14.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 270 permit 10.103.6.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 280 permit 10.252.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Redes_ABIS index 290 permit 172.16.108.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_ABIS index 300 permit 192.168.100.0 24 greater-equal 24 less-equal 32

ip ip-prefix pfx_BTS_ABIS index 10 permit 10.43.0.0 16 greater-equal 16 less-equal 32


ip ip-prefix pfx_BTS_ABIS index 20 permit 10.120.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix pfx_BTS_ABIS index 30 permit 10.148.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix pfx_BTS_ABIS index 40 permit 10.150.0.0 16 greater-equal 16 less-equal 32

o Comunidad
ip extcommunity-filter basic vpn_ABIS index 10 permit rt 27702:800

o Route-policy
route-policy Import_pfx_ABIS_Access_BTS permit node 10
if-match ip-prefix Redes_ABIS
if-match extcommunity-filter vpn_ABIS

Page 28
route-policy Export_pfx_ABIS_Access_BTS permit node 10
if-match ip-prefix pfx_BTS_ABIS
apply extcommunity rt 27702:800 rt 12252:10095
ipv4-family vpn-instance 10095
import-route direct
import-route static

o VRF
ip vpn-instance 10095
description "VPN Acceso BTS 2G a VPN ABIS"
ipv4-family
route-distinguisher 12252:10095
import route-policy Import_pfx_ABIS_Access_BTS
export route-policy Export_pfx_ABIS_Access_BTS
apply-label per-instance
vpn-target 12252:10095 export-extcommunity
vpn-target 12252:800 export-extcommunity
vpn-target 12252:10095 import-extcommunity
vpn-target 27702:800 import-extcommunity

o QoS

traffic classifier be operator or


if-match dscp default

traffic classifier af1 operator or


if-match dscp af12

traffic classifier af2 operator or


if-match dscp af21

traffic classifier ef operator or


if-match dscp ef

traffic classifier cs6 operator or


if-match dscp cs6

Page 29
traffic behavior 309-be
service-class be color green

traffic behavior 309-af1


car cir 25000 pir 25000 cbs 4675000 pbs 4675000 green pass yellow pass red discard
service-class af1 color green

traffic behavior 309-af2


car cir 2000 pir 2000 cbs 374000 pbs 374000 green pass yellow pass red discard
service-class af2 color green

traffic behavior 309-ef


car cir 15000 pir 15000 cbs 2805000 pbs 2805000 green pass yellow pass red discard
service-class ef color green

traffic behavior 309-cs6


car cir 8000 pir 8000 cbs 1496000 pbs 1496000 green pass yellow pass red discard
service-class cs6 color Green

traffic policy 309-in


statistics enable
classifier be behavior 309-be
classifier af1 behavior 309-af1
classifier af2 behavior 309-af2
classifier ef behavior 309-ef
classifier cs6 behavior 309-cs6

diffserv domain 309_diffserv


ip-dscp-inbound 0 phb be green
ip-dscp-inbound 46 phb ef green
ip-dscp-inbound 48 phb cs6 green
ip-dscp-inbound 12 phb af1 green
ip-dscp-inbound 18 phb af2 green
ip-dscp-inbound 16 phb af2 green

interface GigabitEthernet0/X/Y.<VLAN.ID>
trust upstream 309_diffserv
traffic-policy 309-in inbound

Page 30
flow-queue IPRAM_309_OUT
queue be wfq weight 1
queue af1 wfq weight 90 shaping 25000 flow-wred FLOW_WRED
queue af2 wfq weight 10 shaping 2000 flow-wred FLOW_WRED
queue ef pq shaping 15000
queue cs6 pq shaping 8000

*Para el caso de configurar el equipo NE40 –M2H /Huawei configurar lo siguiente:


queue ef pq car 15000
queue cs6 pq car 8000

Seguir con la configuración de equipos rCSR:


qos-profile 309_OUT
user-queue cir 50000 pir 50000 flow-queue IPRAM_309_OUT

interface GigabitEthernet0/X/Y.<VLAN.ID>
qos-profile 309_OUT outbound

Configuración del 3G

o Prefijos
ip ip-prefix Red_IPRAN_reject index 10 permit 10.110.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Red_IPRAN_reject index 20 permit 10.140.0.0 17 greater-equal 17 less-equal 32
ip ip-prefix Red_IPRAN_reject index 30 permit 10.141.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Red_IPRAN_reject index 40 permit 10.146.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Red_IPRAN_reject index 50 permit 172.16.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Red_IPRAN_reject index 60 permit 172.27.0.0 16 greater-equal 16 less-equal 32

ip ip-prefix Red_netact index 10 permit 172.16.108.0 24 greater-equal 25 less-equal 32


ip ip-prefix Red_netact index 20 permit 172.17.31.0 24 greater-equal 24 less-equal 32

ip ip-prefix Red_Sync index 10 permit 10.95.28.112 28 greater-equal 28 less-equal 32


ip ip-prefix Red_Sync index 20 permit 10.95.71.96 27 greater-equal 27 less-equal 32
ip ip-prefix Red_Sync index 30 permit 10.95.75.168 29 greater-equal 29 less-equal 32
ip ip-prefix Red_Sync index 40 permit 10.95.76.8 29 greater-equal 29 less-equal 32
ip ip-prefix Red_Sync index 50 permit 10.95.76.24 29 greater-equal 29 less-equal 32
ip ip-prefix Red_Sync index 60 permit 10.95.76.40 29 greater-equal 29 less-equal 32

Page 31
ip ip-prefix Red_Sync index 70 permit 10.95.77.8 29 greater-equal 29 less-equal 32
ip ip-prefix Red_Sync index 80 permit 10.95.77.24 29 greater-equal 29 less-equal 32
ip ip-prefix Red_Sync index 90 permit 10.95.77.72 29 greater-equal 29 less-equal 32
ip ip-prefix Red_Sync index 100 permit 10.95.78.168 29 greater-equal 29 less-equal 32
ip ip-prefix Red_Sync index 110 permit 192.168.100.0 24 greater-equal 24 less-equal 32
ip ip-prefix Red_Sync index 120 permit 10.95.77.128 28 greater-equal 28 less-equal 32

o Comunidad
ip extcommunity-filter basic vpn_IPRAN index 10 permit rt 27702:700
ip extcommunity-filter basic vpn_netact index 10 permit rt 27702:600
ip extcommunity-filter basic vpn_Abis index 10 permit rt 27702:600

o Route-policy
route-policy prefix_nodoB deny node 10
if-match ip-prefix Red_IPRAN_reject
if-match extcommunity-filter vpn_IPRAN
#
route-policy prefix_nodoB permit node 20
if-match extcommunity-filter vpn_IPRAN
#
route-policy prefix_nodoB permit node 30
if-match ip-prefix Red_netact
if-match extcommunity-filter vpn_netact
#
route-policy prefix_nodoB permit node 40
if-match ip-prefix Red_Sync
if-match extcommunity-filter vpn_Abis

o VRF
ip vpn-instance 700
description "IPRAN"
ipv4-family
route-distinguisher 27702:700
import route-policy prefix_nodoB
apply-label per-instance
vpn-target 27702:700 export-extcommunity
vpn-target 27702:700 import-extcommunity
vpn-target 27702:600 import-extcommunity

Page 32
vpn-target 27702:800 import-extcommunity
#

o QoS

traffic classifier be operator or


if-match dscp default

traffic classifier af1 operator or


if-match dscp af12

traffic classifier af2 operator or


if-match dscp af21

traffic classifier af4 operator or


if-match dscp af42
if-match dscp af43

traffic classifier ef operator or


if-match dscp ef

traffic classifier cs6 operator or


if-match dscp cs6

traffic behavior 307-be


service-class be color green

traffic behavior 307-af1


car cir 52000 pir 52000 cbs 9724000 pbs 9724000 green pass yellow pass red discard
service-class af1 color green

traffic behavior 307-af2


car cir 4000 pir 4000 cbs 748000 pbs 748000 green pass yellow pass red discard
service-class af2 color green

traffic behavior 307-af4


car cir 4000 pir 4000 cbs 748000 pbs 748000 green pass yellow pass red discard
service-class af4 color green

Page 33
traffic behavior 307-ef
car cir 20000 pir 20000 cbs 3740000 pbs 3740000 green pass yellow pass red discard
service-class ef color green

traffic behavior 307-cs6


car cir 20000 pir 20000 cbs 3740000 pbs 3740000 green pass yellow pass red discard
service-class cs6 color green

traffic policy 307-in


statistics enable
classifier be behavior 307-be
classifier af1 behavior 307-af1
classifier af2 behavior 307-af2
classifier af4 behavior 307-af4
classifier ef behavior 307-ef
classifier cs6 behavior 307-cs6

diffserv domain 307_diffserv


ip-dscp-inbound 0 phb be green
ip-dscp-inbound 46 phb ef green
ip-dscp-inbound 48 phb cs6 green
ip-dscp-inbound 12 phb af1 green
ip-dscp-inbound 18 phb af2 green
ip-dscp-inbound 26 phb af1 green
ip-dscp-inbound 36 phb af4 green
ip-dscp-inbound 38 phb af4 green
ip-dscp-inbound 16 phb af2 green

interface GigabitEthernet0/X/Y.<VLAN.ID>
trust upstream 307_diffserv
traffic-policy 307-in inbound

flow-queue IPRAM_307_OUT
queue be wfq weight 1
queue af1 wfq weight 86 shaping 52000 flow-wred FLOW_WRED
queue af2 wfq weight 7 shaping 4000 flow-wred FLOW_WRED
queue af4 wfq weight 7 shaping 4000 flow-wred FLOW_WRED

Page 34
queue ef pq shaping 20000
queue cs6 pq shaping 20000

*Para el caso de configurar el equipo NE40 –M2H /Huawei configurar lo siguiente:


queue ef pq car 20000
queue cs6 pq car 20000

Seguir con la configuración de equipos rCSR


qos-profile 307_OUT
user-queue cir 100000 pir 100000 flow-queue IPRAM_307_OUT

interface GigabitEthernet0/X/Y.<VLAN.ID>
qos-profile 307_OUT outbound

Configuración del 4G/TDD

La siguiente configuración nos permite operar el servicio de 4G y/o TDD en el CellSite Router.
Para el caso de configurar el servicio TDD , solo excluir la configuración de la interfaz de
Sincronismo.
o Interfaz S1-MME

 Prefijos

ip ip-prefix Redes_MME index 10 permit 10.95.255.104 30 greater-equal 30 less-equal 32


ip ip-prefix Redes_MME index 20 permit 10.96.90.114 32
ip ip-prefix Redes_MME index 30 permit 10.96.90.115 32
ip ip-prefix Redes_MME index 40 permit 10.128.50.0 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 50 permit 10.128.50.128 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 60 permit 10.128.66.0 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 70 permit 10.128.66.128 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 80 permit 10.128.82.0 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 90 permit 10.128.90.0 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 100 permit 10.128.98.0 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 110 permit 10.128.106.0 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_MME index 120 permit 10.129.98.1 32
ip ip-prefix Redes_MME index 130 permit 10.96.98.1 32
ip ip-prefix Redes_MME index 140 permit 10.96.106.1 32

 Comunidad

ip extcommunity-filter basic vpn_S1-MME index 10 permit rt 12252:10094


ip extcommunity-filter basic vpn_S1-MME_Core index 10 permit rt 12252:10090 rt 12252:10094

Page 35
 Route Policy

route-policy Import_pfx_S1-MME_Access_eNB permit node 10


if-match ip-prefix Redes_MME
if-match extcommunity-filter vpn_S1-MME

route-policy Export_pfx_S1-MME_Access_eNB permit node 10


if-match extcommunity-filter vpn_S1-MME_Core
ipv4-family vpn-instance 10090
import-route direct

 VRF

ip vpn-instance 10090
description "VPN Signaling S1-MME-Access:eNB to MME"
ipv4-family
route-distinguisher 12252:10090
import route-policy Import_pfx_S1-MME_Access_eNB
export route-policy Export_pfx_S1-MME_Access_eNB

apply-label per-instance
vpn-target 12252:10094 export-extcommunity
vpn-target 12252:10090 export-extcommunity
vpn-target 12252:10090 import-extcommunity
vpn-target 12252:10094 import-extcommunity

 QoS

traffic classifier be operator or


if-match dscp default

traffic classifier cs6 operator or


if-match dscp cs6

traffic behavior 319-be


service-class be color green

traffic behavior 319-cs6


car cir 10000 pir 10000 cbs 1870000 pbs 1870000 green pass yellow pass red discard
service-class cs6 color green

traffic policy 319-in


statistics enable
classifier be behavior 319-be
classifier cs6 behavior 319-cs6

diffserv domain 319_diffserv


ip-dscp-inbound 48 phb cs6 green

Page 36
interface GigabitEthernet0/X/Y.<VLAN ID>
trust upstream 319_diffserv
traffic-policy 319-in inbound

flow-queue IPRAM_319_OUT
queue be wfq weight 1
queue cs6 pq shaping 10000

*Para el caso de de configurar en NE40-M2H / Huawei:


queue cs6 pq car 10000

Seguir con la configuración:

qos-profile 319_OUT
user-queue cir 10000 pir 10000 flow-queue IPRAM_319_OUT

interface GigabitEthernet0/X/Y.<VLAN ID>


qos-profile 319_OUT outbound

o Interfaz S1-U

 Prefijos

ip ip-prefix Redes_eNBs index 10 permit 10.180.128.0 17 greater-equal 17 less-equal 32


ip ip-prefix Redes_eNBs index 20 permit 10.193.1.0 24 greater-equal 24 less-equal 32
ip ip-prefix Redes_eNBs index 30 permit 10.193.128.0 17 greater-equal 17 less-equal 32
ip ip-prefix Redes_eNBs index 40 permit 10.194.0.0 16 greater-equal 16 less-equal 32

ip ip-prefix Redes_S1-U_Core index 10 permit 10.95.255.104 30 greater-equal 30 less-equal 32


ip ip-prefix Redes_S1-U_Core index 20 permit 10.96.79.13 32
ip ip-prefix Redes_S1-U_Core index 30 permit 10.96.80.112 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 40 permit 10.96.90.136 32
ip ip-prefix Redes_S1-U_Core index 50 permit 10.96.90.137 32
ip ip-prefix Redes_S1-U_Core index 60 permit 10.128.49.32 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 70 permit 10.128.50.64 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 80 permit 10.128.50.144 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 90 permit 10.128.66.64 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 100 permit 10.128.66.144 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 110 permit 10.128.82.64 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 120 permit 10.128.90.64 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 130 permit 10.128.98.64 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 140 permit 10.128.106.64 28 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 150 permit 10.96.98.64 29 greater-equal 28 less-equal 32
ip ip-prefix Redes_S1-U_Core index 160 permit 10.96.106.64 29 greater-equal 28 less-equal 32

 Comunidad

ip extcommunity-filter basic vpn_S1-U_Access index 10 permit rt 12252:10091

Page 37
ip extcommunity-filter basic vpn_S1-U index 10 permit rt 12252:10085
ip extcommunity-filter basic vpn_S1-U_Core index 10 permit rt 12252:10085 rt 12252:10091

 Route-policy

route-policy Import_pfx_S1-U_Access_eNB permit node 10


if-match ip-prefix Redes_eNBs
if-match extcommunity-filter vpn_S1-U_Access
#
route-policy Import_pfx_S1-U_Access_eNB permit node 20
if-match ip-prefix Redes_S1-U_Core
if-match extcommunity-filter vpn_S1-U

route-policy Export_pfx_S1-U_Access_eNB permit node 10


if-match extcommunity-filter vpn_S1-U_Core
ipv4-family vpn-instance 10091
import-route direct

 VRF

ip vpn-instance 10091
description "VPN User Plane, Handover, S1-U, X2:eNB to eNB, eNB to S-GW"
ipv4-family
route-distinguisher 12252:10091
import route-policy Import_pfx_S1-U_Access_eNB
export route-policy Export_pfx_S1-U_Access_eNB
apply-label per-instance
vpn-target 12252:10091 export-extcommunity
vpn-target 12252:10085 export-extcommunity
vpn-target 12252:10091 import-extcommunity
vpn-target 12252:10085 import-extcommunity

 QoS

traffic classifier be operator or


if-match dscp default

traffic classifier af1 operator or


if-match dscp af12

traffic classifier af2 operator or


if-match dscp af21

traffic classifier af4 operator or


if-match dscp af43

traffic classifier ef operator or


if-match dscp ef

traffic classifier cs6 operator or

Page 38
if-match dscp cs6

traffic classifier cs7 operator or


if-match dscp cs7

traffic behavior 328-be


car cir 5000 pir 5000 cbs 935000 pbs 935000 green pass yellow pass red discard
service-class be color green

traffic behavior 328-af1


car cir 520000 pir 520000 cbs 97240000 pbs 97240000 green pass yellow pass red discard
service-class af1 color green

traffic behavior 328-af2


car cir 200000 pir 200000 cbs 3740000 pbs 3740000 green pass yellow pass red discard
service-class af2 color green

traffic behavior 328-af4


car cir 10000 pir 10000 cbs 1870000 pbs 1870000 green pass yellow pass red discard
service-class af4 color green

traffic behavior 328-ef


car cir 40000 pir 40000 cbs 7480000 pbs 7480000 green pass yellow pass red discard
service-class ef color green

traffic behavior 328-cs6


car cir 40000 pir 40000 cbs 7480000 pbs 7480000 green pass yellow pass red discard
service-class cs6 color green

traffic behavior 328-cs7


car cir 10000 pir 10000 cbs 1870000 pbs 1870000 green pass yellow pass red discard
service-class cs7 color green

traffic policy 328-in


statistics enable
classifier be behavior 328-be
classifier af1 behavior 328-af1
classifier af2 behavior 328-af2
classifier af4 behavior 328-af4
classifier ef behavior 328-ef
classifier cs6 behavior 328-cs6
classifier cs7 behavior 328-cs7

diffserv domain 328_diffserv


ip-dscp-inbound 0 phb be green
ip-dscp-inbound 46 phb ef green
ip-dscp-inbound 24 phb af2 green
ip-dscp-inbound 48 phb cs6 green
ip-dscp-inbound 56 phb cs7 green
ip-dscp-inbound 12 phb af1 green
ip-dscp-inbound 18 phb af2 green
ip-dscp-inbound 26 phb af1 green

Page 39
ip-dscp-inbound 36 phb af4 green

interface GigabitEthernet0/X/Y.<VLAN ID>


trust upstream 328_diffserv
traffic-policy 328-in inbound

flow-queue IPRAM_328_OUT
queue be wfq weight 1 shaping 5000 flow-wred FLOW_WRED
queue af1 wfq weight 70 shaping 520000 flow-wred FLOW_WRED
queue af2 wfq weight 27 shaping 200000 flow-wred FLOW_WRED
queue af4 wfq weight 2 shaping 10000 flow-wred FLOW_WRED
queue ef pq shaping 40000
queue cs6 pq shaping 40000
queue cs7 pq shaping 10000

*Para el caso de configurar en equipos NE40-M2H/Huawei:

queue ef pq car 40000


queue cs6 pq car 40000
queue cs7 pq car 10000

Seguir con la configuración:

qos-profile 328_OUT
user-queue cir 825000 pir 825000 flow-queue IPRAM_328_OUT

interface GigabitEthernet0/X/Y.<VLAN ID>


qos-profile 328_OUT outbound

o Interfaz Sincronismo

 Prefijos

ip ip-prefix Redes_Sync index 10 permit 10.95.210.80 29 greater-equal 29 less-equal 32


ip ip-prefix Redes_Sync index 20 permit 10.95.210.144 29 greater-equal 29 less-equal 32
ip ip-prefix Redes_Sync index 30 permit 10.95.210.208 29 greater-equal 29 less-equal 32
ip ip-prefix Redes_Sync index 40 permit 10.95.212.16 29 greater-equal 29 less-equal 32
ip ip-prefix Redes_Sync index 50 permit 10.252.0.0 16 greater-equal 28 less-equal 29

 Comunidad

ip extcommunity-filter basic vpn_syncptp index 10 permit rt 12252:10092

 Route-policy

route-policy Import_pfx_eNB_Syncptp permit node 10


if-match ip-prefix Redes_Sync
if-match extcommunity-filter vpn_syncptp

route-policy Export_pfx_eNB_Syncptp permit node 10

Page 40
if-match extcommunity-filter vpn_syncptp
ipv4-family vpn-instance 10092
import-route direct

 VRF

ip vpn-instance 10092
description "VPN Sincronismo Trafico eNB"
ipv4-family
route-distinguisher 12252:10092
import route-policy Import_pfx_eNB_Syncptp
export route-policy Export_pfx_eNB_Syncptp
apply-label per-instance
vpn-target 12252:10092 export-extcommunity
vpn-target 12252:10092 import-extcommunity

 QoS

traffic classifier be operator or


if-match dscp default

traffic classifier ef operator or


if-match dscp ef

traffic behavior 317-be


service-class be color green

traffic behavior 317-ef


car cir 5000 pir 5000 cbs 935000 pbs 935000 green pass yellow pass red discard
service-class ef color green

traffic policy 317-in


statistics enable
classifier be behavior 317-be
classifier ef behavior 317-ef

diffserv domain 317_diffserv


ip-dscp-inbound 46 phb ef green

interface GigabitEthernet0/X/Y.<VLAN.ID>
trust upstream 317_diffserv
traffic-policy 317-in inbound

flow-queue IPRAM_317_OUT
queue be wfq weight 1
queue ef pq shaping 5000

*Para el caso de configurar en equipos NE40-M2H/Huawei:

queue ef pq car 5000

Page 41
Seguir con la configuración:

qos-profile 317_OUT
user-queue cir 5000 pir 5000 flow-queue IPRAM_317_OUT

interface GigabitEthernet0/X/Y.<VLAN.ID>
qos-profile 317_OUT outbound

o Interfaz Gestion

 Prefijos

ip ip-prefix Red_Gestion_eNB index 10 permit 10.192.16.0 22 greater-equal 22 less-equal 32


ip ip-prefix Red_Gestion_eNB index 20 permit 172.16.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Red_Gestion_eNB index 30 permit 172.17.31.0 24 greater-equal 24 less-equal 32
ip ip-prefix Red_Gestion_eNB index 40 permit 172.19.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Red_Gestion_eNB index 50 permit 172.22.0.0 16 greater-equal 16 less-equal 32
ip ip-prefix Red_Gestion_eNB index 60 permit 192.168.0.0 16 greater-equal 16 less-equal 32

 Comunidad

ip extcommunity-filter basic vpn_Mngmt index 10 permit rt 12252:10093

 Route-Policy

route-policy Import_pfx_Mngmt_eNB permit node 10


if-match ip-prefix Red_Gestion_eNB
if-match extcommunity-filter vpn_Mngmt

route-policy Export_pfx_Mngmt_eNB permit node 10


if-match extcommunity-filter vpn_Mngmt
ipv4-family vpn-instance 10093
import-route direct
 VRF

ip vpn-instance 10093
description "Gestion eNB O&M"
ipv4-family
route-distinguisher 12252:10093
import route-policy Import_pfx_Mngmt_eNB
export route-policy Export_pfx_Mngmt_eNB
apply-label per-instance
vpn-target 12252:10093 export-extcommunity
vpn-target 12252:10093 import-extcommunity

 QoS

traffic classifier be operator or

Page 42
if-match dscp default

traffic classifier af2 operator or


if-match dscp af21

traffic behavior 316-be


service-class be color green

traffic behavior 316-af2


car cir 10000 pir 10000 cbs 187000 pbs 187000 green pass yellow pass red discard
service-class af2 color green

flow-queue IPRAM_316_IN
queue be wfq weight 1
queue af2 wfq weight 100 shaping 10000 flow-wred FLOW_WRED

traffic policy 316-in


statistics enable
classifier be behavior 316-be
classifier af2 behavior 316-af2

diffserv domain 316_diffserv


ip-dscp-inbound 16 phb af2 green

interface GigabitEthernet0/X/Y.<VLAN.ID>
trust upstream 316_diffserv
traffic-policy 316-in inbound

flow-queue IPRAM_316_OUT
queue be wfq weight 1
queue af2 wfq weight 100 shaping 10000 flow-wred FLOW_WRED

qos-profile 316_OUT
user-queue cir 10000 pir 10000 flow-queue IPRAM_316_OUT

interface GigabitEthernet0/X/Y.<VLAN.ID>
qos-profile 316_OUT outbound

- Considerar los siguientes commandos para la validacion de trafico por colas

display traffic policy statistics interface interface-type interface-number [ .sub-interface ] inbound


verbose classifier-based
# Mostrar estadísticas de política de tráfico detalladas basadas en la clasificación de tráfico en la Interfaz

display traffic policy statistics interface interface-type interface-number [ .sub-interface ] inbound


verbose ruled-based
# Indica una regla de tráfico.
# Indica la cantidad de paquetes que coinciden con la política de tráfico.
# Indica la tasa de coincidencia de paquetes dentro de 30 segundos.

2.1.18. Configuración de la VRF 10050 y 250

Page 43
ip extcommunity-filter basic vpn_GestionUM index 10 permit rt
12252:10050
ip extcommunity-filter basic vpn_VRF10050 index 10 permit rt 12252:10050

route-policy import_vpn_VRF10050_V1 permit node 10


ipv4-family vpn-instance 10050
if-match ip-prefix Acceso_Gestores_MC_cNOC_RS_ALU
if-match extcommunity-filter vpn_VRF10050

route-policy export_vpn_GestionUM permit node 10


if-match extcommunity-filter vpn_GestionUM
ipv4-family vpn-instance 10050
import-route direct
import-route static

ip ip-prefix Acceso_Gestores_MC_cNOC_RS_ALU index 10 permit 10.99.1.0 24


greater-equal 24 less-equal 32
ip ip-prefix Acceso_Gestores_MC_cNOC_RS_ALU index 20 permit 10.192.16.0
22 greater-equal 22 less-equal 32
ip ip-prefix Acceso_Gestores_MC_cNOC_RS_ALU index 30 permit 10.235.1.0
27 greater-equal 27 less-equal 32
ip ip-prefix Acceso_Gestores_MC_cNOC_RS_ALU index 40 permit 172.19.0.0
16 greater-equal 16 less-equal 32

ip vpn-instance 10050
description "VPN_GestionUM"
ipv4-family
route-distinguisher 12252:10050
import route-policy import_vpn_VRF10050_V1
export route-policy export_vpn_GestionUM
apply-label per-instance
vpn-target 12252:10050 export-extcommunity
vpn-target 12252:10050 import-extcommunity

ip extcommunity-filter basic o&m_osr1 index 10 permit rt 27702:250


ip extcommunity-filter basic o&m_osr2 index 10 permit rt 27702:251
ip extcommunity-filter basic netact index 10 permit rt 27702:600
ip extcommunity-filter basic o&m index 10 permit rt 27702:250 rt
27702:251

route-policy vrf250-import_V1 permit node 10


ipv4-family vpn-instance 250
if-match ip-prefix prefix_DCN_RTN_DWDM
if-match extcommunity-filter o&m_osr1

route-policy vrf250-import_V1 permit node 20


ipv4-family vpn-instance 250
if-match ip-prefix prefix_DCN_RTN_DWDM
if-match extcommunity-filter o&m_osr2

route-policy vrf250-import_V1 permit node 30


if-match ip-prefix pfx_Gestores_RC_NOC_Seg
if-match extcommunity-filter netact

Page 44
import-route static

route-policy vrf250-export permit node 10


if-match extcommunity-filter o&m
ipv4-family vpn-instance 250
import-route static

ip ip-prefix prefix_DCN_RTN_DWDM index 10 permit 10.95.23.112 28


greater-equal 28 less-equal 32
ip ip-prefix prefix_DCN_RTN_DWDM index 20 permit 10.95.25.224 28
greater-equal 28 less-equal 32
ip ip-prefix prefix_DCN_RTN_DWDM index 30 permit 10.95.32.32 29 greater-
equal 29 less-equal 32
ip ip-prefix prefix_DCN_RTN_DWDM index 40 permit 10.95.32.40 29 greater-
equal 29 less-equal 32
ip ip-prefix prefix_DCN_RTN_DWDM index 50 permit 10.95.32.48 29 greater-
equal 29 less-equal 32
ip ip-prefix prefix_DCN_RTN_DWDM index 60 permit 10.95.32.56 29 greater-
equal 29 less-equal 32
ip ip-prefix prefix_DCN_RTN_DWDM index 70 permit 10.95.32.96 29 greater-
equal 29 less-equal 32
ip ip-prefix prefix_DCN_RTN_DWDM index 80 permit 10.95.32.104 29
greater-equal 29 less-equal 32

ip ip-prefix pfx_Gestores_RC_NOC_Seg index 10 permit 10.128.169.0 24


greater-equal 24 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 20 permit 10.244.0.0 16
greater-equal 16 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 30 permit 172.16.53.0 24
greater-equal 24 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 40 permit 172.16.108.0 25
greater-equal 25 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 50 permit 172.19.0.0 16
greater-equal 16 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 60 permit 172.19.4.0 24
greater-equal 24 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 70 permit 172.19.80.0 24
greater-equal 24 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 80 permit 172.19.215.0 24
greater-equal 24 less-equal 32
ip ip-prefix pfx_Gestores_RC_NOC_Seg index 90 permit 172.22.0.0 16
greater-equal 16 less-equal 32

ip vpn-instance 250
description "o&m"
ipv4-family
route-distinguisher 27702:250
import route-policy vrf250-import_V1
export route-policy vrf250-export
apply-label per-instance
vpn-target 27702:250 export-extcommunity
vpn-target 27702:251 export-extcommunity
vpn-target 27702:250 import-extcommunity
vpn-target 27702:251 import-extcommunity
vpn-target 27702:600 import-extcommunity

Page 45
o QoS

traffic classifier be operator or


if-match dscp be

traffic classifier af2 operator or


if-match dscp default

traffic classifier ef operator or


if-match dscp ef

traffic classifier af1 operator or


if-match dscp af1

traffic behavior 401-be


car cir 128 pir 128 green pass yellow pass red discard
service-class be color green

traffic behavior 401-af2


car cir 3072 pir 3072 green pass yellow pass red discard
service-class af2 color green

traffic behavior 401-ef


car cir 1536 pir 1536 green pass yellow pass red discard
service-class ef color green

traffic behavior 401-af1


car cir 1536 pir 1536 green pass yellow pass red discard
service-class af1 color green

traffic policy 401-in


statistics enable
classifier be behavior 401-be
classifier af1 behavior 401-af1
classifier af2 behavior 401-af2
Classifier ef behavior 401-ef

diffserv domain 401_diffserv


ip-dscp-inbound 46 phb ef green
ip-dscp-inbound 8 phb af1 green
ip-dscp-inbound 16 phb af2 green
ip-dscp-inbound 40 phb ef green
ip-dscp-inbound 48 phb cs6 green

interface GigabitEthernet0/X/Y.<VLAN.ID>
traffic-policy 401-in inbound
trust upstream 401_diffserv

flow-queue IPRAM_401_OUT
queue be wfq weight 3 shaping 128 flow-wred FLOW_WRED
queue af1 wfq weight 32 shaping 1536 flow-wred FLOW_WRED

Page 46
queue af2 wfq weight 65 shaping 3072 flow-wred FLOW_WRED
queue ef pq shaping 1536

*Para el caso de configurar un equipo NE40-M2H/Huawei:

queue ef pq car 1536

Seguir con la configuración:

qos-profile 401_OUT
user-queue cir 6272 pir 6272 flow-queue IPRAM_401_OUT

interface GigabitEthernet0/X/Y.<VLAN.ID>
qos-profile 401_OUT outbound

Configuracion Interfaz

interface GigabitEthernet0/X/Y.<Subinterface>
vlan-type dot1q <VLAN>
description "Description"
ip binding vpn-instance 10050
mtu 1500
ip address <IPv4 Address> <mask>
statistic enable
trust upstream 401_diffserv
undo icmp name net-unreachable send
undo icmp name port-unreachable send

Configuracion Rutas estáticas

ip route-static vpn-instance 10050 <Red Destino> <mask> <IP Next Hop>


preference 1

Configuracion BGP

bgp 12252
ipv4-family vpn-instance 10050
preference 20 200 200
import direct
import static

2.2 Configuracion para el Pre agregador

2.2.1 Pre Agregador IPRAN

Cuando el Pre agregador es IPRAN se debe realizar la siguiente configuración:


Considerar los equipos SR-7,SRc-12,SR-12,SRa-4,SAR-8

configure

port <Puerto de agregacion>


description <string>

Page 47
ethernet
mtu 2022
network
queue-policy "Network-Policy-IP-RAN_v3_FO"
exit
no autonegotiate
exit
no shutdown
exit

router
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>
qos 104
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact
exit

commit
exi all

ldp
session-parameters
peer <IP System rCSR>
fec-type-capability
prefix-ipv6 disable
exit
exit
exit
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3

Page 48
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
exit

service
sdp <ID sdp> mpls create
description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit

bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
advertise-label ipv4
exit
exit

Para los esenarios que requieran LAG considerar la siguiente configuración


configure

lag <lag ID>


description "LAG 2x1G <Equipo de acceso>"
mode Network
lacp active
port <Puerto del pre agregador> sub-group <lag ID>
port <Puerto del pre agregador> sub-group <lag ID>
no shutdown
exit
router
interface "to_<Equipo de acceso>:L1"
address <WAN ip address>/<mask>
port lag-<lag ID>
qos 104
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>

Page 49
interface "to_<Equipo de acceso>:L1"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact
exit

commit
exi all

ldp
session-parameters
peer <IP System rCSR>
fec-type-capability
prefix-ipv6 disable
exit
exit
exit
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
exit

service
sdp <ID sdp> mpls create
description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit

Page 50
bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
advertise-label ipv4
exit
exit

Para los LAG considerar esta solucion para enlaces nx1G, los demas puertos se
asignara en el formato de programacion

Cada puerto se configurara fisico se configurara de manera estandar

Para Tx por MW, considerar la siguiente configuracion:

configure

port <Puerto de agregacion>


description <string>
ethernet
mtu 2026
network
queue-policy "Network-Policy-IP-RAN_v3_MW"
exit
no autonegotiate
egress-rate <BW del MW>
exit
no shutdown
exit

router
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>:<VLAN-ID>
qos 104
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact

Page 51
exit

commit
exi all

ldp
session-parameters
peer <IP System rCSR>
fec-type-capability
prefix-ipv6 disable
exit
exit
exit
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
exit

service
sdp <ID sdp> mpls create
description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit

bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
advertise-label ipv4
exit
exit

Para los SRa-4 con TiMOS-C-14.0.R15 se debe considerar la siguiente configuración

configure

Page 52
port <Puerto de agregacion>
description <string>
ethernet
mtu 2022
network
queue-policy "Network-Policy-IP-RAN_v3_FO"
exit
no autonegotiate
exit
no shutdown
exit

router
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>
qos 104
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact
exit

commit
exi all

ldp
peer <IP System rCSR>
export-prefixes "ExportToCSR-LDP"
exit
tcp-session-parameters
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3

Page 53
no shutdown
exit
no shutdown
exit

service

sdp <ID sdp> mpls create


description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit

bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
family label-ipv4
exit
exit

Para los esenarios que requieran LAG considerar la siguiente configuración


configure

lag <lag ID>


description "LAG 2x1G <Equipo de acceso>"
mode Network
lacp active
port <Puerto del pre agregador> sub-group <lag ID>
port <Puerto del pre agregador> sub-group <lag ID>
no shutdown
exit
router
interface "to_<Equipo de acceso>:L1"
address <WAN ip address>/<mask>
port lag-<lag ID>
qos 104
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>
interface "to_<Equipo de acceso>:L1"
interface-type point-to-point
authentication-type message-digest
message-digest-key 1 md5 B&k9DO%d4
bfd-enable
no shutdown

Page 54
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact
exit

commit
exi all

ldp
peer <IP System rCSR>
export-prefixes "ExportToCSR-LDP"
exit
tcp-session-parameters
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3
no shutdown
exit
no shutdown
exit

sdp <ID sdp> mpls create


description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit

bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
family label-ipv4
exit
exit

Para Tx por MW, considerar la siguiente configuracion:

configure

port <Puerto de agregacion>


description <string>
ethernet

Page 55
mtu 2026
network
queue-policy "Network-Policy-IP-RAN_v3_MW"
exit
no autonegotiate
egress-rate <BW del MW>
exit
no shutdown
exit

router
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>:<VLAN-ID>
qos 104
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact
exit
commit
exi all

ldp
peer <IP System rCSR>
export-prefixes "ExportToCSR-LDP"
exit
tcp-session-parameters
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3
no shutdown
exit

Page 56
no shutdown
exit

service
sdp <ID sdp> mpls create
description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit

bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
family label-ipv4
exit
exit

2.2.2 Pre Agregador IPRAN

Cuando el pre agregador es IPRAN se debe realizar la siguiente configuración:


Considerar los equipos IXR-R6, SAR-8

Pre Agregador IXR-R6

port <Puerto de agregacion>


description <string>
ethernet
mtu 2022
egress
port-scheduler "Network-Policy-IP-RAN_v3_FO"
exit
lldp
dest-mac nearest-bridge
admin-status tx-rx
tx-tlvs port-desc sys-name sys-desc sys-cap
exit
exit
speed 1000
no autonegotiate
exit
no shutdown
exit

router Base
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>

Page 57
ingress
collect-policer-stats
qos 104
exit
egress
egress-remark-policy 104
exit
bfd 100 receive 100 multiplier 3
no shutdown
exit

ldp
import "Core-import"
session-parameters
peer <IP System rCSR>
exit
exit
tcp-session-parameters
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
exit
interface "to_<Equipo de acceso>"
ipv4
hello 15 3
keepalive 30 3
no shutdown
exit
no shutdown
exit

ospf
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

Pre Agregador SAR-8, SAR-8v2

port <Puerto de agregacion>


description <string>
ethernet
mode network
mtu 2022
network
queue-policy "Network-Policy-IP-RAN_v3_FO"
exit
no autonegotiate
exit
no shutdown
exit

Page 58
router
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>
qos 104
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

ldp
import "Core-import"
peer-parameters
peer <IP System rCSR>
authentication-key B&k9DO%d4
exit
exit
interface "to_<Equipo de acceso>"
hello 15 3
keepalive 30 3
exit
exit
targeted-session
exit
no shutdown
exit
exit

El equipo de acceso habilitará una sesión BGP hacia el pre agregador, en el


equipo pre agregador se debe configurar el BGP de la siguiente manera

Considerar los equipos SR-7,SRc-12,SR-12

bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
advertise-label ipv4
exit
exit

Para los SRa-4 con TiMOS-C-14.0.R15 se debe considerar la siguiente configuración

Page 59
bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
family label-ipv4
exit
exit

Los datos del pre agregador se indicaran en el formato de programacion

2.2.3 Pre Agregador IPRAN con Tx Arrendado

Cuando el pre agregador es IPRAN se debe realizar la siguiente configuración:


Considerar los equipos SR-7,SRc-12,SR-12,SRa-4,SAR-8

qos
network 204 create
description "Claro Network Policy on Queue-Group to Core-v3.0"
ingress
dscp be fc be profile out
dscp ef fc ef profile in
dscp cs1 fc l2 profile in
dscp cs2 fc af profile in
dscp cs3 fc l1 profile in
dscp cs4 fc h2 profile in
dscp cs5 fc ef profile in
dscp nc1 fc h1 profile in
dscp nc2 fc nc profile in
dscp af11 fc l2 profile in
dscp af12 fc l2 profile in
dscp af13 fc l2 profile in
dscp af21 fc af profile in
dscp af22 fc l2 profile in
dscp af23 fc af profile in
dscp af31 fc l2 profile in
dscp af32 fc l1 profile in
dscp af33 fc l1 profile in
dscp af41 fc h2 profile in
dscp af42 fc h2 profile in
dscp af43 fc h2 profile in
lsp-exp 0 fc be profile out
lsp-exp 1 fc l2 profile in
lsp-exp 2 fc l2 profile in
lsp-exp 3 fc l1 profile in
lsp-exp 4 fc h2 profile in
lsp-exp 5 fc ef profile in
lsp-exp 6 fc h1 profile in
lsp-exp 7 fc nc profile in
exit
egress
fc af

Page 60
dscp-in-profile af21
dscp-out-profile af21
lsp-exp-in-profile 2
port-redirect-group queue 3
exit
fc be
port-redirect-group queue 1
exit
fc ef
port-redirect-group queue 6
exit
fc h1
port-redirect-group queue 7
exit
fc h2
dscp-in-profile af42
port-redirect-group queue 5
exit
fc l1
dscp-in-profile cs3
dscp-out-profile cs3
lsp-exp-out-profile 3
port-redirect-group queue 4
exit
fc l2
dscp-in-profile af22
dscp-out-profile af22
lsp-exp-in-profile 2
port-redirect-group queue 2
exit
fc nc
port-redirect-group queue 8
exit
exit
exit
exit

qos
queue-group-templates
egress
queue-group "QGroup_<Router de acceso>_BW_<BW Contratado>"
create
queue 1 best-effort create
parent "root" cir-level 1
percent-rate 90.00 cir 5.00
mbs 50 kilobytes
high-prio-only 10
exit
queue 2 best-effort create
parent "root" level 2 cir-level 2
percent-rate 90.00 cir 5.00
exit
queue 3 best-effort create
parent "root" level 3 cir-level 3
percent-rate 90.00 cir 5.00
exit

Page 61
queue 4 best-effort create
parent "root" level 4 cir-level 4
percent-rate 90.00 cir 10.00
exit
queue 5 expedite create
parent "root" level 5 cir-level 5
percent-rate 100.00 cir 5.00
exit
queue 6 expedite create
parent "root" level 6 cir-level 6
percent-rate 100.00 cir 50.00
exit
queue 7 expedite create
parent "root" level 7 cir-level 7
percent-rate 100.00 cir 10.00
exit
queue 8 expedite create
parent "root" level 8 cir-level 8
percent-rate 100.00 cir 10.00
exit
fc af create
queue 3
exit
fc be create
queue 1
exit
fc ef create
queue 6
exit
fc h1 create
queue 7
exit
fc h2 create
queue 5
exit
fc l1 create
queue 4
exit
fc l2 create
queue 2
exit
fc nc create
queue 8
exit
exit
scheduler-policy "SPolicy_<Router de acceso>_BW_<BW Contratado>"
create
frame-based-accounting
tier 1
scheduler "root" create
rate <BW Contratado>
exit
exit
exit
exit

Page 62
port <Puerto de agregacion>
description <string>
ethernet
encap-type dot1q
mtu 2022
network
queue-policy "Network-Policy-IP-RAN_v3_FO"
egress
queue-group "QGroup_<Router de acceso>_BW_<BW Contratado>"
create
scheduler-policy "SPolicy_<Router de acceso>_BW_<BW
Contratado>"
exit
egress-rate <Suma de BW Contratado>
no autonegotiate
exit
no shutdown
exit

- <Suma de BW Contratado>: Para los escenarios con Tx Arrendado, todos los rCSR se integran a
un puerto del pre agregador, cada nuevo rCSR que se integre se debe sumar el BW contratado
en la interfaz del pre agregador

router
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>:<VLAN ID>
qos 204 egress-port-redirect-group "QGroup_<Router de
acceso>_BW_<BW Contratado>" egress-instance 1
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact
exit

commit
exi all

ldp
session-parameters

Page 63
peer <IP System rCSR>
fec-type-capability
prefix-ipv6 disable
exit
exit
exit
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3
fec-type-capability
prefix-ipv6 disable
p2mp-ipv6 disable
exit
no shutdown
exit
no shutdown
exit
exit

service
sdp <ID sdp> mpls create
description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit

bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
next-hop-self
advertise-label ipv4
exit
exit

Para los SRa-4 con TiMOS-C-14.0.R15 se debe considerar la siguiente configuración

qos
network 204 create
description "Claro Network Policy on Queue-Group to Core-v3.0"
ingress
dscp be fc be profile out
dscp ef fc ef profile in
dscp cs1 fc l2 profile in
dscp cs2 fc af profile in
dscp cs3 fc l1 profile in

Page 64
dscp cs4 fc h2 profile in
dscp cs5 fc ef profile in
dscp nc1 fc h1 profile in
dscp nc2 fc nc profile in
dscp af11 fc l2 profile in
dscp af12 fc l2 profile in
dscp af13 fc l2 profile in
dscp af21 fc af profile in
dscp af22 fc l2 profile in
dscp af23 fc af profile in
dscp af31 fc l2 profile in
dscp af32 fc l1 profile in
dscp af33 fc l1 profile in
dscp af41 fc h2 profile in
dscp af42 fc h2 profile in
dscp af43 fc h2 profile in
lsp-exp 0 fc be profile out
lsp-exp 1 fc l2 profile in
lsp-exp 2 fc l2 profile in
lsp-exp 3 fc l1 profile in
lsp-exp 4 fc h2 profile in
lsp-exp 5 fc ef profile in
lsp-exp 6 fc h1 profile in
lsp-exp 7 fc nc profile in
exit
egress
fc af
dscp-in-profile af21
dscp-out-profile af21
lsp-exp-in-profile 2
port-redirect-group queue 3
exit
fc be
port-redirect-group queue 1
exit
fc ef
port-redirect-group queue 6
exit
fc h1
port-redirect-group queue 7
exit
fc h2
dscp-in-profile af42
port-redirect-group queue 5
exit
fc l1
dscp-in-profile cs3
dscp-out-profile cs3
lsp-exp-out-profile 3
port-redirect-group queue 4
exit
fc l2
dscp-in-profile af22
dscp-out-profile af22
lsp-exp-in-profile 2
port-redirect-group queue 2

Page 65
exit
fc nc
port-redirect-group queue 8
exit
exit
exit
exit

qos
queue-group-templates
egress
queue-group "QGroup__<Router de acceso>_BW_<BW Contratado>"
create
queue 1 best-effort create
parent "root" cir-level 1
percent-rate 90.00 cir 5.00
mbs 50 kilobytes
high-prio-only 10
exit
queue 2 best-effort create
parent "root" level 2 cir-level 2
percent-rate 90.00 cir 5.00
exit
queue 3 best-effort create
parent "root" level 3 cir-level 3
percent-rate 90.00 cir 5.00
exit
queue 4 best-effort create
parent "root" level 4 cir-level 4
percent-rate 90.00 cir 10.00
exit
queue 5 expedite create
parent "root" level 5 cir-level 5
percent-rate 100.00 cir 5.00
exit
queue 6 expedite create
parent "root" level 6 cir-level 6
percent-rate 100.00 cir 50.00
exit
queue 7 expedite create
parent "root" level 7 cir-level 7
percent-rate 100.00 cir 10.00
exit
queue 8 expedite create
parent "root" level 8 cir-level 8
percent-rate 100.00 cir 10.00
exit
fc af create
queue 3
exit
fc be create
queue 1
exit
fc ef create
queue 6
exit

Page 66
fc h1 create
queue 7
exit
fc h2 create
queue 5
exit
fc l1 create
queue 4
exit
fc l2 create
queue 2
exit
fc nc create
queue 8
exit
exit
scheduler-policy "SPolicy_<Router de acceso>_BW_<BW Contratado>"
create
frame-based-accounting
tier 1
scheduler "root" create
rate <BW Contratado>
exit
exit
exit
exit

port <Puerto de agregacion>


description <string>
ethernet
encap-type dot1q
mtu 2022
network
queue-policy "Network-Policy-IP-RAN_v3_FO"
egress
queue-group "QGroup__<Router de acceso>_BW_<BW Contratado>"
create
scheduler-policy "SPolicy_<Router de acceso>_BW_<BW
Contratado>"
exit
egress-rate <Suma de BW Contratado>
no autonegotiate
exit
no shutdown
exit

- <Suma de BW Contratado>: Para los escenarios con Tx Arrendado, todos los rCSR se integran a
un puerto del pre agregador, cada nuevo rCSR que se integre se debe sumar el BW contratado
en la interfaz del pre agregador

router
interface "to_<Equipo de acceso>"
address <WAN ip address>/<mask>
port <Puerto del pre agregador>:<VLAN ID>
qos 204 egress-port-redirect-group "QGroup_<Router de
acceso>_BW_<BW Contratado>" egress-instance 1

Page 67
bfd 100 receive 100 multiplier 3
no shutdown
exit

ospf 1
area <ID Area>
interface "to_<Equipo de acceso>"
interface-type point-to-point
authentication-type message-digest
bfd-enable
message-digest-key 1 md5 B&k9DO%d4
no shutdown
exit

configure router policy-statement


begin
policy-options
prefix-list "prefix-export-ldp"
prefix <IP System rCSR> exact
exit

commit
exi all

ldp
peer <IP System rCSR>
export-prefixes "ExportToCSR-LDP"
exit
tcp-session-parameters
peer-transport <IP System rCSR>
authentication-key B&k9DO%d4
exit
interface-parameters
interface "to_<Equipo de acceso>" dual-stack
ipv4
hello 15 3
keepalive 30 3
no shutdown
exit
no shutdown
exit
service

sdp <ID sdp> mpls create


description "to_<Equipo de acceso>"
far-end <IP System rCSR>
ldp
keep-alive
shutdown
exit
no shutdown
exit
bgp
group "BGP-LU_Acceso"
neighbor <IP System rCSR>

Page 68
description "to_<Equipo de acceso>"
next-hop-self
advertise-label ipv4
exit
exit

2.2.4 Pre Agregador AgMPLS Cisco

Cuando el pre agregador es un AgMPLS se debe realizar la siguiente


configuración:

Interfaz de 1G

Configure terminal

router bgp 12252


neighbor <IP System rCSR> peer-group CSR-MPLS_HUAWEI
neighbor <IP System rCSR> description <string>
exit-address-family
address-family ipv4
neighbor <IP System rCSR> activate
exit-address-family

interface GigabitEthernet <Puerto del pre agregador>


description <string>
dampening
mtu 9180
ip address <ip address> <mask>
ip ospf message-digest-key 1 md5 B&k9DO%d4
ip ospf network point-to-point
ip ospf cost 1000
load-interval 30
carrier-delay up 1
carrier-delay down msec 0
no negotiation auto
mpls ip

!
router ospf 110
no passive-interface GigabitEthernet <Puerto del pre agregador>
network <IP WAN> <Wildcard> area <Area ID>
!

mpls ldp neighbor <IP System rCSR> password B&k9DO%d4


!

Interfaz de 10G

Para interfaz de 10G el policy-map IPRAN-10G-OUT_OPT debe estar configurado en


el AgMPLS, de no estarlo proceder con la siguiente configuracion

policy-map IPRAN-10G-OUT_OPT

Page 69
class Network_Control
bandwidth remaining percent 5
class Voice
priority
police 1000000000
class Interactive
bandwidth remaining percent 10
class Streaming
bandwidth remaining percent 20
class High_Priority_Data
bandwidth remaining percent 15
class Low_Priority_Data
bandwidth remaining percent 40
queue-limit 9000000 bytes
random-detect
class class-default

Configure terminal

router bgp 12252


neighbor <IP System rCSR> peer-group CSR-MPLS_HUAWEI
neighbor <IP System rCSR> description <string>
exit-address-family
address-family ipv4
neighbor <IP System rCSR> activate
exit-address-family

interface TenGigabitEthernet <Puerto del pre agregador>


description <string>
dampening
mtu 9180
ip address <ip address> <mask>
ip ospf message-digest-key 1 md5 B&k9DO%d4
ip ospf network point-to-point
ip ospf cost 1000
load-interval 30
carrier-delay up 1
carrier-delay down msec 0
no negotiation auto
mpls ip

!
router ospf 110
no passive-interface TenGigabitEthernet <Puerto del pre agregador>
network <IP WAN> <Wilcard> area <Area ID>
!

mpls ldp neighbor <IP System rCSR> password B&k9DO%d4

Para configuraciones que requieran PortChannel:

Configure terminal

router bgp 12252


neighbor <IP System rCSR> peer-group CSR-MPLS_HUAWEI

Page 70
neighbor <IP System rCSR> description <string>
exit-address-family
address-family ipv4
neighbor <IP System rCSR> activate
exit-address-family
!
interface Port-channel<Po ID>
description <string>
dampening
mtu 9180
ip address <ip address> <mask>
ip ospf message-digest-key 1 md5 B&k9DO%d4
ip ospf network point-to-point
ip ospf cost 1000
load-interval 30
carrier-delay up 1
carrier-delay down msec 0
no negotiation auto
mpls ip
!

Para los Port Channel considerar esta solucion para enlaces nx1G

interface GigabitEthernet<Puerto del pre agregador>


mtu 9180
no ip address
negotiation auto
channel-group <Po ID> mode active
service-policy output IPRAN-1G-OUT_OPT
!

Para las interfaces Port Channel la configuracion del QoS se realizara en cada
puerto asociado al Eth-Trunk
No se considera el uso de interface BDI en los Port Channel

router ospf 110


no passive-interface Port-channel<Po ID>
network <IP WAN> <Wildcard> area <Area ID>
!

mpls ldp neighbor <IP System rCSR> password B&k9DO%d4


2.2.5 Pre Agregador cMPLS Cisco
Cuando el pre agregador es un cMPLS se debe realizar la siguiente configuración:

Interfaz de 1G

Configure terminal

router bgp 12252


neighbor <IP System rCSR> peer-group CSR-MPLS_HUAWEI
neighbor <IP System rCSR> description <string>
exit-address-family
address-family ipv4
neighbor <IP System rCSR> activate
exit-address-family

Page 71
interface GigabitEthernet <Puerto del pre agregador>
description <string>
no switchport
mtu 9180
ip address <WAN IP address> <Mask>
ip ospf message-digest-key 1 md5 B&k9DO%d4
ip ospf network point-to-point
no logging event link-status
logging event subif-link-status ignore-bulk
load-interval 30
ntp broadcast
mpls ip
service-policy output IPRAN-1G-OUT_OPT

mpls ldp neighbor <IP System rCSR> password B&k9DO%d4

router ospf 110


network <WAN IP address> <Wildcard> area <Area ID>

Interfaz de 10G

Para interfaz de 10G el policy-map IPRAN-10G-OUT_OPT debe estar configurado en


el AgMPLS, de no estarlo proceder con la siguiente configuracion

policy-map IPRAN-10G-OUT_OPT
class Network_Control
bandwidth remaining percent 5
class Voice
priority
police 1000000000
class Interactive
bandwidth remaining percent 10
class Streaming
bandwidth remaining percent 20
class High_Priority_Data
bandwidth remaining percent 15
class Low_Priority_Data
bandwidth remaining percent 40
queue-limit 9000000 bytes
random-detect
class class-default

Configure terminal

router bgp 12252


neighbor <IP System rCSR> peer-group CSR-MPLS_HUAWEI
neighbor <IP System rCSR> description <string>
exit-address-family
address-family ipv4
neighbor <IP System rCSR> activate

Page 72
exit-address-family

interface GigabitEthernet <Puerto del pre agregador>


description <string>
no switchport
mtu 9180
ip address <WAN IP address> <Mask>
ip ospf message-digest-key 1 md5 B&k9DO%d4
ip ospf network point-to-point
no logging event link-status
logging event subif-link-status ignore-bulk
load-interval 30
ntp broadcast
mpls ip
service-policy output IPRAN-1G-OUT_OPT

mpls ldp neighbor <IP System rCSR> password B&k9DO%d4

router ospf 110


network <WAN IP address> <Wildcard> area <Area ID>

Para configuraciones que requieran PortChannel:

Configure terminal

router bgp 12252


neighbor <IP System rCSR> peer-group CSR-MPLS_HUAWEI
neighbor <IP System rCSR> description <string>
exit-address-family
address-family ipv4
neighbor <IP System rCSR> activate
exit-address-family

!
interface Port-channel<Po ID>
description <string>
dampening
mtu 9180
ip address <ip address> <mask>
ip ospf message-digest-key 1 md5 B&k9DO%d4
ip ospf network point-to-point
ip ospf cost 1000
load-interval 30
carrier-delay up 1
carrier-delay down msec 0
no negotiation auto
mpls ip
!

Para los Port Channel considerar esta solucion para enlaces nx1G

interface GigabitEthernet<Puerto del pre agregador>


mtu 9180

Page 73
no ip address
negotiation auto
channel-group <Po ID> mode active
service-policy output IPRAN-1G-OUT_OPT
!

Para las interfaces Port Channel la configuracion del QoS se realizara en cada
puerto asociado al Eth-Trunk.
No se considera el uso de interface BDI en los Port Channel.

router ospf 110


no passive-interface Port-channel<Po ID>
network <IP WAN> <Wildcard> area <Area ID>
!

mpls ldp neighbor <IP System rCSR> password B&k9DO%d4

2.2.5 Pre Agregador Huawei

Para los casos que nuestro pre agregador es un ATN 910 o ATN 950.
Utilizar la siguiente configuración para el interfaz:

Configuración IGP

<Huawei> system-view
[Huawei] router id <Loopback System>

Para interfaz de 1G / 10G

interface GigabitEthernet0/X/Y
description <string> // <CID Puerto> rCSR<site> Gi0/X/Y >> Preagr Gi0/X/Y
ip address <ip address> <mask>
trust upstream default
mtu 9180

ospf authentication-mode md5 1 cipher B&k9DO%d4


ospf cost 1000
ospf network-type p2p
ospf ldp-sync
ospf timer ldp-sync hold-max-cost infinite
ospf mtu-enable

ospf 110
silent-interface all
undo silent-interface GigabitEthernet0/X/Y
spf-schedule-interval intelligent-timer 5000 10 200
lsa-originate-interval intelligent-timer 5000 50 50
lsa-arrival-interval 15
area <area-id>
network <network WAN> <wilcard> description <description>

Page 74
Configuración QoS

Para interfaz de 1G / 10G

interface GigabitEthernet0/X/Y

trust upstream default


port-queue be wfq weight 5 port-wred best_effort outbound
port-queue af1 wfq weight 20 port-wred low-priority outbound
port-queue af2 wfq weight 5 port-wred high_priority outbound
port-queue af3 wfq weight 5 outbound
port-queue af4 wfq weight 5 outbound
port-queue ef pq shaping shaping-percentage 40 port-wred voice outbound
port-queue cs6 pq shaping shaping-percentage 20 port-wred signaling outbound

Se utilizará en porcentajes (%) la distribución de la QoS.

Configuración MPLS

mpls lsr-id <loopback system>


mpls
mpls ldp
md5-password cipher <system del rCSR > B&k9DO%d4

Para Puerto de 1G / 10G

interface GigabitEthernet0/X/Y
mpls
mpls ldp
mpls ldp timer hello-send 3
mpls ldp timer keepalive-hold 30
mpls ldp timer keepalive-send 3

Configuración BGP

bgp 12252
group CSR-MPLS_Huawei internal
peer <ip system rCSR> as-number 12252
peer <ip system rCSR> group CSR-MPLS_Huawei
peer <ip system rCSR> description To-rCSR

ipv4-family unicast
undo synchronization
import-route direct
peer <ip system rCSR> enable
peer <ip system rCSR> group CSR-MPLS_Huawei

Page 75
El equipo de acceso se habilitará con OSPF, LDP y BGP hacia el pre-agregador.

2.2.6 Configuracion de los RR


Para los equipos de acceso rCSR, la system debe configurarse en los siguientes RR
según la región

Region RR
LIMA rMPLSPolo1RR10
LIMA rMPLSVillaSalvadorRR09
CENTRO/NORTE rMPLSTrujilloRR01
CENTRO/NORTE rMPLSTrujilloRR02
SUR rMPLSArequipaRR01
SUR rMPLSArequipaRR02

-----------------------------------
Route Reflector de la region
-----------------------------------

router
bgp
group "Clientes-CSR"
neighbor <IP System rCSR>
description "to_<Equipo de acceso>"
split-horizon
exit

La configuracion debe realizarse en los 2 RR de la region

FIN DEL DOCUMENTO

Page 76

También podría gustarte