05a cet mx initial setup

44
1 © Nokia Siemens Networks A-Series Release 4.5 New Solutions – NSN JVT Juniper Initial Setup of MX & A-2200 FT6612 CET – Carrier Ethernet Transport

Upload: cecilia-hernandez-navarro

Post on 02-Dec-2014

88 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: 05A CET MX Initial Setup

1 © Nokia Siemens Networks

A-Series Release 4.5 New Solutions – NSN JVT Juniper

Initial Setup of MX & A -2200

FT6612 CET – Carrier Ethernet Transport

Page 2: 05A CET MX Initial Setup

2 © Nokia Siemens Networks

Initial Configuration

Page 3: 05A CET MX Initial Setup

3 © Nokia Siemens Networks

A-Series 2200

Page 4: 05A CET MX Initial Setup

4 © Nokia Siemens Networks

A-Series CLI Host Name & user login

2200>config-set prompt <host-name>Config-set user-name <user-name> password <password >

Initial login – user: root, password: root

Page 5: 05A CET MX Initial Setup

5 © Nokia Siemens Networks

A-Series CLI Management Interfaces

2200>

band configuration-of-Out

config-set interface host-port ip <ip-address> <mask > <next-hop>

configurationInband

config-set interface loopback ip <ip-address> <mask> <next-hop>config-set interface loopback management-vlan <Vlan- id>conifg-set ip active-default-gateway loopback

Page 6: 05A CET MX Initial Setup

6 © Nokia Siemens Networks

A-Series CLI SNMP

2200>config-set snmp-server community read-write privateconfig-set snmp-server community read-only public

Page 7: 05A CET MX Initial Setup

7 © Nokia Siemens Networks

A-Series CLI UNI/NNI Interfaces

2200>

UNI Interfaces

config-set interface ethernet 0/1 mode uniconfig-set interface ethernet 0/1 admin-state enable

NNI Interfaces

config-set interface ethernet 0/2 mode nniconfig-set interface ethernet 0/2 admin-state enable

Page 8: 05A CET MX Initial Setup

8 © Nokia Siemens Networks

A-Series CLI SW Download

2200>ftp get image server-ip <ip address> filename <A2200_ V4.5.10.22.i> login <usaername> password <password>

Page 9: 05A CET MX Initial Setup

9 © Nokia Siemens Networks

MX 960/480/240

Page 10: 05A CET MX Initial Setup

10 © Nokia Siemens Networks

Junos CLI – System

MX1>cli

System first login is without a user. The first step is to enter the CLI from the initial stratup shell

Page 11: 05A CET MX Initial Setup

11 © Nokia Siemens Networks

Junos CLI – SystemInitial one time setup

MX1>set system host-name <Host Name>set system root-authentication encrypted-password < Password>set system login user lab authentication encrypted- password <Password>set system login user lab class super-userset system services ftpset system services sshset system services telnetset system services xnm-clear-textset system services netconf sshset system services web-management http set system syslog user * any emergencyset system syslog file messages any noticeset system syslog file messages authorization infoset chassis alarm ethernet link-down yellow

For X cards this command should be added:set chassis network-services ethernet

Box Name

User: labPasswd: lab123

Set the MX from ASPEN (not SNMP)User: lab

Passwd: lab123

Default values

Required by the ASPEN.The MX describes physical Link Down as Minor before sending to the ASPEN

Page 12: 05A CET MX Initial Setup

12 © Nokia Siemens Networks

Junos CLI – Interfaces & IPManagement IFManagement IF

MX1>

Band -Of-Out

set interfaces fxp0 unit 0 family inet address <ip/m ask>

Loopback

set interfaces lo0 unit 0 family inet address <ip/ma sk>

Static Route for Remote loginset routing-options static route 0.0.0.0/0 next-hop <next-hop>

172.30.91.22/16

2.2.2.2/32In-band IP, fluid address

UNITUNIT

IFIF

Logical entity that operatesIP/MPLS per port

InetInet Family of IPFamily of MPLS

OOB = fxp0In Band = lo0 = Router ID

Page 13: 05A CET MX Initial Setup

13 © Nokia Siemens Networks

Junos CLI – Interfaces & IPMPLS IFMPLS IF

MX1>set interfaces <interface> unit 0 family inet addres s <ip/mask>set interfaces <interface> unit 0 family mpls

