码迷,mamicode.com
首页 > 其他好文 > 详细

基于思科lsa配置的路由广播

时间:2019-11-12 20:15:44      阅读:276      评论:0      收藏:0      [点我收藏+]

标签:target   net   rac   ping   服务   mobile   su -   change   eth   

配置
LAN路由器

interface GigabitEthernet0/0 description towards R1 ip address 2.2.2.1 255.255.255.252 duplex auto speed autointerface GigabitEthernet0/1 description towards R2 ip address 3.3.3.1 255.255.255.252 duplex auto speed autoip route 0.0.0.0 0.0.0.0 2.2.2.2 track 1ip route 0.0.0.0 0.0.0.0 3.3.3.2 10
ip sla auto discoveryip sla 1 icmp-echo 20.20.20.1 source-ip 2.2.2.1ip sla schedule 1 life forever start-time nowtrack 1 ip sla 1 reachabilityip route 0.0.0.0 0.0.0.0 2.2.2.2 track 1
Below are the default parameters for IP SLA. Threshold (milliseconds): 5000 Operation timeout (milliseconds): 5000 Operation frequency (seconds): 60 One can change these parameters in the IP SLA configuration as per requirement.
LAN#show track Track 1 IP SLA 1 reachability Reachability is Up 4 changes, last change 00:06:58 Latest operation return code: OK Latest RTT (millisecs) 1 Tracked by: STATIC-IP-ROUTING 0
当跟踪1是流量到互联网时从主路由器R1去。

LAN#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP + - replicated route, % - next hop overrideGateway of last resort is 2.2.2.2 to network 0.0.0.0S 0.0.0.0/0 [1/0] via 2.2.2.2 2.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 2.2.2.0/30 is directly connected, GigabitEthernet0/0L 2.2.2.1/32 is directly connected, GigabitEthernet0/0 3.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 3.3.3.0/30 is directly connected, GigabitEthernet0/1L 3.3.3.1/32 is directly connected, GigabitEthernet0/1 20.0.0.0/30 is subnetted, 1 subnetsS 20.20.20.0 [1/0] via 2.2.2.2
LAN#show ip sla configuration IP SLAs Infrastructure Engine-IIIEntry number: 1Owner: Tag: Operation timeout (milliseconds): 5000Type of operation to perform: icmp-echoTarget address/Source address: 20.20.20.1/2.2.2.1Type Of Service parameter: 0x0Request size (ARR data portion): 28Verify data: NoVrf Name: Schedule: Operation frequency (seconds): 60 (not considered if randomly scheduled) Next Scheduled Start Time: Start Time already passed Group Scheduled : FALSE Randomly Scheduled : FALSE Life (seconds): Forever Entry Ageout (seconds): never Recurring (Starting Everyday): FALSE Status of entry (SNMP RowStatus): ActiveThreshold (milliseconds): 5000Distribution Statistics: Number of statistic hours kept: 2 Number of statistic distribution buckets kept: 1 Statistic distribution interval (milliseconds): 20Enhanced History:History Statistics: Number of history Lives kept: 0 Number of history Buckets kept: 15 History Filter Type: None
LAN#show ip sla statistics IPSLAs Latest Operation StatisticsIPSLA operation id: 1 Latest RTT: 1 millisecondsLatest operation start time: 08:02:05 UTC Sat Aug 27 2016Latest operation return code: OKNumber of successes: 7Number of failures: 12Operation time to live: Forever
验证
使用本部分可确认配置能否正常运行。

Ping和traceroute去从主路由器的互联网

LAN#ping 8.8.8.8Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 msLAN#traceroute 8.8.8.8Type escape sequence to abort.Tracing the route to 8.8.8.8VRF info: (vrf in name/id, vrf out name/id) 1 2.2.2.2 0 msec 0 msec 0 msec
在主链路的所有问题的情况下将减少跟踪1。

%TRACKING-5-STATE: 1 ip sla 1 reachability Up->Down

LAN#show track Track 1 IP SLA 1 reachability Reachability is Down 5 changes, last change 00:00:33 Latest operation return code: Timeout Tracked by: STATIC-IP-ROUTING 0
当跟踪1沿着走流量时从附属路由器R2去

LAN#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP + - replicated route, % - next hop overrideGateway of last resort is 3.3.3.2 to network 0.0.0.0S 0.0.0.0/0 [10/0] via 3.3.3.2 2.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 2.2.2.0/30 is directly connected, GigabitEthernet0/0L 2.2.2.1/32 is directly connected, GigabitEthernet0/0 3.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 3.3.3.0/30 is directly connected, GigabitEthernet0/1L 3.3.3.1/32 is directly connected, GigabitEthernet0/1 20.0.0.0/30 is subnetted, 1 subnetsS 20.20.20.0 [1/0] via 2.2.2.2
LAN#show ip sla statistics IPSLAs Latest Operation StatisticsIPSLA operation id: 1 Latest RTT: NoConnection/Busy/TimeoutLatest operation start time: 08:05:05 UTC Sat Aug 27 2016Latest operation return code: TimeoutNumber of successes: 9Number of failures: 13Operation time to live: Forever
LAN#ping 8.8.8.8Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 msLAN#traceroute 8.8.8.8Type escape sequence to abort.Tracing the route to 8.8.8.8VRF info: (vrf in name/id, vrf out name/id) 1 3.3.3.2 0 msec 0 msec 0 msec
故障排除
目前没有针对此配置的故障排除信息。

TAC Authored
由思科工程师提供
Gaurav Mahajan
Cisco TAC工程师
此文档是否有帮助?
是 否 Feedback反馈
联系我们
提交支持案例login required
(需要思科服务合同)
相关的思科社区讨论
IP Routing
Last Reply 12 years ago

in Switching

IP Routing!
Last Reply 12 years ago

in Routing

ip routing
Last Reply 12 years ago

in Routing

转自:https://www.ebay.com/usr/krenz_1

基于思科lsa配置的路由广播

标签:target   net   rac   ping   服务   mobile   su -   change   eth   

原文地址:https://blog.51cto.com/netcisco/2449689

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!