h Commands

handler

handler

Syntax

handler [handler-name]

handler detail

Context

[Tree] (show>log>event-handling handler)

Full Context

show log event-handling handler

Description

Commands in this context display EHS handler information.

Parameters

handler-name

Specifies the name of a specific handler up to 32 characters in length.

detail

Keyword to list details of all handlers.

Platforms

7705 SAR Gen 2

Output

The following output is an example of handler information.

Output fields: handler describes handler output fields.

Output Example
A:node-2>show>log>event-handling# handler
===============================================================================
Event Handling System - Handler List
===============================================================================
Handler                         Admin   Oper    Description
Name                            State   State
-------------------------------------------------------------------------------
h-sample                        up      up
h-main                          up      up
h-backup                        down    down
===============================================================================

*A:node-2# show log event-handling handler "h-sample"
===============================================================================
Event Handling System - Handlers
===============================================================================
===============================================================================
Handler          : h-sample
===============================================================================
Description      : (Not Specified)
Admin State      : up                                Oper State : up
-------------------------------------------------------------------------------
Handler Action-List Entry
-------------------------------------------------------------------------------
Entry-id         : 10
Description      : (Not Specified)
Admin State      : up                                Oper State : up
Script
  Policy Name    : sp-sample
  Policy Owner   : TiMOS CLI
Min Delay        : 0
Last Exec        : 05/24/2015 19:03:31
-------------------------------------------------------------------------------
Handler Action-List Entry Execution Statistics
  Enqueued       : 4
  Err Launch     : 0
  Err Adm Status : 0
Total            : 4
===============================================================================
Table 1. Output fields: handler

Label

Description

Handler

The name of the handler.

Description

The handler description string.

Admin State

The administrative state of the handler.

Oper State

The operational state of the handler.

Handler Action-List Entry

Entry-id

The action-list entry identifier.

Description

The action-list entry description string.

Admin State

The administrative state of the action-list entry.

Policy Name

The name of the related script policy.

Policy Owner

The owner of the related script policy.

Last Exec

The timestamp of the last successful execution of the action-list entry.

Handler Action-List Entry Execution Statistics

Enqueued

The number of times the action-list entry was successfully passed on to the SR OS sub-system or module that will attempt to process and execute the action. For a script-policy entry, this indicates that the script request has been enqueued but does not necessarily indicate that the script has successfully launched or completed. For status and information about the script, use the show>system>script-control command.

Err Launch

The number of times the action-list entry was not successfully handed over to the next SR OS sub-system or module in the processing chain. This can be caused by a variety of conditions including a full script request input queue.

Err Adm Status

The number of times the action-list entry was not executed because the entry was administratively disabled.

Total

The total number of times that the action-list entry attempted execution.

handler

Syntax

handler event-handler-name

Context

[Tree] (clear>log>event-handling handler)

Full Context

clear log event-handling handler

Description

This command clears the counters in the show log event-handling handler handler-name output. It does affect the global or aggregate counters shown using the information command.

Parameters

handler-name

Specifies the name of the event handler, up to 32 characters in length.

Platforms

7705 SAR Gen 2

hash-control

hash-control

Syntax

hash-control

Context

[Tree] (show>system>security hash-control)

Full Context

show system security hash-control

Description

Commands in this context display hash-control configuration information.

Platforms

7705 SAR Gen 2

histogram

histogram

Syntax

histogram router router-instance pool pool-name bucket-size [1..65536] num-buckets [2..50]

Context

[Tree] (tools>dump>nat histogram)

Full Context

tools dump nat histogram

Description

This command displays a NAT pool port usage histogram

Parameters

router router-instance

Specifies the router instance.

pool pool-name

Specifies the identification of the NAT pool.

bucket-size [1..65536]

Specifies the unit of the X-axis of the histogram; a value of ten, for example, would return in a histogram with results for [0-9], [10-19], [20-29], ... ports.

num-buckets [2..50]

Specifies the size of the histogram; a value of five, for example, would result in five results: [0-9], [10-19], [20-29], [30-39], [40-infinite].

Platforms

7705 SAR Gen 2

history

history

Syntax

history

Context

[Tree] (tools>dump>system>nsp-proxy history)

Full Context

tools dump system nsp-proxy history

Description

This command displays system NSP proxy history information.

Platforms

7705 SAR Gen 2

host-lookup

host-lookup

Syntax

host-lookup [mac ieee-address] [ remote-id remote-id-ascii] [sap-id sap-id] [service-id service-id] [string vso-string] [system-id system-id] [option60 option-60-ascii] [circuit-id circuit-id-ascii] [ circuit-id-hex circuit-id-hex] [option60-hex option60-hex] [remote-id-hex remote-id-hex] [derived-id derived-id] [ ip-prefix ip-prefix/ip-prefix-length]

Context

[Tree] (tools>perform>subscr-mgmt>loc-user-db>ipoe host-lookup)

Full Context

tools perform subscriber-mgmt local-user-db ipoe host-lookup

Description

This command performs a lookup in the local user database. This command looks up the host with the match-list configured in the local user database.

Parameters

ieee-address

Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.

remote-id

Specifies the information which goes into the remote-id sub-option in the DHCP relay packet, up to 255 characters.

sap-id

Specifies a SAP identifier to be used.

service-id

Specifies an existing subscriber service ID.

Values

1 to 2147483647

vso-string

Specifies a Vendor Specific Option (VSO) string.

system-id

Specifies the system ID.

Values

up to 255 characters maximum

hex-string

Specifies the content of option 60 for this lookup.

