option-61

Function

The option-61 command sets the value of the option-61 field.

The undo option-61 command restores the default value of the option-61 field.

By default, the value of the option-61 field is 1.

This command is supported only on the NetEngine 8000 F1A.

Format

option-61 hardware-type { none | type }

undo option-61

Parameters

Parameter Description Value
none

Encapsulates the MAC address in the character string format into the Option61 field.

-

type

Specifies the type of the encapsulated Option 61 field.

The value is 0 or 1.

  • If the value is 0, the device encapsulates the MAC address to Option 61 as a string of characters.
  • If the value is 1, the device encapsulates the MAC address to Option 61 in hexadecimal notation.
hardware-type

Sets the value of the option-61 field.

-

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

Run the access-type command to configure the access type of the BAS interface before running the option-61 command.

This command can be run only when the user accessing the device is a common Layer 2 or Layer 3 user.

If the packets sent by users that attempt to log in do not carry the Option61 field, the device encapsulates the Option61 field into packets based on the parameter specified in the command. When 1 is configured, the device encapsulates the MAC address in the hexadecimal format into the Option61 field; when 0 or none is configured, the device encapsulates the MAC address in the character string format into the Option61 field.

If packets sent by users that attempt to log in carry the Option61 field, the device uses the Option61 field.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the value of the option-61 field to 0.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/0.1
[*HUAWEI-GigabitEthernet0/1/0.1] commit
[~HUAWEI-GigabitEthernet0/1/0.1] bas
[~HUAWEI-GigabitEthernet0/1/0.1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/0.1-bas] commit
[~HUAWEI-GigabitEthernet0/1/0.1-bas] option-61 hardware-type 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >