!
interface Vlan100
mpls traffic-eng tunnels ip rsvp bandwidth !
interface Vlan200
mpls traffic-eng tunnels ip rsvp bandwidth
router isis 100 metric-style wide
mpls traffic-eng router-id Loopback0 mpls traffic-eng level-2
ch09相关配置:
RP/0/RP0/CPU0:ch09-crs-1#sh run explicit-path Sat Jul 31 16:27:00.198 AEST explicit-path identifier 1
index 10 next-address strict ipv4 unicast 10.1.10.2 index 20 next-address strict ipv4 unicast 10.1.11.1 !
RP/0/RP0/CPU0:ch09-crs-1#sh run interface tunnel-te 1 Sat Jul 31 16:27:21.454 AEST interface tunnel-te1
ipv4 unnumbered Loopback0 destination 1.1.1.1
path-option 1 explicit identifier 1 !
RP/0/RP0/CPU0:ch09-crs-1#sh run router isis Sat Jul 31 16:27:29.532 AEST router isis 100
net 00.0001.0000.0000.0002.00 address-family ipv4 unicast metric-style wide
mpls traffic-eng level-2-only
mpls traffic-eng router-id Loopback0
RP/0/RP0/CPU0:ch09-crs-1#sh run rsvp Sat Jul 31 16:29:24.945 AEST rsvp
interface TenGigE1/6/0/0 bandwidth ! !
RP/0/RP0/CPU0:ch09-crs-1#sh run mpls traffic-eng Sat Jul 31 16:29:31.362 AEST mpls traffic-eng
interface TenGigE1/6/0/0 ! !
ch03相关配置:
RP/0/RP0/CPU0:ch03-crs-1(config)#do sh run router isis Sat Jul 31 16:30:26.598 AEST router isis 100
net 00.0001.0000.0000.0001.00 address-family ipv4 unicast metric-style wide
mpls traffic-eng level-2-only
mpls traffic-eng router-id Loopback0 !
RP/0/RP0/CPU0:ch03-crs-1(config)#do sh run mpls traffic-eng Sat Jul 31 16:30:52.752 AEST mpls traffic-eng
interface TenGigE0/1/0/0 ! !
RP/0/RP0/CPU0:ch03-crs-1(config)#do sh run rsvp Sat Jul 31 16:30:56.889 AEST rsvp
interface TenGigE0/1/0/0 ! !
TE隧道功能验证
CH09到CH03建立MPLS TE隧道(CH09-6509-CH03), 通过配置静态路由使Testcenter2打Testcenter1的5000条BGP网段流量都经过该TE隧道。
CH09相关配置如下: router static
address-family ipv4 unicast
192.168.10.2/32 tunnel-te1 !所有到5000条BGP路由的下一跳均是192.168.10.2, 所以把到192.168.10.2下一跳设置为tunnel-te1,即可实现把该流量导入到TE隧道中。 ! !
在testcenter建立流, 源端口TEN10/2, 目的端口TEN10/1,流源地址是TEN10/2接口地址,目的地址是TEN10/1放出的5000条BGP路由。 TCC测试脚本:LAB-mpls-te.tcc
观察6509, CH09, CH03 tunnel状态均为UP状态:
RP/0/RP0/CPU0:ch09-crs-1#sh mpls traffic-eng tunnels Sat Jul 31 16:36:28.773 AEST Signalling Summary:
LSP Tunnels Process: running RSVP Process: running Forwarding: enabled
Periodic reoptimization: every 3600 seconds, next in 1635 seconds Periodic FRR Promotion: every 300 seconds, next in 274 seconds Auto-bw enabled tunnels: 0 (disabled)
Name: tunnel-te1 Destination: 1.1.1.1 Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit 1 (Basis for Setup, path weight 20) Last Signalled Error: Sat Jul 31 16:10:53 2010 Info: [2] PathErr(1,0)-(admission) at 10.1.11.1
G-PID: 0x0800 (derived from egress interface properties) Bandwidth Requested: 0 kbps CT0
Config Parameters:
Bandwidth: 0 kbps (CT0) Priority: 7 7 Affinity: 0x0/0xffff Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Policy class: not set Forwarding-Adjacency: disabled
Loadshare: 0 equal loadshares Auto-bw: disabled
Fast Reroute: Disabled, Protection Desired: None Path Protection: Not Enabled History:
Tunnel has been up for: 00:21:26 Current LSP:
Uptime: 00:21:26 Prior LSP:
ID: path option 1 [2]
Removal Trigger: setup timed out
Path info (IS-IS 100 level-2): Hop0: 10.1.10.2 Hop1: 10.1.11.2 Hop2: 10.1.11.1 Hop3: 1.1.1.1
Displayed 1 (of 1) heads, 0 (of 0) midpoints, 0 (of 0) tails Displayed 1 up, 0 down, 0 recovering, 0 recovered heads
cc07-6500-4#sh mpls traffic-eng tunnels
LSP Tunnel ch09-crs-1_t1 is signalled, connection is up InLabel : Vlan200, 24
OutLabel : Vlan100, implicit-null RSVP Signalling Info:
Src 2.2.2.2, Dst 1.1.1.1, Tun_Id 1, Tun_Instance 3 RSVP Path Info:
My Address: 10.1.11.2
Explicit Route: 10.1.11.1 1.1.1.1 Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RP/0/RP0/CPU0:ch03-crs-1(config)#do sh mpls traffic-eng tunnels Sat Jul 31 16:37:30.158 AEST Signalling Summary:
LSP Tunnels Process: running RSVP Process: running Forwarding: enabled
Periodic reoptimization: every 3600 seconds, next in 1999 seconds Periodic FRR Promotion: every 300 seconds, next in 216 seconds Auto-bw enabled tunnels: 0 (disabled)
LSP Tunnel 2.2.2.2 1 [3] is signalled, connection is up Tunnel Name: ch09-crs-1_t1 Tunnel Role: Tail InLabel: TenGigE0/1/0/0, implicit-null
Signalling Info:
Src 2.2.2.2 Dst 1.1.1.1, Tun ID 1, Tun Inst 3, Ext ID 2.2.2.2 Router-IDs: upstream 3.3.3.3 local 1.1.1.1
Bandwidth: 0 kbps (CT0) Priority: 7 7 DSTE-class: 0 Path Info:
Incoming Address: 10.1.11.1 Incoming Explicit Route: Strict, 10.1.11.1 Strict, 1.1.1.1 Record Route: None
Tspec: avg rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Session Attributes: Local Prot: Not Set, Node Prot: Not Set, BW Prot: Not Set Resv Info:
Record Route: None
Fspec: avg rate=0 kbits, burst=0 bytes, peak rate=0 kbits Displayed 0 (of 0) heads, 0 (of 0) midpoints, 1 (of 1) tails Displayed 0 up, 0 down, 0 recovering, 0 recovered heads
Monitor CH09的接口流量信息:
RP/0/RP0/CPU0:ch09-crs-1#monitor interface ten 1/6/0/0 ten 1/6/2/0
ch09-crs-1 Monitor Time: 00:00:10 SysUptime: 195:45:01
Protocol:General
Interface In(bps) Out(bps) InBytes/Delta OutBytes/Delta
Te1/6/0/0 3000/ 0% 864.8M/ 8% 563.6G/218 121.6G/216.2M Te1/6/2/0 2000/ 0% 8000/ 0% 734.3G/0 111.9M/1590
Quit='q', Clear='c', Freeze='f', Thaw='t', Next set='n', Prev set='p', Bytes='y', Packets='k'
(General='g', IPv4 Uni='4u', IPv4 Multi='4m', IPv6 Uni='6u', IPv6 Multi='6m')
可以看到流量均从TE1/6/0/0的出去,此端口即为tunne的起始端口, MPLS-TE工作正常。
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库CRS-1实验指南(7)在线全文阅读。
相关推荐: