The IPRTR (IP Router) resource is used within the Abilis CPX to route IP datagrams between LAN and WAN ports.
IP Datagram transport on LAN is carried out using Ethernet or Token Ring protocols.
IP Datagram transport on WAN is carried out using X.25 resource (obsolete) or non-X.25 resources (SYNC, Frame-Relay, LAPB, IP Tunnel or PPP links).
Use the following command to display the parameters of the resource. By typing d p iprtr ? command it's possible to display the meaning of all the parameters.
[17:50:56] ABILIS_CPX:d p iprtr
RES:Iprtr ---------------------------------------------------------------------
Run    DESCR:IP_Router_general_properties
       - General --------------------------------------------------------------
       R-ID:080.080.180.80          NAT:OUTSIDE
       maxroute:500       DFTTTL:255          ps:2048       
       DEF-LOCAL-AD:0     DEF-STATIC-AD:1     DEF-OSPF-AD:110   DEF-RIP-AD:120
       pvc:0              bsvc:0              LINKS:6           virtual:2
       - IP Access List -------------------------------------------------------
       ACL:YES                ACLBYPASS:#              
       COS:ENABLED            COSDFT:LOW        
       COSBALANCE:NO          NORMRATE:50            LOWRATE:50   
       - IPCOS to 802.1q (VLAN) priority --------------------------------------
       LOW:0                  NORMAL:0               HIGH:0    
       - Ppp-Dns --------------------------------------------------------------
       PPP-DNS-PRI:000.000.000.000  PPP-DNS-SEC:000.000.000.000Meaning of the most important parameters:
R-IDIt shows the Router ID address [AUTO:
            it's the default value and it's obtained considering the first IP
            resource of the homonym table, whose address is not 0.0.0.0;
            1-126.x.x.x, 128-223.x.x.x: it's used a
            specific IP].
NATIt indicates the side of the IPRTR when remote hosts connect
            to R-ID IP address. This information is required by NAT in order
            to determine if the IP address must be translated or not. This
            parameter can be set only when R-ID is not set to
            AUTO [NO: NAT is not
            configured; INSIDE: the R-ID address is in the
            INSIDE IP resource; OUTSIDE: the R-ID address
            is in the OUTSIDE IP resource, VPN: the R-ID address is in the VPN
            IP resource, DMZ: the R-ID address is in the DMZ IP
            resource].
maxrouteMaximum number of routings in the routing table [100..10000].
DFTTTLDefault TTL value when transport layer doesn't provide one [1..255].
PSPacket size [16..2048 bytes].
DEF-LOCAL-ADDefault administrative distance for local-connected routes [0..255].
DEF-STATIC-ADDefault administrative distance for static routes [0..255].
DEF-OSPF-ADDefault administrative distance for OSPF routes [0..255].
DEF-RIP-ADDefault administrative distance for RIP routes [0..255].
pvcNumber of PVC interfaces (Read Only).
bsvcNumber of BSVC interfaces (Read Only).
LINKSNumber of LINK/LAN/PPP interfaces (Read Only).
virtualNumber of VIRTUAL interfaces (Read Only).
ACLAccess list activation mode [NO,
            YES].
ACLBYPASSSource/destination IP address that bypasses the Access list [*, #, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
COSEnable/Disable class-of-service management
            [DISABLED, ENABLED].
COSDFTClass-of-service Default value [HIGH,
            NORMAL, LOW].
COSBALANCEClass-of-service balancing activation
            [NO, YES].
NORMRATENORMAL vs. HIGH class-of-service balancing percentage [0..100].
LOWRATELOW vs. NORMAL class-of-service balancing percentage [0..100].
LOWLOW class-of-service to 802.1q (VLAN) priority [0..7].
NORMALNORMAL class-of-service to 802.1q (VLAN) priority [0..7].
HIGHHIGH class-of-service to 802.1q (VLAN) priority [0..7].
PPP-DNS-PRIPrimary DNS provided by local PPPs to remote PPPs [0.0.0.0, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
PPP-DNS-SECSecondary DNS provided by local PPPs to remote PPPs [0.0.0.0, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
The following command allows the administrator to change the configuration of the resource:
s p iprtr   parameter:value... 
| ![[Caution]](../images/caution.png) | Caution | 
|---|---|
| To activate the changes made on the upper case parameters, execute the initialization command init res:iprtr; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command). |