Display Nat Statistics - HPE FlexNetwork HSR6800 Configuration Manual

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

# Configure outbound NAT444 on interface GigabitEthernet 2/1/2.
[Router] interface gigabitethernet 2/1/2
[Router-GigabitEthernet2/1/2] nat outbound 2000 address-group 0
[Router-GigabitEthernet2/1/2] quit
Verifying the configuration
# Verify that Host A can access external servers, but Host B and Host C cannot. (Details not shown.)
# Display all NAT configuration and statistics.
[Router] display nat all
NAT address group information:
Totally 1 NAT address groups.
Address group 0:
Port range: 1024-65535
Port block size: 300
Extended block number: 1
Address information:
Start address
202.38.1.2
NAT outbound information:
Totally 1 NAT outbound rules.
Interface: GigabitEthernet2/1/2
ACL: 2000
Address group ID: 0
Port-preserved: N
Config status: Active
NAT logging:
Log enable
Flow-begin
Flow-end
Flow-active
Port-block-assign
Port-block-withdraw : Disabled
Alarm
NAT mapping behavior:
Mapping mode : Address and Port-Dependent
ACL
Config status: Active
...

# Display NAT statistics.

[Router] display nat statistics
Total session entries: 0
Total EIM entries: 0
Total inbound NO-PAT entries: 0
Total outbound NO-PAT entries: 0
Total static port block entries: 0
End address
202.38.1.3
NO-PAT: N
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
: ---
Reversible: N
167

Advertisement

Table of Contents
loading

Table of Contents