Ethernet Switching
Ethernet Switching

EX Virtual Chassis Member Ports

[ Edited ]
‎06-12-2019 04:33 AM

Hi, i've got a virtual chassis configured, but i don't see to be able to see the ports of the Backup Switch in order to configure them. Are they configured separately through the backup switch management port?

 

# run show virtual-chassis

Preprovisioned Virtual Chassis
Virtual Chassis ID: 18fe.c820.caf0
Virtual Chassis Mode: Enabled
Mstr Mixed Route Neighbor List
Member ID Status Serial No Model prio Role Mode Mode ID Interface
0 (FPC 0) Prsnt TC37182XXXX ex4600-40f 129 Master* N VC 1 vcp-255/0/0
1 vcp-255/0/1
1 (FPC 1) Prsnt TC37182XXXX ex4600-40f 129 Backup N VC 0 vcp-255/0/0
0 vcp-255/0/1

 

{master:0}[edit interfaces]

# edit ?
Possible completions:
<interface-name> Interface name
em0 Interface name
em1 Interface name
et-0/0/24 Interface name
et-0/0/25 Interface name
et-0/0/26 Interface name
et-0/0/27 Interface name
> interface-range Interface ranges configuration
> interface-set Logical interface set configuration
irb Interface name
> traceoptions Interface trace options
vme Interface name
xe-0/0/0 Interface name
xe-0/0/1 Interface name
xe-0/0/10 Interface name
xe-0/0/11 Interface name
xe-0/0/12 Interface name
xe-0/0/13 Interface name
xe-0/0/14 Interface name
xe-0/0/15 Interface name
xe-0/0/16 Interface name
xe-0/0/17 Interface name
xe-0/0/18 Interface name
xe-0/0/19 Interface name
xe-0/0/2 Interface name
xe-0/0/20 Interface name
xe-0/0/21 Interface name
xe-0/0/22 Interface name
xe-0/0/23 Interface name
xe-0/0/24:0 Interface name
xe-0/0/24:1 Interface name
xe-0/0/24:2 Interface name
xe-0/0/24:3 Interface name
xe-0/0/25:0 Interface name
xe-0/0/25:1 Interface name
xe-0/0/25:2 Interface name
xe-0/0/25:3 Interface name
xe-0/0/26:0 Interface name
xe-0/0/26:1 Interface name
xe-0/0/26:2 Interface name
xe-0/0/26:3 Interface name
xe-0/0/27:0 Interface name
xe-0/0/27:1 Interface name
xe-0/0/27:2 Interface name
xe-0/0/27:3 Interface name
xe-0/0/3 Interface name
xe-0/0/4 Interface name
xe-0/0/5 Interface name
xe-0/0/6 Interface name
xe-0/0/7 Interface name
xe-0/0/8 Interface name
xe-0/0/9 Interface name
{master:0}[edit interfaces]

 

How can i configure the ports of the backup switch? 

 

5 REPLIES 5
Ethernet Switching

Re: EX Virtual Chassis Member Ports

‎06-12-2019 06:02 AM

Hi .

 

Welcome on Juniper forums.

 

@ops.it wrote:

Hi, i've got a virtual chassis configured, but i don't see to be able to see the ports of the Backup Switch in order to configure them. Are they configured separately through the backup switch management port?


All the "production" ports on Virtual Chassis are being configured from primary switch (role master RE) only. The question mark will show you only available interface names already present in configuration if I do recall.

 

Further the the EX4600-40F is an optical switch and the interface is not visible for chassis unless the transceiver is inserted in port slot. However you can still put the settings for this port in configuration file but it won't do anything.

 

Please do not forget to do "commit synchronize" or  enable it via "set system commit synchronize"  (see https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/commit-sy... ) to make sure that bouth switches have the same configuration.

 

 

Kind regards

 

 

 

Regards
Luděk Matoušek
JNCIS-ENT, JNCIS-SP, JNCIP-SEC, JNCIA-DevOps
Ethernet Switching

Re: EX Virtual Chassis Member Ports

[ Edited ]
‎06-12-2019 06:41 AM

When hitting the questionmark inside of edit mode, indeed it will only display the interfaces that are defined in the current config. See below, first I type a questionmark with no interfaces defined, and then I define 1 interface and repeat:

 

{master:0}[edit]
user@switch# show interfaces

{master:0}[edit]
user@switch# edit interfaces ?
Possible completions:
<[Enter]> Execute this command
<interface-name> Interface name
> interface-range Interface ranges configuration
> interface-set Logical interface set configuration
> traceoptions Interface trace options
| Pipe through a command
user@switch# set interfaces ge-0/0/0.0 family ethernet-switching

 

{master:0}[edit]
user@switch# set interfaces ?
Possible completions:
<interface-name> Interface name
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
ge-0/0/0 Interface name                         <<<<<<
> interface-range Interface ranges configuration
> interface-set Logical interface set configuration
> traceoptions Interface trace options

 

If you want to see the actual installed SFP modules detected, you can run the "show interfaces terse" from operational mode.

 

{master:0}[edit]
user@switch# run show interfaces terse
Interface Admin Link Proto Local Remote
ge-0/0/0 up down
gr-0/0/0 up up
pfe-0/0/0 up up
pfe-0/0/0.16383 up up inet
inet6
pfh-0/0/0 up up
pfh-0/0/0.16383 up up inet
ge-0/0/1 up down
xe-0/0/2 up down
xe-0/0/2.16386 up down
xe-0/0/3 up down
xe-0/0/3.16386 up down
xe-0/0/4 up up
xe-0/0/4.16386 up up
xe-0/0/5 up up
xe-0/0/5.16386 up up
bme0 up up

<...snip...>

 

Also, for VC it is not needed to do commit syncronize, as there is 1 config that is replicated automatically upon commit to all members. The commit syncronize is really for chassis that have multiple physical REs (like EX9200).

 

When in VC, all the managment and console ports on all of the members will just refer back to the current master. So no need to use another port for management.

Ethernet Switching

Re: EX Virtual Chassis Member Ports

‎06-12-2019 07:23 AM

Ok, so if the interfaces are not in the config, what would be the name that they would have that refer to the backup switch in this case? I thought that as long as the hardware is there, a minimum config referring to the interface would be there.

 

xe-1/0/0

xe-1/0/1

?

Ethernet Switching
Solution
Accepted by topic author ops.it
‎06-13-2019 05:44 AM

Re: EX Virtual Chassis Member Ports

‎06-12-2019 07:31 AM

Good Day,

 

Yes, in this case names of the interfaces related to backup switch will be:

xe-1/0/0

xe-1/0/1

...

Ethernet Switching

Re: EX Virtual Chassis Member Ports

‎06-12-2019 12:41 PM

hi there,

 

VC ports are not usually touched in configuration mode, you can do

>show intercaes terse | match vc

 

that will show you the status up/down another option is 

 

>show virtual-chassis vc-port 

 

that will give you more information the interfaces are effectively changed to vcp-255/0/1 and vcp-255/0/0 on both members.

 

if what you are looking for is statistics you can do:

 

>show virtual-chassis vc-port statistics extensive 

 

even tho the interfaces have the same name they will be separated by FPC here.

I help you, you help me... please share a Kudos or accepted solution whenever you feel I have helped with your problem! Smiley Happy