The no form of the command removes the string from the configuration.
The shutdown command administratively disables an entity. The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.
The no form of the command removes the policy ID from the configuration.
user@external-server:/home/ftp/pub/det-nat-script$ ./det-nat.py -f -s 10 -a 20.0.5.10
subscriber has public ip address 85.0.0.1 from service 0 and is using ports [1324 - 1353]
user@external-server:/home/ftp/pub/det-nat-script$./det-nat.py -b -s 0 -a 85.0.0.1 -p 3020
subscriber has private ip address 20.0.5.66 from service 10
The no form of the command removes the filter from the configuration.
The no form of the command removes the filter from the configuration.
The no form of the command reverts to the default.
[no
] destination-prefix
ip-prefix/length
subscriber-prefix-length – n = [32..64,128]
prefix ip-prefix/length subscriber-type
nat-sub-type nat-policy
nat-policy-name [create
]
prefix p-prefix/length subscriber-type
nat-sub-type
no prefix ip-prefix/length subscriber-type nat-sub-type
map start inside-ip-address end inside-ip-address to outside-ip-address
•
|
If the number of subscribers 1 per configured prefix is greater than the subscriber-limit per outside IP parameter (2^n), then the lowest n bits of the map start <inside-addr-start> must be set to 0.
|
[no
] address
ipv6-address
The no form of the command reverts to the default.
[no
] address
ip-address/mask
The no form of the command removes the IP address and prefix length from the configuration.
The no form of the command disables NAT64.
[no
] drop-zero-ipv4-checksum
[no
] insert-ipv6-fragment-header
The no form of the command does not allow the system to insert an IPv6 fragment header.
[no
] address
ip-address/mask
The no form of the command removes the policy name from the configuration.
The no form of the command disables NAT64.
[no
] drop-zero-ipv4-checksum
The no form of the command disabales the command.
The no form of the command recognizes the IPv4 Type Of Service (TOS).
[no
] insert-ipv6-fragment-header
The no form of the command disables the insertion.
The no form of the command reverts to the default.
prefix ipv6-prefix/prefix-length
The no form of the command removes the prefix from the NAT64 configuration.
The no form of the command reverts to the default.
The no form of the command removes the peer ipv4-address from the configuration.
The no form of the command removes the peer6 ip-address from the configuration.
The no form of the command removes the ip-prefix/length from the configuration.
attribute [vendor
vendor-id] attribute-type
attribute-type
Values
|
alc-sub-string (alu) — Subscriber-id string (Alc-Subsc-ID-Str) is cached in Large Scale NAT44 application and used to correlate Large Scale NAT44 subscriber to BNG subscriber. user-name (stnd) — User-Name standard Radius attribute is cached in Large Scale NAT44 application and is used to correlate Large Scale NAT44 subscriber to BNG subscriber. class (stnd) — Class standard Radius attribute is cached in Large Scale NAT44 application and is used to correlate Large Scale NAT44 subscriber to BNG subscriber. Class attribute is initially set and send by Radius server. As such it must be echoed by BNG in all accounting messages. station-id (stnd) — Calling-Station-Id Radius attribute is cached in Large Scale NAT44 application and is used to correlate Large Scale NAT44 subscriber to BNG subscriber. imsi (3gpp) — International Mobile Subscriber Identification is used in WiFI Offload applications as a SIM card identifier. imei (3gpp) — International Mobile Equipment Identification is used in WiFI Offload applications as a physical phone device identifier.
|
[no
] drop-unidentified-traffic
pool nat-pool-name [nat-group
nat-group-id type
pool-type [applications
applications] create
]
mode {auto
| napt
| one-to-one
}
The no form of the command reverts to the default.
mode {auto
|napt
|one-to-one
}
[no
] port-forwarding-dyn-block-reservation
The no form of the command disables FTP ALG.
The no form of the command disables RTSP ALG.
The no form of the command disables SIP ALG.
The no form of the command reverts to the default.
The no form of the command removes the
pool nat-pool-name service-name
service-name
pool nat-pool-name router
router-instance
The no form of the command returns the segment size to the default.
tcp-syn [hrs
hours] [min
minutes] [sec
seconds]
udp [hrs
hours] [min
minutes] [sec
seconds]
udp-dns [hrs
hours] [min
minutes] [sec
seconds]
The no form of the command removes the name from the configuration.
The no form of the command removes the policy name from the configuration.
[no
] acct-include-attributes
The no form of the command excludes called station id attributes.
[no
] dhcp-vendor-class-id
[no
] include-radius-attribute
The no form of the command excludes frame-counters attribute.
The no form of the command excludes called framed-ip-addr attributes
.
The no form of the command disables the inclusion.
The no form of the command excludes the hardware timestamp
attributes.
The no form of the command excludes NAT inside service ID attributes.
The no form of the command excludes the multi-session-id attributes.
The no form of the command excludes NAS-Identifier attributes.
The no form of the command reverts to the default.
The no form of the command disables the generation.
[no
] nat-subscriber-string
The no form of the command excludes NAT subscriber string attributes.
The no form of the command excludes octet-counters attributes.
The no form of the command excludes outside IP attributes.
The no form of the command excludes NAT outside service ID attributes.
The no form of the command excludes NAT port range block attributes.
The no form of the command excludes release reason attributes.
The no form of the command disables the sending of remote ID option relay packet.
The no form of the command resets the password to its default of
ALU and will be stored using hash/hash2 encryption.
Specifies the key is entered in a more complex encrypted form. If the
hash2 parameter is not used, the less encrypted
hash form is assumed.
The no form of the command excludes session-time attributes.
The no form of the command excludes subscriber data attributes.
The no form of the command excludes user name attributes.
The no form of the command reverts to the default value.
The no form of the command reverts to the default value.
The no form of the command removes the server from the configuration.
The no form of the command reverts to the default value.
timeout [sec
seconds] [min
minutes]
The no form of the command reverts to the default value.
secret secret-key | hash-key
[hash
|hash2
]
This command defines the format of the user-name field in the session authentication request sent to the RADIUS server. For authentication of IPv6 triggers (ICMPv6, DHCPv6, IPv6 data-trigger) the user-name format will always fall back to mac only.
The no form of the command switches to the default format,
mac.
The no form of the command removes the upnp-policy policy-name from the configuration.
The no form of the command reverts to the default.
The no form of the command reverts to the default.
A:SR12_PPPOE# show aaa nat-accounting-policy "my-acct-plcy"
===============================================================================
NAT accounting policy "my-acct-plcy"
===============================================================================
Description : my accounting policy
-------------------------------------------------------------------------------
RADIUS accounting server settings
-------------------------------------------------------------------------------
Access algorithm : direct
Retry : 3
Router : 101
Source address start : 10.10.10.10
Source address end : 10.10.10.20
Timeout (s) : 5
Last management change : 01/28/2012 14:47:59
Include attributes : framed-ip-addr nas-identifier nat-subscriber-
string user-name inside-service-id outside-
service-id outside-ip port-range-block hardware-
timestamp release-reason multi-session-id frame-
counters octet-counters session-time
===============================================================================
===============================================================================
Servers for "my-acct-plcy"
===============================================================================
Index Address Port
-------------------------------------------------------------------------------
1 17.0.0.5 1813
2 17.0.0.1 1813
===============================================================================
===============================================================================
Servers ISA group connection status for "my-acct-plcy"
===============================================================================
Index Group Member State Tx-rq Rq-timeout Send-retry
-------------------------------------------------------------------------------
1 3 1 out-of-service 3 1 2
1 3 2 out-of-service 9 3 6
2 3 1 in-service 1 0 0
2 3 2 out-of-service 6 2 4
===============================================================================
A:SR12_PPPOE#
A:SR12_PPPOE# show aaa nat-accounting-policy "my-acct-plcy" associations
===============================================================================
NAT groups associated with "my-acct-plcy"
===============================================================================
Group
-------------------------------------------------------------------------------
1
3
-------------------------------------------------------------------------------
No. of groups: 2
===============================================================================
A:SR12_PPPOE#
nat-group nat-group-id member
[1..255] reassembly-statistics
nat-group nat-group-id member
[1..255] statistics
show isa nat-group
===============================================================================
ISA NAT Group Summary
===============================================================================
Mda Group 1 Group 2 Group 3
-------------------------------------------------------------------------------
3/1 active - -
3/2 - active busy
4/1 - busy active
4/2 - standby standby
===============================================================================
show isa nat-group 1 members
===============================================================================
ISA Group 1 members
===============================================================================
Group Member State Mda Addresses Blocks Se-% Hi Se-Prio
-------------------------------------------------------------------------------
1 1 active 1/2 17 2088 < 1 N 0
1 2 active 1/2 17 2088 < 1 N 0
1 3 active 1/2 17 2088 < 1 N 0
1 4 active 2/2 17 2088 < 1 N 0
1 5 active 2/2 17 2088 < 1 N 0
-------------------------------------------------------------------------------
No. of members: 5
===============================================================================
*A:SR12_PPPOE>config>isa>nat-group# show isa nat-group 1
===============================================================================
ISA NAT Group 1
===============================================================================
Admin state : inService
Operational state : inService
Active MDA limit : 2
-------------------------------------------------------------------------------
NAT specific information for ISA group 1
-------------------------------------------------------------------------------
Reserved sessions : 0
High Watermark (%) : (Not Specified)
Low Watermark (%) : (Not Specified)
Accounting policy : my-acct-plcy
Last Mgmt Change : 01/28/2012 14:47:59
-------------------------------------------------------------------------------
===============================================================================
ISA Group 1 members
===============================================================================
Group Member State Mda Addresses Blocks Se-% Hi Se-Prio
-------------------------------------------------------------------------------
1 1 active 3/1 3 3 < 1 N 0
1 2 active 3/2 4 4 < 1 N 0
-------------------------------------------------------------------------------
No. of members: 2
===============================================================================
A:SR12_PPPOE#
*A:SR12_PPPOE>config>isa>nat-group# show isa nat-group
===============================================================================
ISA NAT Group Summary
===============================================================================
Mda Group 1 Group 2 Group 3 Group 4
-------------------------------------------------------------------------------
2/1 - provisioned - -
3/1 active - up -
3/1 active - up -
3/2 active - up -
3/2 active - up -
===============================================================================
A:SR12_PPPOE#
*A:SR12_PPPOE>config>isa>nat-group# show isa nat-group 1
===============================================================================
ISA NAT Group 1
===============================================================================
Admin state : inService
Operational state : inService
Active MDA limit : 2
-------------------------------------------------------------------------------
NAT specific information for ISA group 1
-------------------------------------------------------------------------------
Reserved sessions : 0
High Watermark (%) : (Not Specified)
Low Watermark (%) : (Not Specified)
Accounting policy : my-acct-plcy
Last Mgmt Change : 01/28/2012 14:47:59
-------------------------------------------------------------------------------
===============================================================================
ISA Group 1 members
===============================================================================
Group Member State Mda Addresses Blocks Se-% Hi Se-Prio
-------------------------------------------------------------------------------
1 1 active 3/1 3 3 < 1 N 0
1 2 active 3/2 4 4 < 1 N 0
-------------------------------------------------------------------------------
No. of members: 2
===============================================================================
A:SR12_PPPOE#
A:SR12_PPPOE# show isa nat-group 3 member 1 statistics
===============================================================================
ISA NAT Group 3 Member 1
===============================================================================
no resource : 0
pkt rx on wrong port : 0
unsupported protocol : 0
no host or host group : 0
no ip or port : 0
no matching flow : 3
max flow exceeded : 0
TCP no flow for RST : 0
TCP no flow for FIN : 0
TCP no flow : 0
addr. dep. filtering : 0
ICMP type unsupported : 0
ICMP local unsupported : 0
ICMP checksum error : 0
ICMP embedded checksum error : 0
ICMP unsupported L4 : 0
ICMP too short : 0
ICMP length error : 0
Pkt not IPv4 or IPv6 : 0
Pkt rcv error : 0
Pkt error : 0
IPv4 header checksum violation : 0
IPv4 header malformed : 0
IPv4 malformed packet : 0
IPv4 ttl zero : 0
IPv4 opt /IPv6 ext headers : 0
IPv4 undefined error : 0
IPv6 fragments unsupported : 0
TCP/UDP malformed : 0
TCP/UDP checksum failure : 0
TCP/UDP length error : 0
Pkt send error : 0
no buf to copy pkt : 0
no policy : 0
locked by mgmt core : 0
port range log failed : 0
MTU exceeded : 0
DS Lite unrecognized next hdr : 0
DS Lite unknown AFTR : 0
too many fragments for IP packet : 0
too many fragmented packets : 0
too many fragment holes : 0
too many frags buffered : 0
fragment list expired : 0
fragment rate too high : 0
flow log failed : 0
no multiple host or subscr. IPs allowed : 0
to local : 1
to local ignored : 0
NAT64 disabled : 0
NAT64 invalid src addr : 0
NAT64 frag has zero checksum : 0
NAT64 v4 has zero checksum : 0
NAT64 ICMP frag unsupported : 0
CPM out of memory : 0
new flow : 1
TCP closed : 1
TCP expired : 0
UDP expired : 0
ICMP expired : 0
ICMP local : 0
found flow : 34
ARPs ignored : 4
Fragments RX L2A : 0
Fragments RX LSN : 0
Fragments RX DSL : 0
Fragments RX OUT : 0
Fragments TX L2A : 0
Fragments TX LSN : 0
Fragments TX DSL : 0
Fragments TX NAT64 : 0
Fragments TX OUT : 0
flow create logged : 0
flow delete logged : 0
flow log pkt tx : 0
===============================================================================
A:SR12_PPPOE#
config>isa# show isa nat-group 1 member 1 statistics
===============================================================================
ISA NAT Group 1 Member 1
===============================================================================
no resource : 0
[eNatFlowNoResource] "no resource",\
->the default, all errors without more specific reason
[eNatFlowWrongPort] "pkt rx on wrong port",\
-> packet came in on wrong port on ISA
[eNatFlowWrongProt] "unsupported protocol",\
-> protocol is not UDMP/TCP/ICMP
[eNatFlowNoHostGrp] "no host or host group",\
-> can not create new host group because out of resources, or
current host group is not usable at the moment (because in a transient
state)
[eNatFlowNoIpOrPort] "no ip or port",\
-> no Ip or port range available
[eNatFlowNoMatchingFlow] "no matching flow",\
-> no matching flow found
[eNatFlowMaxExceeded] "max flow exceeded",\
-> max flows for subscriber exceeded
[eNatFlowTcpUnexpectedRst] "TCP no flow for RST",\
[eNatFlowTcpUnexpectedFin] "TCP no flow for FIN",\
[eNatFlowTcpUnexpected] "TCP no flow",\
-> TCP state machine problem
[eNatFlowAddressDependentFiltering] "addr. dep. filtering",\
-> pkt dropped because of addr. dependent filtering
[eNatFlowUnsupportedICMP] "ICMP type unsupported",\
-> unsupported icmp type
[eNatFlowUnsupportedLocalICMP] "ICMP local unsupported",\
-> packet to ip address on ISA is not an echo request
[eNatFlowIcmpChecksumError] "ICMP checksum error",\
-> ICMP checksum error
[eNatFlowIcmpEmbeddedPktChecksumError] "ICMP embedded checksum
error",\
-> checksum error on embedded IP header
[eNatFlowIcmpEmbeddedPktUnsupportedL4] "ICMP unsupported L4",\
-> embedded IP packet is not UDP/TCP
[eNatFlowIcmpTooShort] "ICMP too short",\
-> packet too short to include the ICMP header
[eNatFlowIcmpLengthError] "ICMP length error",\
-> packet too short to include the embedded header
[eNatFlowPacketErrorNotIp] "Pkt not IPv4 or IPv6",\
[eNatFlowPacketErrorRecv] "Pkt rcv error",\
[eNatFlowPacketError] "Pkt error",\
[eNatFlowPacketErrorIpv4HdrChk] "IPv4 header checksum
violation",\
[eNatFlowPacketErrorIpv4HdrMal] "IPv4 header malformed",\
[eNatFlowPacketErrorIpv4PktMal] "IPv4 malformed packet",\
[eNatFlowPacketErrorIpv4TtlZero] "IPv4 ttl zero",\
[eNatFlowPacketErrorIpv4Optv6Ext] "IPv4 opt /IPv6 ext headers",\
[eNatFlowPacketErrorIpv4Bad] "IPv4 undefined error", \
[eNatFlowPacketErrorIpv6Frag] "IPv6 fragments unsupported",\
[eNatFlowPacketErrorTcpUdpMal] "TCP/UDP malformed",\
[eNatFlowPacketErrorTcpUdpChk] "TCP/UDP checksum failure",\
[eNatFlowPacketErrorTcpUdpLen] "TCP/UDP length error",\
-> malformed incoming packet
[eNatFlowPacketSendError] "Pkt send error",\
-> failed to tx the packet
[eNatFlowPacketNoCpyBuf] "no buf to copy pkt",\
-> failed to copy the packet to another buffer needed for
correct processing
[eNatFlowLockedByMgmtCore] "locked by mgmt core",\
-> resources temp. locked by the mgmt core
[eNatFlowPRLogFailed] "port range log failed",\
-> port range log failed
[eNatFlowMtuExceeded] "MTU exceeded",\
-> outgoing packet too big for DS-Lite tunnel or nat64 mtu
[eNatFlowDslUnrecNextHdr] "DS Lite unrecognized next
hdr",\
->ipv6 pkt has wrong next header
[eNatFlowDslUnknownAFTR] "DS Lite unknown AFTR",\
-> AFTR address is unrecognised
[eNatFlowTooManyFragsForIpPkt] "too many fragments for IP
packet",\
[eNatFlowTooManyFragmentedPkts] "too many fragmented
packets",\
[eNatFlowTooManyFragHoles] "too many fragment holes",\
[eNatFlowFragListExpire] "fragment list expired",\
[eNatFlowTooManyFragBufs] "too many frags buffered",\
[eNatFlowFragRateTooHigh] "fragment rate too high",\
-> various fragment problems
[eNatFlowNoPolicy] "no policy",\
->vrf not mapped to a policy
[eNatFlowLogFailed] "flow log failed",\
-> flow logging can not follow the setup rate
[eNatFlowMultiHostOrSubscrIp] "no multiple host or
subscr. IPs allowed",\
->multiple hosts or subscribers on the inside in use without
port translation
[eNatFlowToLocalError] "to local ignored",\
-> radius authentication failure (?)
[eNatFlow64Disabled] "NAT64 disabled",\
-> nat64 was disabled
[eNatFlow64InvalidSource] "NAT64 invalid src addr",\
-> source address matches pref64
[eNatFlow64FragZeroChecksum] "NAT64 frag has zero
checksum",\
-> v4 UDP frag has zero checksum
[eNatFlow64ZeroChecksum] "NAT64 v4 has zero checksum",\
-> v4 UDP has zero checksum, and policy configured to drop
[eNatFlow64FragIcmp] "NAT64 ICMP frag unsupported"\
->v4 fragmented ICMP
l2-aware-hosts [outside-router
router-instance] [outside-ip
outside-ip-address] [inside-ip-prefix
ip-prefix/mask]
show service nat l2-aware-hosts
===============================================================================
Layer-2-Aware NAT hosts
===============================================================================
Inside IP Out-Router Outside IP Subscriber
-------------------------------------------------------------------------------
13.0.0.100 Base 81.81.0.0 Sub001
13.0.0.102 Base 81.81.0.0 Sub001
13.0.0.101 Base 81.81.0.203 Sub002
13.0.0.103 Base 81.81.0.0 Sub003
-------------------------------------------------------------------------------
No. of hosts: 4
===============================================================================
l2-aware-subscribers [nat-policy
nat-policy-name] [nat-group
nat-group-id] [member
[1..255]] [outside-router
router-instance] [outside-ip
outside-ip-address]
show service nat l2-aware-subscribers
===============================================================================
Layer-2-Aware NAT subscribers
===============================================================================
Subscriber Policy Group/Member
Outside IP Router Ports
-------------------------------------------------------------------------------
Sub001 outPolicy 1/1
81.81.0.0 Base 32-33
Sub002 outPolicy2 1/1
81.81.0.203 Base 32-41
Sub003 outPolicy 1/1
81.81.0.0 Base 34-35
-------------------------------------------------------------------------------
No. of subscribers: 3
===============================================================================
show service nat l2-aware-subscribers subscriber “Sub881”
===============================================================================
Layer-2-Aware NAT subscriber Sub001
===============================================================================
Policy : outPolicy
ISA NAT group : 1
ISA NAT group member : 1
Outside router : Base
Outside IP : 81.81.0.0
ICMP Port usage (%) : < 1
ICMP Port usage high : false
UDP Port usage (%) : < 1
UDP Port usage high : false
TCP Port usage (%) : < 1
TCP Port usage high : false
Session usage (%) : < 1
Session usage high : false
Number of sessions : 0
Number of reserved sessions : 0
Ports : 32-33
===============================================================================
show service nat nat-policy
===============================================================================
NAT policies
===============================================================================
Policy Description
-------------------------------------------------------------------------------
outPolicy
outPolicy2
outPolicy3
-------------------------------------------------------------------------------
No. of NAT policies: 3
===============================================================================
*A:SR12_PPPOE>show>router>nat# show service nat nat-policy "priv-nat-policy"
===============================================================================
NAT Policy priv-nat-policy
===============================================================================
Pool : privpool
Router : Base
Filtering : endpointIndependent
Block limit : 4
Reserved ports : 0
Port usage High Watermark (%) : (Not Specified)
Port usage Low Watermark (%) : (Not Specified)
Port forwarding limit : 64
Session limit : 65535
Reserved sessions : 0
Session usage High Watermark (%) : (Not Specified)
Session usage Low Watermark (%) : (Not Specified)
ALG enabled : ftp rtsp sip
Prioritized forwarding classes : (Not Specified)
Timeout TCP established (s) : 7440
Timeout TCP transitory (s) : 240
Timeout TCP SYN (s) : 15
Timeout TCP TIME-WAIT (s) : 0
Timeout UDP mapping (s) : 300
Timeout UDP initial (s) : 15
Timeout UDP DNS (s) : 15
Timeout ICMP Query (s) : 60
Timeout SIP Inactive Media (s) : 120
Subscriber retention (s) : 0
UDP inbound refresh : false
TCP MSS Adjust : (Not Specified)
Destination-NAT IP : (Not Specified)
IPFIX export policy : (Not Specified)
Last Mgmt Change : 01/28/2012 14:47:59
===============================================================================
*A:SR12_PPPOE>show>router>nat#
show service nat nat-policy “outPolicy2” associations
===============================================================================
NAT Policy outPolicy2 Subscriber Profile Associations
===============================================================================
sub_prof_B_3
-------------------------------------------------------------------------------
No. of subscriber profiles: 1
===============================================================================
show service nat nat-policy “outPolicy2” statistics
===============================================================================
NAT Policy outPolicy2 Statistics
===============================================================================
mda 3/1
-------------------------------------------------------------------------------
hostsActive : 1
hostsPeak : 1
sessionsTcpCreated : 0
sessionsTcpDestroyed : 0
sessionsUdpCreated : 0
sessionsUdpDestroyed : 0
sessionsIcmpQueryCreated : 0
sessionsIcmpQueryDestroyed : 0
===============================================================================
*A:SR12_PPPOE# show service nat port-forwarding-entries
===============================================================================
NAT port forwarding entries
===============================================================================
Subscriber
iRtr iAddress prot iPort type
oRtr oAddress persist-id oPort expiry
===============================================================================
100 1.2.3.4 tcp 666 classic-lsn-sub
Base 13.0.0.6 N/A 666 N/A
100 1.2.3.4 udp 666 classic-lsn-sub
Base 13.0.0.6 N/A 666 N/A
-------------------------------------------------------------------------------
No. of entries: 2
===============================================================================
*A:SR12_PPPOE#
dual-stack-lite-subscribers [nat-policy
nat-policy-name] [nat-group
nat-group-id] [member
[1..255]] [outside-router
router-instance] [outside-ip
outside-ip-address] [inside-ip-prefix
ipv6-prefix]
*A:SR12_PPPOE# show router 100 nat dual-stack-lite-subscribers
===============================================================================
Large-Scale NAT subscribers
===============================================================================
Subscriber Policy Group/Member
Outside IP Router Ports
-------------------------------------------------------------------------------
2001:470:1F00:FFFF::189
priv-nat-policy 3/2
13.0.0.5 Base 504
-------------------------------------------------------------------------------
No. of subscribers: 1
===============================================================================
*A:SR12_PPPOE#
l2-aware-blocks [outside-ip-prefix
ip-prefix/length] [outside-port
[1..65535]] [pool
pool-name]
show router nat l2-aware-blocks
===============================================================================
Layer-2-Aware NAT blocks for Base
===============================================================================
81.81.0.0 [32..33]
Pool : MyPool
Policy : outPolicy
Started : 2010/02/04 16:24:55
Subscriber ID : Sub001
81.81.0.0 [34..35]
Pool : MyPool
Policy : outPolicy
Started : 2010/02/04 16:25:24
Subscriber ID : Sub003
81.81.0.203 [32..41]
Pool : MyPool2
Policy : outPolicy2
Started : 2010/02/04 16:25:21
Subscriber ID : Sub002
-------------------------------------------------------------------------------
Number of blocks: 3
===============================================================================
lsn-blocks [inside-router
router-instance] [inside-ip
ip-address] [outside-ip-prefix
ip-prefix/length] [outside-port
[1..65535]] [pool
pool-name]
*A:SR12_PPPOE>show>router>nat# show router Base nat lsn-blocks
===============================================================================
Large-Scale NAT blocks for Base
===============================================================================
13.0.0.5 [1024..1527]
Pool : privpool
Policy : priv-nat-policy
Started : 2012/01/28 19:10:17
Inside router : vprn100
Inside IP address : 2001:470:1F00:FFFF::189
-------------------------------------------------------------------------------
Number of blocks: 1
===============================================================================
A:SR12_PPPOE#
lsn-hosts [outside-router
router-instance] [outside-ip
ip-address] [inside-ip-prefix
ip-prefix/mask]
show router 588 nat lsn-hosts
===============================================================================
Large-Scale NAT hosts for router 550
===============================================================================
Inside IP Out-Router Outside IP
-------------------------------------------------------------------------------
13.0.0.5 500 81.81.0.0
13.0.0.6 500 81.81.3.1
13.0.0.7 500 81.81.0.0
13.0.0.8 500 81.81.0.0
13.0.0.9 500 81.81.3.1
13.0.0.10 500 81.81.0.0
-------------------------------------------------------------------------------
No. of hosts: 6
===============================================================================
show router 558 nat lsn-hosts host 13.8.8.5
===============================================================================
Large-Scale NAT host details
===============================================================================
Policy : ls-outPolicy
ISA NAT group : 1
ISA NAT group member : 1
Outside router : vprn500
Outside IP : 81.81.0.0
ICMP Port usage (%) : < 1
ICMP Port usage high : false
UDP Port usage (%) : 2
UDP Port usage high : false
TCP Port usage (%) : < 1
TCP Port usage high : false
Session usage (%) : < 1
Session usage high : false
Number of sessions : 5
Number of reserved sessions : 0
Ports : 1432-1631
===============================================================================
show router nat pool
===============================================================================
NAT pools
===============================================================================
Pool NAT-group Type Admin-state
-------------------------------------------------------------------------------
MyPool 1 l2Aware inService
MyPool2 1 l2Aware inService
-------------------------------------------------------------------------------
No. of pools: 2
===============================================================================
*A:SR12_PPPOE>show>router>nat# show router "Base" nat pool "privpool"
===============================================================================
NAT Pool privpool
===============================================================================
ISA NAT Group : 3
Pool type : largeScale
Admin state : inService
Mode : auto (napt)
Port forwarding range : 1 - 1023
Port reservation : 128 blocks
Block usage High Watermark (%) : (Not Specified)
Block usage Low Watermark (%) : (Not Specified)
Subscriber limit per IP address : 65535
Active : true
Last Mgmt Change : 01/28/2012 14:47:59
===============================================================================
NAT address ranges of pool privpool
===============================================================================
Range Drain Num-blk
-------------------------------------------------------------------------------
13.0.0.5 - 13.0.0.6 1
-------------------------------------------------------------------------------
No. of ranges: 1
===============================================================================
NAT members of pool privpool ISA NAT group 3
===============================================================================
Member Block-Usage-% Hi
-------------------------------------------------------------------------------
1 < 1 N
2 < 1 N
-------------------------------------------------------------------------------
No. of members: 2
===============================================================================
A:SR12_PPPOE#
*A:SR12_PPPOE>show>router>nat# show router Base nat summary
===============================================================================
NAT pools
===============================================================================
Pool NAT-group Type Admin-state
-------------------------------------------------------------------------------
privpool 3 largeScale inService
pubpool 1 largeScale inService
-------------------------------------------------------------------------------
No. of pools: 2
===============================================================================
A:SR12_PPPOE#
show service upnp upnp-policy
===============================================================================
UPnP policies
===============================================================================
Policy Description
-------------------------------------------------------------------------------
test
-------------------------------------------------------------------------------
No. of UPnP policies: 1
===============================================================================
show service upnp upnp-policy "test"
===============================================================================
UPnP Policy test
===============================================================================
Description : (Not Specified)
Mapping limit : 256
Strict mode : false
HTTP listening port : 5000
Last Mgmt Change : 01/26/2015 19:23:41
-------------------------------------------------------------------------------
Active mappings : 2
Mapped subscribers : 1
Associated subscribers : 1
===============================================================================
show service upnp upnp-policy "test" statistics
===============================================================================
UPnP Policy test Statistics
===============================================================================
rx SSDP M-SEARCH : 109
rx HTTP GET device description : 0
rx HTTP GET service description : 109
rx UPnP AddPortMapping : 6
rx UPnP ClearPortMapping : 0
rx UPnP DeletePortMapping : 1
rx UPnP ForceTermination : 0
rx UPnP GetConnectionTypeInfo : 0
rx UPnP GetExternalAddress : 6
rx UPnP GetGenericPortMappingEntry : 43
rx UPnP GetNATRSIPStatus : 8
rx UPnP GetSpecificPortMappingEntry : 1
rx UPnP GetStatusInfo : 49
rx UPnP RequestConnection : 0
rx UPnP SetConnectionType : 0
rx UPnP unsupported optional action : 6
rx UPnP invalid request : 0
tx SSDP M-SEARCH : 109
tx TCP reset : 0
tx HTTP OK : 109
tx UPnP OK : 101
tx UPnP error : 19
drop no memory : 0
portmapping created : 4
portmapping updated : 1
portmapping failed: conflict with other host : 0
portmapping failed: conflict with pinhole : 0
portmapping failed: hit limits : 0
portmapping failed: other reason : 0
===============================================================================
This command remove UPnP mappings for the specified subscriber. If protocol and
outside-port are not specified, then all UPnP mappings of subscriber will be removed.
nat-group nat-group-id member
[1..255] l2-aware-subscribers
nat-group nat-group-id member
[1..255] statistics
AR12_PPPOE# tools dump nat isa resources mda 3/1
Resource Usage for Slot #3 Mda #1:
| Total | Allocated | Free
-------------------------------+--------------+--------------+--------------
Flows | 6291456 | 0 | 6291456
Policies | 256 | 2 | 254
Port-ranges | 1310720 | 128 | 1310592
Ports | 12884901888 | 0 | 12884901888
IP-addresses | 65536 | 1 | 65535
Large-scale hosts | 524288 | 0 | 524288
L2-aware subscribers | 65536 | 0 | 65536
L2-aware hosts | 65536 | 0 | 65536
Delayed ICMP's | 200 | 0 | 200
ALG session | 1572864 | 0 | 1572864
LI entries | 8191 | 0 | 8191
Upstream fragment lists | 16384 | 0 | 16384
Downstream fragment lists | 16384 | 0 | 16384
Upstream fragment holes | 131072 | 0 | 131072
Downstream fragment holes | 131072 | 0 | 131072
Upstream fragment bufs | 13824 | 0 | 13824
Downstream fragment bufs | 13824 | 0 | 13824
flow log dest. set 0 | 2 | 0 | 2
flow log packets set 0 | 50 | 0 | 50
flow log dest. set 1 | 2 | 0 | 2
flow log packets set 1 | 50 | 0 | 50
flow log dest. set 2 | 1 | 0 | 1
flow log packets set 2 | 50 | 0 | 50
A:SR12_PPPOE#
sessions [nat-group
nat-group-id] [mda
mda-id] [protocol
{icmp
|tcp
|udp
}] [inside-ip
ip-address] [inside-router
router-instance] [inside-port
port-number] [outside-ip
ipv4-address] [outside-port
port-number] [foreign-ip
ipv4-address] [foreign-port
port-number] [dslite-address
ipv6-address] [destination-ip
ipv4-address] [destination-port
port-number] [wlan-gw-ue
ieee-address] [upnp
]
*A:SR12_PPPOE# tools dump nat sessions
===============================================================================
Matched 2 sessions on Slot #3 MDA #1
===============================================================================
Owner : LSN-Host@1.2.3.4
Router : 100
FlowType : UDP PortFwd
Inside IP Addr : 1.2.3.4 Inside Port : 666
Outside IP Addr : 13.0.0.6 Outside Port : 666
Foreign IP Addr : * Foreign Port : *
Dest IP Addr : * Dest Port : *
-------------------------------------------------------------------------------
Owner : LSN-Host@1.2.3.4
Router : 100
FlowType : TCP PortFwd
Inside IP Addr : 1.2.3.4 Inside Port : 666
Outside IP Addr : 13.0.0.6 Outside Port : 666
Foreign IP Addr : * Foreign Port : *
Dest IP Addr : * Dest Port : *
-------------------------------------------------------------------------------
===============================================================================
===============================================================================
Matched 1 session on Slot #3 MDA #2
===============================================================================
Owner : LSN-Host@2001:470:1F00:FFFF::189
Router : 100
FlowType : TCP Timeout (sec) : 6769
Inside IP Addr : 138.203.16.218 Inside Port : 41555
Outside IP Addr : 13.0.0.5 Outside Port : 1529
Foreign IP Addr : 15.0.0.1 Foreign Port : 22
Dest IP Addr : 15.0.0.1 Dest Port : 22
-------------------------------------------------------------------------------
===============================================================================
*A:SR12_PPPOE#
histogram router router-instance pool
pool-name bucket-size
[1..65536] num-buckets
[2..50]
l2-aware create subscriber sub-ident-string ip
ip-address protocol
{tcp
|udp
} [port
port] lifetime
lifetime [outside-ip
ip-address] [outside-port
port]
lsn create router
router-instance [b4
ipv6-address] [aftr
ipv6-address] ip
ip-address protocol
{tcp
|udp
} [port
port] lifetime
lifetime [outside-ip
ipv4-address] [outside-port
port]
lsn delete router
router-instance [b4
ipv6-address] ip
ip-address protocol
{tcp
|udp
} port
port
lsn modify router
router-instance [b4
ipv6-address] ip
ip-address protocol
{tcp
|udp
} port
port lifetime
lifetime
*A:SR12_PPPOE# tools perform nat port-forwarding-action lsn create router 100
ip 1.2.3.4 protocol tcp lifetime infinite outside-port 666
*A:SR12_PPPOE# tools perform nat port-forwarding-action lsn create router 100
ip 1.2.3.4 protocol udp lifetime infinite outside-port 666
*A:SR12_PPPOE# configure system persistence nat-port-forwarding location cf3:
*A:SR12_PPPOE# tools dump persistence nat-port-forwarding
----------------------------------------
Persistence Info
----------------------------------------
Client : nat-fwds
File Info :
Filename : cf3:\nat_fwds.002
File State : CLOSED (Not enough space on disk)
Subsystem Info :
Nbr Of Registrations : 524288
Registrations In Use : 2
Subsystem State : NOK
*A:SR12_PPPOE#
show+service+nat
| | | +---l2-aware-hosts
| | | +---l2-aware-subscribers
| | | +---lsn-subscribers
| | | +---nat-policy
| | | +---pcp-server-policy
| | | +---port-forwarding-entries
| | | | +---classic-lsn-sub
| | | | +---dslite-lsn-sub
| | | | +---l2-aware-sub
| | | | +---nat64-lsn-sub