Wednesday, 1 February 2017

EIGRP PE-CE Protocol - PEs are in same AS - MPLS






PC1:-

PC1> ip 10.1.1.10 255.255.255.0 10.1.1.1
Checking for duplicate address...
PC1 : 10.1.1.10 255.255.255.0 gateway 10.1.1.1

R1:-

R1(config)#int fa0/0
R1(config-if)#ip add 10.1.1.1 255.255.255.0
R1(config-if)#no shut

R1(config-if)#int fa2/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no shut

R1(config-if)#int lo0
R1(config-if)#ip add 1.1.1.1 255.255.255.255

R1(config-if)#router eigrp 100
R1(config-router)#eigrp router-id 1.1.1.1
R1(config-router)#net 10.1.1.1 0.0.0.0
R1(config-router)#net 12.12.12.1 0.0.0.0


R2:-

R2(config)#ip vrf cust1
R2(config-vrf)#rd 100:1
R2(config-vrf)#route-target 200:1

R2(config-vrf)#int fa2/0
R2(config-if)#ip vrf for cust1
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no shut

R2(config-if)#int fa0/0
R2(config-if)#ip add 23.23.23.2 255.255.255.0
R2(config-if)#mpls ip
R2(config-if)#no shut

R2(config-if)#int lo0
R2(config-if)#ip add 2.2.2.2 255.255.255.255

R2(config-if)#mpls ldp router lo0 force

R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#net 23.23.23.2 0.0.0.0 are
R2(config-router)#net 23.23.23.2 0.0.0.0 area 0
R2(config-router)#network 2.2.2.2 0.0.0.0 area 0

R2(config)#router eigrp 100
R2(config-router)#address-family ipv4 vrf cust1
R2(config-router-af)#net 12.12.12.2 0.0.0.0
R2(config-router-af)#autonomous 100
R2(config-router-af)#redistribute bgp 1
R2(config-router-af)#default-metric 1 1 1 1 1 -< Metric is mandatory

R2(config-if)#router bgp 1
R2(config-router)#neighbor 4.4.4.4 remote-as 1
R2(config-router)#neighbor 4.4.4.4 update-source lo0
R2(config-router)#address-family vpnv4
R2(config-router-af)#neighbor 4.4.4.4 activate
R2(config-router-af)#exit
R2(config-router)#address-family ipv4 vrf cust1
R2(config-router-af)# redistribute eigrp 100
R2(config-router-af)#exit


R3:-

R3(config)#int lo0
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#exit

R3(config)#mpls ldp router lo0 force

R3(config)#int fa0/0
R3(config-if)#ip add 23.23.23.3 255.255.255.0
R3(config-if)#mpls ip
R3(config-if)#no shut

R3(config-if)#int fa1/0
R3(config-if)#ip add 34.34.34.3 255.255.255.0
R3(config-if)#mpls ip
R3(config-if)#no shut

R3(config-if)#router ospf 1
R3(config-router)#router-id 3.3.3.3
R3(config-router)#net 23.23.23.3 0.0.0.0 area 0
R3(config-router)#net 34.34.34.3 0.0.0.0 are 0
R3(config-router)#net 3.3.3.3 0.0.0.0 area 0
R3(config-router)#exit

R4:-

R4(config)#int lo0
R4(config-if)#ip add 4.4.4.4 255.255.255.255

R4(config-if)#int fa1/0
R4(config-if)#ip add 34.34.34.4 255.255.255.0
R4(config-if)#mpls ip
R4(config-if)#no shut
R4(config-if)#exit

R4(config)#mpls ldp router lo0 force

R4(config)#ip vrf cust1
R4(config-vrf)#rd 1:1
R4(config-vrf)#route-target 200:1
R4(config-vrf)#exit

R4(config)#int fa2/0
R4(config-if)#ip vrf for cust1
R4(config-if)#ip add 45.45.45.4 255.255.255.0
R4(config-if)#no shut

R4(config-if)#router ospf 1
R4(config-router)#router-id 4.4.4.4
R4(config-router)#net 34.34.34.4 0.0.0.0 area 0
R4(config-router)#network 4.4.4.4 0.0.0.0 area 0

