Given the original spec, I would suggest something scripted with expect to telnet to the switch and change the parameters when you need them. You would then schedule it to run at the time interval you require.
There is nothing native on the switch that is going to do what you want, you will have to look at external tools. If you want the PC to renew it's DHCP address every 5 minutes (when you change the VLAN it's connected to) then you'll also have to get your PC to drop it's IP and ask for a new one from DHCP at the same time. regards, Tony. ________________________________ From: Mohammad Khalil <[email protected]> To: [email protected]; [email protected] Cc: [email protected] Sent: Thursday, 3 November 2011 6:51 PM Subject: Re: [c-nsp] Changing VLANs Hi , Thank you all I had EEM in my mind , but i assumed that the switch is Layer 2 switch the PC does not support dot1q trunk the goal is i want to test some WiMAX CPEs (which by default act as a DHCP server and provide the PC connected with access) > CC: [email protected]; [email protected] > From: [email protected] > Subject: Re: [c-nsp] Changing VLANs > Date: Thu, 3 Nov 2011 16:03:43 +1000 > To: [email protected] > > Surely if you have a number of dhcp servers theres a layer3 switch or router > in the network that you can use to route between pc and servers > > Sent from my iPhone > > On 03/11/2011, at 1:11 PM, "Thomason, Simon" <[email protected]> > wrote: > > > You could use EEM and tcl scripts to do this. > > > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Mohammad Khalil > > Sent: Thursday, 3 November 2011 4:15 AM > > To: [email protected] > > Subject: [c-nsp] Changing VLANs > > > > > > Hi all , i have a layer 2 switch , i want to connect a PC to a port and > > number of DHCP servers to other ports > > i want to the PC to communicate with each server every 5 minutes > > for example PC is connected to F0/1 and Server 1 is connected to F0/2 , > > after 5 minutes i want the port the PC connecting to to change its VLAN in > > order to communicate with Server 2 which is connected to port F0/3 (which > > is on different VLAN) > > _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
