Страница 1 из 2

мануал по VPC

Добавлено: 27 фев 2020 08:03
Maxik
Где можно почитать про настройку Virtual port channel для моделей MES3348 и если такая возможность есть на MES23XX?

Re: мануал по VPC

Добавлено: 27 фев 2020 12:02
alex_bat
Здравствуйте, вот пример настройки:

SW1


vlan database
vlan 242
exit
!
vpc
vpc domain 1
peer detection
peer detection interval 200
peer detection timeout 700
peer detection ipaddr 1.1.1.1 1.1.1.2
peer keepalive
peer keepalive timeout 2
role priority 2
peer link Port-Channel 47
exit
!
vpc group 1
domain 1
vpc-port Port-Channel 1
exit
!
vpc group 2
domain 1
vpc-port Port-Channel 2
exit


SW2



vpc
vpc domain 1
peer detection
peer detection interval 200
peer detection timeout 700
peer detection ipaddr 1.1.1.2 1.1.1.1
peer keepalive
peer keepalive timeout 2
role priority 1
peer link Port-Channel 47
exit
!
vpc group 1
domain 1
vpc-port Port-Channel 1
exit
!
vpc group 2
domain 1
vpc-port Port-Channel 2
exit
!


47 port channel - между двумя коммутаторами VPC.

Также есть отдельный линк для peer detection 1.1.1.2 ---- 1.1.1.1

Re: мануал по VPC

Добавлено: 01 мар 2020 17:10
Maxik
Т.е. на MES23XX тоже будет работать?
И все таки как скоро будет полноценный мануал?

Re: мануал по VPC

Добавлено: 02 мар 2020 15:54
Евгений Т
Здравствуйте.

На MES2324 тоже будет работать.
Что Вы понимаете под полноценным мануалом? В документации все настройки описаны. Пример планируем добавить в нашу базу знаний.

Re: мануал по VPC

Добавлено: 06 мар 2020 18:36
Gennadyi
Описание настроек в мануале - это хорошо, но там описано по минимуму, без примера настройки конкретных интерфейсов и схемы подключения коммутаторов VPC домена, подключения сторонних коммутаторов к коммутаторам VPC домена через port-channel
Например:
SW-1
interface gigabitethernet1/0/1
ip address 1.1.1.1 255.255.255.255

vpc
vpc domain 1
peer detection
peer detection ipaddr 1.1.1.2 1.1.1.1
role priority 1
peer link Port-Channel 1
exit

interface Port-channel1
description InterSW-Link
switchport mode trunk
switchport trunk allowed vlan add 100-120,4005
switchport forbidden default-vlan

interface gigabitethernet1/0/23
description to_SW-2_1-0-23
channel-group 1 mode auto
exit
!
interface gigabitethernet1/0/24
description to_SW-2_1-0-24
channel-group 1 mode auto
exit

lldp neighbors
gi1/0/1 e0:d9:e3:be:02:80 gi1/0/1
gi1/0/23 e0:d9:e3:be:02:80 gi1/0/23
gi1/0/24 e0:d9:e3:be:02:80 gi1/0/24




SW-2
interface gigabitethernet1/0/1
ip address 1.1.1.1 255.255.255.255

vpc
vpc domain 1
peer detection
peer detection ipaddr 1.1.1.2 1.1.1.2
role priority 2
peer link Port-Channel 1
exit

interface Port-channel1
description InterSW-Link
switchport mode trunk
switchport trunk allowed vlan add 100-120,4005
switchport forbidden default-vlan

interface gigabitethernet1/0/23
description to_SW-1_1-0-23
channel-group 1 mode auto
exit
!
interface gigabitethernet1/0/24
description to_SW-1_1-0-24
channel-group 1 mode auto
exit

lldp neighbors
gi1/0/1 e0:d9:e3:be:1e:00 gi1/0/1
gi1/0/23 e0:d9:e3:be:1e:00 gi1/0/23
gi1/0/24 e0:d9:e3:be:1e:00 gi1/0/24


SW-1#sho vpc peer-detection
VPC domain 1
Peer IP address................................ 1.1.1.2
Source IP address.............................. 1.1.1.1
UDP port....................................... 50000
Peer detection admin status.................... Enabled
Peer detection operational status.............. Up
Peer is detected............................... not detected
Configured Tx interval......................... 700 milliseconds
Configured Rx timeout.......................... 5000 milliseconds

SW-2#sho vpc peer-detection
VPC domain 1
Peer IP address................................ 1.1.1.1
Source IP address.............................. 1.1.1.2
UDP port....................................... 50000
Peer detection admin status.................... Enabled
Peer detection operational status.............. Up
Peer is detected............................... not detected
Configured Tx interval......................... 700 milliseconds
Configured Rx timeout.......................... 5000 milliseconds

Port-channel к сторонним коммутаторам не настроены и не подняты.

где ошибка ?

Re: мануал по VPC

Добавлено: 10 мар 2020 12:26
alex_bat
Здравствуйте,

Адреса 1.1.1.0 между собой пингуются?
Приложите вывод sh errdisable interfaces

Re: мануал по VPC

Добавлено: 11 мар 2020 12:11
Gennadyi
SW-1#ping 1.1.1.1
Pinging 1.1.1.1 with 18 bytes of data:

18 bytes from 1.1.1.1: icmp_seq=1. time=0 ms
18 bytes from 1.1.1.1: icmp_seq=2. time=0 ms
18 bytes from 1.1.1.1: icmp_seq=3. time=0 ms
18 bytes from 1.1.1.1: icmp_seq=4. time=0 ms

----1.1.1.1 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0


SW-1#ping 1.1.1.2
Pinging 1.1.1.2 with 18 bytes of data:

18 bytes from 1.1.1.2: icmp_seq=1. time=0 ms
18 bytes from 1.1.1.2: icmp_seq=2. time=0 ms
18 bytes from 1.1.1.2: icmp_seq=3. time=0 ms
18 bytes from 1.1.1.2: icmp_seq=4. time=0 ms

----1.1.1.2 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0

SW-1# sh errdisable interfaces

Interface Reason
------------- ------------------


SW-2#ping 1.1.1.2
Pinging 1.1.1.2 with 18 bytes of data:

18 bytes from 1.1.1.2: icmp_seq=1. time=0 ms
18 bytes from 1.1.1.2: icmp_seq=2. time=0 ms
18 bytes from 1.1.1.2: icmp_seq=3. time=0 ms
18 bytes from 1.1.1.2: icmp_seq=4. time=0 ms

----1.1.1.2 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0


SW-2#ping 1.1.1.1
Pinging 1.1.1.1 with 18 bytes of data:

18 bytes from 1.1.1.1: icmp_seq=1. time=0 ms
18 bytes from 1.1.1.1: icmp_seq=2. time=0 ms
18 bytes from 1.1.1.1: icmp_seq=3. time=0 ms
18 bytes from 1.1.1.1: icmp_seq=4. time=0 ms

----1.1.1.1 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0

SW-2#sho errdisable interfaces

Interface Reason
------------- ------------------

Re: мануал по VPC

Добавлено: 12 мар 2020 15:04
alex_bat
Давайте попробуем добавить все настройки и перепроверить

peer detection
peer detection interval 200
peer detection timeout 700
peer detection ipaddr 1.1.1.1 1.1.1.2
peer keepalive
peer keepalive timeout 2
role priority 2
peer link Port-Channel 1

Re: мануал по VPC

Добавлено: 16 мар 2020 12:02
Gennadyi
SW-1#
vpc
vpc domain 1
peer detection
peer detection interval 200
peer detection timeout 700
peer detection ipaddr 1.1.1.2 1.1.1.1
peer keepalive
peer keepalive timeout 2
role priority 1
peer link Port-Channel 1
exit

sho vpc peer-detection
VPC domain 1
Peer IP address................................ 1.1.1.2
Source IP address.............................. 1.1.1.1
UDP port....................................... 50000
Peer detection admin status.................... Enabled
Peer detection operational status.............. Up
Peer is detected............................... not detected
Configured Tx interval......................... 200 milliseconds
Configured Rx timeout.......................... 700 milliseconds


SW-2#
vpc
vpc domain 1
peer detection
peer detection interval 200
peer detection timeout 700
peer detection ipaddr 1.1.1.1 1.1.1.2
peer keepalive
peer keepalive timeout 2
role priority 2
peer link Port-Channel 1

sho vpc peer-detection
VPC domain 1
Peer IP address................................ 1.1.1.1
Source IP address.............................. 1.1.1.2
UDP port....................................... 50000
Peer detection admin status.................... Enabled
Peer detection operational status.............. Up
Peer is detected............................... not detected
Configured Tx interval......................... 200 milliseconds
Configured Rx timeout.......................... 700 milliseconds

Re: мануал по VPC

Добавлено: 16 мар 2020 13:57
alex_bat
Сообщите мне в ЛС свой номер телефона для связи.

Re: мануал по VPC

Добавлено: 20 мар 2020 15:58
Gennadyi
Ограничения и правила vPC
•Вы должны включить фичу vpc прежде чем станут доступны конфигурирования
•Необходимо в первую очередь настроить peer-keepalive link, а только потом peer-link
•Для vPC peer-link’а необходимы 10Гб интерфейсы

Последнее утверждение не проверял на 1Гб линках ;)

sho vpc
VPC is enabled
VPC domain 1
VPC role None (suspend)
peer detected (L3)
role-priority 2
peer keepalive enabled
system priority 32768
peer detection enabled
peer link Po1

Re: мануал по VPC

Добавлено: 20 мар 2020 16:03
Gennadyi
Адреса на peer-detection линке можно указывать с /32 маской

sho vpc peer-detection
VPC domain 1
Peer IP address................................ 1.1.1.1
Source IP address.............................. 1.1.1.2
UDP port....................................... 50000
Peer detection admin status.................... Enabled
Peer detection operational status.............. Up
Peer is detected............................... detected
Configured Tx interval......................... 700 milliseconds
Configured Rx timeout.......................... 5000 milliseconds

Re: мануал по VPC

Добавлено: 23 мар 2020 12:10
Gennadyi
На интерфейсе Port-Chann с VPC соседством нельзя отключать default-vlan
sw forbidden default-vlan

Re: мануал по VPC

Добавлено: 23 мар 2020 14:52
Gennadyi

Re: мануал по VPC

Добавлено: 31 мар 2020 15:27
Gennadyi