R4(config-router)#router eigrp 100
R4(config-router)#address-family ipv4 vrf cust1
R4(config-router-af)#net  45.45.45.4 0.0.0.0
R4(config-router-af)#autonomous 100
R4(config-router-af)#exit
R4(config-router)#

R4(config)#router bgp 1
R4(config-router)#neighbor 2.2.2.2 remote-as 1
R4(config-router)#neighbor 2.2.2.2 update-source lo0
R4(config-router)#address-family vpnv4
R4(config-router-af)#neighbor 2.2.2.2 activate
R4(config-router-af)#addres ipv4 vrf cust1
R4(config-router-af)#redistribute eigrp 100

R4(config-router-af)#router eigrp 100
R4(config-router)#address-family ipv4 vrf cust1
R4(config-router-af)#redistribute bgp 1
R4(config-router-af)#default-metric 1 1 1 1 1
R4(config-router-af)#exit

R5:-

R5(config)#int lo0
R5(config-if)#ip add 5.5.5.5 255.255.255.255

R5(config-if)#int fa2/0
R5(config-if)#ip add 45.45.45.5 255.255.255.0
R5(config-if)#no shut

R5(config-if)#router eigrp 100
R5(config-router)#eigrp router-id 5.5.5.5
R5(config-router)#net 45.45.45.5  0.0.0.0
R5(config-router)#net 5.5.5.5 0.0.0.0
R5(config-router)#net 20.1.1.1 0.0.0.0
R5(config-router)#exit

R5(config)#int fa0/0
R5(config-if)#ip add 20.1.1.1 255.255.255.0
R5(config-if)#no shut


Verification:-

PC1:-

PC1> ping 20.1.1.10
84 bytes from 20.1.1.10 icmp_seq=1 ttl=59 time=368.619 ms
84 bytes from 20.1.1.10 icmp_seq=2 ttl=59 time=347.316 ms
84 bytes from 20.1.1.10 icmp_seq=3 ttl=59 time=368.788 ms
84 bytes from 20.1.1.10 icmp_seq=4 ttl=59 time=416.798 ms
84 bytes from 20.1.1.10 icmp_seq=5 ttl=59 time=379.615 ms

PC1> trace 20.1.1.10
trace to 20.1.1.10, 8 hops max, press Ctrl+C to stop
 1   10.1.1.1   98.128 ms  32.396 ms  38.933 ms
 2   12.12.12.2   193.647 ms  120.998 ms  111.703 ms
 3   23.23.23.3   309.530 ms  294.889 ms  276.499 ms
 4   45.45.45.4   289.342 ms  309.988 ms  292.062 ms
 5   45.45.45.5   329.599 ms  272.541 ms  341.644 ms
 6   *20.1.1.10   345.620 ms (ICMP type:3, code:3, Destination port unreachable)

R1:-
R1#sh ip route

Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback0
      5.0.0.0/32 is subnetted, 1 subnets
D        5.5.5.5 [90/158720] via 12.12.12.2, 01:22:19, FastEthernet2/0
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.1.1.0/24 is directly connected, FastEthernet0/0
L        10.1.1.1/32 is directly connected, FastEthernet0/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, FastEthernet2/0
L        12.12.12.1/32 is directly connected, FastEthernet2/0
      20.0.0.0/24 is subnetted, 1 subnets
D        20.1.1.0 [90/33280] via 12.12.12.2, 01:22:19, FastEthernet2/0 --<< Remain internal routes as AS is same on both PE and metric is not recalculated from the value mentioned in the redistribution or default metric command. Metric remain same throughout the cloud.
      45.0.0.0/24 is subnetted, 1 subnets
D        45.45.45.0 [90/30720] via 12.12.12.2, 01:22:19, FastEthernet2/0 --<< remain internal routes as AS is same on both PE


R2:-

R2#sh ip eigrp vrf cust1 neighbors
EIGRP-IPv4 Neighbors for AS(100) VRF(cust1)
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   12.12.12.1              Fa2/0             14 02:20:05 1311  5000  0  3

