07-Layer 3—IP Services Command Reference

HomeSupportReference GuidesCommand ReferencesH3C MSR1000[2600][3600] Routers Command Reference(V9)-R9119-6W10007-Layer 3—IP Services Command Reference
18-HTTP redirect commands
Title Size Download
18-HTTP redirect commands 45.03 KB

HTTP redirect commands

display http-redirect statistics

Use display http-redirect statistics to display packet statistics for HTTP redirect.

Syntax

display http-redirect statistics [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays HTTP redirect packet statistics on all cards.

Examples

# Display HTTP redirect packet statistics for slot 1.

<Sysname> display http-redirect statistics slot 1

Slot 1:

HTTP:

 Received SYN packets                            :1000

 Sent SYN ACK packets                            :1000

 Sent RST packets                                :500

 Redirect node not found events                  :50

 Assembled redirect URL failed times/total times :100/700

HTTPS:

 Received SYN packets                            :1000

 Sent SYN ACK packets                            :1000

 Sent RST packets                                :500

 Redirect node not found events                  :300

 Assembled redirect URL failed times/total times :100/700

 SSL handshake failed times/total times          :0/700

 SSL data interaction failed times/total times   :0/700

Table 1 Command output

Field

Description

HTTP

Packet statistics for HTTP redirect.

Received SYN packets

Number of SYN packets that have been received.

Sent SYN ACK packets

Number of SYN ACK packets that have been sent.

Sent RST packets

Number of RST packets that have been sent.

Redirect node not found events

Number of times that the system failed to find redirect nodes.

Assembled redirect URL failed times/total times

Redirect URL assembly failures and total number of redirect URL assemblies.

HTTPS

Packet statistics for HTTPS redirect.

SSL handshake failed/total times

Number of SSL handshake failures, and the total number of SSL handshakes.

SSL data interaction failed times/total times

Number of SSL data exchange failures, and the total number of SSL data exchanges.

Related commands

reset http-redirect statistics

http-redirect ssl-server-policy

Use http-redirect ssl-server-policy to associate an SSL server policy with the HTTPS redirect service.

Use undo http-redirect ssl-server-policy to restore the default.

Syntax

http-redirect ssl-server-policy policy-name

undo http-redirect ssl-server-policy

Default

No SSL server policy is associated with the HTTPS redirect service. The HTTPS redirect service uses a self-assigned certificate and the default SSL parameters.

Views

System view

Predefined user roles

network-admin

Parameters

policy-name: Specifies an SSL server policy by its name, a case-insensitive string of 1 to 31 characters.

Usage guidelines

HTTPS redirect is unavailable if the associated SSL server policy does not exist. You can first associate a nonexistent SSL server policy with the HTTPS redirect service and then configure the SSL server policy.

If you change the SSL server policy associated with the HTTPS redirect service, the new policy takes effect immediately.

If you perform this task multiple times, the most recent configuration takes effect.

Examples

# Associate SSL server policy policy1 with the HTTPS redirect service.

<Sysname> system-view

[Sysname] http-redirect ssl-server-policy policy1

Related commands

ssl server-policy

reset http-redirect statistics

Use reset http-redirect statistics to reset packet statistics for HTTP redirect.

Syntax

reset http-redirect statistics [ slot slot-number ]

Views

User view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command clears HTTP redirect packet statistics on all cards.

Examples

# Clear HTTP redirect packet statistics.

<Sysname> reset http-redirect statistics

# Clear HTTP redirect packet statistics for slot 1.

<Sysname> reset http-redirect statistics slot 1

Related commands

display http-redirect statistics

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网