Portal Nas-Ip; Portal Nas-Port-Type - HP 5120 SI series Command Reference Manual

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

If the interface does not support NAS ID configuration or has no NAS ID configured, the device uses
the device name as the interface NAS ID.
Examples
# Specify NAS ID profile aaa for VLAN-interface 2.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] portal nas-id-profile aaa

portal nas-ip

Syntax
portal nas-ip { ipv4-address | ipv6 ipv6-address }
undo portal nas-ip [ ipv6 ]
View
Interface view
Default level
2: System level
Parameters
ipv4-address: Specifies a source IPv4 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.
ipv6 ipv6-address: Specifies a source IPv6 address for outgoing portal packets. This IPv6 address must
be a local IPv6 address, but cannot be a multicast address, an all 0 address, or a link-local address.
Description
Use the portal nas-ip command to configure an interface to use a specific source IP address for outgoing
portal packets.
Use the undo portal nas-ip command to restore the delete the specified source IP address. If you do not
specify the ipv6 keyword, this command delete the specified source IPv4 address.
By 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.
Examples
# Configure interface VLAN-interface 5 to use 2.2.2.2 as the source IPv4 address for outgoing portal
packets.
<Sysname> system-view
[Sysname] interface vlan-interface 5
[Sysname-Vlan-interface5] portal nas-ip 2.2.2.2

portal nas-port-type

Syntax
portal nas-port-type { ethernet | wireless }
undo portal nas-port-type
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents