2.7 Validação da rede OI

Tempo estimado até à conclusão: 1 a 2 horas

Proprietário do componente operacional: PNET

Neste ponto da implementação, o seguinte tem de ser verdadeiro:

  • Ambos os dispositivos occoresw01 e occoresw02 estão configurados com os ficheiros de configuração base e acl.
  • Ambos os dispositivos ocsw01 e ocsw02 estão configurados com ficheiros de configuração base e acl.
  • O occorefw01 e o occorefw02 estão configurados com ficheiros de configuração base.
  • As ligações de carregamento entre o centro de dados e o centro de operações estão ligadas e operacionais.

Se alguma das condições anteriores não se observar, a saída seguinte pode diferir substancialmente consoante o estado atual e é provável que não produza o comportamento esperado na produção.

Valide a utilização destes comandos de apresentação

Os seguintes fragmentos mostram o resultado de um ambiente conhecido como bom dos seguintes comandos:

  • show ip bgp summary vrf all
  • show ip bgp vrf all
  • show ip route vrf all
  • show lldp neighbors

Estes fragmentos podem funcionar como uma comparação com um ambiente de produção através dos mesmos comandos. O endereçamento IP e as sub-redes podem diferir consoante as especificidades do seu ambiente.

Valide o resultado

Seguem-se os principais aspetos a procurar nas seguintes saídas:

  • Nenhuma sessão de BGP está no estado Idle, Active ou Closing.
  • Todas as sessões BGP mostram um valor State/PrxRcd superior a 0.
  • Todas as sessões de BGP mostram um temporizador Up/Down que aumenta continuamente.

Saída esperada de OCCORESW

A tabela seguinte mostra o resultado esperado em cada occore switch:

VRF
BGP Neighbor
Rotas esperadas recebidas do vizinho BGP
GDCH-DATA-TRANSIT Sessão de BGP com hairpinning a usar OCCOREFW para OC-DATA VRF
  • Sub-rede de Vlan (OC-DATA) no VRF OC-DATA usado para peering BGP com OCCORE FW
  • Prefixo OCCORE-SERVERS
  • Prefixo OC-WORKSTATION
OC-DATA Sessão de BGP HairPinned com OCCOREFW para GDCH-DATA-TRANSIT VRF
  • Subnet of Vlan (GDCH-DATA-TRANSIT) in GDCH-DATA-TRANSIT VRF used for BGP peering using OCCORE FW
OC-DATA Sessão de BGP OCSW01
  • Prefixo OC-WORKSTATION
OC-DATA Sessão de BGP OCSW02
  • Prefixo OC-WORKSTATION
OC-DATA Sessão de BGP OCCORESW
  • Prefixo OCCORE-SERVERS
GDCH-MGMT-TRANSIT Sessão de BGP com hairpinning a usar OCCOREFW para HW-INFRA VRF
  • Sub-rede de VLAN (HW-INFRA) no VRF HW-INFRA usado para peering BGP com OCCORE FW
  • Prefixo OCCORE-JUMPHOSTS
  • Prefixo OCCORE-ILOS
  • Prefixo OCCORE-NETADMIN
HW-INFRA Sessão de BGP com hairpinning a usar OCCOREFW para HW-INFRA VRF
  • Sub-rede da VLAN (GDCH-MGMT-TRANSIT) no VRF GDCH-MGMT-TRANSIT usado para peering BGP com o OCCORE FW
HW-INFRA Sessão de BGP OCS01
  • Prefixo NETADMIN
HW-INFRA Sessão de BGP OCS02
  • Prefixo NETADMIN

As secções seguintes mostram o show command outputs para os switches de ocorrência:

show ip bgp summary vrf all


tc-occoresw01# show ip bgp summary vrf all | no-more
BGP summary information for VRF GDCH-DATA-TRANSIT, address family IPv4 Unicast
BGP router identifier 172.21.148.26, local AS number 65455
BGP table version is 34, IPv4 Unicast config peers 3, capable peers 1
4 network entries and 4 paths using 1008 bytes of memory
BGP attribute entries [3/552], BGP AS path entries [2/24]
BGP community entries [2/64], BGP clusterlist entries [0/0]
3 received paths for inbound soft reconfiguration
3 identical, 0 modified, 0 filtered received paths using 0 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.148.27   4 65405    4406    4397       34    0    0    3d01h 3

