Options

another query of vlan config

durairaj29durairaj29 Member Posts: 5 ■□□□□□□□□□
hi ,
NOTE: iam using 2950 switch
& 2600 router
pls give me a easy example of diffrence between switchport mode access & switchport mode truk & whenever we have to this command.

pls if u could have got time than pls give me one example how to configure VLAN for a 1900 switch and 2950. & put an interface in a specific VLAN and access mode & to set an interface in trunking mode and enabling the correct trunking encapsulation.

Comments

  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    An example of the switchport mode access command when connected to a single host in VLAN 2.

    switchport mode access
    switchport access vlan 2

    An example of switchport mode trunk is when you are trunking to another device such as another switch.

    switchport trunk encapsulation dot1q (this command is not needed on the 2950)
    switchport mode trunk

    To enbale the VLAN on the switch you just need to go into vlan database or global config mode.

    VLAN data

    vlan 2 name xxxxxx

    global config

    vlan 2
    name xxxxx
    An expert is a man who has made all the mistakes which can be made.
Sign In or Register to comment.