мануал по VPC
Добавлено: 27 фев 2020 08:03
Где можно почитать про настройку Virtual port channel для моделей MES3348 и если такая возможность есть на MES23XX?
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
!
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
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
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
------------- ------------------
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
Ограничения и правила vPC
•Вы должны включить фичу vpc прежде чем станут доступны конфигурирования
•Необходимо в первую очередь настроить peer-keepalive link, а только потом peer-link
•Для vPC peer-link’а необходимы 10Гб интерфейсы
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
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
sw forbidden default-vlan