BGP summary information for VRF GDCH-MGMT-TRANSIT, address family IPv4 Unicast
BGP router identifier 172.21.148.22, local AS number 65455
BGP table version is 22, IPv4 Unicast config peers 3, capable peers 1
6 network entries and 7 paths using 1640 bytes of memory
BGP attribute entries [2/368], BGP AS path entries [1/10]
BGP community entries [2/64], BGP clusterlist entries [0/0]
6 received paths for inbound soft reconfiguration
6 identical, 0 modified, 0 filtered received paths using 0 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.148.23   4 65405    4396    4396       22    0    0    3d01h 6

BGP summary information for VRF HW-INFRA, address family IPv4 Unicast
BGP router identifier 172.21.148.23, local AS number 65405
BGP table version is 18, IPv4 Unicast config peers 5, capable peers 2
6 network entries and 7 paths using 1640 bytes of memory
BGP attribute entries [2/368], BGP AS path entries [1/10]
BGP community entries [2/64], BGP clusterlist entries [0/0]
1 received paths for inbound soft reconfiguration
1 identical, 0 modified, 0 filtered received paths using 0 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.148.15   4 65530    4749    4750       18    0    0    3d07h 1
172.21.148.17   4 65530       0       0        0    0    0    3d07h 1
172.21.148.22   4 65455    4397    4395       18    0    0    3d01h 13

BGP summary information for VRF OC-DATA, address family IPv4 Unicast
BGP router identifier 172.21.148.27, local AS number 65405
BGP table version is 95, IPv4 Unicast config peers 8, capable peers 4
7 network entries and 11 paths using 2276 bytes of memory
BGP attribute entries [6/1104], BGP AS path entries [2/16]
BGP community entries [2/64], BGP clusterlist entries [0/0]
6 received paths for inbound soft reconfiguration
6 identical, 0 modified, 0 filtered received paths using 0 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.144.3    4 65405    4751    4750       95    0    0    3d07h 4
172.21.148.9    4 65530    4757    4760       95    0    0 02:53:28 2
172.21.148.11   4 65530       0       0        0    0    0    3d07h 2
172.21.148.26   4 65455    4399    4399       95    0    0    3d01h 3

BGP summary information for VRF default, address family IPv4 Unicast

show ip bgp vrf all

tc-occoresw01# show ip bgp vrf all | no-more

BGP routing table information for VRF OC-DATA, address family IPv4 Unicast
BGP table version is 95, Local Router ID is 172.21.148.27
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

   Network            Next Hop            Metric     LocPrf     Weight Path
* i172.21.144.0/24    172.21.144.3             0        100          0 ?
*>r                   0.0.0.0                  0        100      32768 ?
* i172.21.145.0/24    172.21.144.3             0        100          0 ?
*>r                   0.0.0.0                  0        100      32768 ?
*>r172.21.148.8/31    0.0.0.0                  0        100      32768 ?
*>r172.21.148.26/31   0.0.0.0                  0        100      32768 ?
* e                   172.21.148.26            0                     0 65455 65455 ?
*>r172.21.150.0/31    0.0.0.0                  0        100      32768 ?
*>e172.21.176.0/24    172.21.148.9             0                     0 65530 ?
* i                   172.21.144.3             0        100          0 65530 ?
*>e172.21.177.0/24    172.21.148.9             0                     0 65530 ?

BGP routing table information for VRF GDCH-DATA-TRANSIT, address family IPv4 Unicast
BGP table version is 34, Local Router ID is 172.21.148.26
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

   Network            Next Hop            Metric     LocPrf     Weight Path
