R1(config)#route
R1(config)#route-ma
R1(config)#route-map LOC_PREF permit 10
R1(config-route-map)#set loca
R1(config-route-map)#set local-preference 200
R1(config-route-map)#router bgp 1
R1(config-router)#nei 12.12.12.2 route
R1(config-router)#nei 12.12.12.2 route-map LOC_PREF in
R1(config-router)#do clear ip bgp *
R1(config-router)#
*Mar 1 00:40:41.311: %BGP-5-ADJCHANGE: neighbor 12.12.12.2 Down User reset
*Mar 1 00:40:41.315: %BGP-5-ADJCHANGE: neighbor 13.13.13.3 Down User reset
*Mar 1 00:40:42.063: %BGP-5-ADJCHANGE: neighbor 13.13.13.3 Up
*Mar 1 00:40:42.319: %BGP-5-ADJCHANGE: neighbor 12.12.12.2 Up
R1(config-router)#exit
R1(config)#^Z
R1#
*Mar 1 00:40:49.363: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
.....
Success rate is 0 percent (0/5)
R1#ping 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/48/72 ms
R1#trace 3.3.3.3 so 1.1.1.1
Type escape sequence to abort.
Tracing the route to 3.3.3.3
1 12.12.12.2 36 msec 52 msec 12 msec
2 23.23.23.3 4 msec * 32 msec
R1#sh ip bgp
BGP table version is 3, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 0.0.0.0 0 32768 i
*> 3.3.3.3/32 12.12.12.2 200 0 23 i
* 13.13.13.3 200 0 23 i
R1#sh ip bgp 3.3.3.
% Incomplete command.
R1#sh ip bgp 3.3.3.3
BGP routing table entry for 3.3.3.3/32, version 2
Paths: (2 available, best #1, table Default-IP-Routing-Table)
Flag: 0x820
Advertised to update-groups:
1
23
12.12.12.2 from 12.12.12.2 (23.23.23.2)
Origin IGP, localpref 200, valid, external, best
23
13.13.13.3 from 13.13.13.3 (3.3.3.3)
Origin IGP, metric 200, localpref 100, valid, external
R1#
Tidak ada komentar:
Posting Komentar