R2#sh ip bgp vpnv4 all summary
BGP router identifier 2.2.2.2, local AS number 1
BGP table version is 9, main routing table version 9
8 network entries using 1216 bytes of memory
8 path entries using 416 bytes of memory
5/5 BGP path/bestpath attribute entries using 660 bytes of memory
5 BGP extended community entries using 1250 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 3542 total bytes of memory
BGP activity 8/0 prefixes, 8/0 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
4.4.4.4         4            1     104     103        9    0    0 01:27:35        3

R2#show ip bgp summary
BGP router identifier 2.2.2.2, local AS number 1
BGP table version is 1, main routing table version 1

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
4.4.4.4         4            1     104     103        1    0    0 01:27:38        0

R2#sh ip bgp vpnv4 vrf cust1 20.1.1.0/24BGP routing table entry for 100:1:20.1.1.0/24, version 8
Paths: (1 available, best #1, table cust1)
  Not advertised to any peer
  Local, imported path from 1:1:20.1.1.0/24
    4.4.4.4 (metric 3) from 4.4.4.4 (4.4.4.4)
      Origin incomplete, metric 30720, localpref 100, valid, internal, best
      Extended Community: RT:200:1 Cost:pre-bestpath:128:30720 0x8800:32768:0
        0x8801:100:5120 0x8802:65281:25600 0x8803:65281:1500 0x8806:0:84215045
      mpls labels in/out nolabel/18

R2#sh ip bgp vpnv4 vrf cust1
   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 100:1 (default for vrf cust1)
*>i5.5.5.5/32       4.4.4.4             156160    100      0 ?
*> 10.1.1.0/24      12.12.12.1           30720         32768 ?
*> 12.12.12.0/24    0.0.0.0                  0         32768 ?
*>i20.1.1.0/24      4.4.4.4              30720    100      0 ?
*>i45.45.45.0/24    4.4.4.4                  0    100      0 ?

R2#sh ip route vrf cust1

      5.0.0.0/32 is subnetted, 1 subnets
B        5.5.5.5 [200/156160] via 4.4.4.4, 01:30:23 -< metric is copied from ospf
      10.0.0.0/24 is subnetted, 1 subnets
D        10.1.1.0 [90/30720] via 12.12.12.1, 02:23:02, FastEthernet2/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, FastEthernet2/0
L        12.12.12.2/32 is directly connected, FastEthernet2/0
      20.0.0.0/24 is subnetted, 1 subnets
B        20.1.1.0 [200/30720] via 4.4.4.4, 01:30:23
      45.0.0.0/24 is subnetted, 1 subnets
B        45.45.45.0 [200/0] via 4.4.4.4, 01:30:23

R2#sh ip route vrf cust1

Routing Table: cust1
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
       + - replicated route, % - next hop override

Gateway of last resort is not set

      5.0.0.0/32 is subnetted, 1 subnets
B        5.5.5.5 [200/156160] via 4.4.4.4, 01:30:23
      10.0.0.0/24 is subnetted, 1 subnets
D        10.1.1.0 [90/30720] via 12.12.12.1, 02:23:02, FastEthernet2/0 
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, FastEthernet2/0
L        12.12.12.2/32 is directly connected, FastEthernet2/0
      20.0.0.0/24 is subnetted, 1 subnets
B        20.1.1.0 [200/30720] via 4.4.4.4, 01:30:23
      45.0.0.0/24 is subnetted, 1 subnets
B        45.45.45.0 [200/0] via 4.4.4.4, 01:30:23


R2# sh 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
       + - replicated route, % - next hop override

Gateway of last resort is not set

      2.0.0.0/32 is subnetted, 1 subnets
C        2.2.2.2 is directly connected, Loopback0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/2] via 23.23.23.3, 01:22:03, FastEthernet0/0
      4.0.0.0/32 is subnetted, 1 subnets
O        4.4.4.4 [110/3] via 23.23.23.3, 01:34:12, FastEthernet0/0
      23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        23.23.23.0/24 is directly connected, FastEthernet0/0
L        23.23.23.2/32 is directly connected, FastEthernet0/0
      34.0.0.0/24 is subnetted, 1 subnets
