Cisco CBAC Configuration Example

hey guys,
I’m getting an issue using ip http server saying the http is an invalid input. i’m using 8.2.2.0400 of packet tracer is there a way to fix that?

Hello Isaac

Indeed, this is expected behavior from Packet Tracer. Remember, Packet Tracer is not an emulator but a simulator. That means that it is programmed to respond in the same way as a real IOS operating system. This means however that not all features have been programmed into it. It really only simulates a subset of the features that are available on a real device.

The ip http server command is actually not available in the simulator. Take a look at this context sensitive help from the command line of a 4331 router on Packet Tracer:

Router(config)#ip ?
  access-list       Named access-list
  cef               Cisco Express Forwarding
  default-gateway   Specify default gateway (if not routing IP)
  default-network   Flags networks as candidates for default routes
  dhcp              Configure DHCP server and relay parameters
  domain            IP DNS Resolver
  domain-lookup     Enable IP Domain Name System hostname translation
  domain-name       Define the default domain name
  flow-export       Specify host/port to send flow statistics
  forward-protocol  Controls forwarding of physical and directed IP broadcasts
  ftp               FTP configuration commands
  host              Add an entry to the ip hostname table
  inspect           Context-based Access Control Engine
  ips               Intrusion Prevention System
  local             Specify local options
  name-server       Specify address of name server to use
  nat               NAT configuration commands
  route             Establish static routes
  routing           Enable IP routing
  scp               Scp commands
  ssh               Configure ssh options
  tcp               Global TCP parameters
Router(config)#ip

You can see that there is no http or even https option available.

To be able to perform all of the available features in a device, it is preferrable to run an emulator like GNS3, EVE-NG, or CML.

I hope this has been helpful!

Laz