beautypg.com

Cisco 15327 User Manual

Page 309

background image

18-17

Ethernet Card Software Feature and Configuration Guide, R7.2

Chapter 18 Configuring Ethernet over MPLS

MPLS-TE Configuration Example

no mpls traffic-eng auto-bw timers frequency 0

!

!

!

interface Loopback0

ip address 222.222.222.222 255.255.255.255

!

interface Tunnel0

ip unnumbered Loopback0

tunnel destination 212.212.212.212

tunnel mode mpls traffic-eng

tunnel mpls traffic-eng autoroute announce

tunnel mpls traffic-eng path-option 1 explicit identifier 1

!

interface Tunnel1

ip unnumbered Loopback0

tunnel destination 212.212.212.212

tunnel mode mpls traffic-eng

tunnel mpls traffic-eng autoroute announce

tunnel mpls traffic-eng path-option 2 explicit identifier 2

!

interface GigabitEthernet0

no ip address

shutdown

!

interface GigabitEthernet1

no ip address

!

interface GigabitEthernet1.1

encapsulation dot1Q 10

fcs-preservation-on

mpls l2transport route 212.212.212.212 222

!

interface GigabitEthernet1.2

encapsulation dot1Q 20

mpls l2transport route 212.212.212.212 223

!

interface GigabitEthernet1.3

encapsulation dot1Q 30

mpls l2transport route 212.212.212.212 224

!

interface POS0

ip address 170.170.170.172 255.255.255.0

mpls traffic-eng tunnels

tag-switching ip

ip rsvp bandwidth 10000

!

interface POS1

ip address 2.1.1.22 255.255.255.0

mpls traffic-eng tunnels

tag-switching ip

ip rsvp bandwidth 10000

!

router ospf 1

mpls traffic-eng router-id Loopback0

mpls traffic-eng area 0

log-adjacency-changes

network 2.1.1.22 0.0.0.0 area 0

network 170.170.170.172 0.0.0.0 area 0

network 222.222.222.222 0.0.0.0 area 0

!

ip classless

no ip http server

!