*>e172.21.144.0/24    172.21.148.27            0                     0 65455 65405 ?
*>e172.21.145.0/24    172.21.148.27            0                     0 65455 65405 ?
*>r172.21.148.26/31   0.0.0.0                  0        100      32768 ?
*>e172.21.176.0/24    172.21.148.27                                  0 65455 65405 65530 ?

BGP routing table information for VRF GDCH-MGMT-TRANSIT, address family IPv4 Unicast
BGP table version is 22, Local Router ID is 172.21.148.22
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

   Network            Next Hop            Metric     LocPrf     Weight Path
*>e172.21.146.0/27    172.21.148.23            0                     0 65455 65405 ?
*>e172.21.146.32/27   172.21.148.23            0                     0 65455 65405 ?
*>e172.21.146.64/28   172.21.148.23            0                     0 65455 65405 ?
*>e172.21.147.16/28   172.21.148.23            0                     0 65455 65405 ?
*>e172.21.148.14/31   172.21.148.23            0                     0 65455 65405 ?
*>r172.21.148.22/31   0.0.0.0                  0        100      32768 ?
* e                   172.21.148.23            0                     0 65455 65405 ?

BGP routing table information for VRF HW-INFRA, address family IPv4 Unicast
BGP table version is 18, Local Router ID is 172.21.148.23
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

   Network            Next Hop            Metric     LocPrf     Weight Path
*>r172.21.146.0/27    0.0.0.0                  0        100      32768 ?
*>r172.21.146.32/27   0.0.0.0                  0        100      32768 ?
*>r172.21.146.64/28   0.0.0.0                  0        100      32768 ?
*>r172.21.147.16/28   0.0.0.0                  0        100      32768 ?
*>r172.21.148.14/31   0.0.0.0                  0        100      32768 ?
*>r172.21.148.22/31   0.0.0.0                  0        100      32768 ?
* e                   172.21.148.22            0                     0 65455 65455 ?

BGP summary information for VRF default, address family IPv4 Unicast

show ip route vrf all

tc-occoresw01# show ip route vrf all | no-more
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>


IP Route Table for VRF "management"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>


IP Route Table for VRF "GDCH-DATA-TRANSIT"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

172.21.144.0/24, ubest/mbest: 1/0
    *via 172.21.148.27, [20/0], 3d01h, bgp-65405, external, tag 65455
172.21.145.0/24, ubest/mbest: 1/0
    *via 172.21.148.27, [20/0], 3d01h, bgp-65405, external, tag 65455
172.21.148.26/31, ubest/mbest: 1/0, attached
    *via 172.21.148.26, Vlan5, [0/0], 3d07h, direct
172.21.148.26/32, ubest/mbest: 1/0, attached
    *via 172.21.148.26, Vlan5, [0/0], 3d07h, local
172.21.176.0/24, ubest/mbest: 1/0
    *via 172.21.148.27, [20/0], 02:56:07, bgp-65405, external, tag 65455

IP Route Table for VRF "GDCH-MGMT-TRANSIT"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

172.21.146.0/27, ubest/mbest: 1/0
    *via 172.21.148.23, [20/0], 3d01h, bgp-65405, external, tag 65455
172.21.146.32/27, ubest/mbest: 1/0
    *via 172.21.148.23, [20/0], 3d01h, bgp-65405, external, tag 65455
172.21.146.64/28, ubest/mbest: 1/0
    *via 172.21.148.23, [20/0], 3d01h, bgp-65405, external, tag 65455
172.21.147.16/28, ubest/mbest: 1/0
    *via 172.21.148.23, [20/0], 3d01h, bgp-65405, external, tag 65455
172.21.148.14/31, ubest/mbest: 1/0
    *via 172.21.148.23, [20/0], 3d01h, bgp-65405, external, tag 65455
172.21.148.22/31, ubest/mbest: 1/0, attached
    *via 172.21.148.22, Vlan3, [0/0], 3d07h, direct
172.21.148.22/32, ubest/mbest: 1/0, attached
    *via 172.21.148.22, Vlan3, [0/0], 3d07h, local

IP Route Table for VRF "OC-DATA"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

