預計完成時間:1 到 2 小時
可操作元件擁有者:PNET
在部署作業的此階段,必須符合下列條件:
occoresw01和occoresw02都是透過base和acl設定檔設定。ocsw01和ocsw02都是透過base和acl設定檔設定。occorefw01和occorefw02都是透過base設定檔設定。- 資料中心和營運中心之間的上行鏈路已連線並運作。
如果不符合上述任一條件,下列輸出內容可能會因目前狀態而有顯著差異,且可能無法在實際工作環境中產生預期行為。
使用下列 show 指令進行驗證
下列程式碼片段顯示已知良好環境中,下列指令的輸出內容:
show ip bgp summary vrf allshow ip bgp vrf allshow ip route vrf allshow lldp neighbors
這些程式碼片段可做為與正式環境比較的基準,使用相同的指令即可。IP 位址和子網路可能因環境而異。
驗證輸出內容
請在下列輸出內容中尋找以下重要事項:
- 沒有任何 BGP 工作階段處於
Idle、Active或Closing狀態。 - 所有 BGP 工作階段顯示的
State/PrxRcd值都大於0。 - 所有 BGP 工作階段都會顯示持續增加的
Up/Down計時器。
OCCORESW 預期輸出內容
下表顯示每個 occore switch 的預期輸出內容:
| VRF |
BGP 相鄰路由器 |
預計從 BGP 鄰居收到的路徑 |
|---|---|---|
| GDCH-DATA-TRANSIT | 使用 OCCOREFW 至 OC-DATA VRF 的 HairPinned BGP 工作階段 |
|
| OC-DATA | 使用 OCCOREFW 將 BGP 工作階段釘選至 GDCH-DATA-TRANSIT VRF |
|
| OC-DATA | OCSW01 BGP 工作階段 |
|
| OC-DATA | OCSW02 BGP 工作階段 |
|
| OC-DATA | OCCORESW BGP 工作階段 |
|
| GDCH-MGMT-TRANSIT | 使用 OCCOREFW 至 HW-INFRA VRF 的 HairPinned BGP 工作階段 |
|
| HW-INFRA | 使用 OCCOREFW 至 HW-INFRA VRF 的 HairPinned BGP 工作階段 |
|
| HW-INFRA | OCS01 BGP 工作階段 |
|
| HW-INFRA | OCS02 BGP 工作階段 |
|
以下各節說明 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 工作階段 |
|
| OC-DATA | OCCORESW02 BGP 工作階段 |
|
| OC-DATA | OCSW BGP 工作階段 |
|
以下各節說明 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 節所述,在驗證部署的每個 Operations Suite Infrastructure (OI) 網站後,必須執行這些檢查。
使用下列 show 指令進行驗證
與一般 OI 部署作業類似,您可以使用下列顯示指令:
show ip bgp summary vrf allshow ip bgp vrf allshow ip route vrf allshow lldp neighbors
驗證多網站部署作業
以下是輸出內容中的重要項目:
- 沒有任何 BGP 工作階段處於
Idle、Active或Closing狀態。 - 所有 BGP 工作階段顯示的
State/PrxRcd值都大於0。 - 所有 BGP 工作階段都會顯示持續增加的
Up/Down計時器。 - 除了上述路線,不應宣傳或接收其他路線
在本範例中:
- 本地網站有 InstanceID = 1。
- 遠端網站有 InstanceID = 2。
所有網站的所有切換器都必須經過驗證。
OCCORESW 預期輸出內容
下表顯示 OCCORESW101 的預期 BGP 狀態:
| VRF | 對等互連裝置執行個體 ID | 預期 BGP 工作階段 |
已收到預期路線 |
|---|---|---|---|
| GDCH-DATA-TRANSIT | 1 | 使用 OCCOREFW (至 OC-DATA VRF) 的 Hair Pinned BGP 工作階段 |
|
| OC-DATA | 2 | OCSW201 BGP 工作階段 |
|
| OC-DATA | 2 | OCSW202 BGP 工作階段 |
|
| OC-DATA | 2 | OCCORESW201 BGP 工作階段 |
|
| OC-DATA | 2 | OCCORESW202 BGP 工作階段 |
|
OCSW 預期輸出內容
下表列出 OCSW101 的預期 BGP 狀態:
| VRF | 對等互連裝置執行個體 ID | 預期 BGP 工作階段 |
已收到預期路線 |
|---|---|---|---|
| OC-DATA | 1 | OCCORESW201 BGP 工作階段 |
|
| OC-DATA | 1 | OCCORESW202 BGP 工作階段 |
|