O        34.34.34.0 [110/2] via 23.23.23.3, 02:22:13, FastEthernet0/0

R2#sh ip ospf neighbor 
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           1   FULL/BDR        00:00:33    23.23.23.3      FastEthernet0/0

R2#show mpls forwarding-tableLocal      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         Pop Label  34.34.34.0/24    0             Fa0/0      23.23.23.3
17         No Label   10.1.1.0/24[V]   3414          Fa2/0      12.12.12.1
18         No Label   12.12.12.0/24[V] 0             aggregate/cust1
19         16         4.4.4.4/32       0             Fa0/0      23.23.23.3
20         Pop Label  3.3.3.3/32       0             Fa0/0      23.23.23.3

R3:-

R3#sh ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
4.4.4.4           1   FULL/BDR        00:00:35    34.34.34.4      FastEthernet1/0
2.2.2.2           1   FULL/DR         00:00:31    23.23.23.2      FastEthernet0/0

R3#show mpls ldp neighbor    
Peer LDP Ident: 4.4.4.4:0; Local LDP Ident 3.3.3.3:0
        TCP connection: 4.4.4.4.21070 - 3.3.3.3.646
        State: Oper; Msgs sent/rcvd: 101/102; Downstream
        Up time: 01:22:35
        LDP discovery sources:
          FastEthernet1/0, Src IP addr: 34.34.34.4
        Addresses bound to peer LDP Ident:
          34.34.34.4      4.4.4.4
    Peer LDP Ident: 2.2.2.2:0; Local LDP Ident 3.3.3.3:0
        TCP connection: 2.2.2.2.646 - 3.3.3.3.30173
        State: Oper; Msgs sent/rcvd: 102/100; Downstream
        Up time: 01:22:35
        LDP discovery sources:
          FastEthernet0/0, Src IP addr: 23.23.23.2
        Addresses bound to peer LDP Ident:
          23.23.23.2      2.2.2.2


R3#show mpls ldp discovery
 Local LDP Identifier:
    3.3.3.3:0
    Discovery Sources:
    Interfaces:
        FastEthernet0/0 (ldp): xmit/recv
            LDP Id: 2.2.2.2:0
        FastEthernet1/0 (ldp): xmit/recv
            LDP Id: 4.4.4.4:0

R3#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         Pop Label  4.4.4.4/32       14366         Fa1/0      34.34.34.4
17         Pop Label  2.2.2.2/32       15433         Fa0/0      23.23.23.2

R4:-

R4#show ip route vrf cust1

Routing Table: cust1
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
       + - replicated route, % - next hop override

Gateway of last resort is not set

      5.0.0.0/32 is subnetted, 1 subnets
D        5.5.5.5 [90/156160] via 45.45.45.5, 02:02:27, FastEthernet2/0 -< metric is not changed throughout MPLS cloud. It means MPLS cloud do not add metric
      10.0.0.0/24 is subnetted, 1 subnets
B        10.1.1.0 [200/30720] via 2.2.2.2, 01:34:24
      12.0.0.0/24 is subnetted, 1 subnets
B        12.12.12.0 [200/0] via 2.2.2.2, 01:34:24
      20.0.0.0/24 is subnetted, 1 subnets
D        20.1.1.0 [90/30720] via 45.45.45.5, 01:56:05, FastEthernet2/0
      45.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        45.45.45.0/24 is directly connected, FastEthernet2/0
L        45.45.45.4/32 is directly connected, FastEthernet2/0

R4#show ip bgp vpnv4 vrf cust1
BGP table version is 8, 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, x best-external
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 1:1 (default for vrf cust1)
*> 5.5.5.5/32       45.45.45.5          156160         32768 ?
*>i10.1.1.0/24      2.2.2.2              30720    100      0 ?
*>i12.12.12.0/24    2.2.2.2                  0    100      0 ?
*> 20.1.1.0/24      45.45.45.5           30720         32768 ?
*> 45.45.45.0/24    0.0.0.0                  0         32768 ?

