CLI Reference
Configure Interfaces Commands
To access configure interfaces commands, you must be in Admin or Supervisor mode.
•
When entering interface names in a command string, type: ethernet0.[nnn]
modem0.[nnn], or serial[n].[nnn] where n is serial interface 0 or 1 and
where nnn is a sub-interface value 1 - 999.
•
When entering IP addresses or masks, use Classical IP notation where IP address
[a.b.c.d] uses values from 0 - 255 to designate the network prefix and the host
number.
Command Syntax
configure interfaces add-sub
[nnn]
s[n]
.
configure interfaces remove-sub
[nnn]
s[n]
.
configure interfaces ip-address
x[n]
[nnn] [a.b.c.d]
.
configure interfaces delete ip
[nnn]
configure interfaces description
[n]
[nnn] [xxx]
s
.
configure interfaces enable [interface
name] or all
configure interfaces disable [interface
name] or all
configure interfaces link-encap
[n] frame-relay-dte
s
configure interfaces link-encap
[n] ppp
s
configure interfaces link-encap
[n] lanx
s
076R200-000
Issue 2
[a.b.c.d]
[n]
s
SpectraComm IP Router Card
Installation and Operation Manual
CLI Command Tables
Details
Add sub-interface name: serial
Remove sub-interface name: serial
Configure interface IP address.
x
Interface name
: (ethernet0, modem0,
n
n
nnn
serial
, or serial
.
[a.b.c.d]
IP address
)
[a.b.c.d]
IP mask
Optional IP broadcast address
(default 255.255.255.255)
Delete IP address associated with an
.
interface.
Change interface description.
Set admin state ON (allow xmit & recv).
Requires 1 parameter for specified
interface.
Set admin state OFF (stop xmit & recv).
Requires 1 parameter for specified
interface.
Set link encapsulation for Frame Relay-DTE
for specified interface.
Set link encapsulation for PPP for specified
interface.
Set link encapsulation for LAN-X for
specified interface.
n
nnn
.
n
nnn
.
)
[a.b.c.d]
B-7