Created
April 4, 2019 17:27
-
-
Save BlackMoonWolf/367a099f173c48d6eb36eb2445f358ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Delete VCP ports while switches are stacked | |
Evidently, Juniper disregards it's own terminology "fpc" in favor of going straight to "pic" in referring to each switch in the stack. | |
Odd... | |
Commands used to delete VCP on ports where two switches are stacked: | |
"fpc0" (switch 0) | |
QSFP 0: request virtual-chassis vc-port delete pic-slot 0 member 1 port 0 | |
QSFP 1: request virtual-chassis vc-port delete pic-slot 0 member 1 port 1 | |
QSFP 2: request virtual-chassis vc-port delete pic-slot 0 member 1 port 2 | |
QSFP 3: request virtual-chassis vc-port delete pic-slot 0 member 1 port 3 | |
"fpc1" (switch 1) | |
QSFP 0: request virtual-chassis vc-port delete pic-slot 1 member 1 port 0 | |
QSFP 1: request virtual-chassis vc-port delete pic-slot 1 member 1 port 1 | |
QSFP 2: request virtual-chassis vc-port delete pic-slot 1 member 1 port 2 | |
QSFP 3: request virtual-chassis vc-port delete pic-slot 1 member 1 port 3 | |
---------------------------------------------------------------------------------------------------------------------------------------- | |
Here is how it's done on two stacked switches with VCP'd with one another over QSFP interfaces 0 and 1: | |
---------------------------------------------------------------------------------------------------------------------------------------- | |
coryk@EX4300> show virtual-chassis vc-port all-members | |
fpc0: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
1/2 Configured -1 Down 40000 | |
1/3 Configured -1 Down 40000 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 0 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 0 vcp-255/1/1 | |
1/2 Configured -1 Down 40000 | |
1/3 Configured -1 Down 40000 | |
{master:0} | |
coryk@EX4300> request virtual-chassis vc-port delete pic-slot 0 member 1 port 2 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Port deletion initiated, use cmd show virtual-chassis vc-port to verify | |
{master:0} | |
coryk@EX4300> show virtual-chassis vc-port all-members | |
fpc0: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
1/3 Configured -1 Down 40000 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
1/2 Configured -1 Down 40000 | |
1/3 Configured -1 Down 40000 | |
{master:0} | |
coryk@EX4300> request virtual-chassis vc-port delete pic-slot 0 member 1 port 3 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Port deletion initiated, use cmd show virtual-chassis vc-port to verify | |
{master:0} | |
coryk@EX4300> show virtual-chassis vc-port all-members | |
fpc0: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
1/2 Configured -1 Down 40000 | |
1/3 Configured -1 Down 40000 | |
{master:0} | |
coryk@EX4300> request virtual-chassis vc-port delete pic-slot 1 member 1 port 2 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Port deletion initiated, use cmd show virtual-chassis vc-port to verify | |
{master:0} | |
coryk@EX4300> show virtual-chassis vc-port all-members | |
fpc0: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
1/3 Configured -1 Down 40000 | |
{master:0} | |
coryk@EX4300> request virtual-chassis vc-port delete pic-slot 1 member 1 port 3 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Port deletion initiated, use cmd show virtual-chassis vc-port to verify | |
{master:0} | |
coryk@EX4300> show virtual-chassis vc-port all-members | |
fpc0: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
1/3 Configured -1 Down 40000 | |
fpc1: | |
-------------------------------------------------------------------------- | |
Interface Type Trunk Status Speed Neighbor | |
or ID (mbps) ID Interface | |
PIC / Port | |
1/0 Configured -1 Up 40000 1 vcp-255/1/0 | |
1/1 Configured -1 Up 40000 1 vcp-255/1/1 | |
{master:0} | |
---------------------------------------------------------------------------------------------------------------------------------------- | |
MAKE THE FREED INTERFACES INTO ETHERNET PORTS: | |
---------------------------------------------------------------------------------------------------------------------------------------- | |
coryk@EX4300> configure | |
Entering configuration mode | |
Users currently editing the configuration: | |
root terminal p0 (pid 26603) on since 2018-11-18 01:57:47 CST, idle 19w2d 23:23 | |
{master:0}[edit] | |
{master:0}[edit] | |
coryk@EX4300# set interfaces et-0/1/2 unit 0 family ethernet-switching | |
{master:0}[edit] | |
coryk@EX4300# set interfaces et-0/1/3 unit 0 family ethernet-switching | |
{master:0}[edit] | |
coryk@EX4300# set interfaces et-1/1/2 unit 0 family ethernet-switching | |
{master:0}[edit] | |
coryk@EX4300# set interfaces et-1/1/3 unit 0 family ethernet-switching | |
{master:0}[edit] | |
coryk@EX4300# show | compare | |
[edit interfaces] | |
+ et-0/1/2 { | |
+ unit 0 { | |
+ family ethernet-switching; | |
+ } | |
+ } | |
+ et-0/1/3 { | |
+ unit 0 { | |
+ family ethernet-switching; | |
+ } | |
+ } | |
+ et-1/1/2 { | |
+ unit 0 { | |
+ family ethernet-switching; | |
+ } | |
+ } | |
+ et-1/1/3 { | |
+ unit 0 { | |
+ family ethernet-switching; | |
+ } | |
+ } | |
{master:0}[edit] |
Thanks saved me some time!
I forgot that I put this up here. LOL
You're welcome, man. Glad my efforts were able to help someone else out. :)
The above method is not working for EX4300MP model switches.
The above method is not working for EX4300MP model switches.
@gokulr94 - I'm afraid that I don't have any hands-on experience with that model. It's a newer generation of the EX4300 I believe.
I don't mind assisting, however. Can you show me the output of:
show virtual-chassis vc-port all-members
I can then propose some syntax that you can try or, at least, a conceptual logic that you can follow. :)
Hey @BlackMoonWolf thanks man, following method works for me. (https://www.youtube.com/watch?v=0ZrK2CeGuWw&ab_channel=JuniperNetworks)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks saved me some time!