04-01-2013 08:39 AM - edited 03-07-2019 12:34 PM
Hello all,
i need to solves this little problem on 2960S lan BASE but i dont know if it is possible.
Uplink port config for gi 1/0/28 is:
switchport mode trunk
switchport trunk alloved vlan 10,11
but on interface gi 1/0/1 i want to have data from vlan 10 tagged as VLAN 20.
At this time i have solved this issue very primitively
I have set up gi 1/0/2 as int mode acces, acces vlan 20
and i have connected gi 1/0/2 with gi 1/0/3 with eth cable.
int gi 1/0/3 is switchpor mode acces, switchport acces vlan 10
Thank you for any ideas,
BR
Dave
04-01-2013 09:40 AM
Hi,
You can just create 2 vlans with 2 SVs.
Then add port gi1/0/1 to vlan 20 and gi1/0/2 to vlan 10
Example
config t
vlan 10
vlan 20
inter vlan 10
ip address 172.16.1.0 255.255.255.0
inter vlan 20
ip address 172.16.2.0 255.255.255.0
inter gi1/0/1
switchport
switcport acc vlan 20
inter gi1/0/2
switchport
switcport acc vlan 10
HTH
04-01-2013 10:35 AM
Hello Dave,
I don't fully understand the question, but here goes..
You cannot change the vlan tag if you have specified the vlan-id. So your vlan 10 will always be tagged by the switches as vlan 10. Frames will be tagged on a trunk interface, and on the access port there is no tag as it is stripped off.
If you wanted to route data from subnet to different subnet (between vlan 10 and vlan 20) then you need a router to route or to create SVI's. Im not too sure if the 2960's have this capability of creating multiple vlan interfaces with IP addresses.
If this was the question, enable 'IP Routing' and follow Reza's steps above.
If you cant enable ip routing then you need a router or a multi-layer switch.
You can do router on a stick which will route between your vlans, examples are provided here:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a00800949fd.shtml
The way to enable ip routing is this:
conf t
!
ip routing
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-01-2013 01:40 PM
Hi,
Came across routing on 2960s last year.
The 2960 does support ip routing.
Only statc routing
Only a MAX of 16 routes
You must change the SDM template to "routing" to enable this
feature
Please see this section of the configuration guide.
Regards,
Alex.
Please rate useful posts.
04-01-2013 03:29 PM
For That you must have lan base lic
to See
WS-C2960S-24TS-S (If it is S at last it should be using lanbase lite lic)
WS-C2960S-24TS-L (If it is L at last it should be using lanbase LIC)
isco Catalyst 2960 Series Switches cannot be upgraded from LAN Lite to LAN Base and cannot be downgraded from LAN Base to LAN Lite.
In other words, the feature set is fixed during manufacture.
Other Option is to Use L3 Device Like Router or Layer 3 Switch to enable Intervlan Routing.
*** Do Rate All Helpful Posts***
02-05-2014 03:34 PM
UHHGGG... I think this is a licensing issue. I am experiencing the same problem after following similar steps on my own brand new 2960 switch...
"Show sdm prefer" suggests I am on the lanbase-routing template but with 0 routed interfaces.
SW-01#sh sdm prefer
The current template is "lanbase-routing" template.
The selected template optimizes the resources in
the switch to support this level of features for
0 routed interfaces and 255 VLANs.
number of unicast mac addresses: 4K
number of IPv4 IGMP groups + multicast routes: 0.25K
number of IPv4 unicast routes: 4.875k
number of directly-connected IPv4 hosts: 4K
number of indirect IPv4 routes: 0.875k
number of IPv6 multicast groups: 0.25K
number of directly-connected IPv6 addresses: 0.25K
number of indirect IPv6 unicast routes: 0
number of IPv4 policy based routing aces: 0
number of IPv4/MAC qos aces: 0.375k
number of IPv4/MAC security aces: 0.375k
number of IPv6 policy based routing aces: 0
number of IPv6 qos aces: 0
number of IPv6 security aces: 0.125k
SW-01#sh license
Index 1 Feature: lanlite
Period left: 0 minute 0 second
Index 2 Feature: lanbase
Period left: Life time
License Type: Permanent
License State: Active, In Use
License Priority: Medium
License Count: Non-Counted
I found this link the mentions needing the IP-Lite license.
http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps12995/qa_c67-728348.html
-Brian
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