In a VC, you never use me0, but vme (virtual me). You can do this:
Now, you say that you login to the switch via SSH on a "ge-port". What IP address do you SSH to? Which IRB is this tied to or is it tied to sometinhg else? "Could it be because the management port on the master is a ge interface rather than the me0 interface?"
Original Message:
Sent: 10-08-2023 21:17
From: SeanRay
Subject: Question on Virtual Chassis
I don't think so the virtual chassis is formed correctly. I can say this because the output shows 'me' not 'vme'
10.210.19.1/32 *[Local/0]1d 02:53:58
Local via me0.0
Please check if the commit synchronize is configured or do it by setting the following
set chassis commit synchronize
Please execute 'commit synchronize' after that on master RE.
if this a production device, I would advise to do this afterhours as it may be disruptive to what config you may have on the backup RE.
Original Message:
Sent: 10-08-2023 14:06
From: djadhav
Subject: Question on Virtual Chassis
Thanks Sean for looking into this.
Yes, I am using SSH to log into my 2-member VC, but I always log into member 1 i.e. the backup RE, from which I have to open a session to the master.
Here is the output you asked for:
{master:0}
lab@ex1> show route table inet.0
inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.10.1.0/24 *[Direct/0] 1d 02:53:30
> via ge-0/0/0.0
10.10.1.11/32 *[Local/0] 1d 02:53:30
Local via ge-0/0/0.0
10.100.0.1/32 *[Direct/0] 10:10:33
> via lo0.0
10.100.100.254/32 *[Local/0] 10:10:34
Reject
10.100.101.254/32 *[Local/0] 10:10:34
Reject
10.100.156.1/32 *[Local/0] 10:10:33
Reject
10.100.200.254/32 *[Local/0] 10:10:33
Reject
10.100.201.254/32 *[Local/0] 10:10:33
Reject
10.210.19.0/29 *[Direct/0] 1d 02:53:58
> via me0.0
10.210.19.1/32 *[Local/0] 1d 02:53:58
Local via me0.0
{master:0}
lab@ex1> show interfaces terse | match inet
ge-0/0/0.0 up up inet 10.10.1.11/24
pfe-0/0/0.16383 up up inet
inet6
pfh-0/0/0.16383 up up inet
pfh-0/0/0.16384 up up inet
ge-0/0/6.0 up up inet6 2001:db8:100:101::1/64
ge-0/0/8.0 up up inet 10.100.100.1/24
inet6 2001:db8:100:100::1/64
pfe-1/0/0.16383 up up inet
inet6
pfh-1/0/0.16383 up up inet
pfh-1/0/0.16384 up up inet
ge-1/0/4.0 up up inet
ge-1/0/10.0 up up inet 10.100.100.2/24
inet6 2001:db8:100:100::2/64
bme0.0 up up inet 128.0.0.1/2
irb.100 up down inet 10.100.100.254/24
inet6 2001:db8:100:100::254/64
irb.101 up down inet 10.100.101.254/24
inet6 2001:db8:100:101::254/64
irb.156 up down inet 10.100.156.1/24
inet6 2001:db8:100:156::1/64
irb.200 up down inet 10.100.200.254/24
inet6 2001:db8:100:200::254/64
irb.201 up down inet 10.100.201.254/24
inet6 2001:db8:100:201::254/64
jsrv.1 up up inet 128.0.0.127/2
lo0.0 up up inet 10.100.0.1 --> 0/0
inet6 2001:db8:100::1
lo0.16385 up up inet
me0.0 up up inet 10.210.19.1/29
Original Message:
Sent: 10-07-2023 02:21
From: SeanRay
Subject: Question on Virtual Chassis
When you say login I believe you mean you are doing an SSH?
You also said that management interface is ge not me. Could you share the output of following commands?
Show route
Show interfaces terse | match inet
To answer your question, once VC is formed, the devices are logically one. Management access to device must always connect you to master RE even.
Original Message:
Sent: 08-23-2023 17:06
From: djadhav
Subject: Question on Virtual Chassis
Hi
When I create a virtual chassis, why does my login session go the the backup RE?
I am configuring a virtual chassis with 2 EX4300s.
I have converted 2 uplink ports of both switches into vc ports.
Now, on EX1 I enable the new VC ports:
request virtual-chassis vc-port set interface vcp-255/1/0 member 0
request virtual-chassis vc-port set interface vcp-255/1/1 member 0
I then commit the following configuration on EX1:
virtual-chassis {
no-split-detection;
traceoptions {
file me;
flag me detail;
}
member 0 {
mastership-priority 255;
}
member 1 {
mastership-priority 255;
}
}
I then go to EX2 and enable its VC ports:
request virtual-chassis vc-port set interface vcp-255/1/0 member 0
request virtual-chassis vc-port set interface vcp-255/1/1 member 0
Now a virtual chassis is created with EX1 as master and EX2 as backup.
However, I lose my connectivity to EX1. I try logging back into EX1, and I log into the VC backup RE, as evidenced by the CLI prompt.
{backup:1}
lab@ex1>
I then execute "request session member 0" to move to the master and then everything seems fine.
But is it expected behaviour that after the VC is formed I will be logging into the backup RE by default?
Thanks,
Deepak