...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show ip ospf neighbors Router ID Pri State DTime Interface Router IP --------- --- ----- ----- ----------------- --------- 192.168.0.2 128 Full/BDR 00:31 gi1/0/3 192.168.0.2 esr-100#esr# |
Просмотр приоритета соседних маршрутизаторов
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show ip ospf neighbors Router ID Pri State DTime Interface Router IP --------- --- ----- ----- ----------------- --------- 192.168.0.2 128 Full/BDR 00:31 gi1/0/3 192.168.0.2 esr-100#esr# |
Просмотр отношений с соседними маршрутизаторами
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show ip ospf neighbors Router ID Pri State DTime Interface Router IP --------- --- ----- ----- ----------------- --------- 192.168.0.2 128 Full/BDR 00:31 gi1/0/3 192.168.0.2 esr-100#esr# |
Мониторинг BGP
Просмотр типа IP-адресов маршрутизатора, на которых включен BGP
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp neighbors BGP neighbor is 198.18.0.1 BGP state: Established Type: Static neighbor Neighbor address: 192.168.0.2 Neighbor AS: 1 Neighbor ID: 192.168.0.2 Neighbor caps: refresh enhanced-refresh restart-aware AS4 Session: internal multihop AS4 Source address: 192.168.0.1 Weight: 0 Hold timer: 132/180 Keepalive timer: 40/60 Uptime: 6 s esr-100#esr# |
Просмотр IP-адресов маршрутизатора, на которых включен BGP
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp neighbors BGP neighbor is 198.18.0.1 BGP state: Established Type: Static neighbor Neighbor address: 192.168.0.2 Neighbor AS: 1 Neighbor ID: 192.168.0.2 Neighbor caps: refresh enhanced-refresh restart-aware AS4 Session: internal multihop AS4 Source address: 192.168.0.1 Weight: 0 Hold timer: 132/180 Keepalive timer: 40/60 Uptime: 6 s esr-100#esr# |
Просмотр Local AS на маршрутизаторе
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp summary Mon Apr 08 07:52:25 2024 BGP router identifier 192.168.0.1, local AS number 1 BGP activity 0/0 prefixes Neighbor AS MsgRcvd MsgSent Up/Down St/PfxRcd ---------------------- ------------- ---------- ---------- ---------- ------------ 192.168.0.2 1 2 2 00:00:36 0 esr-100# esr# |
Просмотр Router-ID для BGP на маршрутизаторе
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp summary Mon Apr 08 07:52:25 2024 BGP router identifier 192.168.0.1, local AS number 1 BGP activity 0/0 prefixes Neighbor AS MsgRcvd MsgSent Up/Down St/PfxRcd ---------------------- ------------- ---------- ---------- ---------- ------------ 192.168.0.2 1 2 2 00:00:36 0 esr-100# esr# |
Просмотр IP-адресов BGP-соседей
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp summary Mon Apr 08 07:52:25 2024 BGP router identifier 192.168.0.1, local AS number 1 BGP activity 0/0 prefixes Neighbor AS MsgRcvd MsgSent Up/Down St/PfxRcd ---------------------- ------------- ---------- ---------- ---------- ------------ 192.168.0.2 1 2 2 00:00:36 0 esr-100# esr# |
Просмотр подключенных AS соседних маршрутизаторов
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp summary Mon Apr 08 07:52:25 2024 BGP router identifier 192.168.0.1, local AS number 1 BGP activity 0/0 prefixes Neighbor AS MsgRcvd MsgSent Up/Down St/PfxRcd ---------------------- ------------- ---------- ---------- ---------- ------------ 192.168.0.2 1 2 2 00:00:36 0 esr-100# esr# |
Просмотр Neighbor ID
MIB:
ELTEX-ESR-BGP4V2-MIB
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp neighbors BGP neighbor is 198.18.0.1 BGP state: Established Type: Static neighbor Neighbor address: 192.168.0.2 Neighbor AS: 1 Neighbor ID: 192.168.0.2 Neighbor caps: refresh enhanced-refresh restart-aware AS4 Session: internal multihop AS4 Source address: 192.168.0.1 Weight: 0 Hold timer: 132/180 Keepalive timer: 40/60 Uptime: 6 s esr-100#esr# |
Просмотр состояния соединения BGP
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp neighbors BGP neighbor is 198.18.0.1 BGP state: Established Type: Static neighbor Neighbor address: 192.168.0.2 Neighbor AS: 1 Neighbor ID: 192.168.0.2 Neighbor caps: refresh enhanced-refresh restart-aware AS4 Session: internal multihop AS4 Source address: 192.168.0.1 Weight: 0 Hold timer: 132/180 Keepalive timer: 40/60 Uptime: 6 s esr-100#esr# |
Просмотр Description BGP-соседей
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp neighbors BGP neighbor is 198.18.0.1 Description: BGP NEIGHBOR DESCRIPTION BGP state: Established Type: Static neighbor Neighbor address: 192.168.0.2 Neighbor AS: 1 Neighbor ID: 192.168.0.2 Neighbor caps: refresh enhanced-refresh restart-aware AS4 Session: internal multihop AS4 Source address: 192.168.0.1 Weight: 0 Hold timer: 132/180 Keepalive timer: 40/60 Uptime: 6 s esr-100#esr# |
Просмотр времени с момента последнего изменения состояния BGP-сессии
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
snmpwalk -v2c -c public 192.168.0.1 1.3.6.1.4.1.35265.1.147.2.4.1.3.1.1.1817 iso.3.6.1.4.1.35265.1.147.2.4.1.3.1.1.17.1.49.1.4.192.168.0.2 = Gauge32: 68 |
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp summary Mon Apr 08 07:52:25 2024 BGP router identifier 192.168.0.1, local AS number 1 BGP activity 0/0 prefixes Neighbor AS MsgRcvd MsgSent Up/Down St/PfxRcd ---------------------- ------------- ---------- ---------- ---------- ------------ 192.168.0.2 1 2 2 00:01:08 98 |
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
snmpwalk -v2c -c public 192.168.0.1 1.3.6.1.4.1.35265.1.147.2.4.1.3.1.1.1718 iso.3.6.1.4.1.35265.1.147.2.4.1.3.1.1.18.1.49.1.4.192.168.0.2 = Gauge32: 98 |
...
| Блок кода | ||||
|---|---|---|---|---|
| ||||
esr-100#esr# show bgp summary Mon Apr 08 07:52:25 2024 BGP router identifier 192.168.0.1, local AS number 1 BGP activity 0/0 prefixes Neighbor AS MsgRcvd MsgSent Up/Down St/PfxRcd ---------------------- ------------- ---------- ---------- ---------- ------------ 192.168.0.2 1 2 2 00:01:08 98 |
...