xe-2/2/0 12.12.12.2/24

UNITUNIT Logical entity that operatesIP/MPLS or Ethernet per port

InetInet Family of IPFamily of MPLS

1st: we open the ports for MPLS2nd: assign them the relevant protocolsMPLS MPLS

CoreCore

EthernetEthernet

MXMX

Page 14: 05A CET MX Initial Setup

14 © Nokia Siemens Networks

Junos CLI – Interfaces & IP2200 Ethernet UNI IF2200 Ethernet UNI IF

MX1>set interfaces <interface> flexible-vlan-taggingset interfaces <interface> encapsulation flexible-e thernet-servicesset interfaces <interface> gigether-options etherne t-switch-profile tag-protocol-id 0x88a8

set protocols lldp interface <interface>

For UNI Port (e.g. ge-1/1/0)

UNITUNIT Logical entity that operatesIP/MPLS or Ethernet per port

MPLS MPLS

CoreCore

EthernetEthernet

MXMX

Provider Bridge Ether_Type

*lldp for ASPEN Link discovery between 2200 & MX

Page 15: 05A CET MX Initial Setup

15 © Nokia Siemens Networks

Junos CLI – SNMP definitions

MX1>set groups no-per-unit-traps interfaces <*-*> unit <*> no-traps

set groups no-per-unit-traps interfaces <ae*> unit <*> no-trapsset apply-groups no-per-unit-trapsset snmp community public authorization read-onlyset snmp trap-group <ASPEN> categories authenticatio nset snmp trap-group ASPEN categories linkset snmp trap-group ASPEN categories startupset snmp trap-group ASPEN categories chassisset snmp trap-group ASPEN targets <ASPEN ip-address>set chassis alarm ethernet link-down yellow

Traps definitions of the MX

Required by the ASPEN

The ASPEN IP add. to receive the traps from the MX

“no-per-unit-trap = Generic name of a Group

Page 16: 05A CET MX Initial Setup

16 © Nokia Siemens Networks

Junos CLI – Routing Engine Redundancy

RE0RE1

MX1>set groups re0 system host-name <host-name>set groups re0 interfaces fxp0 unit 0 description < Management Interface RE0>set groups re0 interfaces fxp0 unit 0 family inet ad dress <ip/mask>set groups re0 interfaces fxp0 unit 0 family inet ad dress <floating-ip/mask> master-only

set groups re1 system host-name <host-name>set groups re1 interfaces fxp0 unit 0 description < Management Interface RE1>set groups re1 interfaces fxp0 unit 0 family inet ad dress <ip/mask>set groups re1 interfaces fxp0 unit 0 family inet ad dress<floating-ip/mask> master-only

set apply-groups re0set apply-groups re1set system backup-router <default-gateway through f xp0>set system commit synchronize

Master only- External IP address of the RE

towards the ASPEN

D.G – hidden IP for internal RE’s communication

Both RE’s update each other

Page 17: 05A CET MX Initial Setup

17 © Nokia Siemens Networks

Junos CLI – SystemSW Download

MX1>Request system software add <sw-file> validate rebo ot

•Allocate the sys SW in the Explorer•On the CLI type: request sys…•After Reboot goes with the new load•RE0 upgrade the Standby RE1

Page 18: 05A CET MX Initial Setup

18 © Nokia Siemens Networks

Junos CLI – Routing ProtocolsProtocols

MX1>set routing-options router-id <router-id> set routing-options forwarding-table export pplbset routing-options graceful-restart

set policy-options policy-statement pplb then load-b alance per-packetsetset protocols mpls diffserv-te bandwidth-model rdm

Router ID 1.1.1.1

2.2.2.23.3.3.3 * router-id should be identical to the lo0 ip addre ss

Router ID=Loopback “floating”in the system to be

independent of a failing port/s

On a planned reboot do not :• Drop protocols • Learn “new” topology

PPLB = Per Packet Load BalancingCalculates in advance where to route LSP while fail ure occursWritten in the Routing Table

Page 19: 05A CET MX Initial Setup

19 © Nokia Siemens Networks

Junos CLI – Routing ProtocolsOSPF

MX1>set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 <core-interface>

set protocols ospf area 0.0.0.0 lo0.0

set protocols ospf area 0.0.0.0 interface fxp0.0 dis able

Router ID 1.1.1.1

