martes, 6 de septiembre de 2016

TELCO T5C

problema encontrado

Perdida de paquetes originado por alto procesamiento CPU en equipo Tmark
Se edsactiva STP
Se encontro
 vlan-group 1
vlan-group 1 vlan all
Se procede a desactivar :
vlan-group 1
no vlan-group 1

se verifica que ya no se presenta perdida de paquetes ni procesamiento elevado


domingo, 4 de septiembre de 2016

MST


SW3#sh spanning-tree summary
Switch is in pvst mode
Root bridge for: none
Extended system ID           is enabled
Portfast Default             is disabled
PortFast BPDU Guard Default  is disabled
Portfast BPDU Filter Default is disabled
Loopguard Default            is disabled
EtherChannel misconfig guard is enabled
Configured Pathcost method used is short
UplinkFast                   is disabled
BackboneFast                 is disabled

Name                   Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001                     1         0        0         19         20
VLAN0002                     1         0        0          2          3
VLAN0003                     1         0        0          2          3
VLAN0004                     1         0        0          2          3
VLAN0005                     1         0        0          2          3
---------------------- -------- --------- -------- ---------- ----------
5 vlans                      5         0        0         27         32


SW2# sh spanning-tree summary
Switch is in pvst mode
Root bridge for: VLAN0004-VLAN0005
Extended system ID           is enabled
Portfast Default             is disabled
PortFast BPDU Guard Default  is disabled
Portfast BPDU Filter Default is disabled
Loopguard Default            is disabled
EtherChannel misconfig guard is enabled
Configured Pathcost method used is short
UplinkFast                   is disabled
BackboneFast                 is disabled

Name                   Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001                     0         0        0         24         24
VLAN0002                     0         0        0          2          2
VLAN0003                     0         0        0          2          2
VLAN0004                     0         0        0          2          2
VLAN0005                     0         0        0          2          2
---------------------- -------- --------- -------- ---------- ----------
5 vlans                      0         0        0         32         32


SW1#sh spanning-tree summary
Switch is in pvst mode
Root bridge for: VLAN0001-VLAN0003
Extended system ID           is enabled
Portfast Default             is disabled
PortFast BPDU Guard Default  is disabled
Portfast BPDU Filter Default is disabled
Loopguard Default            is disabled
EtherChannel misconfig guard is enabled
Configured Pathcost method used is short
UplinkFast                   is disabled
BackboneFast                 is disabled

Name                   Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001                     0         0        0         24         24
VLAN0002                     0         0        0          2          2
VLAN0003                     0         0        0          2          2
VLAN0004                     0         0        0          2          2
VLAN0005                     0         0        0          2          2
---------------------- -------- --------- -------- ---------- ----------
5 vlans                      0         0        0         32         32


configuramos en los 3 switch los mismos datos de mst
SW1(config)# spanning-tree mst configuration SW1(config-mst)# name CCNP SW1(config-mst)# revision 1
conf t
spanning-tree mst config
instance 1 vlan 2,3
instance 2 vlan 4,5
end

configuramos el root primary y secondary para las instancias mst
SW1(config)# spanning-tree mst 1 root primary
SW1(config)# spanning-tree mst 2 root secondary
In this example, you have changed the MST switch priority by using spanning-tree mst
instance-id root {primary | secondary}.
This command is actually a macro that sets the switch MST priority, which is a number.
If you issue show running-config, you will see the switch priority as a number—not as
the primary or secondary keyword.

SW2(config)# spanning-tree mst 1 root secondary
SW2(config)# spanning-tree mst 2 root primary

cambiamos el modo de STP
antes rapid-PVST ahora MST

SW1(config)# spanning-tree mode mst
SW2(config)# spanning-tree mode mst
SW3(config)# spanning-tree mode mst

Antes  protocol stp ieee, ahora mstp


VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    32769
             Address     aabb.cc00.3800
             Cost        100
             Port        3 (Ethernet0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    32768
             Address     aabb.cc00.3800
             Cost        0
             Port        3 (Ethernet0/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

lunes, 22 de agosto de 2016

Configuring and Investigating Basic EIGRP



BR1# sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
Serial0/0              172.16.1.2      YES NVRAM  up                    up
Serial0/1              unassigned      YES NVRAM  administratively down down
Serial0/2              unassigned      YES NVRAM  administratively down down
Serial0/3              unassigned      YES NVRAM  administratively down down
Loopback0              192.168.1.1     YES NVRAM  up                    up

router eigrp 100
 network 172.16.1.0 0.0.0.3
 network 192.168.1.0

BR1#sh ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(100)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Se0/0                    1        0/0       0/0          17       0/16          92           0
Lo0                      0        0/0       0/0           0       0/0            0           0

BR1#sh ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   172.16.1.1              Se0/0                    12 00:02:35   17   102  0  3

BR1#show ip eigrp interfaces detail
EIGRP-IPv4 Interfaces for AS(100)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Se0/0                    1        0/0       0/0          13       0/16          72           0
  Hello-interval is 5, Hold-time is 15
  Split-horizon is enabled
  Next xmit serial
  Packetized sent/expedited: 7/1
  Hello's sent/expedited: 140/2
  Un/reliable mcasts: 0/0  Un/reliable ucasts: 6/7
  Mcast exceptions: 0  CR packets: 0  ACKs suppressed: 0
  Retransmissions sent: 0  Out-of-sequence rcvd: 0
  Topology-ids on interface - 0
  Authentication mode is not set
Lo0                      0        0/0       0/0           0       0/0            0           0
  Hello-interval is 5, Hold-time is 15
  Split-horizon is enabled
  Next xmit serial
  Packetized sent/expedited: 0/0
  Hello's sent/expedited: 0/1
  Un/reliable mcasts: 0/0  Un/reliable ucasts: 0/0
  Mcast exceptions: 0  CR packets: 0  ACKs suppressed: 0
  Retransmissions sent: 0  Out-of-sequence rcvd: 0
  Topology-ids on interface - 0
  Authentication mode is not set

xxxxxxxxxxxxxxxxxxxxxxxxxxx

BR2#sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
Ethernet0/0            172.16.2.2      YES NVRAM  up                    up
Ethernet0/1            unassigned      YES NVRAM  administratively down down
Ethernet0/2            unassigned      YES NVRAM  administratively down down
Ethernet0/3            unassigned      YES NVRAM  administratively down down
Loopback0              192.168.2.1     YES NVRAM  up                    up

router eigrp 100
 network 172.16.2.0 0.0.0.3
 network 192.168.2.0

BR2#sh ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(10)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
EIGRP-IPv4 Interfaces for AS(100)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Et0/0                    1        0/0       0/0        1279       0/2         6388           0
Lo0                      0        0/0       0/0           0       0/0            0           0

BR2#sh ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(10)
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   172.16.2.1              Et0/0                    12 00:01:10 1279  5000  0  6

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

BR3#sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
Serial0/0              172.16.3.2      YES NVRAM  up                    up
Serial0/1              unassigned      YES NVRAM  administratively down down
Serial0/2              unassigned      YES NVRAM  administratively down down
Serial0/3              unassigned      YES NVRAM  administratively down down
Loopback0              192.168.3.1     YES NVRAM  up                    up

router eigrp 100
 network 0.0.0.0
 eigrp router-id 192.168.3.1

BR3#sh ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(100)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Se0/0                    1        0/0       0/0        1274       0/16        6364           0
Lo0                      0        0/0       0/0           0       0/0            0           0

BR3#sh ip eigrp neighbor
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   172.16.3.1              Se0/0                   129 00:00:52 1274  5000  0  12


xxxxxxxxxxxxxxxx

HQ#sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
Ethernet0/0            172.16.2.1      YES NVRAM  up                    up
Ethernet0/1            unassigned      YES NVRAM  administratively down down
Ethernet0/2            unassigned      YES NVRAM  administratively down down
Ethernet0/3            unassigned      YES NVRAM  administratively down down
Serial1/0              172.16.1.1      YES NVRAM  up                    up
Serial1/1              unassigned      YES NVRAM  administratively down down
Serial1/2              unassigned      YES NVRAM  administratively down down
Serial1/3              unassigned      YES NVRAM  administratively down down
Serial2/0              172.16.3.1      YES NVRAM  up                    up
Serial2/1              unassigned      YES NVRAM  administratively down down
Serial2/2              unassigned      YES NVRAM  administratively down down
Serial2/3              unassigned      YES NVRAM  administratively down down
Loopback0              192.168.0.1     YES NVRAM  up                    up
HQ# sh ip protocols
*** IP Routing is NSF aware ***

Routing Protocol is "eigrp 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP-IPv4 Protocol for AS(100)
    Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
    NSF-aware route hold timer is 240
    Router-ID: 192.168.0.1
    Topology : 0 (base)
      Active Timer: 3 min
      Distance: internal 90 external 170
      Maximum path: 4
      Maximum hopcount 100
      Maximum metric variance 1

  Automatic Summarization: disabled
  Maximum path: 4
  Routing for Networks:
    0.0.0.0
  Routing Information Sources:
    Gateway         Distance      Last Update
    172.16.2.2            90      00:02:57
    172.16.3.2            90      00:02:57
    172.16.1.2            90      00:02:57
  Distance: internal 90 external 170

HQ#show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(100)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Et0/0                    1        0/0       0/0           3       0/2           50           0
Se1/0                    1        0/0       0/0          12       0/16          68           0
Se2/0                    1        0/0       0/0          15       0/15          71           0
Lo0                      0        0/0       0/0           0       0/0            0           0

The output of the show ip eigrp interfaces command shows you the working interfaces on which EIGRP is enabled. Notice that Loopback 0 does not peer with any router. In other words, on the Loopback 0 interface, EIGRP packets will not be received. The same would be true for a LAN interface on which there are no additional routers attached. To preserve some resources and instruct routers to stop sending and receiving packets on the specific interface, you can configure such interfaces as passive.

HQ(config)#router eigrp 100
HQ(config-router)#passive-interface default
HQ(config-router)#
*Aug 23 04:03:51.232: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.3.2 (Serial2/0) is down: interface passive
*Aug 23 04:03:51.233: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.1.2 (Serial1/0) is down: interface passive
*Aug 23 04:03:51.234: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.2.2 (Ethernet0/0) is down: interface passive
HQ(config-router)#

HQ(config-router)#no passive-interface ethernet 0/0
HQ(config-router)#
*Aug 23 04:04:27.860: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.2.2 (Ethernet0/0) is up: new adjacency
HQ(config-router)#no passive-interface serial 1/0
HQ(config-router)#
*Aug 23 04:04:38.754: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.1.2 (Serial1/0) is up: new adjacency
HQ(config-router)#no passive-interface serial 2/0
HQ(config-router)#
*Aug 23 04:04:45.865: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.3.2 (Serial2/0) is up: new adjacency
HQ(config-router)#

HQ#show ip protocols
*** IP Routing is NSF aware ***

Routing Protocol is "eigrp 100"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP-IPv4 Protocol for AS(100)
    Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
    NSF-aware route hold timer is 240
    Router-ID: 192.168.0.1
    Topology : 0 (base)
      Active Timer: 3 min
      Distance: internal 90 external 170
      Maximum path: 4
      Maximum hopcount 100
      Maximum metric variance 1

  Automatic Summarization: disabled
  Maximum path: 4
  Routing for Networks:
    0.0.0.0
  Passive Interface(s):
  Passive Interface(s):
    Loopback0
  Routing Information Sources:
    Gateway         Distance      Last Update
    172.16.2.2            90      00:00:27
    172.16.3.2            90      00:00:27
    172.16.1.2            90      00:00:27
  Distance: internal 90 external 170

HQ#sh ip eigrp int
EIGRP-IPv4 Interfaces for AS(100)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Et0/0                    1        0/0       0/0           8       0/2           50           0
Se1/0                    1        0/0       0/0          16       0/15          87           0
Se2/0                    1        0/0       0/0        1228       0/15        6143       

BR1#debug eigrp packets hello
    (HELLO)
EIGRP Packet debugging is on
BR1#
*Aug 23 04:06:28.894: EIGRP: Received HELLO on Serial0/0 nbr 172.16.1.1
*Aug 23 04:06:28.894:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
BR1#
*Aug 23 04:06:32.259: EIGRP: Sending HELLO on Serial0/0
*Aug 23 04:06:32.259:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0
BR1#
*Aug 23 04:06:33.410: EIGRP: Received HELLO on Serial0/0 nbr 172.16.1.1
*Aug 23 04:06:33.410:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
BR1#
*Aug 23 04:06:36.735: EIGRP: Sending HELLO on Serial0/0
*Aug 23 04:06:36.735:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0
*Aug 23 04:06:37.714: EIGRP: Received HELLO on Serial0/0 nbr 172.16.1.1
*Aug 23 04:06:37.714:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
BR1#

HQ#show ip eigrp interface detail
EIGRP-IPv4 Interfaces for AS(100)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Et0/0                    1        0/0       0/0           8       0/2           50           0
  Hello-interval is 5, Hold-time is 15
Se1/0                    1        0/0       0/0          16       0/15          87           0
  Hello-interval is 5, Hold-time is 15
Se2/0                    1        0/0       0/0        1228       0/15        6143           0
  Hello-interval is 60, Hold-time is 180

BR1#debug eigrp packets hello
HQ(config)#int serial 1/0
HQ(config-if)#shu
HQ(config-if)#shutdown
HQ(config-if)#
*Aug 23 04:09:37.990: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.1.2 (Serial1/0) is down: interface down
HQ(config-if)#

BR1#
*Aug 23 04:09:38.384: EIGRP: Sending HELLO on Serial0/0
*Aug 23 04:09:38.384:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0
BR1#
*Aug 23 04:09:43.122: EIGRP: Sending HELLO on Serial0/0
*Aug 23 04:09:43.122:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0
BR1#
*Aug 23 04:09:47.730: EIGRP: Sending HELLO on Serial0/0
*Aug 23 04:09:47.730:   AS 100, Flags 0x0:(NULL), Seq 0/0 interfaceQ 0/0 iidbQ un/rely 0/0
BR1#
*Aug 23 04:09:50.705: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 172.16.1.1 (Serial0/0) is down: holding time expired

BR1#

RIPng

R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router rip CCNP_RIP

R2#show ipv6 int brief
Ethernet0/0            [administratively down/down]
    unassigned
Ethernet0/1            [up/up]
    FE80::A8BB:CCFF:FE00:AE10
    2001:DB8:A01:1400::2
Ethernet0/2            [administratively down/down]
    unassigned
Ethernet0/3            [administratively down/down]
    unassigned
Ethernet1/0            [administratively down/down]
    unassigned
Ethernet1/1            [administratively down/down]
    unassigned
Ethernet1/2            [administratively down/down]
    unassigned
Ethernet1/3            [administratively down/down]
    unassigned
Ethernet2/0            [administratively down/down]
    unassigned
Ethernet2/1            [administratively down/down]
    unassigned
Ethernet2/2            [administratively down/down]
    unassigned
Ethernet2/3            [administratively down/down]
    unassigned
Ethernet3/0            [administratively down/down]
    unassigned
Ethernet3/1            [administratively down/down]
    unassigned
Ethernet3/2            [administratively down/down]
    unassigned
Ethernet3/3            [administratively down/down]
    unassigned
Loopback0              [up/up]
    FE80::A8BB:CCFF:FE00:AE00
    2001:DB8:A01:1E00::1

R2(config)#int ethernet 3/0
R2(config-if)#ipv6 enable

Ethernet3/0            [up/up]
    FE80::A8BB:CCFF:FE00:AE03
al habilitar ipv6 enable en la interface se crear la link local.
si se configura una global addres ipv6, se crea tambien una link local.

R2# sh ipv6 protocols
IPv6 Routing Protocol is "rip CCNP_RIP"
  Interfaces:
    None
  Redistribution:
    None

R2(config)#int ethernet0/1
R2(config-if)#ipv6 rip CCNP_RIP enable
R2(config)#int loopback0
R2(config-if)#ipv6 rip CCNP_RIP enable

R2#sh ipv6 protocols
IPv6 Routing Protocol is "rip CCNP_RIP"
  Interfaces:
    Loopback0
    Ethernet0/1
  Redistribution:
    None

R2#show ipv6 route
IPv6 Routing Table - default - 7 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
       IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R   2001:DB8:A01:100::/64 [120/2]
     via FE80::A8BB:CCFF:FE00:5530, Ethernet0/1
R   2001:DB8:A01:A00::/64 [120/2]
     via FE80::A8BB:CCFF:FE00:5530, Ethernet0/1
C   2001:DB8:A01:1400::/64 [0/0]
     via Ethernet0/1, directly connected
L   2001:DB8:A01:1400::2/128 [0/0]
     via Ethernet0/1, receive
C   2001:DB8:A01:1E00::/64 [0/0]
     via Loopback0, directly connected
L   2001:DB8:A01:1E00::1/128 [0/0]
     via Loopback0, receive
L   FF00::/8 [0/0]
     via Null0, receive


R1(config)#int ethernet 0/3
R1(config-if)#ipv6 rip CCNP_RIP default-information originate

R2#show ipv6 route
IPv6 Routing Table - default - 7 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
       IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R   2001:DB8:A01:100::/64 [120/2]
     via FE80::A8BB:CCFF:FE00:5530, Ethernet0/1
R   2001:DB8:A01:A00::/64 [120/2]
     via FE80::A8BB:CCFF:FE00:5530, Ethernet0/1
C   2001:DB8:A01:1400::/64 [0/0]
     via Ethernet0/1, directly connected
L   2001:DB8:A01:1400::2/128 [0/0]
     via Ethernet0/1, receive
C   2001:DB8:A01:1E00::/64 [0/0]
     via Loopback0, directly connected
L   2001:DB8:A01:1E00::1/128 [0/0]
     via Loopback0, receive
L   FF00::/8 [0/0]
     via Null0, receive

xxxxxxxxxxxxxxxxxxx
R1(config)#int ethernet 0/3
R1(config-if)#ipv6 rip CCNP_RIP default-information only

R2#sh ipv6 route
IPv6 Routing Table - default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
       IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R   ::/0 [120/2]
     via FE80::A8BB:CCFF:FE00:5530, Ethernet0/1
C   2001:DB8:A01:1400::/64 [0/0]
     via Ethernet0/1, directly connected
L   2001:DB8:A01:1400::2/128 [0/0]
     via Ethernet0/1, receive
C   2001:DB8:A01:1E00::/64 [0/0]
     via Loopback0, directly connected
L   2001:DB8:A01:1E00::1/128 [0/0]
     via Loopback0, receive
L   FF00::/8 [0/0]
     via Null0, receive

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


martes, 16 de agosto de 2016

NAT



ip nat pool TEST1 209.165.201.5 209.165.201.10 prefix-length 27
ip nat source list 10 pool TEST1
ip nat source static 172.16.10.10 209.165.201.2

ip nat pool TEST1 209.165.201.5 209.165.201.10 prefix-length 27
access-list 10 permit 192.168.10.0 0.0.0.255

interface Ethernet0/0
 ip address 192.168.10.1 255.255.255.0
 ip nat enable
end

interface Ethernet0/1
 ip address 172.16.10.1 255.255.255.0
 ip nat enable
end

interface Ethernet0/2
 ip address 209.165.201.1 255.255.255.224
 ip nat enable
end

R1#sh ip nat nvi translations
Pro Source global      Source local       Destin  local      Destin  global
icmp 209.165.201.2:1   172.16.10.10:1     209.165.202.129:1  209.165.202.129:1
--- 209.165.201.2      172.16.10.10       ---                ---
icmp 209.165.201.5:5   192.168.10.10:5    209.165.201.2:5    172.16.10.10:5
--- 209.165.201.5      192.168.10.10      ---                ---


PBR

ip access-list extended PBR-ACL
 permit ip host 192.168.110.10 any
 match ip address PBR-ACL

route-map PBR-RP permit 10
 match ip address PBR-ACL
 set ip next-hop 10.10.10.1

interface Ethernet0/1
 description LAN
 ip address 192.168.110.1 255.255.255.0
 ip flow ingress
 ip policy route-map PBR-RP
end

BR1#sh ip policy
Interface      Route map
Ethernet0/1    PBR-RP

BR1#sh route-map PBR-PR
route-map PBR-PR not found
BR1#sh route-map PBR-RP
route-map PBR-RP, permit, sequence 10
  Match clauses:
    ip address (access-lists): PBR-ACL
  Set clauses:
    ip next-hop 10.10.10.1
  Policy routing matches: 26 packets, 2640 bytes

BR1# debug ip policy
Policy routing debugging is on
BR1#
*Aug 17 02:05:50.288: IP: s=192.168.110.10 (Ethernet0/1), d=192.168.100.1, len 1                      00, FIB policy match
*Aug 17 02:05:50.288: IP: s=192.168.110.10 (Ethernet0/1), d=192.168.100.1, len 1                      00, PBR Counted
*Aug 17 02:05:50.288: IP: s=192.168.110.10 (Ethernet0/1), d=192.168.100.1, g=10.                      10.10.1, len 100, FIB policy routed

*Aug 17 02:10:28.741: IP: s=192.168.110.20 (Ethernet0/1), d=192.168.100.1, len 100, FIB policy rejected(no match) - normal forwarding
*Aug 17 02:10:28.743: IP: s=192.168.110.20 (Ethernet0/1), d=192.168.100.1, len 100, FIB policy rejected(no match) - normal forwarding
*Aug 17 02:10:28.743: IP: s=192.168.110.20 (Ethernet0/1), d=192.168.100.1, len 100, FIB policy rejected(no match) - normal forwarding


domingo, 10 de julio de 2016

BGP

BGP



BGP HEADER

- 19 Octetos
-  Marker : Sincronizacion y autenticacion
-  Type :  1.Open  2.Update  3.Notification  4.Keepalive


Open Message :  Usado para iniciar un "neighbor relationship"
                           Version : default 4
                            My AS  (2 octetos)
                           Hodl Time (default 180)




Route Advertisement and Withdrawal
-  Route = (destination, attributes of a path to the destination)
- Update = (NLRI, path + attributes)
- Methods of WITHDRAW ROUTES field in BGP update.
  send a replacement route, close the BGP connection.












Synchronization




miércoles, 6 de julio de 2016

martes, 5 de julio de 2016

MPLS ARQUITECTURA

MPLS
Arquitectura :
Control Panel:
     routing protocol databases  -- Routing updtaes from other routers
     IP routing table (RIB)
     Label Information Base (LIB)  --  Label bindings learned via LDP from other routers.
Data Planel:
     IP forwarding table (FIB)
     Label forwarding table (LFIB)