cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1715
Views
0
Helpful
3
Replies

switch 2960 and switch SG300

ngo duyen
Level 1
Level 1

we need inter-vlan routing between sg300- switch 2960 and router2900

Please see attach file.

and switch sg300 config (sg300_config.txt)

on switch 2960, we config:

int g1/0/1

switchport mode access

switchport access vlan 10

!

int g1/0/2

switchport mode access

switchport access vlan 20

!

int g1/0/24

switchport mode trunk

 

the intervlan-routing between 2960 and router 2900 is ok,

But only vlan 10 can connect to router 2900

Please check the problem. I try to config access port on sg300 but I get some some errors.

 

 

 

 

3 Replies 3

ghostinthenet
Level 7
Level 7

The general configuration of the SG300 looks fine, but I'm wondering if the problem is upstream from there.

What output do you get from a "show vlan" and a "show interface trunk" on the Catalyst 2960?

Thanks Jody,

I think the cli of sg300 silimar with 2960

so interface of sg300 can config like this

interface gigabitethernet1
 switchport mode access
 switchport access vlan 10
!

Is that right ?

As long as the native VLAN is untagged, you're good. Setting the switch port mode to access as you've indicated above will work, but will produce the same effect as having the switch port mode set to general with the VLAN untagged and the PVID set to match.