R4#show ip bgp vpnv4 vrf cust1 10.1.1.0/24
BGP routing table entry for 1:1:10.1.1.0/24, version 7
Paths: (1 available, best #1, table cust1)
  Not advertised to any peer
  Local, imported path from 100:1:10.1.1.0/24
    2.2.2.2 (metric 3) from 2.2.2.2 (2.2.2.2)
      Origin incomplete, metric 30720, localpref 100, valid, internal, best
      Extended Community: RT:200:1 Cost:pre-bestpath:128:30720 0x8800:32768:0
        0x8801:100:5120 0x8802:65281:25600 0x8803:65281:1500 0x8806:0:16843009
      mpls labels in/out nolabel/17

R4#sh ip eigrp vrf cust1 neighbors
EIGRP-IPv4 Neighbors for AS(100) VRF(cust1)
H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   45.45.45.5              Fa2/0             14 02:04:28  362  2172  0  5

R5:-

R5(config-router)#do sh 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
       + - replicated route, % - next hop override

Gateway of last resort is not set

      5.0.0.0/32 is subnetted, 1 subnets
C        5.5.5.5 is directly connected, Loopback0
      10.0.0.0/24 is subnetted, 1 subnets
D        10.1.1.0 [90/33280] via 45.45.45.4, 00:01:12, FastEthernet2/0 --<< remain internal routes as AS is same on both PE
      12.0.0.0/24 is subnetted, 1 subnets
D        12.12.12.0 [90/30720] via 45.45.45.4, 00:01:12, FastEthernet2/0
      20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        20.1.1.0/24 is directly connected, FastEthernet0/0
L        20.1.1.1/32 is directly connected, FastEthernet0/0
      45.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        45.45.45.0/24 is directly connected, FastEthernet2/0

L        45.45.45.5/32 is directly connected, FastEthernet2/0

Tuesday, 31 January 2017

%Warning: EIGRP Autonomous-System number must be provided

Make sure autonomous system is configured in address family.

R1(config-router)#router eigrp 100
R1(config-router)#address-family ipv4 vrf cust1
R1(config-router-af)#net  45.45.45.4 0.0.0.0
R1(config-router-af)#exit
%Warning: EIGRP Autonomous-System number must be provided
R1(config-router)#address-family ipv4 vrf cust1

R1(config-router-af)#autonomous 100


Saturday, 7 January 2017

VRFlite configuration example



















PC1:-


PC1> show ip

NAME        : PC1[1]
IP/MASK     : 10.1.1.10/24
GATEWAY     : 10.1.1.1
DNS         :
MAC         : 00:50:79:66:68:00
LPORT       : 10000
RHOST:PORT  : 192.168.56.1:10001
MTU:        : 1500

Verification:-

PC1> ping 10.1.1.1
84 bytes from 10.1.1.1 icmp_seq=1 ttl=255 time=46.746 ms
84 bytes from 10.1.1.1 icmp_seq=2 ttl=255 time=47.038 ms
84 bytes from 10.1.1.1 icmp_seq=3 ttl=255 time=37.015 ms
84 bytes from 10.1.1.1 icmp_seq=4 ttl=255 time=47.171 ms
84 bytes from 10.1.1.1 icmp_seq=5 ttl=255 time=47.015 ms

PC1> ping 12.12.12.1
84 bytes from 12.12.12.1 icmp_seq=1 ttl=255 time=55.690 ms
84 bytes from 12.12.12.1 icmp_seq=2 ttl=255 time=49.691 ms
84 bytes from 12.12.12.1 icmp_seq=3 ttl=255 time=48.370 ms
84 bytes from 12.12.12.1 icmp_seq=4 ttl=255 time=56.310 ms
84 bytes from 12.12.12.1 icmp_seq=5 ttl=255 time=47.085 ms

PC1> ping 12.12.12.2
84 bytes from 12.12.12.2 icmp_seq=1 ttl=254 time=87.149 ms
84 bytes from 12.12.12.2 icmp_seq=2 ttl=254 time=93.756 ms
84 bytes from 12.12.12.2 icmp_seq=3 ttl=254 time=93.756 ms
84 bytes from 12.12.12.2 icmp_seq=4 ttl=254 time=78.428 ms
84 bytes from 12.12.12.2 icmp_seq=5 ttl=254 time=93.904 ms

PC1> ping 100.1.1.1
84 bytes from 100.1.1.1 icmp_seq=1 ttl=254 time=93.761 ms
84 bytes from 100.1.1.1 icmp_seq=2 ttl=254 time=94.341 ms
84 bytes from 100.1.1.1 icmp_seq=3 ttl=254 time=78.159 ms
84 bytes from 100.1.1.1 icmp_seq=4 ttl=254 time=77.972 ms
84 bytes from 100.1.1.1 icmp_seq=5 ttl=254 time=93.908 ms

PC1> ping 100.1.1.10
100.1.1.10 icmp_seq=1 timeout
100.1.1.10 icmp_seq=2 timeout
84 bytes from 100.1.1.10 icmp_seq=3 ttl=62 time=62.595 ms
84 bytes from 100.1.1.10 icmp_seq=4 ttl=62 time=62.613 ms
84 bytes from 100.1.1.10 icmp_seq=5 ttl=62 time=62.560 ms

PC2:-

C2> show ip

NAME        : PC2[1]
IP/MASK     : 20.1.1.10/24
GATEWAY     : 20.1.1.1
DNS         :
MAC         : 00:50:79:66:68:01
LPORT       : 10002
RHOST:PORT  : 192.168.56.1:10003
MTU:        : 1500

Verification:-

PC2> ping 200.1.1.10
200.1.1.10 icmp_seq=1 timeout
200.1.1.10 icmp_seq=2 timeout
84 bytes from 200.1.1.10 icmp_seq=3 ttl=62 time=62.585 ms
84 bytes from 200.1.1.10 icmp_seq=4 ttl=62 time=62.783 ms
84 bytes from 200.1.1.10 icmp_seq=5 ttl=62 time=62.385 ms


R1:-

ip vrf cust1

ip vrf cust2

interface FastEthernet0/0
 ip vrf forwarding cust1
 ip address 10.1.1.1 255.255.255.0
 speed auto
 duplex auto
!
interface FastEthernet0/1
 ip vrf forwarding cust2
 ip address 20.1.1.1 255.255.255.0
 speed auto
 duplex auto

interface FastEthernet1/0.10
 encapsulation dot1Q 10
 ip vrf forwarding cust1
 ip address 12.12.12.1 255.255.255.0

interface FastEthernet1/0.20
 encapsulation dot1Q 20
 ip vrf forwarding cust2
 ip address 112.112.112.1 255.255.255.0

ip route vrf cust1 0.0.0.0 0.0.0.0 12.12.12.2
ip route vrf cust2 0.0.0.0 0.0.0.0 112.112.112.2

Verification:-

R1#sh ip vrf
  Name                             Default RD          Interfaces
  cust1                            <not set>           Fa0/0
                                                       Fa1/0.10
  cust2                            <not set>           Fa0/1
                                                       Fa1/0.20
R1#show ip route vrf cust1

Routing Table: cust1
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
       + - replicated route, % - next hop override

Gateway of last resort is 12.12.12.2 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 12.12.12.2
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.1.1.0/24 is directly connected, FastEthernet0/0
L        10.1.1.1/32 is directly connected, FastEthernet0/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, FastEthernet1/0.10
L        12.12.12.1/32 is directly connected, FastEthernet1/0.10

R1#ping vrf cust1 10.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/8 ms

R1#ping vrf cust1 10.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/48/64 ms

R1#ping vrf cust1 100.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 84/342/1104 ms

R1#show ip route vrf cust2

Routing Table: cust2
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
       + - replicated route, % - next hop override

Gateway of last resort is 112.112.112.2 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 112.112.112.2
      20.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        20.1.1.0/24 is directly connected, FastEthernet0/1
L        20.1.1.1/32 is directly connected, FastEthernet0/1
      112.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        112.112.112.0/24 is directly connected, FastEthernet1/0.20
L        112.112.112.1/32 is directly connected, FastEthernet1/0.20

R1#ping vrf cust2 20.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/52/156 ms

R1#ping vrf cust2 200.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.1.1.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 92/350/1112 ms
R1#


PC3:-

PC3> show ip

NAME        : PC3[1]
IP/MASK     : 100.1.1.10/24
GATEWAY     : 100.1.1.1
DNS         :
MAC         : 00:50:79:66:68:02
LPORT       : 10005
RHOST:PORT  : 192.168.56.1:10004
MTU:        : 1500

Verification:-

PC3> ping 10.1.1.10
10.1.1.10 icmp_seq=1 timeout
10.1.1.10 icmp_seq=2 timeout
84 bytes from 10.1.1.10 icmp_seq=3 ttl=62 time=62.635 ms
84 bytes from 10.1.1.10 icmp_seq=4 ttl=62 time=62.703 ms
84 bytes from 10.1.1.10 icmp_seq=5 ttl=62 time=79.737 ms

PC4:-

PC4> show ip

NAME        : PC4[1]
IP/MASK     : 200.1.1.10/24
GATEWAY     : 200.1.1.1
DNS         :
MAC         : 00:50:79:66:68:03
LPORT       : 10007
RHOST:PORT  : 192.168.56.1:10006
MTU:        : 1500

Verification:-

PC4> ping 20.1.1.10
20.1.1.10 icmp_seq=1 timeout
20.1.1.10 icmp_seq=2 timeout
84 bytes from 20.1.1.10 icmp_seq=3 ttl=62 time=62.470 ms
84 bytes from 20.1.1.10 icmp_seq=4 ttl=62 time=46.973 ms
84 bytes from 20.1.1.10 icmp_seq=5 ttl=62 time=62.796 ms

R2:-

ip vrf cust1

ip vrf cust2

interface FastEthernet0/0
 ip vrf forwarding cust1
 ip address 100.1.1.1 255.255.255.0
 speed auto
 duplex auto

interface FastEthernet0/1
 ip vrf forwarding cust2
 ip address 200.1.1.1 255.255.255.0
 speed auto
 duplex auto

interface FastEthernet1/0.10
 encapsulation dot1Q 10
 ip vrf forwarding cust1
 ip address 12.12.12.2 255.255.255.0

interface FastEthernet1/0.20
 encapsulation dot1Q 20
 ip vrf forwarding cust2
 ip address 112.112.112.2 255.255.255.0

ip route vrf cust1 0.0.0.0 0.0.0.0 12.12.12.1
ip route vrf cust2 0.0.0.0 0.0.0.0 112.112.112.1

Verification:-

R2#sh ip vrf
  Name                             Default RD          Interfaces
  cust1                            <not set>           Fa0/0
                                                       Fa1/0.10
  cust12                           <not set>
  cust2                            <not set>           Fa0/1
                                                       Fa1/0.20
R2#show ip route vrf cust1

Routing Table: cust1
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
       + - replicated route, % - next hop override

Gateway of last resort is 12.12.12.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 12.12.12.1
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, FastEthernet1/0.10
L        12.12.12.2/32 is directly connected, FastEthernet1/0.10
      100.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        100.1.1.0/24 is directly connected, FastEthernet0/0
L        100.1.1.1/32 is directly connected, FastEthernet0/0

R2#ping vrf cust1 10.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 84/355/1136 ms
R2#ping vrf cust1 100.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/56/180 ms

R2#sh ip route vrf cust2

Routing Table: cust2
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
       + - replicated route, % - next hop override

Gateway of last resort is 112.112.112.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 112.112.112.1
      112.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        112.112.112.0/24 is directly connected, FastEthernet1/0.20
L        112.112.112.2/32 is directly connected, FastEthernet1/0.20
      200.1.1.0/24 is variably subnetted, 2 subnets, 2 masks
C        200.1.1.0/24 is directly connected, FastEthernet0/1
L        200.1.1.1/32 is directly connected, FastEthernet0/1

R2#ping vrf cust2 20.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.1.1.10, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 92/352/1116 ms

R2#ping vrf cust2 200.1.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/52/100 ms


Tuesday, 20 December 2016

Cisco power cable for Poland


Power cable "CAB-ACE" can be used for cisco WS-C2960X-24PD-L. Same power cable is used for other Europian countries.