2.2.2.23.3.3.3

Enables QoS

This command should be applied for all Core interfaces

Learn all OSPF ports

Do Not learn in OSPF the OOB Management address

Page 20: 05A CET MX Initial Setup

20 © Nokia Siemens Networks

Junos CLI – Routing ProtocolsRSVP

MX1>set protocols rsvp interface all subscription 100set protocols rsvp interface all subscription ct0 10 0set protocols rsvp interface all subscription ct1 10 0set protocols rsvp interface all subscription ct2 10 0set protocols rsvp interface all subscription ct3 10 0

This command should be repeated for all core interf aces:

set protocols rsvp interface <core-interface> link-p rotection bandwidth 0

Router ID 1.1.1.1

2.2.2.23.3.3.3

All ports are open to create LSP’s

CT= Traffic ClassAll ports are opened to burst up to 100% load per each port

How much % of this BW assigned for Protecting

RSVPRSVP Creates the LSP’s with SLA constrains

Page 21: 05A CET MX Initial Setup

21 © Nokia Siemens Networks

Junos CLI – Routing ProtocolsLDP

MX1>

Router ID 1.1.1.1

2.2.2.23.3.3.3

set protocols ldp strict-targeted-hellosset protocols ldp interface lo0.0

LDPLDP Manages the L2C (Layer2 Circuit)

Enables LDP sessions

Enables LDP on in-band IP address

Page 22: 05A CET MX Initial Setup

22 © Nokia Siemens Networks

Junos CLI – Routing ProtocolsMPLS

MX1>set protocols mpls revert-timer 240set protocols mpls no-cspf

set protocols mpls interface <core-interface>

Router ID 1.1.1.1

2.2.2.23.3.3.3

set protocols mpls diffserv-te te-class-matrix te0 tr affic-class ct0set protocols mpls diffserv-te te-class-matrix te0 pr iority 0set protocols mpls diffserv-te te-class-matrix te1 tr affic-class ct1set protocols mpls diffserv-te te-class-matrix te1 pr iority 0set protocols mpls diffserv-te te-class-matrix te2 tr affic-class ct2set protocols mpls diffserv-te te-class-matrix te2 pr iority 0set protocols mpls diffserv-te te-class-matrix te3 tr affic-class ct3set protocols mpls diffserv-te te-class-matrix te3 pr iority 0

This command should be repeated for all core interf aces:

240 Seconds, threshold time since original path is up till traffic will re-route back to it

Ignore OSPF preferred paths, ignore costs, use manual path (ASPEN)

Default configurationDefault configuration

Page 23: 05A CET MX Initial Setup

23 © Nokia Siemens Networks

Ingress Classification

Queuing

Queuing

Queuing

Queuing

Queuing

Scheduling Egress

Quality Of Service

Re-Write

Page 24: 05A CET MX Initial Setup

24 © Nokia Siemens Networks

Bandwidth profiles

sec

mbps

CIR

5

4

3

2

1

PIR

Committed information rate = CIRPeak information rate = PIR

Lowest drop precedence

High drop precedence

Discard

Page 25: 05A CET MX Initial Setup

25 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceEXP Classifiers (for incoming MPLS traffic)

MX>set class-of-service classifiers exp my-exp-classif ier forwarding-class ef1 loss-priority low code-points 111set class-of-service classifiers exp my-exp-classif ier forwarding-class ef2 loss-priority low code-points 110set class-of-service classifiers exp my-exp-classif ier forwarding-class af1 loss-priority low code-points 101set class-of-service classifiers exp my-exp-classif ier forwarding-class af1 loss-priority high code-points 100set class-of-service classifiers exp my-exp-classif ier forwarding-class af2 loss-priority low code-points 011set class-of-service classifiers exp my-exp-classif ier forwarding-class af2 loss-priority high code-points 010set class-of-service classifiers exp my-exp-classif ier forwarding-class af3 loss-priority low code-points 001set class-of-service classifiers exp my-exp-classif ier forwarding-class af3 loss-priority high code-points 000

Ingress Classification

Default configurationDefault configuration

Page 26: 05A CET MX Initial Setup

26 © Nokia Siemens Networks

Junos CLI – Quality Of Service.1p Classifiers (for incoming Ethernet traffic)

