Cisco Cisco Security Manager 4.7 Guía Del Usuario
Cisco Security Manager 4.7 API Specification (Version 2.0)
OL- 32164-01
Page 78
3.1.5.7 InterfaceNATRouterPolicy
An InterfaceNATRouterPolicy extends from the BasePolicy class and inherits all its attributes. An instance of an
InterfaceNATRouterPolicy specifies one NAT inside and outside interface.
InterfaceNATRouterPolicy specifies one NAT inside and outside interface.
The InterfaceNATRouterPolicy can reference an InterfaceRole PolicyObject.
The following table defines the contents of an InterfaceNATRouterPolicy:
Element. Sub Element
Type
Comment
interfaceGID
ObjectIdentifier
An ObjectIdentifier ID that references an InterfaceRole Policy
Objects denoting the inside or outside interfaces. The ID links to
the gid attribute of the corresponding InterfaceRole object.
Objects denoting the inside or outside interfaces. The ID links to
the gid attribute of the corresponding InterfaceRole object.
isNatInside
boolean
A boolean which indicates whether this is a NAT inside interface
(true) or outside interface (false)
(true) or outside interface (false)
Table 38: InterfaceNATRouterPolicy Class Definition
Figure 40: InterfaceNATRouterPolicy XML Schema
3.1.5.8 InterfaceNATStaticRulesRouterPolicy
An InterfaceNATStaticRulesRouterPolicy extends from the base BasePolicy class and inherits all its attributes. An
instance of an InterfaceNATStaticRulesRouterPolicy denotes static NAT rules.
instance of an InterfaceNATStaticRulesRouterPolicy denotes static NAT rules.
The InterfaceNATStaticRulesRouterPolicy can reference a Network PolicyObject and an InterfaceRole Policy
Object. The base orderId attribute defines the ordering of the static rules.
Object. The base orderId attribute defines the ordering of the static rules.
The following table defines the contents of a InterfaceNATStaticRulesRouterPolicy:
Element. Sub Element
Type
Comment
staticRuleType
Enumeration
The type of local address to be translated by this static rule:
“Static Host” – A single host requiring static address
translation.
translation.
“Static Network” – A subnet requiring static address
translation.
translation.
“Static Port” – A single port requiring static address
translation. If you select this option, you must define the
translation. If you select this option, you must define the
<
xs:complexType
name
="InterfaceNATRouterPolicy">
<xs:complexContent>
<
xs:extension
base
="BasePolicy">
<xs:sequence>
<
xs:element
name
="interfaceGID"
type
="ObjectIdentifier"
minOccurs
="1"
maxOccurs
="1"/>
<
xs:element
name
="isNatInside"
type
="xs:boolean"
minOccurs
="1"
maxOccurs
="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>