viernes, 31 de mayo de 2013
MPLS VPN
R1#sh ip route vrf cliente1
Routing Table: cliente1
Codes: 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
Gateway of last resort is not set
4.0.0.0/24 is subnetted, 1 subnets
D 4.4.4.0 [90/409600] via 10.1.14.2, 00:33:16, FastEthernet0/0
5.0.0.0/24 is subnetted, 1 subnets
B 5.5.5.0 [200/11] via 3.3.3.3, 00:32:18
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.14.0 is directly connected, FastEthernet0/0
B 10.1.35.0 [200/0] via 3.3.3.3, 00:32:18
R1#show ip bgp vpnv4 vrf cliente1
BGP table version is 15, 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
Route Distinguisher: 4:5 (default for vrf cliente1)
*> 4.4.4.0/24 10.1.14.2 122 32768 ?
*>i5.5.5.0/24 3.3.3.3 11 100 0 ?
*> 10.1.14.0/24 0.0.0.0 0 32768 ?
*>i10.1.35.0/24 3.3.3.3 0 100 0 ?
R4#sh ip route
Gateway of last resort is not set
4.0.0.0/24 is subnetted, 1 subnets
C 4.4.4.0 is directly connected, Loopback0
5.0.0.0/24 is subnetted, 1 subnets
D EX 5.5.5.0 [170/2560025856] via 10.1.14.1, 00:30:44, FastEthernet0/0
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.14.0 is directly connected, FastEthernet0/0
D EX 10.1.35.0 [170/2560025856] via 10.1.14.1, 00:30:44, FastEthernet0/0
R4#ping 5.5.5.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/116/204 ms
R4#trace 5.5.5.5
Type escape sequence to abort.
Tracing the route to 5.5.5.5
1 10.1.14.1 128 msec 56 msec 16 msec
2 10.1.12.2 [MPLS: Labels 18/19 Exp 0] 120 msec 76 msec 76 msec
3 10.1.35.1 [MPLS: Label 19 Exp 0] 56 msec 72 msec 116 msec
4 10.1.35.2 116 msec 124 msec 56 msec
R4#
R6#ping 7.7.7.7
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 7.7.7.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/105/192 ms
R6#trace 7.7.7.7
Type escape sequence to abort.
Tracing the route to 7.7.7.7
1 10.1.16.1 96 msec 28 msec 12 msec
2 10.1.12.2 [MPLS: Labels 18/17 Exp 0] 80 msec 76 msec 104 msec
3 10.1.37.1 [MPLS: Label 17 Exp 0] 60 msec 100 msec 56 msec
4 10.1.37.2 108 msec 144 msec 88 msec
R6#
viernes, 24 de mayo de 2013
BGP as-path preepend
R1#sh run | sec bgp
router bgp 65000
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 2.2.2.2 remote-as 65000
neighbor 2.2.2.2 update-source Loopback0
neighbor 2.2.2.2 next-hop-self
neighbor 3.3.3.3 remote-as 65000
neighbor 3.3.3.3 update-source Loopback0
neighbor 3.3.3.3 next-hop-self
neighbor 4.4.4.4 remote-as 65001
neighbor 4.4.4.4 ebgp-multihop 2
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 route-map red3 out
R4#sh ip bgp
BGP table version is 54, local router ID is 4.4.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
r> 1.1.1.0/24 1.1.1.1 0 0 65000 i
*> 2.2.2.0/24 1.1.1.1 0 65000 i
*>i 3.3.3.0/24 6.6.6.6 0 100 0 65000 i
* 1.1.1.1 0 65000 65000 65000 65000 i
*> 4.4.4.0/24 0.0.0.0 0 32768 i
* i 5.5.5.0/24 5.5.5.5 0 100 0 i
*> 40.40.40.2 2297856 32768 i
* i 6.6.6.0/24 6.6.6.6 0 100 0 i
*> 40.40.40.2 2809856 32768 i
*> 10.10.10.0/30 1.1.1.1 0 65000 i
*> 10.10.10.4/30 1.1.1.1 0 65000 i
*>i 10.10.10.8/30 6.6.6.6 0 100 0 65000 i
*> 40.40.40.0/30 0.0.0.0 0 32768 i
R5#trace 3.3.3.3
Type escape sequence to abort.
Tracing the route to 3.3.3.3
VRF info: (vrf in name/id, vrf out name/id)
1 40.40.40.6 10 msec 10 msec 10 msec
2 30.30.30.1 23 msec 19 msec 19 msec
3 10.10.10.5 [AS 65000] 32 msec 30 msec *
R5#trace 13.13.13.13
Type escape sequence to abort.
Tracing the route to 13.13.13.13
VRF info: (vrf in name/id, vrf out name/id)
1 40.40.40.1 10 msec 9 msec 9 msec
2 20.20.20.1 19 msec 21 msec 22 msec
3 10.10.10.2 [AS 65000] 21 msec 33 msec *
R5#
BGP Local Preference
R2#sh run | sec bgp
router bgp 65000
bgp log-neighbor-changes
network 2.2.2.0 mask 255.255.255.0
neighbor 1.1.1.1 remote-as 65000
neighbor 1.1.1.1 update-source Loopback0
neighbor 1.1.1.1 next-hop-self
neighbor 3.3.3.3 remote-as 65000
neighbor 3.3.3.3 update-source Loopback0
neighbor 3.3.3.3 next-hop-self
neighbor 6.6.6.6 remote-as 65001
neighbor 6.6.6.6 ebgp-multihop 2
neighbor 6.6.6.6 update-source Loopback0
neighbor 6.6.6.6 route-map local3 in
R3#sh ip bgp
BGP table version is 61, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*>i 1.1.1.0/24 1.1.1.1 0 100 0 i
*>i 2.2.2.0/24 2.2.2.2 0 100 0 i
*> 3.3.3.0/24 0.0.0.0 0 32768 i
*>i 4.4.4.0/24 2.2.2.2 2809856 201 0 65001 i
* i 5.5.5.0/24 2.2.2.2 2297856 100 0 65001 i
*>i 1.1.1.1 2297856 100 0 65001 i
*>i 6.6.6.0/24 2.2.2.2 0 100 0 65001 i
*> 10.10.10.0/30 0.0.0.0 0 32768 i
*> 10.10.10.4/30 0.0.0.0 0 32768 i
*> 10.10.10.8/30 10.10.10.1 128 32768 i
*>i 40.40.40.0/30 1.1.1.1 0 100 0 65001 i
*>i 40.40.40.4/30 2.2.2.2 0 100 0 65001 i
R3#
miércoles, 15 de mayo de 2013
SNMP
R1(config)#access-list 21 permit 192.168.100.0 0.0.0.255
R1(config)#snmp-server community lectura ro 21
R1(config)#snmp-server location Block1
R1(config)#snmp-server contact cesarinj@hotmail.com
R1(config)#snmp-server chassis-id 3725block1
R1(config)#snmp-server enable traps snmp
R1(config)#snmp-server enable traps hsrp
R1(config)#snmp-server enable traps config
R1(config)#snmp-server enable traps entity
R1(config)#snmp-server enable traps os
R1(config)#snmp-server enable traps bgp
R1(config)#snmp-server enable traps fra
R1(config)#snmp-server enable traps frame-relay
R1(config)#snmp-server enable traps rtr
R1(config)#snmp-server h
R1(config)#snmp-server host 192.168.100.100 lectura
Suscribirse a:
Entradas (Atom)