172.21.144.0/24, ubest/mbest: 1/0, attached
    *via 172.21.144.2, Vlan201, [0/0], 3d07h, direct
172.21.144.1/32, ubest/mbest: 1/0, attached
    *via 172.21.144.1, Vlan201, [0/0], 3d07h, vrrpv3
172.21.144.2/32, ubest/mbest: 1/0, attached
    *via 172.21.144.2, Vlan201, [0/0], 3d07h, local
172.21.145.0/24, ubest/mbest: 1/0, attached
    *via 172.21.145.2, Vlan207, [0/0], 3d07h, direct
172.21.145.1/32, ubest/mbest: 1/0, attached
    *via 172.21.145.1, Vlan207, [0/0], 3d07h, vrrpv3
172.21.145.2/32, ubest/mbest: 1/0, attached
    *via 172.21.145.2, Vlan207, [0/0], 3d07h, local
172.21.148.8/31, ubest/mbest: 1/0, attached
    *via 172.21.148.8, Eth1/51.2001, [0/0], 3d07h, direct
172.21.148.8/32, ubest/mbest: 1/0, attached
    *via 172.21.148.8, Eth1/51.2001, [0/0], 3d07h, local
172.21.148.26/31, ubest/mbest: 1/0, attached
    *via 172.21.148.27, Vlan4, [0/0], 3d07h, direct
172.21.148.27/32, ubest/mbest: 1/0, attached
    *via 172.21.148.27, Vlan4, [0/0], 3d07h, local
172.21.150.0/31, ubest/mbest: 1/0, attached
    *via 172.21.150.0, Eth1/51.2009, [0/0], 3d07h, direct
172.21.150.0/32, ubest/mbest: 1/0, attached
    *via 172.21.150.0, Eth1/51.2009, [0/0], 3d07h, local
172.21.176.0/24, ubest/mbest: 1/0
    *via 172.21.148.9, [20/0], 02:55:55, bgp-65405, external, tag 65530
172.21.177.0/24, ubest/mbest: 1/0
    *via 172.21.148.9, [20/0], 02:55:12, bgp-65405, external, tag 65530

IP Route Table for VRF "HW-INFRA"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

172.21.146.0/27, ubest/mbest: 1/0, attached
    *via 172.21.146.2, Vlan202, [0/0], 3d07h, direct
172.21.146.1/32, ubest/mbest: 1/0, attached
    *via 172.21.146.1, Vlan202, [0/0], 3d07h, vrrpv3
172.21.146.2/32, ubest/mbest: 1/0, attached
    *via 172.21.146.2, Vlan202, [0/0], 3d07h, local
172.21.146.32/27, ubest/mbest: 1/0, attached
    *via 172.21.146.34, Vlan203, [0/0], 3d07h, direct
172.21.146.33/32, ubest/mbest: 1/0, attached
    *via 172.21.146.33, Vlan203, [0/0], 3d07h, vrrpv3
172.21.146.34/32, ubest/mbest: 1/0, attached
    *via 172.21.146.34, Vlan203, [0/0], 3d07h, local
172.21.146.64/28, ubest/mbest: 1/0, attached
    *via 172.21.146.66, Vlan206, [0/0], 3d07h, direct
172.21.146.65/32, ubest/mbest: 1/0, attached
    *via 172.21.146.65, Vlan206, [0/0], 3d07h, vrrpv3
172.21.146.66/32, ubest/mbest: 1/0, attached
    *via 172.21.146.66, Vlan206, [0/0], 3d07h, local
172.21.147.16/28, ubest/mbest: 1/0, attached
    *via 172.21.147.18, Vlan211, [0/0], 3d07h, direct
172.21.147.17/32, ubest/mbest: 1/0, attached
    *via 172.21.147.17, Vlan211, [0/0], 3d07h, vrrpv3
172.21.147.18/32, ubest/mbest: 1/0, attached
    *via 172.21.147.18, Vlan211, [0/0], 3d07h, local
172.21.148.14/31, ubest/mbest: 1/0, attached
    *via 172.21.148.14, Eth1/51.2005, [0/0], 3d07h, direct
