nas-port-type

Function

The nas-port-type command sets the type of the interface that accesses a BAS interface.

The undo nas-port-type command restores the type of the interface that accesses a BAS interface to Ethernet.

By default, the type of an access interface is Ethernet.

This command is supported only on the NetEngine 8000 F1A.

Format

nas-port-type { async | sync | isdn-sync | isdn-async-v120 | isdn-async-v110 | virtual | piafs | hdlc | x.25 | x.75 | g.3-fax | sdsl | adsl-cap | adsl-dmt | idsl | ethernet | xdsl | cable | wireless-other | 802.11 }

undo nas-port-type

Parameters

Parameter Description Value
async

Indicates an Async interface, represented by code 0.

-

sync

Indicates a Sync interface, represented by code 1.

-

isdn-sync

Indicates an ISDN Sync interface, represented by code 2.

-

isdn-async-v120

Indicates an ISDN Async V.120 interface, represented by code 3.

-

isdn-async-v110

Indicates an ISDN Async V.110 interface, represented by code 4.

-

virtual

Indicates a virtual interface, represented by code 5.

-

piafs

Indicates the type of the interface complying with the Personal Handyphone System Internet Access Forum Standard (PIAFS), represented by code 6.

-

hdlc

Indicates an HDLC interface, represented by code 7.

-

x.75

Indicates an X.75 interface, represented by code 9.

-

x.25

Indicates an X.25 interface, represented by code 8.

-

g.3-fax

Indicates a G.3 Fax interface, represented by code 10.

-

sdsl

Indicates a Symmetric Digital Subscriber Line (SDSL) interface, represented by code 11.

-

adsl-cap

Indicates an Asymmetric DSL, Carrierless Amplitude Phase Modulation (ADSL-CAP) interface, represented by code 12.

-

adsl-dmt

Indicates an Asymmetric DSL, Discrete Multi-Tone (ADSL-DMT) interface, represented by code 13.

-

idsl

Indicates an ISDN Digital Subscriber Line (IDSL) interface, represented by code 14.

-

ethernet

Indicates an Ethernet interface, represented by code 15.

-

xdsl

Indicates a Digital Subscriber Line of unknown type (xDSL) interface, represented by code 16.

-

cable

Indicates a cable interface, represented by code 17.

-

wireless-other

Indicates a wireless-other interface, represented by code 18.

-

802.11

Indicates the type of the interface complying with the Wireless-IEEE 802.11 standard, represented by code 19.

-

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

The type of an access interface mainly applies to the Nas-Port-Type attribute in packets used in RADIUS authentication and accounting.

Precautions

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

The priority of the BAS interface's access interface type configured using the nas-port-type is higher than the priority of the interface type configured by specifying the port-type parameter in the access-type layer2-leased-line and access-type l2vpn-leased-line commands.

Example

# Set the type of an access interface on the BAS interface GE 0/1/9 as sdsl.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/9
[~HUAWEI-GigabitEthernet0/1/9] bas
[~HUAWEI-GigabitEthernet0/1/9-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/9-bas] commit
[~HUAWEI-GigabitEthernet0/1/9-bas] nas-port-type sdsl
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >