Cisco Cisco ASA 5505 Adaptive Security Appliance Manuel Technique

Page de 32
 
16
XML Examples for the Cisco Application Centric Infrastructure Security Device Package, Version 1.2(6)
 
  Protocol Timeouts
Protocol Timeouts
This XML example sets up the protocol timeout value for the connection timer.
ASA Configuration
timeout conn 2:00:59
XML Example
<polUni>
    <fvTenant name="tenant1">
        <vnsLDevVip name="Firewall">
                <vnsDevFolder key="Timeouts" name="TO">
                    <vnsDevParam key="Connection" name="conn1" value="2:0:59"/>
                </vnsDevFolder>
        </vnsLDevVip>
    </fvTenant>
</polUni>
Network Time Protocol 
This XML example turns on the Network Time Protocol (NTP) feature that defines the server to use.
ASA Configuration
ntp server 192.168.100.100 prefer
XML Example
<polUni>
    <fvTenant name="tenant1">
        <vnsLDevVip name="Firewall">
            <vnsDevFolder key="NTP" name="NTP">
                <vnsDevFolder key="NTPServer" name="NTPServer">
                    <vnsDevParam key="server" name="server" value="192.168.100.100"/>
      <vnsDevParam key="prefer" name="prefer" value="enable"/>
                </vnsDevFolder>
            </vnsDevFolder>
        </vnsLDevVip>
    </fvTenant>
</polUni>