Cisco Cisco Security Manager 4.1 Guia De Especificação

Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  74
 
3.1.5.7 InterfaceNATStaticRulesRouterPolicy 
An InterfaceNATStaticRulesRouterPolicy extends from the base BasePolicy class and inherits all its attributes. An 
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. 
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. 
 
“Static Network” – A subnet requiring static address 
translation. 
 
“Static Port” – A single port requiring static address 
translation. If you select this option, you must define the 
Port Redirection parameters.
  
original 
Complex Type 
A complex type element that identifies an IP address, or a 
network/host object representing the address(es) to be translated. 
original.ipv4Data 
String 
A literal IP address. 
original.networkObjectGI
Object identifier 
An ObjectIdentifier ID that references a Network Policy Object.  
translated 
 
Complex Type 
A complex type element containing the addresses to which the 
Original Addresses are translated. This can contain either a 
specific IP address/network object or can be used to specify an 
interface. If the interface is specified, the IP addresses assigned to 
the interface is used as a translated address. 
translated.originalIP 
Complex Type 
Complex Type that specifies an IP data or network policy object. 
translated.originalIP.ipv4
Data 
String 
A literal IP Address. 
 
translated.originalIP. 
networkObjectGID 
Object identifier 
An ObjectIdentifier ID that references a Network Policy Object.  
translated.interfaceGID 
Object identifier 
An ObjectIdentifier ID that references a InterfaceRole Policy 
Object.  
portRedirection 
Complex Type 
A complex type that specifies port information for the address 
translations. These parameters are available only when Static Port 
is the chosen rule type. 
portRedirection.protocol 
String 
The communications protocol used for these ports: TCP or UDP.