Solved

Cisco 2960 switch  -  switchport access vlan

Posted on 2014-01-16
3
1,387 Views
Last Modified: 2014-01-17
Hi there,
My Cisco 2960 switch (PORT 48 ) is connected to my router cisco 2911. My Cisco 2960 switch has the following line 'switchport access vlan 801 on each and every interface; like:

interface GigabitEthernet0/43
 switchport access vlan 801
 no cdp enable
!
interface GigabitEthernet0/44
 description source port
 switchport access vlan 801
 no cdp enable
!
interface GigabitEthernet0/45
 switchport access vlan 801
 no cdp enable
!
interface GigabitEthernet0/46
 switchport access vlan 801
 no cdp enable
!
interface GigabitEthernet0/47
 description SessnMntrPort48
 switchport access vlan 801
 speed 1000
 duplex full
 no cdp enable
!
interface GigabitEthernet0/48
 description source port
 switchport access vlan 801
 speed 1000
 duplex full
 no cdp enable

Do I need this line 'switchport access vlan 801' on each and every interface except port 48?   Need to understand.  Will it cause vlan loop issues? (not sure) .Help is appreciated
0
Comment
Question by:amanzoor
3 Comments
 
LVL 6

Accepted Solution

by:
Jordan Medlen earned 300 total points
Comment Utility
You will want to have this VLAN on each port that connects to a device that must communicate with other devices in this same VLAN/subnet. If port 48 is your uplink to your router, then I would recommend configuring port 48 as a trunk, and configure a sub-interface for VLAN 801 on your router. This way, as you need to add other subnets/network segments, you can do so and control traffic between VLANs at your router.
0
 
LVL 12

Assisted Solution

by:Infamus
Infamus earned 100 total points
Comment Utility
can you do "sh vlan" and also sh run int vlan 801 the post?

It looks like you are using vlan 801 as your default vlan so the statement has to be there.

Since port 48 is an access port need the same statement as well.
0
 
LVL 26

Assisted Solution

by:Soulja
Soulja earned 100 total points
Comment Utility
If vlan 801 is your only vlan, than you should be fine. No trunk is needed to the router if the router's inside interface is on the same subnet.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
From Cisco ASA version 8.3, the Network Address Translation (NAT) configuration has been completely redesigned and it may be helpful to have the syntax configuration for both at a glance. You may as well want to read official Cisco published AS…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now