Copyright © 2010, Juniper Networks, Inc.
Use to set the NAS-Port format attribute for ATM, Gigabit Ethernet, and 10-Gigabit
Ethernet interfaces on the E120 and E320 routers only.
The format attribute set using the radius nas-port-format command 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 ]. 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.
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.
The default number of bits for each field in the interface specifier for ATM interfaces
are:
Slot—5 bits
Adapter—0 bits
Port—3 bits
VPI—8 bits
VCI—16 bits
The default number of bits for each field in the interface specifier for Gigabit Ethernet
and 10-Gigabit Ethernet interfaces are:
Slot—5 bits
Adapter—0 bits
Port—3 bits
VLAN—12 bits
S-VLAN—12 bits
To set valid S-VLAN widths on Gigabit Ethernet and 10-Gigabit Ethernet interfaces,
you must include S-VLAN IDs in the NAS-Port attribute by issuing the
radius vlan nas-port-format stacked command.
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.
If you do not specify a value for a field, the number of bits is set to 0.
See radius nas-port-format extended
Example 1—Sets the field widths for ATM interfaces
host1(config)#radius nas-port-format extended atm field-widths slot 4
Chapter 3: Configuring RADIUS Attributes
191