R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

247
Gateway mode configuration commands
display gateway-mode forwarding-cache
Use display gateway-mode forwarding-cache to display gateway-mode forwarding entries.
Syntax
display gateway-mode forwarding-cache slot slot-number [ source-ip ip-address [ mask-length ] |
source-port port-number ] | destination-ip ip-address [ mask-length ] | destination-port port-number ] |
protocol { tcp | udp | protocol-type } ]*
display gateway-mode forwarding-cache summary slot slot-number
Views
Any view
Default command level
1: Monitor level
Parameters
source-ip: Displays gateway-mode forwarding entries by source IP address.
destination-ip: Displays gateway-mode forwarding entries by destination IP address.
source-port: Displays gateway-mode forwarding entries by source port.
destination-port: Displays gateway-mode forwarding entries by destination port.
protocol: Displays gateway-mode forwarding entries by protocol type.
ip-address mask-length: Specifies an IP address in dotted decimal notation and the mask. The value
range for the mask-length argument is 1 to 32.
port-number: Specifies a TCP or UDP port number in the range of 0 to 65535.
tcp: Displays gateway-mode forwarding entries for TCP.
udp: Displays gateway-mode forwarding entries for UDP.
protocol-type: Specifies the protocol number in the range of 0 to 255, for example, 1 for ICMP, 6 for TCP,
and 17 for UDP.
summary: Displays brief information about the gateway-mode forwarding entries.
slot slot-number: Displays gateway-mode forwarding entries for the card specified by its slot number.
Usage guidelines
Enable the gateway mode on the router before executing this command. Otherwise, no output is
displayed.
Examples
# Display all gateway-mode forwarding entries.
<HP> display gateway-mode forwarding-cache
Gateway-mode Forwarding-cache:
Total found: 2 items