Cisco Cisco ASA for Nexus 1000V Series Switch Manuel Technique

Page de 22
 
10
XML Examples for the Cisco Application Centric Infrastructure Security Device Package
 
  IP Audit
IP Audit
This XML example sets up the IP audit attack configuration.
ASA Configuration
ip audit attack action drop
XML Example (Attack)
<polUni>
    <fvTenant name="tenant1">
        <vnsLDevVip name="Firewall">
                <vnsDevFolder key="IPAudit" name="A">
                    <vnsDevParam key="IPAuditAttack" name="IPattack" value="drop"/>
                </vnsDevFolder>
        </vnsLDevVip>
    </fvTenant>
</polUni>
XML Example (Info)
This XML example also sets up the IP audit attack configuration.
ip audit attack action reset
<polUni>
    <fvTenant name="tenant1">
        <vnsLDevVip name="Firewall">
                <vnsDevFolder key="IPAudit" name="A">
                    <vnsDevParam key="IPAuditInfo" name="IPinfo" value="reset"/>
                </vnsDevFolder>
        </vnsLDevVip>
    </fvTenant>
</polUni>
Logging
This XML example sets up the logging configuration.
ASA Configuration
logging enable
logging buffer-size 8192
logging buffered critical
logging trap alerts