Sie sind auf Seite 1von 12

Traffic Engineering Static Configuration

Module Objectives

After this module, you should be able to describe


How to configure static paths How the mpls.0 switching table works

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Slide 2

Static Label-Switched Paths

Must configure each router in the labelswitched path

New York

San Francisco

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Slide 3

Static Label-Switched Paths

Ingress, transit, and egress routers must be configured separately


Manually assign label numbers 16-1023 reserved for static labels

Static LSP appears in ingress routers inet.0 table as static route to egress router Not recommended for large scale deployment

No path keepalive checking No automatic fail over Little operational visibility

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Slide 4

Static Label-Switched Paths

Static label-switched path from San Francisco to New York


Must configure each router in path Next hop should point to directly-connected interface at far end of each leg in path
134.112/16 New York

San Francisco

202
303

10.0.5.4

10.0.1.2 MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

10.0.3.39 Slide 5

Static Label-Switched Paths


mpls { static-path inet { 134.112/16 { nexthop 10.0.1.2; push 202; } } } mpls { interface name { label-map 202 { nexthop 10.0.3.39; swap 303; } } } mpls { interface name { label-map 303 { nexthop 10.0.5.4; swap 0; } } }

134.112/16 New York

San Francisco

202
303

10.0.5.4

10.0.1.2 MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

10.0.3.39 Slide 6

Viewing the routing table

On ingress router

user@host> show route 134.112/16 inet.0: 1 destination, 1 route (1 active,0 holddown,0 hidden) + = Active Route, - = Last Active, * = Both 134.112/16 *[Static/5] 00:00:02 > to 10.0.1.2 via so-3/2/0.0, Push 0000202

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Slide 7

Viewing forwarding table

On transit router

user@host> show route table mpls.0 mpls.0: 3 destinations, 3 routes (3 active,0 holddown,0 hidden) + = Active Route, - = Last Active, * = Both 0 1 *[MPLS/0] 00:00:09, metric 1 Receive *[MPLS/0] 00:00:09, metric 1 Receive *[Static/5] 00:00:09 > to 10.0.3.39 via at-3/1/1.0, swap 0000303

202

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Slide 8

Enable MPLS

Enable MPLS packet forwarding on each logical interface you intend to use for MPLS
[edit interfaces] user@host# set interface-name unit unit family mpls

Enable MPLS routing on the entire router


[edit protocols] user@host# set mpls interface all

Enabling MPLS installs default labels 0 and 1 into mpls.0 switching table
Slide 9

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Checkpoint

Can you now describe


How to configure static paths? How the mpls.0 switching table works?

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Slide 10

Lab

Lab 2Static LSPs


Enable MPLS switching on all interfaces Construct portions of static paths that touch your router Test your configuration

MPLS Static Configuration4 May 2012 Copyright 1999-2000, Juniper Networks, Inc.

Slide 11

Das könnte Ihnen auch gefallen