Beruflich Dokumente
Kultur Dokumente
Cu hnh router:
version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! ! ip cef ! ! mpls traffic-eng tunnels ! ! ! ! ! ! ! ! !
! ! ! ! ! ! ! ! interface Loopback0 ip address 172.16.255.10 255.255.255.255 ! interface Tunnel2 ip unnumbered Loopback0 tunnel destination 172.16.255.13 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 2 2 tunnel mpls traffic-eng bandwidth 158 tunnel mpls traffic-eng path-option 1 explicit name BOTTOM no routing dynamic ! interface FastEthernet0/0 no ip address shutdown duplex half ! interface GigabitEthernet1/0 ip address 172.16.0.1 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none ! interface GigabitEthernet2/0 ip address 172.16.1.1 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none ! interface FastEthernet1/0 ip address 10.10.0.1 255.255.255.0 ip ospf 1 area 0 duplex auto speed auto ! ! router ospf 1
mpls ldp autoconfig area 0 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 log-adjacency-changes timers throttle spf 1000 1000 1000 network 172.16.0.0 0.0.0.255 area 0 network 172.16.1.0 0.0.0.255 area 0 network 172.16.255.10 0.0.0.0 area 0 ! ip forward-protocol nd ip route 10.10.255.0 255.255.255.0 10.10.0.2 ! no ip http server ! ! ip explicit-path name BOTTOM enable next-address 172.16.1.2 next-address 172.16.3.2 ! ip explicit-path name TOP enable next-address 172.16.0.2 next-address 172.16.2.2 ! ! ! ! control-plane ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 logging synchronous stopbits 1 line aux 0 stopbits 1 line vty 0 4 login ! ! end version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R3 ! boot-start-marker boot-end-marker
! no logging monitor ! no aaa new-model ! ! ip cef ! ! mpls traffic-eng tunnels ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 172.16.255.11 255.255.255.255 ! interface FastEthernet0/0 no ip address shutdown duplex half ! interface GigabitEthernet1/0 ip address 172.16.0.2 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none ! interface GigabitEthernet2/0 ip address 172.16.2.1 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none
! router ospf 1 mpls ldp autoconfig area 0 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 log-adjacency-changes timers throttle spf 1000 1000 1000 network 172.16.1.0 0.0.0.255 area 0 network 172.16.2.0 0.0.0.255 area 0 network 172.16.255.11 0.0.0.0 area 0 ! ip forward-protocol nd ! no ip http server ! ! ! ! ! control-plane ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 logging synchronous stopbits 1 line aux 0 stopbits 1 line vty 0 4 login ! ! end version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R4 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! ! ip cef
! ! mpls traffic-eng tunnels ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 172.16.255.12 255.255.255.255 ! interface FastEthernet0/0 no ip address shutdown duplex half ! interface GigabitEthernet1/0 ip address 172.16.3.1 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none ! interface GigabitEthernet2/0 ip address 172.16.1.2 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none ! router ospf 1 mpls ldp autoconfig area 0 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 log-adjacency-changes timers throttle spf 1000 1000 1000
network 172.16.1.0 0.0.0.255 area 0 network 172.16.3.0 0.0.0.255 area 0 network 172.16.255.12 0.0.0.0 area 0 ! ip forward-protocol nd ! no ip http server ! ! ! ! ! control-plane ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 logging synchronous stopbits 1 line aux 0 stopbits 1 line vty 0 4 login ! ! end ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R5 ! boot-start-marker boot-end-marker ! ! no aaa new-model ! ! ip cef ! ! mpls traffic-eng tunnels ! ! ! !
! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 172.16.255.13 255.255.255.255 ! interface Tunnel2 ip unnumbered Loopback0 tunnel destination 172.16.255.10 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 2 2 tunnel mpls traffic-eng bandwidth 158 tunnel mpls traffic-eng path-option 1 explicit name BOTTOM no routing dynamic ! interface FastEthernet0/0 no ip address shutdown duplex half ! interface GigabitEthernet2/0 ip address 172.16.2.2 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none ! interface GigabitEthernet3/0 ip address 172.16.3.2 255.255.255.0 ip ospf hello-interval 1 ip ospf dead-interval 3 ip ospf 1 area 0 negotiation auto mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 750000 ip rsvp resource-provider none ! interface FastEthernet3/0 ip address 10.10.1.1 255.255.255.0 ip ospf 1 area 0
duplex auto speed auto ! interface FastEthernet3/1 no ip address shutdown duplex auto speed auto ! router ospf 1 mpls ldp autoconfig area 0 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 log-adjacency-changes timers throttle spf 1000 1000 1000 network 172.16.2.0 0.0.0.255 area 0 network 172.16.3.0 0.0.0.255 area 0 network 172.16.255.13 0.0.0.0 area 0 ! ip forward-protocol nd ! no ip http server ! ! ip explicit-path name TOP enable next-address 172.16.2.1 next-address 172.16.0.1 ! ip explicit-path name BOTTOM enable next-address 172.16.3.1 next-address 172.16.1.1 ! ! ! ! control-plane ! ! ! ! ! ! gatekeeper shutdown ! ! line con 0 logging synchronous stopbits 1 line aux 0 stopbits 1 line vty 0 4 login ! ! end
version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet1/0 ip address 10.10.0.2 255.255.255.0 duplex auto speed auto ! ! ip http server ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 10.10.0.1 ! ! ! ! ! ! control-plane ! ! !
! ! ! ! ! ! line con 0 logging synchronous line aux 0 line vty 0 4 login ! ! end version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R6 ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 5 ! ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 10.10.254.1 255.255.255.0 ! interface FastEthernet1/0 ip address 10.10.1.2 255.255.255.0 duplex auto speed auto
! ! ip http server ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 10.10.1.1 ! ! ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! line con 0 logging synchronous line aux 0 line vty 0 4 login ! ! end
to ng hm t R0 n R3 v ngc li
Path: valid
Signalling: connected
path option 1, type explicit BOTTOM (Basis for Setup, path weight 2)
Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 158 auto-bw: disabled bw-based
InLabel : -
OutLabel : GigabitEthernet3/0, 23 RSVP Signalling Info: Src 172.16.255.10, Dst 172.16.255.13, Tun_Id 2, Tun_Instance 35 RSVP Path Info: My Address: 172.16.1.1 Explicit Route: 172.16.1.2 172.16.3.1 172.16.3.2 172.16.255.13 Record Route: NONE Tspec: ave rate=158 kbits, burst=1000 bytes, peak rate=158 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=158 kbits, burst=1000 bytes, peak rate=158 kbits History: Tunnel: Time since created: 22 minutes, 54 seconds Time since path change: 7 minutes, 13 seconds Current LSP: Uptime: 7 minutes, 13 seconds
LSP Tunnel R5_t2 is signalled, connection is up InLabel : GigabitEthernet3/0, implicit-null OutLabel : RSVP Signalling Info: Src 172.16.255.13, Dst 172.16.255.10, Tun_Id 2, Tun_Instance 23 RSVP Path Info: My Address: 172.16.255.10 Explicit Route: NONE Record Route: NONE Tspec: ave rate=158 kbits, burst=1000 bytes, peak rate=158 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=158 kbits, burst=1000 bytes, peak rate=158 kbits
To 2 ng BOTTOM trc: Ti R1: ip explicit-path name BOTTOM enable next-address 172.16.1.2 next-address 172.16.3.2
Ti R5:
ip explicit-path name BOTTOM enable next-address 172.16.3.1 next-address 172.16.1.1
R4#show mpls forwarding-table Local Outgoing Prefix tag tag or VC or Tunnel Id 16 17 22 24 Pop tag Pop tag Pop tag Pop tag Bytes tag Outgoing Next Hop switched interface Gi1/0 Gi2/0 Gi2/0 Gi1/0 172.16.3.2 172.16.1.1 172.16.1.1 172.16.3.2
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
16 17
Gi1/0 Gi2/0
172.16.3.2 172.16.1.1
R1#show ip route 10.10.1.0 Routing entry for 10.10.1.0/24 Known via "ospf 1", distance 110, metric 3, type intra area Last update from 172.16.255.13 on Tunnel2, 01:42:12 ago Routing Descriptor Blocks: * 172.16.255.13, from 172.16.255.13, 01:42:12 ago, via Tunnel2 Route metric is 3, traffic share count is 1
R1#ping 10.10.1.2
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 144/194/296 ms R4#show mpls forwarding-table lsp-tunnel Local Outgoing Prefix tag tag or VC or Tunnel Id 16 17 Pop tag Pop tag Bytes tag Outgoing Next Hop switched interface Gi1/0 Gi2/0 172.16.3.2 172.16.1.1
Type escape sequence to abort. Sending 100, 100-byte ICMP Echos to 10.10.1.2, timeout is 2 seconds: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Success rate is 100 percent (100/100), round-trip min/avg/max = 76/166/328 ms
To n Top .. ip explicit-path name TOP enable next-address 172.16.0.2 next-address 172.16.2.2
R3#show mpls forwarding-table lsp-tunnel Local Outgoing Prefix Bytes tag Outgoing Next Hop tag tag or VC or Tunnel Id switched interface 23 Pop tag 172.16.255.10 2 [35] 51870 Gi2/0 172.16.2.2 R4#show mpls forwarding-table lsp-tunnel Local Outgoing Prefix Bytes tag Outgoing Next Hop tag tag or VC or Tunnel Id switched interface 17 Pop tag 172.16.255.13 2 [17] 52440 Gi2/0 172.16.1.1