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.

Friday, 16 December 2016

EoMPLS configuration Example






PC1:-

Configuration:-

PC1> show ip

NAME        : PC1[1]
IP/MASK     : 10.1.1.10/24
GATEWAY     : 255.255.255.0
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.2
84 bytes from 10.1.1.2 icmp_seq=1 ttl=255 time=20.748 ms
84 bytes from 10.1.1.2 icmp_seq=2 ttl=255 time=46.277 ms
84 bytes from 10.1.1.2 icmp_seq=3 ttl=255 time=47.200 ms
84 bytes from 10.1.1.2 icmp_seq=4 ttl=255 time=44.257 ms
84 bytes from 10.1.1.2 icmp_seq=5 ttl=255 time=34.722 ms

PC1> ping 10.1.1.3
84 bytes from 10.1.1.3 icmp_seq=1 ttl=255 time=69.798 ms
84 bytes from 10.1.1.3 icmp_seq=2 ttl=255 time=162.311 ms
84 bytes from 10.1.1.3 icmp_seq=3 ttl=255 time=100.966 ms
84 bytes from 10.1.1.3 icmp_seq=4 ttl=255 time=78.673 ms
84 bytes from 10.1.1.3 icmp_seq=5 ttl=255 time=90.670 ms

PC1> ping 10.1.1.11
84 bytes from 10.1.1.11 icmp_seq=1 ttl=64 time=43.250 ms
84 bytes from 10.1.1.11 icmp_seq=2 ttl=64 time=55.295 ms
84 bytes from 10.1.1.11 icmp_seq=3 ttl=64 time=58.007 ms
84 bytes from 10.1.1.11 icmp_seq=4 ttl=64 time=59.030 ms
84 bytes from 10.1.1.11 icmp_seq=5 ttl=64 time=51.903 ms

R1:-

Configuration:-

hostname R1

interface FastEthernet0/0
Description "Connected to PC1"
 switchport access vlan 100
 spanning-tree portfast

interface FastEthernet0/1
Description "Connected to R2"
 switchport access vlan 100
 spanning-tree portfast

interface Vlan100
 ip address 10.1.1.2 255.255.255.0

R2:-

Configuration:-

ip vrf cust1
 rd 1:1
 route-target export 1:1
 route-target import 1:1

interface Loopback0
 ip address 2.2.2.2 255.255.255.255

interface FastEthernet0/1
Description "Connected to R1"
 no ip address
 xconnect 4.4.4.4 100 encapsulation mpls

interface FastEthernet2/0
Description "Connected to R3"
 ip address 23.23.23.2 255.255.255.0
mpls ip


router ospf 10
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 23.23.23.2 0.0.0.0 area 0

router bgp 1
 no synchronization
 bgp log-neighbor-changes
 neighbor 4.4.4.4 remote-as 1
 neighbor 4.4.4.4 update-source Loopback0
 no auto-summary

 address-family vpnv4
  neighbor 4.4.4.4 activate
  neighbor 4.4.4.4 send-community extended
 exit-address-family

mpls ldp router-id Loopback0 force


Verfication:-

R2#sh bgp vpnv4 unicast all 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      54      54        1    0    0 00:44:52        0

R2#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
16         Pop Label  34.34.34.0/24    0             Fa2/0      23.23.23.3
17         18         4.4.4.4/32       0             Fa2/0      23.23.23.3
18         Pop Label  3.3.3.3/32       0             Fa2/0      23.23.23.3
19         No Label   l2ckt(100)       19424         Fa0/1      point2point

R2#show mpls ip binding
  2.2.2.2/32
        in label:     imp-null
        out label:    19        lsr: 3.3.3.3:0
        out label:    16        lsr: 4.4.4.4:0
  3.3.3.3/32
        in label:     18
        out label:    imp-null  lsr: 3.3.3.3:0        inuse
        out label:    18        lsr: 4.4.4.4:0
  4.4.4.4/32
        in label:     17
        out label:    18        lsr: 3.3.3.3:0        inuse
        out label:    imp-null  lsr: 4.4.4.4:0
  23.23.23.0/24
        in label:     imp-null
        out label:    imp-null  lsr: 3.3.3.3:0
        out label:    17        lsr: 4.4.4.4:0
  34.34.34.0/24
        in label:     16
        out label:    imp-null  lsr: 3.3.3.3:0        inuse
        out label:    imp-null  lsr: 4.4.4.4:0

