@smicker wrote:
@geno93n0 wrote:
- Will bringing down an entire PIC cause the ports on that PIC to be completely unusable or will the other members of the stack be able to carry the traffic meant for those ports?
- Suppose I decide to convert the vc-ports back to revenue ports in order to down/up them. When I convert them back to vc-ports, would that not require a reboot or reprovisioning of the stack?
- The end goal is simply to test whether or not the stack stays intact after failure of one of the stack interfaces (PIC slot 0 ports 46 and 47, in this case). As mentioned, we usually do this by manually disconnecting and reconnecting Ethernet cables and then validating the stack state with show virtual-chassis vc-port. Is there perhaps another alternative for us to do this?
1. Yes it will—all physical ports on the PIC will be disabled.
2. It won’t — one feature of Juniper VC’s is being able to replace members on the fly. Enabling/disabling of VC-ports or adding/removing/changing members doesn’t require any reboot.
3. JUNOS doesn’t have any operational command to up/down a port so I think your only options are to delete the VC port, or down the interface in the shell. Be careful not to delete the VC-port from both members at the same time or you’ll end up with a bridging loop.
Okay, guess I have my answer then. You're right that I don't want to down my entire PIC, so my solution is going to be to just delete the vc-port, check stack integrity, and then provision it again, repeated for all the members. Probably going to have to lab this one first before bringing it into production and will need some very, VERY careful coding to script this so that it doesn't produce impactful errors. So the command for doing this would be
the command that asaleh gave, correct? This one:
request virtual-chassis vc-port (set | delete)
<fpc-slot fpc-slot>
pic-slot pic-slot
port port-number
<member member-id | local>
...which, applied to my case, would be "request virtual-chassis vc-port delete fpc-slot 0 pic-slot 0 port 46", followed by the validation ("show virtual-chassis vc-port") and finally "request virtual-chassis vc-port set fpc-slot 0 pic-slot 0 port 46" to bring it back up again, is all that correct? Sorry if I'm bothering you with these questions, would just not like to be unsure about my course of action.