T

  test aaa group {group name} {username} {password}  

Platform: IOS 12.0(5)T
Where: General
Info : Tests the authentication of a username/password without having to use an extraneous process such as Telnet or dialin to initiate it:

  test aaa group {group name} {username} {password}  

Platform: IOS 12.0(5)T
Where: General
Info: Tests the authentication of a username/password without having to use an extraneous process such as Telnet or dialin to initiate it:

 alder#test aaa group radius test test      Attempting authentication test to server-group radius using radius      User authentication request was rejected by server.      alder#test aaa group radius mon mon      Attempting authentication test to server-group radius using radius      User was successfully authenticated. 

Sends the following RADIUS attributes:

 Wed Aug  1 21:00:19 2001              NAS-IP-Address = 192.168.66.66              NAS-Port-Type = Async              User-Name = "mon"              Timestamp = 996692419 
  test appletalk  

Platform: IOS 11.2
Where: General
Info: [11.2.x] Enters the appletalk test mode. The subcommands available in this mode are

 arp interface-type number at-aarp-addr arp-mac-address      eigrp neighbor-states cablestart-cableend      nbp confirm <net>.<node>[:<skt>] <object>:<type>@<zone>      nbp lookup <object>:<type>@<zone>      nbp parmameters max-retrans max-replies interval      nbp poll end      test align 
  test cable [atp  berr  bpimcast  brk  dhcp-inq  hop  minimum-poll  nobrk  stack-pro  ucc ]  

Platform: IOS 12.1
Where: General
Info: Connection testing command on different levels:

 atp - acceptance test procedure      berr - Bus Error      bpimcast - Privacy Multicast test commands      brk - Break      dhcp-inq - Send DHCP inquiry      hop - Initiate frequency hop      minimum-poll - Toggle 1 second minimum polling      nobrk - No Break      stack-prot - Stack Protect       ucc - Send UCC command 
  test call fallback  

Platform: IOS 12.1
Where: General
Info: [12.1] VoIP fallback test.

  test cbus  

Platform: IOS based (old)
Where: General
Info: For old AGS+ and 7000 routers. Lets you prod stuff right into cbus memory. Very dangerous if you don't know what you are doing.

  test cch323  

Platform: IOS based
Where: General
Info: Performs cch323 tests.

  test crash  

Platform: IOS based
Where: General
Info: Makes the router crash any time you want. Can be used for testing and debugging.

  test crypto [dns-query] [engine] [initiate-session] [pki]  

Platform: IOS 12.1 Where: General
Info: Testing the cryptographic standards compliance and capabilities of the router:

 dns-query - DNSSEC query      engine - Crypto Engine      initiate-session - Send a CIM connection message      pki - PKI Client Test 
  test dsp memory  

Platform: IOS 12.1
Where: General
Info: Tests DSP memory.

  test eigrp as-number {ack  neighbor-states ipx-address ipx-mask}  

Platform: IOS 12.1
Where: General
Info: as-number ID from 1 to 65535. neighbor-states is one of the following: 1local (Neighbor states 1) , 1successor (Neighbor states 3) , 2local (Neighbor states 1-2) , 2successor (Neighbor states 3-2) , 3local (Neighbor states 1-0) , 4local (Neighbor states 1-0-2) , 5local (Neighbor states 1-0-FC fail-1) , 6local (Neighbor states 1-2-FC fail-3) , and delete (a phony entry in the topology table). The keyword ack toggles EIGRP fast acking.

  test ifs appn {read  write}{hostname  ip-address}  

Platform: IOS based
Where: General
Info: Reads or writes an APPN file.

  test ifs boot boot-command-line  

Platform: IOS based
Where: General
Info: Parses the bootstrap boot command line.

  test ifs defaults  

Platform: IOS based
Where: General
Info: Shows the default boot files.

  test ifs show hidden  

Platform: IOS based
Where: General
Info: Toggles the display of hidden file systems and files.

  test ifs slot slot url  

Platform: IOS based
Where: General
Info: Produces a core dump of slots on crashes.

  test interfaces <MBI>  

Platform: IOS based
Where: General
Info: Tests network interfaces.

Caution 

Do not use on a live device.

 2600b#test interfaces tokenRing 0/0      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!      !!!!!!!!!!!!!!!!!! Passed      1 interfaces: 1 passed, 0 failed, 0 skipped, 0 untestable 
  test ipx capacity x y z  

Platform: IOS based
Where: General
Info: Generates IPX RIP and SAPs. Enterprise feature set (11.2+). Where x is the network address to begin with, y is the number of advertisements, and z is the interface the IPX address is reachable from.

  test ipx echo router-address [times-sent] [interval]  

Platform: IOS based
Where: General
Info: Sends 1447 RIP requests for 1182 random networks; remote end sends echo reply back (IPX ping works the same way, but it always requests network 00000000).

  test ipx gns [type] [numb-tries] [timeout] [network-to-sendrequest-on]  

Platform: IOS based Where: General Info: Types

 1 - User      2 - User Group      3 - Print Queue      4 - File Server      5 - Job Server      6 - Gateway      7 - Print Server      8 - Archive Queue      9 - Archive Server      a - Job Queue      b - Administration Object      f - Novell TI-RPC      ff - Wild      ffff - Request Response 
  test ipx netbios find [name] [numb-tries] [timeout] [network-tosend-request-on]  

Platform: IOS based
Where: General
Info: Sends out uninterpreted packets.

  test ipx query [sending-SAP-type] [type] [server-name] [network] [maskf] [numb-tries] [timeout]  

Platform: IOS based
Where: General
Info: Sending-SAP-types:

 2 - Response (in)      4 - Nearest Server type      C - General Name Query      D - General Name Response      E - Nearest Name Query      F - Nearest Name Response 
  test ipx ripreq network  

