10-23-2018 06:37 AM - edited 03-08-2019 04:27 PM
Hi guys. There is this situation here. After setting up a cisco catalyst 2960 switch , the network admin has given me a vlan id of 3141 and name xxxxxxxxxx. That I need to configure so that computers that are connected to this switch can access the network. The switch is connected to the schools main network via the sfp module (Gi1/0/25). Since I have no rights over the school router, I can only start from here. Anyone knows how I can solve this.
Thanks.
Solved! Go to Solution.
10-23-2018 06:41 AM - edited 10-23-2018 08:07 AM
Try the following:
! vlan 3141 name xxxx ! int gi1/0/25 switchport trunk allowed vlan add 3141 ! int gi1/0/1 switchport access vlan 3141 spanning-tree portfast no shut !
This assumes that the trunk link is already configured and working and that the upstream switch/ router connected to gi1/0/25 is tagging VLAN 3141.
In the example a user device is connected to gi1/0/1
cheers,
Seb.
10-23-2018 06:41 AM - edited 10-23-2018 08:07 AM
Try the following:
! vlan 3141 name xxxx ! int gi1/0/25 switchport trunk allowed vlan add 3141 ! int gi1/0/1 switchport access vlan 3141 spanning-tree portfast no shut !
This assumes that the trunk link is already configured and working and that the upstream switch/ router connected to gi1/0/25 is tagging VLAN 3141.
In the example a user device is connected to gi1/0/1
cheers,
Seb.
10-23-2018 07:50 AM
In this case you just need to confirm from school network admin, that uplink port from neighbor SW where new switch is going to be connected is configured as trunk port, then you can configure the following commands,
vlan 3141
name xxxxxxx
exit
int g1/0/25
switchport mode encapsulation dot1q
switchport mode trunk
exit
int range g1/0/1-24
switchport mode access
switchport access vlan 3141
exit
wr mem
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide