Debug commands

radius

Syntax

radius

no radius

Context

debug>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for RADIUS connections.

The no form of this command disables RADIUS debugging.

Default

no radius

detail-level

Syntax

detail-level {low | medium | high}

no detail-level

Context

debug>router>radius

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the RADIUS debugging output detail level.

The no form of this command reverts to the default values.

Default

detail-level medium

Parameters

low

Specifies that the output include the packet type, server address, length, and RADIUS server policy name.

medium

Specifies that the output include the RADIUS attributes in the packets, in addition to all information included in low detail output.

high

Specifies that the output include hexadecimal packet dumps, in addition to all information included in medium and low detail output.

packet-type

Syntax

packet-type [authentication] [accounting] [coa]

no packet-type

Context

debug>router>radius

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the RADIUS packet types to include in the RADIUS debugging output.

The no form of this command reverts to the default values.

Default

packet-type authentication accounting coa

Parameters

authentication

Specifies that RADIUS authentication packets should be included.

accounting

Specifies that RADIUS accounting packets should be included.

coa

Specifies that RADIUS change-of-authorization packets should be included.

radius-attr

Syntax

radius-attr type attribute-type [transaction]

radius-attr type attribute-type [transaction] {address | hex | integer | string} value attribute-value

radius-attr vendor vendor-id type attribute-type [transaction] [encoding encoding-type]

radius-attr vendor vendor-id type attribute-type [transaction] [encoding encoding-type] {address | hex | integer | string} value attribute-value

no radius-attr type attribute-type

no radius-attr type attribute-type {address | hex | integer | string} value attribute-value

no radius-attr vendor vendor-id type attribute-type

no radius-attr vendor vendor-id type attribute-type {address | hex | integer | string} value attribute-value

Context

debug>router>radius

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the RADIUS attributes to include in medium or high detail RADIUS debugging output.

The no form of this command disables the inclusion of the specified attributes.

Parameters

address

Specifies that the attribute-value is an IPv4 or IPv6 address, prefix, or subnet.

attribute-type

Specifies the RADIUS attribute type.

Values

1 to 255

attribute-value

Specifies the value of the RADIUS attribute.

Values

addressipv4-address, ipv6-address, ipv6-prefix/prefix-length

ipv4-address — a.b.c.d

ipv6-address — x:x:x:x:x:x:x:x (eight 16-bit pieces)

ipv6-prefix — x:x:x:x:x:x:x:x (eight 16-bit pieces)

  • x:x:x:x:d.d.d.d
  • x — 0 to FFFF (hexadecimal)
  • d — 0 to 255 (decimal)
prefix-length — 0 to 128

hex — 0x0 to 0xFFFFFFFF (up to 506 hexadecimal nibbles)

integer — 0 to 4294967295

string — ASCII string up to 253 characters

encoding-type

Specifies the size of the vendor-type and vendor-length in bytes. The information is configured in the format "xy", where "x" is the size of the vendor-type and "y" is the size of the vendor-length.

Values

vendor-type — 1 to 4

vendor-length — 0 to 2

Default

11

hex

Specifies that the attribute-value is a binary string in hexadecimal format.

integer

Specifies that the attribute-value is an integer.

string

Specifies that the attribute-value is an ASCII string.

transaction

Specifies that the system outputs both request and response packets in the same session, even if the response packet does not include the filtered attributes.

vendor-id

Specifies the vendor ID for the vendor-specific attributes.

Values

0 to 16777215

server-address

Syntax

server-address ip-address

no server-address ip-address

Context

debug>router>radius

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the RADIUS server information to include in the RADIUS debugging output.

The no form of this command removes the specified RADIUS server from the RADIUS debugging output.

Parameters

ip-address

Specifies the IPv4 or IPv6 address of the RADIUS server.

Values

ipv4-address — a.b.c.d

ipv6-address — x:x:x:x:x:x:x:x (eight 16-bit pieces)

  • x:x:x:x:d.d.d.d
  • x — 0 to FFFF (hexadecimal)
  • d — 0 to 255 (decimal)