< Home

Data Model

The configuration model file matching the user interface is huawei-user-interface.yang.

Table 1 Configuring the user interface

Object

Description

Value

Remarks

/huawei-user-interface:user-interfaces/user-interface/name

Indicates the user interface name.

The value is a character string and must be similar to vty 3 or con 0.

N/A

/huawei-user-interface:user-interfaces/user-interface/authentication-mode/aaa/aaa-protocol

Indicates that the user interface authentication mode is the login protocol corresponding to AAA authentication.

The value is of the Boolean type:
  • all: SSH and Telnet
  • ssh: SSH
  • telnet: Telnet
  • none

The value none can be delivered only when user-interface:name in a request message is con 0. Additionally, the con 0 interface can only deliver the none option.

/huawei-user-interface:user-interfaces/user-interface/authentication-mode/password/password-protocol

Indicates that the user interface authentication mode is the login protocol corresponding to password authentication.

The value is of the Boolean type:
  • all: SSH and Telnet
  • telnet: Telnet
  • none

The value none can be delivered only when user-interface:name in a request message is con 0. Additionally, the con 0 interface can only deliver the none option.

/huawei-user-interface:user-interfaces/user-interface/authentication-mode/password/password

Indicates the local authentication password.

The value is a string of 8 to 16 case-sensitive characters without spaces.

N/A

/huawei-user-interface:user-interfaces/user-interface/privilege-level

Indicates the user interface priority.

The value is an integer that ranges from 0 to 15.

N/A

/huawei-user-interface:user-interfaces/user-interface/idle-timeout/minutes

Indicates the user connection timeout period, in minutes.

The value is an integer that ranges from 0 to 35791, in minutes.

N/A

/huawei-user-interface:user-interfaces/user-interface/idle-timeout/seconds

Indicates the user connection timeout period, in seconds.

The value is an integer that ranges from 0 to 59, in seconds.

N/A

/huawei-user-interface:user-interfaces/user-interface/screen-length/line-num

Indicates the number of lines on each terminal screen.

The value is an integer that ranges from 0 to 512. The default value is 24.

N/A

/huawei-user-interface:user-interfaces/user-interface/acl/ipv4-inbound

Indicates the ACL that restricts users with an IPv4 address or within an address segment from logging in to a device.

  • The value is an integer that ranges from 2000 to 3999.
  • The value is a string of 1 to 64 case-sensitive characters without spaces and must start with a letter.

The value must be an existing ACL delivered by the controller.

/huawei-user-interface:user-interfaces/user-interface/acl/ipv4-outbound

Indicates the ACL that restricts IPv4 users who have logged in to a device from logging in to other devices.

  • The value is an integer that ranges from 2000 to 3999.
  • The value is a string of 1 to 64 case-sensitive characters without spaces and must start with a letter.

The value must be an existing ACL delivered by the controller.

/huawei-user-interface:user-interfaces/user-interface/acl/ipv6-inbound

Indicates the ACL that restricts users with an IPv6 address or within an address segment from logging in to a device.

  • The value is an integer that ranges from 2000 to 3999.
  • The value is a string of 1 to 64 case-sensitive characters without spaces and must start with a letter.

The value must be an existing ACL delivered by the controller.

/huawei-user-interface:user-interfaces/user-interface/acl/ipv6-outbound

Indicates the ACL that restricts IPv6 users who have logged in to a device from logging in to other devices.

  • The value is an integer that ranges from 2000 to 3999.
  • The value is a string of 1 to 64 case-sensitive characters without spaces and must start with a letter.

The value must be an existing ACL delivered by the controller.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >