EX2200 не имеют на борту выделенных портов VCP (Virtual Chassis Ports), поэтому берутся обычные интерфейсы и настраиваются но роль VCP.
Такими интерфейсами могут быть как Optical interfaces, так и 10/100/1000BASE-T.
EX2200 Virtual Chassis может быть настроена двумя способами:
request system zeroize
Система ребутнётся, после перезагрузки:
ezsetup
set system host-name sw_master set system domain-name met.int set system domain-search met.int set system time-zone Europe/Moscow
set system root-authentication plain-text-password
set system name-server 10.10.6.26 set system name-server 10.10.6.28 set system services ssh protocol-version v2 set system ntp server 10.10.1.130 version 4 set system ntp server 10.10.1.130 prefer
set vlans Management description 10.10.45.0/24 set vlans Management vlan-id 100 set vlans Management l3-interface vlan.1 set interfaces vlan unit 1 family inet address 10.10.45.100/24 set routing-options static route 0.0.0.0/0 next-hop 10.10.45.1
set interfaces ge-0/0/47 unit 0 family ethernet-switching port-mode trunk set interfaces ge-0/0/47 unit 0 family ethernet-switching vlan members Management
set virtual-chassis preprovisioned
set virtual-chassis member 0 serial-number CT0216330172 role routing-engine set virtual-chassis member 1 serial-number CV0216450257 role routing-engine
set virtual-chassis no-split-detection
Как результат увидим:
root@sw-master> show virtual-chassis status Preprovisioned Virtual Chassis Virtual Chassis ID: 862f.b759.24de Virtual Chassis Mode: Enabled Mstr Mixed Neighbor List Member ID Status Serial No Model prio Role Mode ID Interface 0 (FPC 0) Prsnt CT0216330172 ex2200-48p-4g 129 Master* NA {master:0}
request system zeroize
Обязательно просмотреть, что у них в конфиге пусто в разделе virtual-chassis
Или дать контрольный:
delete virtual-chassis
request virtual-chassis vc-port set pic-slot 0 port 0 request virtual-chassis vc-port set pic-slot 0 port 1
Т.е. если изначально мы видим:
root@sw-master> show interfaces terse Interface Admin Link Proto Local Remote ge-0/0/0 up up ge-0/0/0.0 up up eth-switch ge-0/0/1 up up ge-0/0/1.0 up up eth-switch ge-0/0/2 up down ge-0/0/2.0 up down eth-switch
То, после выполнения команд:
root> show interfaces terse Interface Admin Link Proto Local Remote vcp-255/0/0 up up vcp-255/0/0.32768 up up vcp-255/0/1 up up vcp-255/0/1.32768 up up ge-0/0/2 up down ge-0/0/2.0 up down eth-switch
Как только мы выполним эти команды на обоих концах, второй коммутатор присоединится к первому.
Проверка:
show virtual-chassis status
show virtual-chassis vc-port
root@sw11> show virtual-chassis vc-port all-members fpc0: -------------------------------------------------------------------------- Interface Type Trunk Status Speed Neighbor or ID (mbps) ID Interface PIC / Port 0/10 Auto-Configured -1 Down 1000 1/2 Configured 5 Up 1000 1 vcp-255/1/2 1/3 Configured 5 Up 1000 1 vcp-255/1/3 fpc1: -------------------------------------------------------------------------- Interface Type Trunk Status Speed Neighbor or ID (mbps) ID Interface PIC / Port 0/13 Auto-Configured -1 Down 1000 1/2 Configured 5 Up 1000 0 vcp-255/1/2 1/3 Configured 5 Up 1000 0 vcp-255/1/3
Здесь:
The dedicated VCPs are displayed as vcp-0 and vcp-1.
The uplink interfaces that have been set as uplink VCPs are displayed as 1/0, 1/1, 1/2, and 1/3. The network interfaces that have been set as VCPs are displayed as 0/20 and 0/21. The neighbor interface names of uplink and network VCPs are of the form vcp-255/pic/port—for example, vcp-255/1/0. In that name, vcp-255 indicates that the interface is a VCP, 1 is the uplink PIC number, and 0 is the port number. The fpc number is the same as the member ID. The trunk ID is a positive number ID assigned to the link aggregation group (LAG) formed by the Virtual Chassis. If no LAG is formed, the value is –1.
show interfaces terse | match vcp
Если есть, их надо удалить с командой:
request virtual-chassis vc-port delete pic-slot 0 port 0
Обязательно просмотреть, что у них в конфиге пусто в разделе virtual-chassis
Или дать контрольный:
delete virtual-chassis
set virtual-chassis member 2 serial-number CT0217190258 role line-card
request virtual-chassis vc-port set pic-slot 0 port 0 request virtual-chassis vc-port set pic-slot 0 port 1
Проверяем что появились порты VCP.
show interfaces terse | match vcp
\ \ \
На удаленном коммутаторе
delete virtual-chassis
Удаляем все порты VCP:
request virtual-chassis vc-port delete pic-slot 0 port 0
Removing or Replacing a Member Switch of a Virtual Chassis Configuration
https://www.juniper.net/documentation/en_US/junos/topics/task/installati...
Добавить комментарий