R2#show mpls ldp neighbor
    Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 2.2.2.2:0
        TCP connection: 3.3.3.3.37189 - 2.2.2.2.646
        State: Oper; Msgs sent/rcvd: 70/71; Downstream
        Up time: 00:54:39
        LDP discovery sources:
          FastEthernet2/0, Src IP addr: 23.23.23.3
        Addresses bound to peer LDP Ident:
          23.23.23.3      3.3.3.3         34.34.34.3
    Peer LDP Ident: 4.4.4.4:0; Local LDP Ident 2.2.2.2:0
        TCP connection: 4.4.4.4.45408 - 2.2.2.2.646
        State: Oper; Msgs sent/rcvd: 63/61; Downstream
        Up time: 00:46:34
        LDP discovery sources:
          Targeted Hello 2.2.2.2 -> 4.4.4.4, active, passive
        Addresses bound to peer LDP Ident:
          34.34.34.4      4.4.4.4

R2#show mpls l2transport vc 100

Local intf     Local circuit              Dest address    VC ID      Status
-------------  -------------------------- --------------- ---------- ----------
Fa0/1          Ethernet                   4.4.4.4         100        UP

R2#show mpls l2transport vc 100 detail
Local interface: Fa0/1 up, line protocol up, Ethernet up
  Destination address: 4.4.4.4, VC ID: 100, VC status: up
    Output interface: Fa2/0, imposed label stack {18 19}
    Preferred path: not configured
    Default path: active
    Next hop: 23.23.23.3
  Create time: 03:20:58, last status change time: 00:46:45
  Signaling protocol: LDP, peer 4.4.4.4:0 up
    Targeted Hello: 2.2.2.2(LDP Id) -> 4.4.4.4, LDP is UP
    Status TLV support (local/remote)   : enabled/supported
      LDP route watch                   : enabled
      Label/status state machine        : established, LruRru
      Last local dataplane   status rcvd: No fault
      Last local SSS circuit status rcvd: No fault
      Last local SSS circuit status sent: No fault
      Last local  LDP TLV    status sent: No fault
      Last remote LDP TLV    status rcvd: No fault
      Last remote LDP ADJ    status rcvd: No fault
    MPLS VC labels: local 19, remote 19
    Group ID: local 0, remote 0
    MTU: local 1500, remote 1500
    Remote interface description:
  Sequencing: receive disabled, send disabled
  Control Word: On (configured: autosense)
  VC statistics:
    transit packet totals: receive 3766, send 8667
    transit byte totals:   receive 275450, send 796027
    transit packet drops:  receive 0, seq error 0, send 0

R3:-

Configuration:-

hostname R3

interface Loopback0
 ip address 3.3.3.3 255.255.255.255

interface FastEthernet2/0
Description "Connected to R2"
 ip address 23.23.23.3 255.255.255.0
mpls ip

interface FastEthernet2/1
Description "Connected to R4"
 ip address 34.34.34.3 255.255.255.0
mpls ip

router ospf 10
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 23.23.23.3 0.0.0.0 area 0
 network 34.34.34.3 0.0.0.0 area 0

mpls ldp router-id Loopback0 force

Verification:-

R3#show mpls ldp neighbor
    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.37189
        State: Oper; Msgs sent/rcvd: 74/73; Downstream
        Up time: 00:57:24
        LDP discovery sources:
          FastEthernet2/0, Src IP addr: 23.23.23.2
        Addresses bound to peer LDP Ident:
          2.2.2.2         23.23.23.2
    Peer LDP Ident: 4.4.4.4:0; Local LDP Ident 3.3.3.3:0
        TCP connection: 4.4.4.4.49005 - 3.3.3.3.646
        State: Oper; Msgs sent/rcvd: 63/64; Downstream
        Up time: 00:49:20
        LDP discovery sources:
          FastEthernet2/1, Src IP addr: 34.34.34.4
        Addresses bound to peer LDP Ident:
          34.34.34.4      4.4.4.4