MX>set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class ef1 loss-priority low code-points 111set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class ef2 loss-priority low code-points 110set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class af1 loss-priority low code-points 101set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class af1 loss-priority high code-points 100set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class af2 loss-priority low code-points 011set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class af2 loss-priority high code-points 010set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class af3 loss-priority low code-points 001set class-of-service classifiers ieee-802.1 my-dot1 p-classifier forwarding-class af3 loss-priority high code-points 000

Ingress Classification

Default configurationDefault configuration

Page 27: 05A CET MX Initial Setup

27 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceEXP Re-Write Rules (for outgoing MPLS traffic)

MX>set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef1 loss-priority low code-point 111set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef1 loss-priority medium-low code-point 111set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef1 loss-priority medium-high code-point 111set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef1 loss-priority high code-point 111set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef2 loss-priority low code-point 110set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef2 loss-priority medium-low code-point 110set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef2 loss-priority medium-high code-point 110set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class ef2 loss-priority high code-point 110set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af1 loss-priority low code-point 101set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af1 loss-priority medium-low code-point 100

EgressRe-Write

Default configurationDefault configuration

Page 28: 05A CET MX Initial Setup

28 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceEXP Re-Write Rules (for outgoing MPLS traffic)

MX>set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af1 loss-priority medium-high code-point 100set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af1 loss-priority high code-point 100set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af2 loss-priority low code-point 011set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af2 loss-priority medium-low code-point 010set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af2 loss-priority medium-high code-point 010set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af2 loss-priority high code-point 010set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af3 loss-priority low code-point 001set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af3 loss-priority medium-low code-point 000set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af3 loss-priority medium-high code-point 000set class-of-service rewrite-rules exp my-exp-rewri te-rule forwarding-class af3 loss-priority high code-point 000

EgressRe-Write

Default configurationDefault configuration

Page 29: 05A CET MX Initial Setup

29 © Nokia Siemens Networks

Junos CLI – Quality Of Service.1P Re-Write Rules (for outgoing Ethernet traffic)

MX>set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef1 loss-priority low code-point 111set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef1 loss-priority medium-low code-point 111set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef1 loss-priority medium-high code-point 111set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef1 loss-priority high code-point 111set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef2 loss-priority low code-point 110set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef2 loss-priority medium-low code-point 110set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef2 loss-priority medium-high code-point 110set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class ef2 loss-priority high code-point 110set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af1 loss-priority low code-point 101set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af1 loss-priority medium-low code-point 100

EgressRe-Write

Default configurationDefault configuration

Page 30: 05A CET MX Initial Setup

30 © Nokia Siemens Networks

Junos CLI – Quality Of Service.1P Re-Write Rules (for outgoing Ethernet traffic)

MX>set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af1 loss-priority medium-high code-point 100set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af1 loss-priority high code-point 100set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af2 loss-priority low code-point 011set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af2 loss-priority medium-low code-point 010set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af2 loss-priority medium-high code-point 010set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af2 loss-priority high code-point 010set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af3 loss-priority low code-point 001set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af3 loss-priority medium-low code-point 000set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af3 loss-priority medium-high code-point 000set class-of-service rewrite-rules ieee-802.1 my-do t1p-rewrite-rule forwarding-class af3 loss-priority high code-point 000

EgressRe-Write

Default configurationDefault configuration

Page 31: 05A CET MX Initial Setup

31 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceFabric Queuing - Forwarding Classes

MX>set class-of-service forwarding-classes class <af3> queue-num 0set class-of-service forwarding-classes class af3 p riority lowset class-of-service forwarding-classes class af2 q ueue-num 1set class-of-service forwarding-classes class af2 p riority lowset class-of-service forwarding-classes class ef2 q ueue-num 2set class-of-service forwarding-classes class ef2 p riority highset class-of-service forwarding-classes class ef1 q ueue-num 3set class-of-service forwarding-classes class ef1 p riority highset class-of-service forwarding-classes class af1 q ueue-num 4set class-of-service forwarding-classes class af1 p riority low

Queuing

Queuing

Queuing

Queuing

EF1

EF2

AF1

AF2

Queuing AF3

High

High

Low

Low

Low

3

2

4

1

0

Default configurationDefault configuration

Page 32: 05A CET MX Initial Setup

32 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceQueuing – drop profiles (WRED)

