Is span monitoring on Cisco ASA 5520 possible?

11,277

Solution 1

It's possible on the 5505 model, but not the 5510 or higher, since don't have the integrated switch:
http://www.cisco.com/en/US/products/ps6120/prod_models_comparison.html
(See the "integrated ports" section)

To set it on the 5505:

ciscoasa> en
ciscoasa# conf t
ciscoasa(config)# int eth0/0
ciscoasa(config-if)# switchport monitor eth0/1

Where eth0/0 is your IDS port and eth0/1 is the interface you want to monitor.

To monitor an interface with the 5510 or higher, you'll need a separate switch with SPAN capabilities.

Solution 2

As you found out you can't really do that with higher model ASA's. Most people will either use the IPS modules that can you put into the expansion slots of the ASA, or will span the traffic at the switch before the firewall (or any other convenient place).

Share:
11,277

Related videos on Youtube

Brent
Author by

Brent

Updated on September 17, 2022

Comments

  • Brent
    Brent over 1 year

    From what I have read, you can use the switchport monitor command on ASA 5505's to setup a Span port due to the back of the ASA actually being a switch.

    On my 5520, I do not see the switchport command listed when issuing a ? via the CLI. How do people monitor traffic on non-5505's? My goal is to connect our IDS/IPS device that is running is promiscuous mode to a Ethernet port on the 5520 to monitor WAN traffic.

    I do not want to have to pass the WAN traffic through a switch as it would require me to get two (for redundancy) STP/switchport capable switches. Also, we have the 4GE SSM module for fiber WAN connectivity installed on the device so adding the IPS module is not an option.

    Our IPS system is the Cisco IPS 4240. Would another option be to have Netflow or verbose syslog messages sent to the IPS device?

    Guide to setting up switchport access on a 5505: http://www.wr-mem.com/?p=66

  • Brent
    Brent almost 14 years
    I've tried that: ciscoasa(config-if)# ^switchport monitor g0/3 ERROR: % Invalid input detected at ^ On a 5520 with 8.2 I don't think that a switchport command it an option on anything other than the 5505's. It isn't even showing up in the ? when it lists the available commands.
  • gharper
    gharper almost 14 years
    Interesting... Yup, just confirmed that it works on my 5505, but not my 5510. I'll see what else I can dig up.
  • Zypher
    Zypher almost 14 years
    5510+'s don't have a switch backing to the ports.
  • gharper
    gharper almost 14 years
    @Zypher: Yup, just updated my answer once I found that out. :)