# Аналоги команд на разных вендорах

## Просмотр конфигурации

{% tabs %}
{% tab title="Huawei" %}

```
display current-configuration
```

*Полезные дополнения:*

На роутерах можно вызвать комбинацией CTRL+G

```
dis current-configuration configuration [bgp, ...]
```

{% endtab %}

{% tab title="Cisco" %}

```
show running-config
```

*Полезные дополнения:*

```
show running-config | section [bgp, ...]
```

```
sh run partition [router ospf 1, ...]
```

{% endtab %}

{% tab title="Juniper" %}

```
show configuration | display set
```

Полезные дополнения:

```
show configuration | display set | match [bgp, ...]
```

{% endtab %}
{% endtabs %}

## Посмотреть ARP таблицу

{% tabs %}
{% tab title="Huawei" %}

```
display arp
```

{% endtab %}

{% tab title="Cisco" %}

```
show arp
```

{% endtab %}

{% tab title="Juniper" %}

```
show arp
```

{% endtab %}
{% endtabs %}

## Посмотреть информацию по IP интерфейсам (IP адрес, состояние L2/L3)

{% tabs %}
{% tab title=" Huawei" %}

```
display ip interface brief
```

{% endtab %}

{% tab title="Cisco" %}

```
show ip interface brief
```

{% endtab %}

{% tab title="Juniper" %}

```
show interfaces terse
```

{% endtab %}
{% endtabs %}

## Просмотр MAC таблицы

{% tabs %}
{% tab title="Huawei" %}

```
display mac-address
```

{% endtab %}

{% tab title="Cisco" %}

```
sh mac-address-table
```

{% endtab %}

{% tab title="Juniper" %}

```
show ethernet-switching table
```

{% endtab %}
{% endtabs %}

## Просмотр таблицы маршрутизации

{% tabs %}
{% tab title="Huawei" %}

```
display ip routing-table
```

*Полезные дополнения:*

```
display ip routing-table protocol [static, ...]
```

```
display ip routing-table 10.0.0.0
```

```
display ip routing-table 10.0.0.0 verbose
```

```
display ip routing-table vpn-instance [VRF-name]
```

{% endtab %}

{% tab title="Cisco" %}

```
show ip route
```

*Полезные дополнения:*

```
show ip route [static, ...]
```

```
show ip route 10.0.0.0
```

```
sh ip route vrf [VRF-name]
```

{% endtab %}

{% tab title="Juniper" %}

```
show route
```

```
show route terse
```

*Полезные дополнения:*

```
show route protocol [static, ...]
```

```
show route terse protocol [static, ...]
```

```
show route protocol [static, ...] terse
```

```
show route 10.0.0.0
```

```
show route terse 10.0.0.0
```

```
show route 10.0.0.0 terse
```

```
show route 10.0.0.0 detail
```

```
show route table [VRF-name]
```

```
show route terse table [VRF-name]
```

```
show route table [VRF-name] terse
```

{% endtab %}
{% endtabs %}

## Просмотр соседей BGP

{% tabs %}
{% tab title="Huawei" %}

```
display bgp peer
```

{% endtab %}

{% tab title="Cisco" %}

```
show ip bgp summary
```

{% endtab %}

{% tab title="Juniper" %}

```
show bgp summary
```

{% endtab %}
{% endtabs %}

## Просмотр BGP таблицы

{% tabs %}
{% tab title="Huawei" %}

```
display bgp routing-table
```

{% endtab %}

{% tab title="Cisco" %}

```
show ip bgp
```

{% endtab %}

{% tab title="Juniper" %}

```
show route protocol bgp
```

```
show route protocol bgp terse
```

{% endtab %}
{% endtabs %}

## Посмотреть BGP анонсы

{% tabs %}
{% tab title="Huawei" %}

```
display bgp routing-table peer 10.0.0.1 advertised-routes
```

```
display bgp routing-table peer 10.0.0.1 received-routes
```

{% endtab %}

{% tab title="Cisco" %}

```
show ip bgp neighbors 10.0.0.1 advertised-routes
```

```
show ip bgp neighbors 10.0.0.1 received-routes
```

{% endtab %}

{% tab title="Juniper" %}

```
show route advertising-protocol bgp 10.0.0.1
```

```
show route receive-protocol bgp 10.0.0.1
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://skorovarovas.gitbook.io/packetnetwork/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
