52
Establishing Basic IP Connectivity
Example: Define IP Ethernet Encapsulation and Bind IP Interface to Physical
Port
We assume you would like to set IP encapsulation for Ethernet port
0
on slot
0
and bind the already
defined IP interface
lan
to the same physical port. Use the following commands in port Ethernet
mode.
SN(ctx-ip)[router]#
port ethernet 0 0
SN(prt-eth)[0/0]#
encapsulation ip
SN(prt-eth)[0/0]#
bind interface lan router
7.5 Activating a Physical Port
After all the settings for the IP interface are completed the physical port has to be activated. The
SmartWare default status for any port is disabled. In the SmartWare terminology any port is in the
shutdown state unless it is activated by command.
Using the command
show port ethernet
slot port
lists the actual status for the selected physical port.
The following listing shows the port Ethernet information for port 0 on slot 0, which is in the
shutdown state as indicated by CLOSED for the current state.
SN(prt-eth)[0/1]#
show port ethernet 0 0
Ethernet Configuration
-------------------------------------
Port
: ethernet 0 0 0
State
: CLOSED
MAC Address
: 00:30:2B:00:1D:D4
Speed
: 10MBit/s
Duplex
: Half
Encapsulation
: ip
Binding
: wan@router
Frame Format
: standard
Default Service: 0
To activate a port for operation the shutdown status of the port has to be removed. That means, the
state of the port has to be changed to OPENED. To activate a physical port use the
no shutdown
command in port configuration mode.
Command
Purpose
Step 1
node
(ctx-ip)[router]#port
ethernet
slot port
Enters port configuration mode and selects the
Ethernet port
port
on slot
slot
, which is to be activated
Step 2
node
(prt-eth)[
slot
/
port
]#no
shutdown
Activates the physical port
port
on slot
slot
for
operation
Example: Activating the Physical Port
We assume you would like to activate the physical port 0 on slot 0, for which you use the following
commands in port configuration mode.
SN(cfg)#
port ethernet 0 0
SN(prt-eth)[0/0]#
no shutdown
At this point your SmartNode has a running IP interface on Ethernet port 0 on slot 0, which uses IP
encapsulation.
Software Configuration Guide Release 2.10, Revision 1.00
Summary of Contents for SmartWare Release 2.10
Page 2: ...2 Legal Notice Software Configuration Guide Release 2 10 Revision 1 00...
Page 15: ...Terms and Definitions 15 Software Configuration Guide Release 2 10 Revision 1 00...
Page 218: ...218 PPP Configuration no shutdown Software Configuration Guide Release 2 10 Revision 1 00...
Page 272: ...272 Tone Configuration Software Configuration Guide Release 2 10 Revision 1 00...