R3#show mpls forwarding-table
Local      Outgoing   Prefix           Bytes Label   Outgoing   Next Hop
Label      Label      or Tunnel Id     Switched      interface
18         Pop Label  4.4.4.4/32       180845        Fa2/1      34.34.34.4
19         Pop Label  2.2.2.2/32       89623         Fa2/0      23.23.23.2

R3#show mpls ip binding
  2.2.2.2/32
        in label:     19
        out label:    imp-null  lsr: 2.2.2.2:0        inuse
        out label:    16        lsr: 4.4.4.4:0
  3.3.3.3/32
        in label:     imp-null
        out label:    18        lsr: 2.2.2.2:0
        out label:    18        lsr: 4.4.4.4:0
  4.4.4.4/32
        in label:     18
        out label:    17        lsr: 2.2.2.2:0
        out label:    imp-null  lsr: 4.4.4.4:0        inuse
  23.23.23.0/24
        in label:     imp-null
        out label:    imp-null  lsr: 2.2.2.2:0
        out label:    17        lsr: 4.4.4.4:0
  34.34.34.0/24
        in label:     imp-null
        out label:    16        lsr: 2.2.2.2:0
        out label:    imp-null  lsr: 4.4.4.4:0

R3#sh ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
4.4.4.4           1   FULL/DR         00:00:36    34.34.34.4      FastEthernet2/1
2.2.2.2           1   FULL/DR         00:00:32    23.23.23.2      FastEthernet2/0

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

Gateway of last resort is not set

      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/2] via 23.23.23.2, 00:54:20, FastEthernet2/0
      3.0.0.0/32 is subnetted, 1 subnets
C        3.3.3.3 is directly connected, Loopback0
      4.0.0.0/32 is subnetted, 1 subnets
O        4.4.4.4 [110/2] via 34.34.34.4, 00:51:06, FastEthernet2/1
      23.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        23.23.23.0/24 is directly connected, FastEthernet2/0
L        23.23.23.3/32 is directly connected, FastEthernet2/0
      34.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        34.34.34.0/24 is directly connected, FastEthernet2/1
L        34.34.34.3/32 is directly connected, FastEthernet2/1

R4:-

Configuration:-

ip vrf cust1
 rd 1:1
 route-target export 1:1
 route-target import 1:1

interface Loopback0
 ip address 4.4.4.4 255.255.255.255

interface FastEthernet0/1
Description "Connected to R5"
 no ip address
xconnect 2.2.2.2 100 encapsulation mpls

interface FastEthernet2/1
Description "Connected to R3"
 ip address 34.34.34.4 255.255.255.0
 speed auto
 duplex auto
 mpls ip

router ospf 10
 log-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 34.34.34.4 0.0.0.0 area 0

router bgp 1
 no synchronization
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 1
 neighbor 2.2.2.2 update-source Loopback0
 no auto-summary

 address-family vpnv4
  neighbor 2.2.2.2 activate
  neighbor 2.2.2.2 send-community extended
 exit-address-family

mpls ldp router-id Loopback0 force

Verification:-


R5:-

Configuration:-

interface FastEthernet0/0
Description "Connected to PC2"
 switchport access vlan 100

interface FastEthernet0/1
Description "Connected to R4"
 switchport access vlan 100

interface Vlan100
 ip address 10.1.1.3 255.255.255.0

Verification:-

R5# ping 10.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 92/126/208 ms
R5#ping 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 = 92/119/180 ms

R5#show spanning-tree vlan 100 summary
Root bridge for VLAN100 is 32768.cc01.0ec0.0000.
PortFast BPDU Guard is disabled
UplinkFast is disabled
BackboneFast is disabled

