From: Sohail Bhamani (sohail@gmail.com)
Date: Mon Sep 11 2006 - 14:51:52 ART
If you are using newer code and rtr is not there, you can also use ip sla in
the same manner.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hsla_r/sla_01h.htm#wp1077817
On 9/10/06, Ivan <ivan@iip.net> wrote:
>
> lake#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> lake(config)#rtr 2
> lake(config-rtr)#type ?
> dhcp DHCP Operation
> dlsw DLSW Operation
> dns DNS Query Operation
> echo Echo Operation
> frame-relay Perform frame relay operation
> ftp FTP Operation
> http HTTP Operation
> jitter Jitter Operation
> pathEcho Path Discovered Echo Operation
> pathJitter Path Discovered Jitter Operation
> slm SLM Operation
> tcpConnect TCP Connect Operation
> udpEcho UDP Echo Operation
>
> lake(config-rtr)#type tcpConnect dest-ipaddr 10.10.10.10 ?
> dest-port Destination Port
>
> lake(config-rtr)#type tcpConnect dest-ipaddr 10.10.10.10 dest-port 80 ?
> control Enable or Disable Control packets
> source-ipaddr Source Address
> source-port Source Port
> <cr>
>
> lake(config-rtr)#rtr schedule 2 life 600 start-time now
>
>
> > Frank schrieb:
> >
> >
> >
> > Oh, it's working, just took the wrong vlan without an ip address. So the
> > error was
> > generated.
> >
> > Maybe there are other ways to generate traffic?
> >
> > Also how to generate traffic from a specific port?
> >
> > Frank
> >
> > > Hi,
> > >
> > > how would it be possible to generate traffic from a specific vlan?
> > >
> > > I gave the vlan an ip address and then tried to telnet from there with
> > > a /source-interface option.
> > >
> > > SW1# telnet 131.1.23.1 80 /source-interface vlan 22
> > >
> > > ^
> > > % Invalid input detected at '^' marker.
> > >
> > > SW1#
> > > But for some reasons, this does not work. Probably telnet is expecting
> > > other vlan variables.
> > >
> > > I just want to test a policy i see if certain traffic is matching.
> > >
> > >
> > > Frank
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> --
> Ivan
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART