R2511-HP MSR Router Series Security Command Reference(V5)

377
portal nas-ip
Use portal nas-ip to configure an interface to use a specific source IP address for outgoing portal
packets.
Use undo portal nas-ip to delete the specified source IP address. If you do not specify the ipv6 keyword,
this command deletes the specified source IPv4 address.
Syntax
portal nas-ip ip-address
undo portal nas-ip
Default
No source IP address is specified for outgoing portal packets on an interface, and the interface uses the
IP address of the user access interface as the source IP address for outgoing portal packets.
Views
Interface view
Default command level
2: System level
Parameters
ip-address: Specifies a source IP address for outgoing portal packets. This IP address must be a local IP
address, and cannot be 0.0.0.0, 255.255.255.255, a class D address, a class E address, or a loopback
address.
Examples
# Configure interface Ethernet 1/1 to use 2.2.2.2 as the source IP address for outgoing portal packets.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] portal nas-ip 2.2.2.2
portal nas-port-id
Use portal nas-port-id to specify the NAS-Port-ID value carried in a RADIUS request.
Use undo portal nas-port-id to restore the default.
Syntax
portal nas-port-id nas-port-id-value
undo portal nas-port-id
Default
No NAS-Port-ID value is specified for an interface, and the device uses the information obtained from the
physical interface where the portal user accesses as the NAS-Port-ID value in a RADIUS request.
Views
Interface view
Default command level
2: System level