cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

CISCO SWITCHES FOR SMALL and MEDIUM BUSINESS

Introducing the next generation of Cisco Small and Medium Business Switches. Cisco is refreshing its SMB Switch portfolio. Click here  to learn more.


1106
Views
0
Helpful
3
Replies
Highlighted
Beginner

switch 2960 and switch SG300

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
Highlighted
Rising star

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?

Highlighted

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 ?

Highlighted

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.