nas

Function

The nas command configures NAS parameters.

The undo nas command deletes the NAS parameter configuration.

By default, NAS parameters are not configured.

This command is supported only on the NetEngine 8000 F1A.

Format

nas { logic-ip ip-address | logic-port { eth-trunk | ethernet | gigabitethernet } interface-name | logic-sysname host-name }

undo nas [ logic-ip | logic-port | logic-sysname ]

Parameters

Parameter Description Value
logic-ip ip-address

Specifies the logical IP address.

The value is in the format of X.X.X.X, expressed in dotted decimal notation. It cannot be 0.0.0.0 or 255.255.255.255.

logic-port interface-name

Specifies the name of a logical interface.

The value is a string of 1 to 64 case-sensitive characters, spaces not supported.

eth-trunk

eth-trunk-interface.

-

ethernet

This encapsulation type is used when Ethernet packets do not carry VLAN information.

-

gigabitethernet

gigabitethernet.

-

logic-sysname host-name

Specifies a logic host name.

The value is a string of 1 to 30 case-insensitive characters, spaces not supported.

Views

Remote backup profile view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
rui write

Usage Guidelines

Usage Scenario

To configure logical IP addresses, logical interfaces, and logical host names in the remote backup profile, run the nas logic-ip logic-port logic-sysname command. The NAS-IP-Address, NAS-Port and Option82 information in the packets sent from two devices that back up each other to the RADIUS and DHCP servers is identical.

Prerequisites

The BRAS users backup service has been enabled in the remote backup profile view.

Precautions

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

By default, you are advised to set NAS-IP-Address on the master device to be the same as that on the backup device. If you run the radius-authorization source same-as nas-logic-ip command to set NAS-IP-Address to the source IP address of packets sent to the RADIUS server, the master and backup devices must have different NAS-IP-Address values. If the RASIUS server checks authentication, the master and backup devices must have the same NAS-IP-Address value. In this case, NAS-IP-Address cannot be set to the source IP address of packets sent to the RADIUS server.

In RUI scenarios, the nas logic-port and nas logic-sysname commands must be run for each RBP, and each of the command settings must be the same for the same RBP on the master and backup devices.

Example

# Set the logical IP address to 1.2.3.4, logical interface to ethernet0/1/0, and logic host name to huawei in the remote backup profile view kouki.
<HUAWEI> system-view
[~HUAWEI] remote-backup-profile kouki
[*HUAWEI-rm-backup-prf-kouki] service-type bras
[*HUAWEI-rm-backup-prf-kouki] commit
[~HUAWEI-rm-backup-prf-kouki] nas logic-ip 1.2.3.4
[*HUAWEI-rm-backup-prf-kouki] commit
[~HUAWEI-rm-backup-prf-kouki] nas logic-port ethernet 0/1/0
[*HUAWEI-rm-backup-prf-kouki] commit
[~HUAWEI-rm-backup-prf-kouki] nas logic-sysname huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >