2.7 OI 网络验证

预计完成时间:1-2 小时

可操作组件的所有者:PNET

在部署的这一阶段,必须满足以下条件:

  • occoresw01occoresw02 均使用 baseacl 配置文件进行配置。
  • ocsw01ocsw02 均通过 baseacl 配置文件进行配置。
  • occorefw01occorefw02 均通过 base 配置文件进行配置。
  • 数据中心与运营中心之间的上行链路已连接并正常运行。

如果不满足上述任何条件,则以下输出可能会有很大差异,具体取决于当前状态,并且很可能无法在生产环境中产生预期行为。

使用以下 show 命令进行验证

以下代码段显示了以下命令在已知良好环境中的输出:

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

这些代码段可作为与生产环境进行比较的依据,使用相同的命令即可实现比较。IP 地址和子网可能会因您的环境而异。

验证输出

以下是您需要在以下输出中重点关注的内容:

  • 没有 BGP 会话处于 IdleActiveClosing 状态。
  • 所有 BGP 会话都显示大于 0State/PrxRcd 值。
  • 所有 BGP 会话都显示一个不断增加的 Up/Down 计时器。

OCCORESW 预期输出

下表显示了每个 occore switch 的预期输出:

VRF
BGP 邻居
从 BGP 邻居
收到的预期路由
GDCH-DATA-TRANSIT 使用 OCCOREFW 到 OC-DATA VRF 的 HairPinned BGP 会话
  • OC-DATA VRF 中用于通过 OCCORE FW 进行 BGP 对等互连的 VLAN (OC-DATA) 子网
  • OCCORE-SERVERS 前缀
  • OC-WORKSTATION 前缀
OC-DATA 使用 OCCOREFW 到 GDCH-DATA-TRANSIT VRF 的发夹式 BGP 会话
  • GDCH-DATA-TRANSIT VRF 中用于通过 OCCORE FW 进行 BGP 对等互连的 VLAN (GDCH-DATA-TRANSIT) 子网
OC-DATA OCSW01 BGP 会话
  • OC-WORKSTATION 前缀
OC-DATA OCSW02 BGP 会话
  • OC-WORKSTATION 前缀
OC-DATA OCCORESW BGP 会话
  • OCCORE-SERVERS 前缀
GDCH-MGMT-TRANSIT 使用 OCCOREFW 从 HW-INFRA VRF 到 HairPinned BGP 会话
  • HW-INFRA VRF 中用于通过 OCCORE FW 进行 BGP 对等互连的 VLAN (HW-INFRA) 子网
  • OCCORE-JUMPHOSTS 前缀
  • OCCORE-ILOS 前缀
  • OCCORE-NETADMIN 前缀
HW-INFRA 使用 OCCOREFW 从 HW-INFRA VRF 到 HairPinned BGP 会话
  • GDCH-MGMT-TRANSIT VRF 中用于通过 OCCORE FW 进行 BGP 对等互连的 VLAN (GDCH-MGMT-TRANSIT) 子网
HW-INFRA OCS01 BGP 会话
  • NETADMIN 前缀
HW-INFRA OCS02 BGP 会话
  • NETADMIN 前缀

以下部分展示了 occore 交换机的 show command outputs

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

OCSW 预期输出

下表显示了每个 oc switch 的预期输出:

VRF
BGP 邻居
从 BGP 邻居
收到的预期路由
OC-DATA OCCORESW01 BGP 会话
  • OCCORE-SERVERS 前缀
OC-DATA OCCORESW02 BGP 会话
  • OCCORE-SERVERS 前缀
OC-DATA OCSW BGP 会话
  • OC-WORKSTATION 前缀

以下部分展示了 occore 交换机的 show command outputs

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

多网站 OI 部署验证

以下部分详细介绍了如何验证多站点部署。在验证每个站点(如 5.2.7.1 使用这些 show 命令进行验证中所述)后,必须针对部署的每个 Operations Suite 基础架构 (OI) 站点执行这些检查。

使用以下 show 命令进行验证

与常规 OI 部署类似,您可以使用以下显示命令:

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

验证多站点部署

以下是输出中需要注意的关键事项:

  • 没有 BGP 会话处于 IdleActiveClosing 状态。
  • 所有 BGP 会话都显示大于 0State/PrxRcd 值。
  • 所有 BGP 会话都显示一个不断增加的 Up/Down 计时器。
  • 除了上述路由之外,不应通告或接收任何其他路由

在此示例中: - 本地网站具有 InstanceID = 1。 - 远程网站具有 InstanceID = 2

必须对所有网站的所有交换机执行验证。

OCCORESW 预期输出

下表显示了 OCCORESW101 的预期 BGP 状态:

VRF 对等互连设备实例 ID 预期 BGP 会话
收到的预期路线
GDCH-DATA-TRANSIT 1 使用 OCCOREFW
(到 OC-DATA VRF)的 Hair Pinned BGP 会话
  • OCCORE-SERVERS 前缀(所有远程网站)
  • OC-WORKSTATION 前缀(适用于所有远程网站)
OC-DATA 2 OCSW201 BGP 会话
  • OC-WORKSTATION 前缀(适用于所有远程网站)
OC-DATA 2 OCSW202 BGP 会话
  • OC-WORKSTATION 前缀(适用于所有远程网站)
OC-DATA 2 OCCORESW201 BGP 会话
  • OCCORE-SERVERS 前缀(适用于所有远程网站)
OC-DATA 2 OCCORESW202 BGP 会话
  • OCCORE-SERVERS 前缀(适用于所有远程网站)

OCSW 预期输出

下表显示了 OCSW101 的预期 BGP 状态:

VRF 对等互连设备实例 ID 预期 BGP 会话
收到的预期路线
OC-DATA 1 OCCORESW201 BGP 会话
  • OCCORE-SERVERS 前缀(适用于所有远程网站)
OC-DATA 1 OCCORESW202 BGP 会话
  • OCCORE-SERVERS 前缀(适用于所有远程网站)