MX>set class-of-service drop-profiles fab_dp_hi_green f ill-level 0 drop-probability 0set class-of-service drop-profiles fab_dp_hi_green f ill-level 100 drop-probability 100set class-of-service drop-profiles fab_dp_hi_yellow fill-level 0 drop-probability 0set class-of-service drop-profiles fab_dp_hi_yellow fill-level 50 drop-probability 100set class-of-service drop-profiles fab_dp_lo_green f ill-level 0 drop-probability 0set class-of-service drop-profiles fab_dp_lo_green f ill-level 100 drop-probability 100set class-of-service drop-profiles fab_dp_lo_yellow fill-level 0 drop-probability 0set class-of-service drop-profiles fab_dp_lo_yellow fill-level 50 drop-probability 100

Queuing

Drop Probability

Fill Level50

Default configurationDefault configuration

Page 33: 05A CET MX Initial Setup

33 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceSchedulers – queuing

MX>

Set class-of-service schedulers ef1 trasmit-rate pr ecent 1set class-of-service schedulers ef1 buffer-size per cent 10set class-of-service schedulers ef1 priority strict -highset class-of-service schedulers ef2 transmit-rate p ercent 39set class-of-service schedulers ef2 buffer-size tem poral 120set class-of-service schedulers ef2 priority highset class-of-service schedulers af1 priority medium -highset class-of-service schedulers af2 transmit-rate p ercent 30set class-of-service schedulers af2 buffer-size per cent 45set class-of-service schedulers af2 priority medium -lowset class-of-service schedulers af3 transmit-rate p ercent 30set class-of-service schedulers af3 buffer-size per cent 45set class-of-service schedulers af3 priority low

Scheduling

Default configurationDefault configuration

Page 34: 05A CET MX Initial Setup

34 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceSchedulers – Fabric Scheduler

MX>set class-of-service fabric scheduler-map priority high scheduler fab_hiset class-of-service fabric scheduler-map priority low scheduler fab_loScheduling

Default configurationDefault configuration

Page 35: 05A CET MX Initial Setup

35 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceSchedulers – assign queuing drop profile with scheduler drop profiles

MX>set class-of-service schedulers fab_hi drop-profile- map loss-priority low protocol any drop-profile fab_dp_hi_greenset class-of-service schedulers fab_hi drop-profile- map loss-priority medium-low protocol any drop-profile fab_dp_hi_yell owset class-of-service schedulers fab_hi drop-profile- map loss-priority medium-high protocol any drop-profile fab_dp_hi_yel lowset class-of-service schedulers fab_hi drop-profile- map loss-priority high protocol any drop-profile fab_dp_hi_yellowset class-of-service schedulers fab_lo drop-profile- map loss-priority low protocol any drop-profile fab_dp_lo_greenset class-of-service schedulers fab_lo drop-profile- map loss-priority medium-low protocol any drop-profile fab_dp_lo_yell owset class-of-service schedulers fab_lo drop-profile- map loss-priority medium-high protocol any drop-profile fab_dp_lo_yel lowset class-of-service schedulers fab_lo drop-profile- map loss-priority high protocol any drop-profile fab_dp_lo_yellow

Drop Probability

Fill Level50

Queuing Scheduling Default configurationDefault configuration

Page 36: 05A CET MX Initial Setup

36 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceSchedulers – assign forwarding class queue to scheduler

MX>set class-of-service scheduler-maps my-schedular-ma p forwarding-class ef1 scheduler ef1set class-of-service scheduler-maps my-schedular-ma p forwarding-class ef2 scheduler ef2set class-of-service scheduler-maps my-schedular-ma p forwarding-class af2 scheduler af2set class-of-service scheduler-maps my-schedular-ma p forwarding-class af3 scheduler af3set class-of-service scheduler-maps my-schedular-ma p forwarding-class af1 scheduler af1

Queuing

Queuing

Queuing

Queuing

EF1

EF2

AF1

AF2

Queuing AF3

Sch

Sch

Sch

Sch

Sch

EF1

EF2

AF1

AF2

AF3

Default configurationDefault configuration

Page 37: 05A CET MX Initial Setup

37 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceSchedulers – assign classifiers, queues & scheduling on interfaces

MX>