Platform: IOS based
Where: General
Info: Sends RIP request for network specified.

  test ipx watchdog host-address  

Platform: IOS based
Where: General
Info: Sends watchdog (IPX keepalive) packet to specified host.

  test leds  

Platform: IOS based
Where: General
Info: Performs a test of LEDs. A bit flashy.

  test mbus power [slot] [on off]  

Platform: IOS based (GSR)
Where: General
Info: [no]Shut a GSR line card.

  test memory  

Platform: IOS based
Where: General
Info: Performs memory diagnostics.

 Router# t m      Memory/Bus diagnostic      Starting Address [0x1002]?      Ending Address [0x100000]?      Hex argument for variable tests [0xFFFF]?      Select Tests [all]?      Number of passes to run [2]? 1      Message Level (0=silence, 1=summary, 2=normal)[2]? 2      Testing addresses between 0x1002 and 0x100000      Begin pass 0, test 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 End pass      No errors during 1 passes 
  test pas [bus watcher] [counter] [eeprom]  

Platform: IOS 12.1
Where: General
Info:

 bus watcher = Bus Watcher      counter = Cycle Counter      eeprom = Test eeprom functionality 
  test playout [adaptive] [fixed] [nots]  

Platform: IOS 12.1
Where: General
Info:

 adaptive = Use adaptive playout buffer.      fixed = Use fixed playout buffer.      nots = Use fixed playout buffer with no timestamps. 
  test port <2147483647-0>  

Platform: IOS 12.1
Where: General
Info: Tests voice interface slot number.

  test pppoe [stop] [ip] <1-8000> [FastEthernet]  

Platform: IOS 12.1
Where: General
Info:

 <1-8000> = Number of PPPoE sessions to be opened      FastEthernet = FastEthernet IEEE 802.3 
  test rsp cach memd-fastswitch uncached  

Platform: IOS based
Where: General
Info: The processor in the router has its own cache that has a few bugs . With this exec command you can disable the use of this cache. Because this is an exec command, you must type it in again after a reboot.

  test ssl [open-conn] [open-session] [read] [write]  

Platform: IOS 12.1
Where: General
Info:

 open-conn = Open connection.      open-session = Open a SSL session.      read = Read data from a selected socket.      write = Write data to the selected socket. 
  test tcp [delaydroplinerandom]  

Platform: IOS based
Where: General
Info: Tests TCP operations. Needs service-internal command to be entered first.

  test tone locale  

Platform: IOS 12.1
Where: General
Info: locale = Two-letter ISO-3166 country code.

  test translation-rule <1-2147483647>  

Platform: IOS 12.1
Where: General
Info: <1-2147483647> is the unique tag for this translation table.

  test spanning-tree [get] [process-stats] [switch-count]  

Platform: IOS 12.1
Where: General
Info: Gets configuration process-stats for the spanning tree process, queue statistics switch-count and spanning tree packet counters. A similar test modem back-toback <first-slot/port> <second-slot/port> command performs modem testing. To test the transmission of L2 frames , use test vines to enter the VINES test mode. The subcommands available in this mode are

 build [Build tables]      checksum [Checksum test]      data [Set data values used in various places]      end [Exit VINES test mode]      flush [Flush tables]      generate [Generate information]      send [Send a VINES packet]      set [Send a VINES value]      ss [Do Server Service things]      st [Send a VINES streettalk packet] 
  test voip scripts  

Platform: IOS based
Where: General
Info: Allows self-created IVR (Interactive Voice Response) scripts to run. Cisco includes seven IVR scripts in IOS. Self-created scripts must be specially signed. Issuing this command in privileged mode before loading a self-created script turns off the signature checking procedure. The only problem is that the command must be issued with each router reboot. Cisco promises to remove the signature checking procedure in future IOS releases.

  test vpdn  

Platform: IOS based
Where: General
Info: The undocumented and soon to be hidden test privileged command is used to test subsystems, memory, and interfaces. Features are box and IOS-dependent and are intended for Cisco technical support only.

  timeout absolute minutes [seconds]  

Platform: IOS 12.1
Where: General
Info: Enforces timeouts on an interface.

  trace display  

Platform: IOS based
Where: General
Info: Displays the trace buffer when connected with if-con 0 c .

  ttcp  

Platform: IOS based (7200/7500)
Where: General
Info: Starts a TCP data server/receiver for TCP performance testing between two Cisco routers:

 Router#ttcp      transmit or receive [receive]: transmit      Target IP address: 1.1.1.1      perform tcp half close [n]:      send buflen [8192]:      send nbuf [2048]:      bufalign [16384]:      bufoffset [0]:      port [5001]:      sinkmode [y]:      buffering on writes [y]:      show tcp information at end [n]:      ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp  -> 1.1.1.1      %Connect failed: Destination unreachable; gateway or host down      Router#ttcp      transmit or receive [receive]:      perform tcp half close [n]:      receive buflen [8192]:      bufalign [16384]:      bufoffset [0]:      port [5001]:      sinkmode [y]:      rcvwndsize [4128]:      delayed ACK [y]:      show tcp information at end [n]:      ttcp-r: buflen=8192, align=16384/0, port=5001      rcvwndsize=4128, delayedack=yes  tcp 

V

  vpdn aaa override-server {hostname  ip-address}  

Platform: IOS 12.1
Where: General
Info: Global configuration command specifies the name or IP address of a designate AAA server to be used for VPDN authorization.



Hacking Exposed Cisco Networks
Hacking Exposed Cisco Networks: Cisco Security Secrets & Solutions
ISBN: 0072259175
EAN: 2147483647
Year: 2005
Pages: 117

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net