Establishing Basic IP Connectivity
51
Command
Purpose
Step 1
node
(cfg)#context ip router
Enters the predefined IP context configuration mode.
Step 2
node
(ctx-ip)[router]#interface
name
Creates the new interface
name
, which represents an
IP interface. This command also places you in
interface configuration mode for the interface
name
you have just created.
Step 3
node
(if-ip)[
name
]#ipaddress
ip-address
netmask
Sets the IP address
ip-address
and netmask
netmask
for
interface
name
Example: Enter IP Context, Create IP Interfaces and set IP Address and
Netmask
The procedure below assumes that you want to create an IP interface named
lan
, with an IP address
of
192.168.1.3
and a net mask of
255.255.255.0
. Use the following commands in configuration mode to
select the IP context and create the IP interface.
SN(cfg)#
context ip router
SN(ctx-ip)[router]#
interface lan
SN(if-ip)[lan]#
ipaddress 192.168.1.3 255.255.255.0
7.4 Define IP Ethernet Encapsulation and Bind IP Interface
to Physical Port
Before an IP interface is accessible the IP Ethernet encapsulation has to be defined for the related
port. It is assumed that you would like to define IP Ethernet encapsulation for port
port
on slot
slot
.
Before an IP interface can be used, it needs to be bound to a physical port of your SmartNode. The
SmartNode has one or more expansion slots that can have one or more ports. Specifying a port
unambiguously means that you must define the slot in which it is located. We assume you would
like to bind the IP interface
name
to port
port
of slot
slot
.
Procedure
To define IP Ethernet encapsulation for a port and bind IP interface to a port
Mode
Configure
Command
Purpose
Step 1
node
(cfg)#port ethernet
slot
port
Enters port configuration mode and selects the
Ethernet port
port
on slot
slot
, on which IP Ethernet
encapsulation shall be used and to which an IP
interface shall be bound.
Step 2
node
(prt-
eth)[
slot
/
port
]#encapsulation
ip
Sets IP Ethernet encapsulation for port
port
on slot
slot
Step 3
node
(prt-eth)[
slot
/
port
]#bind
interface
name
router
Binds interface
name
to port
port
on slot
slot
to the IP
context named router, which is the IP router context
Software Configuration Guide Release 2.10, Revision 1.00
Содержание SmartWare Release 2.10
Страница 2: ...2 Legal Notice Software Configuration Guide Release 2 10 Revision 1 00...
Страница 15: ...Terms and Definitions 15 Software Configuration Guide Release 2 10 Revision 1 00...
Страница 218: ...218 PPP Configuration no shutdown Software Configuration Guide Release 2 10 Revision 1 00...
Страница 272: ...272 Tone Configuration Software Configuration Guide Release 2 10 Revision 1 00...