
IP context selection and basic interface configuration tasks
52
IPLink Software Configuration Guide
5 • Establishing basic IP connectivity
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.
IPLink(cfg)#context ip router
IPLink(ctx-ip)[router]#interface lan
IPLink(if-ip)[lan]#ipaddress 192.168.1.3 255.255.255.0
Defining IP Ethernet encapsulation and binding an IP interface to a physical port
Before an IP interface is accessible, you must define the IP Ethernet encapsulation for the related port. It is
assumed that you would like to define the 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 IPLink. The IPLink 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. It is assumed that you would like to bind the IP interface name to port port of
slot slot.
Mode:
Configure
Example:
Define IP Ethernet encapsulation and bind IP interface to physical port
It is assumed that you would like to set the IP encapsulation for the 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.
IPLink(ctx-ip)[router]#port ethernet 0 0
IPLink(prt-eth)[0/0]#encapsulation ip
IPLink(prt-eth)[0/0]#bind interface lan router
Activating a physical port
After completing all the settings for the IP interface, you must activate the physical port. The IPLink software
default status for any port is disabled. In IPLink software terminology, any port is in the shutdown state unless
it is activated by command.
Step
Command
Purpose
1
node(cfg)#port ethernet
slot port
Enters port configuration mode and
selects the Ethernet port
port
on slot
slot
, on which use the IP Ethernet
encapsulation and to which bind an IP
interface.
2
node(prt-eth)[slot/port]#encapsulation ip
Sets IP Ethernet encapsulation for port
port on slot
slot
3
node(prt-eth)[slot/port]#bind interface
name
router
Binds the interface name to port
port
on slot
slot
to the IP context named
router, which is the IP router context
Содержание IPLink Series
Страница 309: ...309 Appendix B Mode summary Chapter contents Introduction 310...
Страница 312: ...Introduction 312 IPLink Software Configuration Guide B Mode summary...
Страница 325: ...325 Appendix D Internetworking terms acronyms Chapter contents Abbreviations 326...
Страница 330: ...330 Appendix E Used IP ports in the IPLink software Chapter contents Used IP ports in the IPLink software 331...