From: Kenneth Wygand (KWygand@customonline.com)
Date: Sat Oct 11 2003 - 11:14:25 GMT-3
A setup where this would be useful:
Setting the trunk to autonegotiate to try to become a trunk
Setting the VLAN if the trunk does not form and the port stays an access port
would be this:
Imaging if you were deploying 100 switches into a multi-vlan environment. You want to implement location-based VLANs as opposed to function-based VLANs (example: having a different VLAN for every floor in a building instead of having a VLAN for each department which may span multiple floors). You want to set each switch to have all of its access ports on a particular VLAN (switch 1 will have all VLAN 10 ports, switch 2 will have all VLAN 20 ports, etc.). Now you also have copper switch-to-switch connections and perhaps some other devices that dynamically support trunking and negotiate DTP packets (servers, access-layer switches, etc.). However, at time of deployment, you don't know (and don't WANT to know) where each specific trunking device is located (which switchport), how many there are, etc. You also want to be able to plug in dynamically trunking devices in the future without having to reconfigure the switch each time.
This is the perfect scenario where you will deploy switches with the configuration you provided.
HTH,
Ken
-----Original Message-----
From: Hunt Lee [mailto:hunt_lee@bigpond.net.au]
Sent: Sat 10/11/2003 1:54 AM
To: Kenneth Wygand
Cc: ccielab@groupstudy.com
Subject: Re: switchport command
Hi Ken,
Thank you!!
I can see that this setup would be useful for switchports between this 3550
and a router that supports trunking capabilities.
But for normal workstations, can they form trunks with the switch? I never
have thought that it is possible.
Would this setup be useful for IP Phones and appliance devices to
communicate with all the other ports?
I just try to think of scenarios where this may be useful =)
Thanks,
Hunt
----- Original Message -----
From: "Kenneth Wygand" <KWygand@customonline.com>
To: "Hunt Lee" <hunt_lee@bigpond.net.au>; <ccielab@groupstudy.com>
Sent: Saturday, October 11, 2003 3:26 PM
Subject: RE: switchport command
> Lee,
>
> Yes, "switchport mode dynamic desirable" tells the port to send DTP frames
(Dynamic Trunking Protocol) to the other switch requesting that a trunk be
dynamically setup. If the other side is listening to DTP packets (set to
AUTO or DESIRABLE), the trunk will form. Also, if the other side is set to
ON, it will not use the DTP packets but will automatically be a trunk
because it's "nailed on" at the remote end.
>
> Once the port becomes a trunk, the "switchport access vlan 120" command
has no effect. If the switchport does NOT become a trunk, it will be an
access port on vlan 120.
>
> The configuration you've provided essentially says "Try to become a trunk
port which will forward all VLANs by default... if you cannot become a trunk
port, you will be an access port - if you do in fact become an access port,
operate on VLAN 120". It's sort of a fallback, for lack of a better term.
>
> Am I clear in my explanation? If not, please let me know and I'll
elaborate further.
>
> Thanks!
> Ken
>
> -----Original Message-----
> From: Hunt Lee [mailto:hunt_lee@bigpond.net.au]
> Sent: Sat 10/11/2003 12:29 AM
> To: ccielab@groupstudy.com
> Cc:
> Subject: switchport command
>
>
>
> Hi Group,
>
> Can someone please explain to me when one will use the following command?
>
> int fa0/6
> switchport access vlan 120
> switchport mode dynamic desirable
>
> And on my practice exerices, they pretty much use these on all the
switchports, including ones that are for connecting to routers and
workstations.
>
> What I don't understand is, isn't the dynamic desirable command will get
the switchport to try to neogotatie and become a trunk? If it is the case,
why using it with switchport access vlan command ?
>
> And when would you use the switchport mode dynamic desirable command?
>
> Any help would be greatly appreciated.
> Lee
>
> ***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
This archive was generated by hypermail 2.1.4 : Mon Nov 24 2003 - 07:53:00 GMT-3