Quantcast
Channel: Vendor
Viewing all articles
Browse latest Browse all 10

How to make Cisco Router as HTTP server

$
0
0

While I was testing MQC with GNS3(Dynamips), I need to HTTP traffic from the router.  Here is simple way to make Cisco router as HTTP server.

[ Cisco-R1 ] <-----------> [ Cisco-R2 ]

Cisco-R2#conf t
Cisco-R2(config)#ip http server Cisco-R2(config)#no ip http secure-server Cisco-R2(config)#ip http path flash:
Cisco-R2#dir
Directory of flash:/

1 -rw- 167 <no> test-pic.gif
2 -rw- 561 <no> test-pic.jpg
3 -rw- 233 <no> index.html

8283015 bytes total (8357617 bytes free)
Cisco-R1#copy http://10.10.10.2/index.html null:
Loading http://10.10.10.2/index.html
233 bytes copied in 0.623 secs (373 bytes/sec)
Cisco-R1#copy http://10.10.10.2/test-pic.gif null:
Loading http://10.10.10.2/test-pic.gif
167 bytes copied in 0.373 secs (447 bytes/sec)

 

 


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images