Displaying Object Groups on ASA

Answered Question
Jun 11th, 2008
User Badges:

This has been bugging me for a while. How do you show object groups from the command line. WHen I do a show ? I do not see network-object or group objects as an option.


This is in my config:


object-group service pop3Services tcp

port-object eq pop3

port-object eq 995


edgefw-pri# sh object-group service pop3Services tcp

^

ERROR: % Invalid input detected at '^' marker.

edgefw-pri#


Currently I have to do:

edgefw-pri# sh run | begin object-group service pop3Services tcp

object-group service pop3Services tcp

port-object eq pop3

port-object eq 995


which is a pain. There has to be a better way.

Correct Answer by Jon Marshall about 8 years 10 months ago

Try either


1) sh object-group id pop3Services


or


2) sh running-config object-group id pop3Services


Jon


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Wed, 06/11/2008 - 07:47
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Try either


1) sh object-group id pop3Services


or


2) sh running-config object-group id pop3Services


Jon


vman1976nj Wed, 06/11/2008 - 07:51
User Badges:

The second one worked like a charm:


edgefw-pri# sh object-group id pop3Services

^

ERROR: % Invalid input detected at '^' marker.

edgefw-pri# sh running-config object-group id pop3Services

object-group service pop3Services tcp

port-object eq pop3

port-object eq 995

edgefw-pri#



Thanks, thats exactly what I needed.

Actions

This Discussion