set class-of-service interfaces xe-*/*/* scheduler- map my-schedular-mapset class-of-service interfaces xe-*/*/* unit * cla ssifiers exp my-exp-classifierset class-of-service interfaces xe-*/*/* unit * cla ssifiers ieee-802.1 my-dot1p-classifier vlan-tag outerset class-of-service interfaces xe-*/*/* unit * rew rite-rules exp my-exp-rewrite-ruleset class-of-service interfaces xe-*/*/* unit * rew rite-rules ieee-802.1 my-dot1p-rewrite-rule vlan-tag outerset class-of-service interfaces ge-*/*/* scheduler- map my-schedular-mapset class-of-service interfaces ge-*/*/* unit * cla ssifiers exp my-exp-classifierset class-of-service interfaces ge-*/*/* unit * cla ssifiers ieee-802.1 my-dot1p-classifier vlan-tag outerset class-of-service interfaces ge-*/*/* unit * rew rite-rules exp my-exp-rewrite-ruleset class-of-service interfaces ge-*/*/* unit * rew rite-rules ieee-802.1 my-dot1p-rewrite-rule vlan-tag outer

Default configurationDefault configuration

Page 38: 05A CET MX Initial Setup

38 © Nokia Siemens Networks

Junos CLI – Quality Of ServiceAdditional configuration for Enhanced Q cards

MX>set chassis fpc <slot> pic 0 max-queues-per-interface 8set chassis fpc <slot> pic 1 max-queues-per-interface 8set chassis fpc <slot> pic 2 max-queues-per-interface 8set chassis fpc <slot> pic 3 max-queues-per-interface 8set class-of-service interfaces ge-<slot>/*/* sched uler-map-chassis my-schedular-map

Default configurationDefault configuration

Page 39: 05A CET MX Initial Setup

39 © Nokia Siemens Networks

Junos CLI – CFM

MX1>

set protocols oam ethernet connectivity-fault-managem ent connection-protection mark-connection-protection-tlvset protocols oam ethernet connectivity-fault-managem entaction-profile cet-cfm-action-profile event interfac e-status-tlv downset protocols oam ethernet connectivity-fault-managem entaction-profile cet-cfm-action-profile event port-sta tus-tlv blockedset protocols oam ethernet connectivity-fault-managem entaction-profile cet-cfm-action-profile event adjacenc y-lossset protocols oam ethernet connectivity-fault-managem entaction-profile cet-cfm-action-profile event rdiset protocols oam ethernet connectivity-fault-managem entaction-profile cet-cfm-action-profile action interfa ce-downset protocols oam ethernet connectivity-fault-managem entmaintenance-domain 2 level 2

Default configurationDefault configurationEnables creating & listening of TLV’s in CCM

TLVTLV Defines status of ports

CCM TLV: SSC- Service Status Control – NSN Proprietary

CCM TLV: PS – Port Status

CCM TLV: IS – Port Status

CCM TLV: IS – Port Status

TLVTLV Type Length Value

Page 40: 05A CET MX Initial Setup

40 © Nokia Siemens Networks

Junos CLI – Inband & Spanning TreeDual Attached Connectivity

MX1>set interfaces ge-1/0/0 unit 127 encapsulation vlan -vplsset interfaces ge-1/0/0 unit 127 vlan-tags outer 0x 88a8.127set interfaces ge-1/0/1 unit 127 encapsulation vlan -vplsset interfaces ge-1/0/1 unit 127 vlan-tags outer 0x 88a8.127set interfaces irb unit 1 family inet address 160.1.1 .1/24

set routing-instances MGMT-ELAN instance-type vplsset routing-instances MGMT-ELAN vlan-id 127set routing-instances MGMT-ELAN interface ge-1/0/0. 127set routing-instances MGMT-ELAN interface ge-1/0/1. 127set routing-instances MGMT-ELAN routing-interface i rb.1

set routing-instances l2ctrl instance-type layer2-c ontrolset routing-instances l2ctrl protocols mstp bpdu-des tination-mac-addressprovider-bridge-groupset routing-instances l2ctrl protocols mstp bridge-p riority 0set routing-instances l2ctrl protocols mstp vpls-flu sh-on-topology-changeset routing-instances l2ctrl protocols mstp interfac e ge-1/0/0 no-root-portset routing-instances l2ctrl protocols mstp interfac e ge-1/0/1 no-root-port

MX 1MX 1

Page 41: 05A CET MX Initial Setup

41 © Nokia Siemens Networks

