how to configure ports on both juniper and cisco

a guide for my fellow unt student workers

2025-04-282 min read

what you should already have

what you need to have

the steps

  1. login to the switch stack with putty
Host Name (or IP address): <ip_of_switch_stack>
Connection type: SSH
Port: 22
login: <your_euid>
password: <your_password>
  1. check if the requested vlan is supported on the switch stack
show vlan id <requested_vlan>
show vlans <requested_vlan>
if the output is blank or the vlan is not found, stop here and contact a full-timer in order to get the vlan added to the stack
  1. enter configuration mode
enable
Password: <datacomm_enable_password>
config t
edit
edit interfaces ge-#/#/#
  1. check the port status
do show interfaces ge-#/#/#
show
take note of the ports description, previous vlan, and ip and hostname of the switch stack.
  1. configure the port
int gi#/#/#
description <BLDG-patchPanelLabel>
switchport access vlan <requested_vlan>
end
set description <BLDG-patchPanelLabel>
set unit 0 family ethernet-switching vlan members <requested_vlan>
delete unit 0 family ethernet-switching vlan members <previous_vlan>
exit
  1. check your work
show int gi#/#/#
show interfaces ge-#/#/#
check to see if the port is configured as requested (vlan, description, correct port)
  1. save your work
write mem
copy run start
commit check
commit
  1. logout
exit
exit
exit