Error (Invalid input) when entering an IP address

When using the "host" option in the Command syntax, ensure that you are not including a mask in either dotted decimal or CIDR format. Using the "host" option implies a specific host device and therefore does not permit any mask entry.

Correctly and incorrectly specifying a single host

switch(config)# access-list 6 permit host 10.28.100.100 1

switch(config)# access-list 6 permit host 10.28.100.100 255.255.255.2552 
Invalid input: 255.255.255.255

switch(config)# access-list 6 permit host 10.28.100.100/32 3
Invalid input: 10.28.100.100/32
  • 1Correct.

  • 2Incorrect. No mask needed to specify a single host.

  • 3Incorrect. No mask needed to specify a single host.