Values

0x0 to 0xFFFFFFFF (maximum 64 hex nibbles)

circuit-id

Specifies the circuit ID from the Option 82.

circuit-id-hex

Specifies the circuit ID in hexadecimal format from the Option 82.

Values

0x0 to 0xFFFFFFFF (maximum 254 hex nibbles)

sap-id

Specifies a SAP ID, up to 255 characters maximum.

option-60-ascii

Specifies the Vendor-Identifying Vendor Option to match against. Option 60 is encoded as Type - Length - Value and must be formatted in ASCII.

option-60-hex

Specifies the Vendor-Identifying Vendor Option to match against. Option 60 is encoded as Type - Length - Value and must be formatted in HEX.

Platforms

7705 SAR Gen 2

host-tracking

host-tracking

Syntax

host-tracking [statistics]

host-tracking sap sap-id [host ip-address] [statistics]

Context

[Tree] (clear>service>id host-tracking)

Full Context

clear service id host-tracking

Description

This command clears host tracking data.

Parameters

sap-id

Specifies a SAP for which to clear host tracking data.

ip-address

Specifies the IP address of a host for which to clear tracking data.

Values

a.b.c.d

statistics

Clears statistics.

Platforms

7705 SAR Gen 2

hostname

hostname

Syntax

hostname

Context

[Tree] (show>router>isis hostname)

Full Context

show router isis hostname

Description

This command displays the hostname database. There are no options or parameters.

Platforms

7705 SAR Gen 2

Output

IS-IS Hostname Output

Output fields: IS-IS hostname describes output fields for IS-IS hostname output.

Table 2. Output fields: IS-IS hostname

Label

Description

System-id

System identifier mapped to hostname.

Hostname

Hostname for the specific system-id.

Type

The type of entry (static or dynamic).

Output Example
A:ALA-A# show router isis hostname
=========================================================================
Rtr Base ISIS Instance 0 Hostnames
=========================================================================
System Id                Hostname
-------------------------------------------------------------------------
1800.0000.0002           core_west
1800.0000.0005           core_east
1800.0000.0008           asbr_west
1800.0000.0009           asbr_east
1800.0000.0010           abr_sjc
1800.0000.0011           abr_lax
1800.0000.0012           abr_nyc
1800.0000.0013           abr_dfw
1800.0000.0015           dist_oak
1800.0000.0018           dist_nj
1800.0000.0020           acc_nj
1800.0000.0021           acc_ri
1800.0000.0027           dist_arl
1800.0000.0028           dist_msq
1800.0000.0029           acc_arl
1800.0000.0030           acc_msq
=========================================================================
A:ALA-A# 

hostname

Syntax

hostname

Context

[Tree] (show>router>ospf hostname)

[Tree] (show>router>ospf3 hostname)

Full Context

show router ospf hostname

show router ospf3 hostname

Description

This command displays information about the hostname database.

Platforms

7705 SAR Gen 2

Output

The following output is an example of OSPF hostname database information. Output fields: hostname displays field descriptions.

Table 3. Output fields: hostname

Label

Description

Nbr Rtr Id

The OSPF ID.

hostname

The OSPF hostname.

No. of OSPF RTR id/hostnames

The total number of OSPF router IDs and hostnames.

Output Example
*A:router-B# show router ospf hostname
====================================
Rtr Base OSPFv2 Instance 0 hostnames
====================================
Nbr Rtr Id      hostname            
--------------------------------
10.20.0.3       router-A         
10.20.1.3       router-B 
10.20.2.3         -   
10.20.3.3       router-D        
--------------------------------
No. of OSPF Rtr id/hostnames: 4

http-client

http-client

Syntax

http-client any

http-client [ip-address/prefix-length]

http-client [ipv6-address/prefix-length]

Context

[Tree] (tools>dump>router>web-rd http-client)

Full Context

tools dump router web-rd http-client

Description

Commands in this context dump the HTTP client hash table.

Parameters

any

Specifies all HTTP clients.

ip-address/prefix-length

Dumps HTTP clients only matching the specified IP address and prefix length.

Values

ip-address:

a.b.c.d

prefix-length:

0 to 32

ipv6-address/prefix-length

Dumps HTTP clients only matching the specified IPv6 address and prefix length.

Values

ipv6-address:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x: [0 to FFFF]H

d: [0 to 255]D

prefix-length:

0 to 128

Platforms

7705 SAR Gen 2

Output

The following output is an example of HTTP client information.

Output Example
*A:Dut-F#  tools dump router web-rd http-client any
 
===========================================================================
Webredirect HTTP Clients
===========================================================================
SvcId                      MAC Address          Connection Rate (conn/min)
        IP Address
---------------------------------------------------------------------------
31                         10:00:00:00:14:22    1
        7fe1:0:0:1::
31                         10:00:00:00:14:21    1
        30.0.0.2
---------------------------------------------------------------------------
No. of HTTP clients: 2/2
===========================================================================

hunt

hunt

Syntax

hunt [brief]

Context

[Tree] (show>router>bgp>routes hunt)

Full Context

show router bgp routes hunt

Description

This command displays detailed information about the BGP routes, including information about the advertised routes (RIB-OUT).

hunt is a parameter of the show router bgp routes command. Depending on the parameters that are used to issue the command, the output can display a narrower or wider set of routes, including routes belonging to other address families. See the show router bgp routes command description for syntax variants, parameter descriptions and values, and output examples.

Parameters

brief

Displays summary information about the BGP routes.

Platforms

7705 SAR Gen 2