Riverstone Networks WICT1-12 User Manual

Page 422

Advertising
background image

17-114 Riverstone Networks RS Switch Router User Guide Release 8.0

Traffic Engineering

MPLS Configuration

The following is the

mpls show label-switched-path LSP1 verbose

command on R1 that shows the selected

path for LSP1 in the

cspf-path

section (shown in bold in the example output below). Note that the hops are the

interfaces where the administrative group ’red’ is applied on the routers.

! Create interfaces

interface create ip to-R2 address-netmask 186.1.1.26/8 vlan to-R2

interface create ip to-R3 address-netmask 187.1.1.26/16 vlan to-R3

! Configure IS-IS

ip-router global set router-id 126.126.126.126

ip-router authentication create key-chain test1 key ed301c4c0a9b1171 type primary id 255 (

key is encrypted)

isis add area 53.da05

isis add interface lo0

isis add interface to-R2

isis add interface to-R3

isis set level 1

isis set system-id 26.2626.2626.26

isis set interface to-R2 level 1

isis set interface to-R3 level 1

isis set area-key-chain test1 authentication-method md5

isis set interface to-R2 key-chain test1 authentication-method md5

isis set interface to-R3 key-chain test1 authentication-method md5

isis set traffic-engineering enable

isis start

! Configure MPLS

mpls add interface all

mpls set interface to-R2 admin-group green

mpls set interface to-R3 bandwidth 20000000

mpls set interface to-R2 bandwidth 20000000

mpls set interface to-R3 admin-group green

mpls create admin-group red group-value 1

mpls create admin-group green group-value 3

mpls start

! Enable and start RSVP

rsvp add interface all

rsvp start

R1#

mpls show label-switched-paths LSP1 verbose

Label-Switched-Path: "LSP1"

to: 124.124.124.124 from: 113.113.113.113

state: Up lsp-id: 0xf

proto: <rsvp> protection: none

setup-pri: 7 hold-pri: 0

attributes: <FROM_ADDR>

Advertising