Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    radius nas-port-format extended

    Syntax

    For ATM interfaces:

    radius nas-port-format extended atm [ field-widths [ slot slotWidth ]
    [ adapter adapterWidth ] [ port portWidth ] [ vpi vpiWidth ] [ vci vciWidth ] ]

    no radius nas-port-format extended atm

    For Gigabit and 10-Gigabit Ethernet interfaces:

    radius nas-port-format extended ethernet [ field-widths [ slot slotWidth ]
    [ adapter adapterWidth ] [ port portWidth ] [ svlan svlanWidth ] [ vlan vlanWidth ] ]

    no radius nas-port-format extended ethernet

    Release Information

    Command introduced in JunosE Release 7.1.0.

    Description

    Configures the RADIUS client’s use of an extended format for RADIUS attribute 5, NAS-Port, on ATM, Gigabit Ethernet, and 10-Gigabit Ethernet interfaces on the E120 router and the E320 router. If you do not set the extended format for E120 or E320 routers, the RADIUS client uses the default format set through the radius nas-port-format command, which does not accommodate the number of bits required by the ATM interface specifier slot/adapter/port/vpi/vci or the Gigabit Ethernet and 10-Gigabit Ethernet interface specifier [ slot/adapter/port ] [ .vlanSubinterface ] on E120 and E320 routers. Issuing this command enables you to encode the interface information in the attribute by specifying the number of bits available for each field in the interface specifier. The no version removes the format.

    Note:

    • You must use this command with the extended keyword when you configure the NAS-Port format attribute on routers that have line modules that support more than seven physical ports.
    • If you do not specify a value for a field, the number of bits is set to 0. The total number of bits for all fields cannot exceed 32. When the total number of bits is less than 32, the NAS-Port attribute is right-justified and the extra bits are set to 0.

    Options

    • field-widths—Configures the width of the fields in the NAS-Port attribute
    • slotWidth—Number of bits for the slot field; default value is 5
    • adapterWidth—Number of bits for the adapter field; default value is 0
    • portWidth—Number of bits for the port field; default value is 3
    • vpiWidth—Number of bits for the VPI subinterface field on ATM interfaces; default value is 8
    • vciWidth—Number of bits for the VCI subinterface field on ATM interfaces; default value is 16
    • svlanWidth—Number of bits for the S-VLAN subinterface field on Gigabit Ethernet and 10-Gigabit Ethernet interfaces; default value is 12

      Note: You must include S-VLAN IDs in the NAS-Port attribute by issuing the radius vlan nas-port-format stacked command for setting valid S-VLAN widths.

    • vlanWidth—Number of bits for the VLAN subinterface field on Gigabit Ethernet and 10-Gigabit Ethernet interfaces; default value is 12

    Mode

    Global Configuration

    Published: 2014-08-20