Chapter 5 CLI – Layer 2
P332G-ML User’s Guide 91
Set device-mode Command
Use the device-mode command to change the Basic Mode of Operation of the
P332-ML Module between Router an d Layer 2 modes.
The syntax for this command is:
set device-mode <mode>
Set interface Command
Use the set interface command to configure the management interface on the
Master agent of the stack.
The syntax for this command is:
set interface inband <vlan> <ip_addr> <netmask>
Example:
P330-N# set interface inband 1 192.168.42.252 255.255.255.0
Interface inband IP address set.
You must reset the device in order for the change to take effect.
Set interface ppp Command
Use the set interface ppp command to configure the P330 PPP interface IP
parameters, exit modem mode, disconnect the PPP session, or reset the connected
modem.
A PPP connection can be established only after the P330 is configured with an IP
address and net-mask. The IP address is a dummy address that is shared between
two peers, and must be taken from a subnet that is different from the agent’s IP sub-
net.
mode Router | Layer2
inband Interface name used for the management
vlan The number of the VLAN to be used for management
ip_addr IP address used for managing the stack
netmask Subnet mask of the management interface