cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
907
Views
0
Helpful
1
Replies

2960g uplink

peter.str
Level 1
Level 1

Please, can you help me with set of commands to setup uplink + VLAN in between two 2960g switches, to have VLAN1 including ports 1-10 on both of them, to have VLAN2 on ports 11-20 on both of them and to have port 24 as uplink in between.

Thank you

http://tinypic.com/r/24c8bgg/7

1 Reply 1

Leo Laohoo
Hall of Fame
Hall of Fame

You don't need to configure VLAN 1 because the ports 1 to 10 are, by default, set to VLAN 1.

!  Ports 11 to 20 is assigned to VLAN 2

interface vlan 2
ip address a.b.c.d

interface range gi 0/11 - 20
switchport mode acc
switchport access vlan 2

!  Port 24 is set to trunk
interface g 0/24
swit mode trunk

!  Optional
!  Allows VLAN 1 and 2 to the trunk and drops any from other VLANs

switport trunk allow vlan 1,2

Please don't forget to rate our useful posts.  Thanks.