How config sg300 28 for vlan

I bought 300-28

how she config for stp and trunk

Hi, Jig, RSTP is enabled by default with the default priority 32768 and quick auto port negotiates.

To create a vlan

Configure the terminal

database of VLAN

VLAN 2

output

To configure a trunk

Configure the terminal

Article IG1 interface

switchport mode trunk

To add a vlan to the trunk in the form of tag members, making it the port 1 UNTAG, tag 2

Configure the terminal

Article IG1 interface

switchport trunk allowed vlan add 2

To change the vlan port native

Configure the terminal

Article IG1 interface

switchport vlan trunk native 2

-Tom
Please mark replied messages useful

Tags: Cisco Support

Similar Questions

  • Ports SG300 & AutoSmart for VLAN

    I have a few questions about the use of the ports VLAN & autosmart voice. I was running into a few problems getting it working 100% in my environment. Here in a few words, my network

    Switch to simple port SG300 52, 1-47 ports are configured unmarked VLAN110 (my PC LAN) and tag VLAN 140 permits (my voice VLAN) is 1 / the default VLAN on the switch and I have no assigned IP address and closed it.

    Made various reading I found this on the Forum:

    "The macro just get in the way most of the time. A default state on the switch a user will set the id of the vlan voice with orders

    (config) #voice vlan id 100

    * This will create the vlan 100

    VLAN, VoIP? * You can use to change your defaults for dscp and cos a long with all the other settings.

    State of vlan (config) enabled automatic #voice

    (config) #interface rank fa1-24

    (config-if-range) #switchport trunk vlan 101 native

    trunk (config-if-range) #switchport allowed vlan add 100

    * This function will define the vlan native on the trunk to 101 for the data port and vlan tagged will be 101 for the voice.

    CDP is enabled automatically and must learn the features of the phone and get on the phone to the vlan 101 on this port. »

    It worked well for my except in the case where I would have a phone plugged into the switch and a desktop computer hooked up to the back of the phone. I have to define the macro for IP + Desktop phone, then set it to VLAN for the 110 Office. If I don't he would stay to the VLAN ID of 1.  It's my only option? Can I change the default VLAN to 110 and just delete 1 VLAN? I was also running a random question with my laptop only where certain ports that I would link to (even if 1-47 are that all configured the same) would put just my laptop on VLAN 1, I'd watch the port autosmart and just, he would say "Default". I also disabled all the macro options IP Phone & IP Phone+ office. I really want to use this phone, I have no need of the autosmart ports do something else. Any suggestions or advice for this?

    Yes, by default the 'phone - PC' macro will set the default value of the Vlan untagged on the port to the Vlan 1.  You must simply change this macro and change the setting native_vlan to 110.  So when this macro runs Vlan untagged will be 110.

    No, do not change the default Vlan

    Good uncheck all types expect the phone phone & IP IP + Office

  • How configure sg300-10 and VLAN ID can be seen in the wireshark

    Hello, everyone,

    I have a question to ask. I brought a new switch sg300-10. I want to use to send ethernet packets. I plugged it with my laptop via port1. On the side of the laptop, I used wireshark to capture. But I have not found that the VLAN ID has been shown in the wireshark (I changed the registry of my laptop, so VLAN IDS must be displayed if it is contained in the frame). So I think the switch was not to configure and the id vlan does not appear in the framework that has been sent by swith. Does anyone know how to understand?

    Thank you

    Hi Jiang, if your administrative computer is connected to port 1, may not understand the tag VLAN. That's why it has the appearance of the GUI hangs.

    -Tom
    Please mark replied messages useful

  • Problem with DNS SG300 for VLAN

    Hi all

    This week, I tried to implement a new SG300-52 L3 switch for switching and Vlan. The problem is that VLAN on the switch can't them get their DNS resolved. Probably a stupid thing that I can't see, but I think it's a given simple solution easy is not my expertise.

    So my configuration:

    -Router Wan ISP: LAN ip 10.0.0.1, DMZ: 10.0.0.2-> I use this router for support of the ISP. But it suckes, that's why we use own firewall router, forwarding port etc.

    -Nice router: WAN: 10.0.0.2, LAN: 192.168.1.1

    -Dip-switch SG300 L3:

    VLAN 1 (the default) ip 192.168.1.10/24

    IP VLAN 5 (for back-end servers) 10.1.1.1 / 24

    Added static routes:

    0000 / 0000-> 192.168.1.1 (so just send it to the router of Nice)

    This method works. I can ping switch, nice router, router ISP and ip of google to VLAN 5.

    But I can't ping google by using the host name.

    Leave in SG300 I can. So he has something to do with SG300 does not do DNS.

    My Client on VLAN 5 has 10.1.1.5 ip / 24, default gateway and dns pointing to switch: 10.1.1.1.

    I put an entry in the DNS of SG300 servers: 192.168.1.1 active (pointing to Nice router). Does not help.

    Work around:

    The default authorization pointing gateway to move customer. But put DNS server: 192.168.1.1 == Nice router.

    Now I can ping google.com. But this isn't what I want. Just a nasty workaround solution.

    Any help appreciated,

    Thank you

    Atam

    .

    I understand that you do not want to use the switch as your primary DNS, however the switch does not all DNS features which can manage DNS queries.

    DNS traffic must be addressed to a DNS server or a DNS proxy. The switch is unable to answer DNS queries. Simply thanks to the switch as your gateway by default, you route already traffic from the computer to the switch and then to the router.

    To give an example. If you send traffic telnet to the switch, you would get a telnet connection. If you send DNS traffic to the switch, you will not get a response that the switch does not know what to do with the request.

    I hope this information helps.

  • How to configure OracleB2B for asynchronous communication of AS2.

    How to configure OracleB2B for asynchronous communication of AS2.

    Appreciate your help.

    Thank you

    Levey

    1. under the attributes of an AS2 route for the business partner channel, the acknowledgement Mode has been set to: Async

    2. under settings of the Exchange Protocol, receiving delivery Option has been set to, http://:/b2b/httpreceiver.

    I think that this configuration has started working... Please let me know if I missed any other config.

    Thank you

    Levey

  • How can I pay for a Netflix membership?

    Right...

    I have an Apple TV: a fourth generation, complete with a few apps.

    I usually rent movies and buy albums.   Generally?   I pay for it with credit that I have loaded on my account, by exchanging an iTunes gift card.

    I THINK I have the Netflix app: to increase access number of movies and TV shows that I watch.   But I'm not clear on how it is paid for.

    Netflix would take money from the credit on my account?   Or could it be that I have to pay with my credit card?

    None of the individual bits I've seen on the site of Netflix seems to be clear.   Any help would be appreciated.

    Netflix works exactly like all of your other purchases on the iTunes Store. All purchases and subscriptions through Apple and all this payment method that you have configured in your account. With subscriptions, it is better to put in place credit card, if your payments are deducted automatically, so you don't have to watch your balance.

  • How do I opt for the e-mail notification when someone responds

    How do I opt for email notification when someone answers one of my questions?

    I see now that the email notice enter my btinternet spam box. You can see that they go to my Inbox. Thank you.

  • How can I search for emails?

    Title says it all. How can I search for emails containing a word or phrase in a file?

    Global search
    https://support.Mozilla.org/en-us/KB/global-search

    Quick filter toolbar
    https://support.Mozilla.org/en-us/KB/quick-filter-toolbar

  • I got some pictures in my posts on my iphone 6.  They do not automatically send to my photos.  How to make them for my photos?

    I got some pictures in my posts on my iphone 6.  They do not automatically send to my photos.  How to make them for my photos?

    Click on the photos and save them.

  • How can I apply for if I'm in Dominican Republic for 1 week?

    How can I apply for if I'm in the Dominican Republic for a week and I want to call landlines USA?

    Sadler1 wrote:

    How can I apply for if I'm in the Dominican Republic for a week and I want to call landlines USA?

    Purchase the package "unlimited USA/Canada. With this, you can call landlines and mobile phones anywhere in the United States and the Canada. The Plan costs 2.99 $par month and works from any country, including going to the United States.

    http://www.Skype.com/intl/en-us/prices/pay-monthly/

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • Credit card was stolen. How can I pay for storage iCloud with Tunes gift card?

    Credit card was stolen. How can I pay for storage iCloud with Tunes gift card?

    Buy the card normally and wait for it to be loaded.

    (139690)

  • How much it costs for a 3rd screen repair for an iphone craked 6

    My phone broke once again today and I have apple care, how much it costs for a 3rd repair?

    Depending on your situation, check out this link to support. http://www.Apple.com/support/iPhone/repair/screen-damage/

    If you have already used the 2 deductions against accidental damage, then the following is for the price of repair of screen with no Apple Care.

  • How to create folders for my received emails iCloud on an iPad?

    How to create folders for received emails on an iPad Air iCloud?

    In the mailbox display, press the "Edit" button, then "New mailbox", type a name, choose a location and then "Save".

  • Hi, I just bought the Dm11 rhythms... How can I configure for use in Garageband?

    Hi, I just bought Dm11 drum machine apple app, how do I configure for use in Garageband?

    I guess you mean the Mac Version of DM1. The App is not closely integrated with GarageBand. Therefore, you must export each loop/beat you like WAV or AAC and import it in GarageBand.

  • How can I register for the apple care.

    How can I register for the apple care.

    It may already be registered if you bought with the phone. You can check on the following site: https://checkcoverage.apple.com

    If you do not need to register an AppleCare purchase you can do so at https://www.apple.com/support/applecare/register/

Maybe you are looking for