172.21.148.14/32, ubest/mbest: 1/0, attached
    *via 172.21.148.14, Eth1/51.2005, [0/0], 3d07h, local
172.21.148.22/31, ubest/mbest: 1/0, attached
    *via 172.21.148.23, Vlan2, [0/0], 3d07h, direct
172.21.148.23/32, ubest/mbest: 1/0, attached
    *via 172.21.148.23, Vlan2, [0/0], 3d07h, local

show lldp neighbors

dc01-occoresw01# show lldp neighbors | no-more
Capability codes:
  (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
  (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID            Local Intf      Hold-time  Capability  Port ID
dc01-occoresw02.opscenter.local
                     mgmt0           120        BR          Ethernet1/39
HPE Eth 10/25Gb 2p 631SFP28 Adptr fw_version:AFW_218.0.173.0
                     Eth1/1          100        S           5cba.2c6f.5348
HPE Eth 10/25Gb 2p 631SFP28 Adptr fw_version:AFW_218.0.173.0
                     Eth1/2          100        S           5cba.2c73.5338
HPE Eth 10/25Gb 2p 631SFP28 Adptr fw_version:AFW_218.0.173.0
                     Eth1/3          100        S           5cba.2c73.3838
HPE Eth 10/25Gb 2p 631SFP28 Adptr fw_version:AFW_218.0.173.0
                     Eth1/4          100        S           5cba.2c73.3f58
HPE Eth 10/25Gb 2p 631SFP28 Adptr fw_version:AFW_218.0.173.0
                     Eth1/6          100        S           5cba.2c72.ae70
HPE Eth 10/25Gb 2p 631SFP28 Adptr fw_version:AFW_218.0.173.0
                     Eth1/7          100        S           5cba.2c1a.36c0
dc01-occoresw02.opscenter.local
                     Eth1/39         120        BR          mgmt0
dc01-occoresw02.opscenter.local
                     Eth1/40         120        BR          Ethernet1/40
dc01-occoresw02.opscenter.local
                     Eth1/41         120        BR          Ethernet1/41
Total entries displayed: 13

Saída esperada do OCSW

A tabela seguinte mostra o resultado esperado em cada oc switch:

VRF
BGP Neighbor
Rotas esperadas recebidas do vizinho BGP
OC-DATA Sessão de BGP OCCORESW01
  • Prefixo OCCORE-SERVERS
OC-DATA Sessão de BGP OCCORESW02
  • Prefixo OCCORE-SERVERS
OC-DATA Sessão de BGP OCSW
  • Prefixo OC-WORKSTATION

As secções seguintes mostram o show command outputs para os switches de ocorrência:

show ip bgp summary vrf all

tc-ocsw01# show ip bgp summary vrf all | no-more
BGP summary information for VRF HW-INFRA, address family IPv4 Unicast
BGP router identifier 172.21.180.2, local AS number 65530
BGP table version is 20, IPv4 Unicast config peers 4, capable peers 2
10 network entries and 2 paths using 1496 bytes of memory
BGP attribute entries [2/368], BGP AS path entries [2/20]
BGP community entries [4/128], BGP clusterlist entries [0/0]
14 received paths for inbound soft reconfiguration
2 identical, 0 modified, 12 filtered received paths using 1008 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.148.14   4 65405    4758    4755       20    0    0    3d07h 1
172.21.148.18   4 65405    4756    4755       20    0    0    3d07h 1

BGP summary information for VRF OC-DATA, address family IPv4 Unicast
BGP router identifier 172.21.176.2, local AS number 65530
BGP table version is 133, IPv4 Unicast config peers 5, capable peers 2
23 network entries and 26 paths using 6180 bytes of memory
BGP attribute entries [10/1840], BGP AS path entries [6/84]
BGP community entries [4/128], BGP clusterlist entries [0/0]
26 received paths for inbound soft reconfiguration
2 identical, 22 modified, 2 filtered received paths using 344 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.148.8    4 65405    4784    4762      133    0    0 02:59:33 5
172.21.148.12   4 65405    4763    4759      133    0    0 02:59:43 7
172.21.176.3    4 65530       0       0        0    0    0    3d07h Idle

BGP summary information for VRF default, address family IPv4 Unicast

tc-ocsw01# show bgp ipv4 uni sum vrf all
BGP summary information for VRF HW-INFRA, address family IPv4 Unicast
BGP router identifier 172.21.180.2, local AS number 65530
BGP table version is 20, IPv4 Unicast config peers 4, capable peers 2
10 network entries and 2 paths using 1496 bytes of memory
BGP attribute entries [2/368], BGP AS path entries [2/20]
BGP community entries [3/96], BGP clusterlist entries [0/0]
14 received paths for inbound soft reconfiguration
2 identical, 0 modified, 12 filtered received paths using 1008 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.148.14   4 65405    4772    4768       20    0    0    3d07h 1
172.21.148.18   4 65405    4769    4768       20    0    0    3d07h 1

BGP summary information for VRF OC-DATA, address family IPv4 Unicast
BGP router identifier 172.21.176.2, local AS number 65530
BGP table version is 133, IPv4 Unicast config peers 5, capable peers 2
13 network entries and 14 paths using 3404 bytes of memory
BGP attribute entries [6/1104], BGP AS path entries [3/42]
BGP community entries [3/96], BGP clusterlist entries [0/0]
13 received paths for inbound soft reconfiguration
1 identical, 11 modified, 1 filtered received paths using 172 bytes

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.21.148.8    4 65405    4797    4775      133    0    0 03:12:53 7
172.21.148.12   4 65405    4777    4772      133    0    0 03:13:03 7
172.21.176.3    4 65530       0       0        0    0    0    3d07h 11

BGP summary information for VRF default, address family IPv4 Unicast

show ip bgp vrf all

tc-ocsw01# show bgp ipv4 uni vrf HW-INFRA
BGP routing table information for VRF HW-INFRA, address family IPv4 Unicast
BGP table version is 20, Local Router ID is 172.21.180.2
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

   Network            Next Hop            Metric     LocPrf     Weight Path
* e172.21.146.0/27    172.21.148.18            0                     0 65405 ?
*>e                   172.21.148.14            0                     0 65405 ?

BGP routing table information for VRF OC-DATA, address family IPv4 Unicast
BGP table version is 145, Local Router ID is 172.21.176.2
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

   Network            Next Hop            Metric     LocPrf     Weight Path
* e172.21.144.0/24    172.21.148.8             0                     0 65405 ?
*>e                   172.21.148.12            0                     0 65405 ?
* e172.21.145.0/24    172.21.148.8             0                     0 65405 ?
*>e                   172.21.148.12            0                     0 65405 ?
*>e172.21.148.8/31    172.21.148.8             0                     0 65405 ?
*>e172.21.148.12/31   172.21.148.12            0                     0 65405 ?
*>e172.21.148.26/31   172.21.148.8             0                     0 65405 ?
*>e172.21.148.28/31   172.21.148.12            0                     0 65405 ?
*>e172.21.150.0/31    172.21.148.8             0                     0 65405 ?
*>e172.21.150.4/31    172.21.148.12            0                     0 65405 ?
*>e172.21.150.18/31   172.21.148.12            0                     0 65405 ?
*>r172.21.176.0/24    0.0.0.0                  0        100      32768 ?
*>r172.21.177.0/24    0.0.0.0                  0        100      32768 ?

show ip route vrf all

tc-ocsw01# show ip route vrf all | no-more
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>


IP Route Table for VRF "management"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

0.0.0.0/0, ubest/mbest: 1/0
    *via 172.21.180.1, [1/0], 3d07h, static
172.21.180.0/28, ubest/mbest: 1/0, attached
    *via 172.21.180.4, mgmt0, [0/0], 3d07h, direct
172.21.180.4/32, ubest/mbest: 1/0, attached
    *via 172.21.180.4, mgmt0, [0/0], 3d07h, local

IP Route Table for VRF "HW-INFRA"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

172.21.146.0/27, ubest/mbest: 1/0
    *via 172.21.148.14, [20/0], 3d07h, bgp-65530, external, tag 65405
172.21.148.14/31, ubest/mbest: 1/0, attached
    *via 172.21.148.15, Eth1/53.2005, [0/0], 3d07h, direct
172.21.148.15/32, ubest/mbest: 1/0, attached
    *via 172.21.148.15, Eth1/53.2005, [0/0], 3d07h, local
172.21.148.18/31, ubest/mbest: 1/0, attached
    *via 172.21.148.19, Eth1/54.2007, [0/0], 3d07h, direct
172.21.148.19/32, ubest/mbest: 1/0, attached
    *via 172.21.148.19, Eth1/54.2007, [0/0], 3d07h, local
172.21.180.0/28, ubest/mbest: 1/0, attached
    *via 172.21.180.2, Vlan205, [0/0], 3d07h, direct
172.21.180.1/32, ubest/mbest: 1/0, attached
    *via 172.21.180.1, Vlan205, [0/0], 3d07h, vrrpv3
172.21.180.2/32, ubest/mbest: 1/0, attached
    *via 172.21.180.2, Vlan205, [0/0], 3d07h, local

IP Route Table for VRF "OC-DATA"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

172.21.144.0/24, ubest/mbest: 1/0
    *via 172.21.148.12, [20/0], 00:16:14, bgp-65530, external, tag 65405
172.21.145.0/24, ubest/mbest: 1/0
    *via 172.21.148.12, [20/0], 00:16:14, bgp-65530, external, tag 65405
172.21.148.8/31, ubest/mbest: 1/0, attached
    *via 172.21.148.9, Eth1/53.2001, [0/0], 3d07h, direct
172.21.148.9/32, ubest/mbest: 1/0, attached
    *via 172.21.148.9, Eth1/53.2001, [0/0], 3d07h, local
172.21.148.12/31, ubest/mbest: 1/0, attached
    *via 172.21.148.13, Eth1/54.2003, [0/0], 3d07h, direct
172.21.148.13/32, ubest/mbest: 1/0, attached
    *via 172.21.148.13, Eth1/54.2003, [0/0], 3d07h, local
172.21.148.26/31, ubest/mbest: 1/0
    *via 172.21.148.8, [20/0], 00:16:14, bgp-65530, external, tag 65405
172.21.148.28/31, ubest/mbest: 1/0
    *via 172.21.148.12, [20/0], 00:16:14, bgp-65530, external, tag 65405
172.21.150.0/31, ubest/mbest: 1/0
    *via 172.21.148.8, [20/0], 00:16:14, bgp-65530, external, tag 65405
172.21.150.4/31, ubest/mbest: 1/0
    *via 172.21.148.12, [20/0], 00:16:14, bgp-65530, external, tag 65405
172.21.150.18/31, ubest/mbest: 1/0
    *via 172.21.148.12, [20/0], 00:16:14, bgp-65530, external, tag 65405
172.21.176.0/24, ubest/mbest: 1/0, attached
    *via 172.21.176.2, Lo204, [0/0], 03:34:44, direct
172.21.176.2/32, ubest/mbest: 1/0, attached
    *via 172.21.176.2, Lo204, [0/0], 03:34:44, local
172.21.177.0/24, ubest/mbest: 1/0, attached
    *via 172.21.177.2, Lo208, [0/0], 03:33:47, direct
172.21.177.2/32, ubest/mbest: 1/0, attached
    *via 172.21.177.2, Lo208, [0/0], 03:33:47, local

show lldp neighbors

ocsw01# show lldp neighbors | no-more
Capability codes:
  (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
  (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID            Local Intf      Hold-time  Capability  Port ID
ocsw02.opscenter.local
                     mgmt0           120        BR          Ethernet1/42
Broadcom P225p NetXtreme-E Dual-port 10Gb/25Gb Ethernet PCIe AdaBroadcom fw_version:AFW_214.4.42.1
                     Eth1/1          120        S           0062.0b14.bda1
Broadcom P225p NetXtreme-E Dual-port 10Gb/25Gb Ethernet PCIe AdaBroadcom fw_version:AFW_214.4.42.1
                     Eth1/3          120        S           0062.0b14.d381
Broadcom P225p NetXtreme-E Dual-port 10Gb/25Gb Ethernet PCIe AdaBroadcom fw_version:AFW_214.4.42.1
                     Eth1/5          120        S           0062.0b14.ab31
Broadcom P225p NetXtreme-E Dual-port 10Gb/25Gb Ethernet PCIe AdaBroadcom fw_version:AFW_214.4.42.1
                     Eth1/7          120        S           0062.0b14.bcb1
Broadcom P225p NetXtreme-E Dual-port 10Gb/25Gb Ethernet PCIe AdaBroadcom fw_version:AFW_214.4.42.1
                     Eth1/8          120        S           0062.0b14.78a1
40a6.b7a9.02ed       Eth1/10         121                    40a6.b7a9.02ed
ocsw02.opscenter.local
                     Eth1/42         120        BR          mgmt0
ocsw02.opscenter.local
                     Eth1/51         120        BR          Ethernet1/51
ocsw02.opscenter.local
                     Eth1/52         120        BR          Ethernet1/52
Total entries displayed: 12

Validações de implementação de OI em vários sites

A secção seguinte detalha como validar implementações em vários sites. Estas verificações têm de ser realizadas após a validação de cada site, conforme mencionado em 5.2.7.1 Valide através destes comandos show para cada site da infraestrutura do Operations Suite (OI) implementado.

Valide a utilização destes comandos de apresentação

Semelhante a uma implementação de OI normal, podem ser usados os seguintes comandos show:

  • show ip bgp summary vrf all
  • show ip bgp vrf all
  • show ip route vrf all
  • show lldp neighbors

Valide a implementação em vários sites

Os seguintes itens são aspetos essenciais a procurar nos resultados:

  • Nenhuma sessão de BGP está no estado Idle, Active ou Closing.
  • Todas as sessões BGP mostram um valor State/PrxRcd superior a 0.
  • Todas as sessões de BGP mostram um temporizador Up/Down que aumenta continuamente.
  • Além dos trajetos mencionados, não deve ser anunciado nem recebido nenhum outro trajeto

Neste exemplo: - O site local tem InstanceID = 1. – O site remoto tem InstanceID = 2.

As validações têm de ser realizadas em todas as comutações de todos os sites.

Saída esperada de OCCORESW

Esta tabela mostra o estado BGP esperado para OCCORESW101:

VRF ID da instância do dispositivo de peering Sessão de BGP esperada
Rotas esperadas recebidas
GDCH-DATA-TRANSIT 1 Sessão de BGP com hairpinning através de OCCOREFW
(para OC-DATA VRF)
  • Prefixo OCCORE-SERVERS (de todos os sites remotos)
  • Prefixo OC-WORKSTATION (para todos os sites remotos)
OC-DATA 2 Sessão de BGP OCSW201
  • Prefixo OC-WORKSTATION (para todos os sites remotos)
OC-DATA 2 Sessão de BGP OCSW202
  • Prefixo OC-WORKSTATION (para todos os sites remotos)
OC-DATA 2 Sessão de BGP OCCORESW201
  • Prefixo OCCORE-SERVERS (para todos os sites remotos)
OC-DATA 2 Sessão de BGP OCCORESW202
  • Prefixo OCCORE-SERVERS (para todos os sites remotos)

Saída esperada do OCSW

A tabela seguinte mostra o estado BGP esperado para o OCSW101:

VRF ID da instância do dispositivo de peering Sessão de BGP esperada
Rotas esperadas recebidas
OC-DATA 1 Sessão de BGP OCCORESW201
  • Prefixo OCCORE-SERVERS (para todos os sites remotos)
OC-DATA 1 Sessão de BGP OCCORESW202
  • Prefixo OCCORE-SERVERS (para todos os sites remotos)