Name                 Blocking Listening Learning Forwarding STP Active
-------------------- -------- --------- -------- ---------- ----------
VLAN100              0        0         0        2          2

R5#show spanning-tree vlan 100 brief

VLAN100
  Spanning tree enabled protocol ieee
  Root ID    Priority    32768
             Address     cc01.0ec0.0000
             Cost        19
             Port        2 (FastEthernet0/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32768
             Address     cc05.1c8c.0001
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface                                   Designated
Name                 Port ID Prio Cost  Sts Cost  Bridge ID            Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/0      128.1    128    19 FWD    19 32768 cc05.1c8c.0001 128.1
FastEthernet0/1      128.2    128    19 FWD     0 32768 cc01.0ec0.0000 128.2

PC2:-

Configuration:-

PC2> show ip

NAME        : PC2[1]
IP/MASK     : 10.1.1.11/24
GATEWAY     : 255.255.255.0
DNS         :
MAC         : 00:50:79:66:68:01
LPORT       : 10010
RHOST:PORT  : 192.168.56.1:10011
MTU:        : 1500


Verification:-

PC2> ping 10.1.1.3
84 bytes from 10.1.1.3 icmp_seq=1 ttl=255 time=44.685 ms
84 bytes from 10.1.1.3 icmp_seq=2 ttl=255 time=39.397 ms
84 bytes from 10.1.1.3 icmp_seq=3 ttl=255 time=30.531 ms
84 bytes from 10.1.1.3 icmp_seq=4 ttl=255 time=29.676 ms
84 bytes from 10.1.1.3 icmp_seq=5 ttl=255 time=29.988 ms

PC2> ping 10.1.1.2
84 bytes from 10.1.1.2 icmp_seq=1 ttl=255 time=88.275 ms
84 bytes from 10.1.1.2 icmp_seq=2 ttl=255 time=83.330 ms
84 bytes from 10.1.1.2 icmp_seq=3 ttl=255 time=105.148 ms
84 bytes from 10.1.1.2 icmp_seq=4 ttl=255 time=73.325 ms
84 bytes from 10.1.1.2 icmp_seq=5 ttl=255 time=61.766 ms

PC2> ping 10.1.1.10
84 bytes from 10.1.1.10 icmp_seq=1 ttl=64 time=40.029 ms
84 bytes from 10.1.1.10 icmp_seq=2 ttl=64 time=82.339 ms
84 bytes from 10.1.1.10 icmp_seq=3 ttl=64 time=50.745 ms
84 bytes from 10.1.1.10 icmp_seq=4 ttl=64 time=40.292 ms
84 bytes from 10.1.1.10 icmp_seq=5 ttl=64 time=61.310 ms

For More Blogs:- Please visit www.Hevitech.com

Tuesday, 27 September 2016

Cisco Power cable type for South Korea

CAB-TA-EU  - Switch 3850

CAB-ACE    - Switch  2960X

Tuesday, 20 September 2016

%ADJ-5-RESOLVE_REQ_FAIL: Adj resolve request failed for


Today I faced an issue where lots of logs " %ADJ-5-RESOLVE_REQ_FAIL: Adj resolve request failed for " are generated on cisco 3750 switch.

It will not impact anything but logs keeps filling the buffer due to which some important logs can be overwritten.

This is due to bug "CSCug43307" in the IOS.

As an workaround use below command to stop these logs.

" no ip cef optimize neighbor resolution "

Sunday, 14 August 2016

Difference between POE, POE+ and UPOE


Below is the quick summary of the differences between POE,POE+ and UPOE.

POE is the oldest standard for the devices which can be powered on from the switch. POE enabled switches can only provide upto 15W to the connected devices like phones.

Later on POE+ standard was evolved. Switches which are complied to POE+ standard can provide 30W of power to the connected devices.

Latest standard in this series is UPOE which is not a universal standard but a cisco Proprietary. According to which UPOE enabled switches can provide 60 W of power to the connected devices. Now we can power up not only phones but also PCs/Laptops from the switches.

Below are few more differences.