Junos CLI – Inband & Spanning TreeDual Homed Connectivity

MX1>set interfaces ge-2/0/2 unit 127 encapsulation vlan -vplsset interfaces ge-2/0/2 unit 127 vlan-tags outer 0x 88a8.127set interfaces irb unit 0 family inet address 192.168 .10.22/24 vrrp-group 1 virtual-address 192.168.10.1set interfaces irb unit 0 family inet address 192.168 .10.22/24 vrrp-group 1 priority 200set interfaces irb unit 0 family inet address 192.168 .10.22/24 vrrp-group 1 accept-data

MX 1MX 1

MX 2MX 2 set routing-instances MGMT-Dual-Homed instance-type vplsset routing-instances MGMT-Dual-Homed vlan-id 127set routing-instances MGMT-Dual-Homed interface ge- 2/0/2.127set routing-instances MGMT-Dual-Homed routing-inter face irb.0set routing-instances MGMT-Dual-Homed protocols vpl s no-tunnel-servicesset routing-instances MGMT-Dual-Homed protocols vpl s vpls-id 127set routing-instances MGMT-Dual-Homed protocols vpl s neighbor 3.3.3.3 pseudowire-status-tlvset routing-instances MGMT-Dual-Homed protocols vpl s connectivity-type irb

Page 42: 05A CET MX Initial Setup

42 © Nokia Siemens Networks

Junos CLI – Inband & Spanning TreeDual Homed Connectivity

MX1>

MX 1MX 1

MX 2MX 2

set routing-instances l2ctrl instance-type layer2-c ontrolset routing-instances l2ctrl protocols mstp bpdu-des tination-mac-address provider-bridge-groupset routing-instances l2ctrl protocols mstp bridge-p riority 0set routing-instances l2ctrl protocols mstp backup-b ridge-priority 8kset routing-instances l2ctrl protocols mstp vpls-flu sh-on-topology-changeset routing-instances l2ctrl protocols mstp system-i d 00:24:dc:40:4f:d1 ip-address 3.3.3.3/32set routing-instances l2ctrl protocols mstp interfac e ge-2/0/2 no-root-port

Page 43: 05A CET MX Initial Setup

43 © Nokia Siemens Networks

Junos CLI – Inband & Spanning TreeDual Homed Connectivity

MX2>set interfaces ge-2/0/2 unit 127 encapsulation vlan -vplsset interfaces ge-2/0/2 unit 127 vlan-tags outer 0x 88a8.127set interfaces irb unit 0 family inet address 192.168 .10.23/24 vrrp-group 1 virtual-address 192.168.10.1set interfaces irb unit 0 family inet address 192.168 .10.23/24 vrrp-group 1 priority 200set interfaces irb unit 0 family inet address 192.168 .10.23/24 vrrp-group 1 accept-data

MX 1MX 1

MX 2MX 2 set routing-instances MGMT-Dual-Homed instance-type vplsset routing-instances MGMT-Dual-Homed vlan-id 127set routing-instances MGMT-Dual-Homed interface ge- 2/0/2.127set routing-instances MGMT-Dual-Homed routing-inter face irb.0set routing-instances MGMT-Dual-Homed protocols vpl s no-tunnel-servicesset routing-instances MGMT-Dual-Homed protocols vpl s vpls-id 127set routing-instances MGMT-Dual-Homed protocols vpl s neighbor 2.2.2.2 pseudowire-status-tlvset routing-instances MGMT-Dual-Homed protocols vpl s connectivity-type irb

Page 44: 05A CET MX Initial Setup

44 © Nokia Siemens Networks

Junos CLI – Inband & Spanning TreeDual Homed Connectivity

MX2>

MX 1MX 1

MX 2MX 2

set routing-instances l2ctrl instance-type layer2-c ontrolset routing-instances l2ctrl protocols mstp bpdu-des tination-mac-addressprovider-bridge-groupset routing-instances l2ctrl protocols mstp bridge-p riority 4kset routing-instances l2ctrl protocols mstp backup-b ridge-priority 8kset routing-instances l2ctrl protocols mstp vpls-flu sh-on-topology-changeset routing-instances l2ctrl protocols mstp system-i d 00:23:9c:c6:57:d1 ip-address 2.2.2.2/32set routing-instances l2ctrl protocols mstp interfac e ge-2/0/2 no-root-port