Defining Ip Ethernet Encapsulation And Binding An Ip Interface To A Physical Port; Activating A Physical Port - Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

SmartWare Software Configuration Guide
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
Defining IP Ethernet encapsulation and binding an IP interface to a 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 inter-
face 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.
Mode: Configure
Step
node (cfg)#port ethernet slot port
1
2
node (prt-eth)[ slot/port ]#encapsulation ip
3
node (prt-eth)[ slot/port ]#bind interface name router Binds interface name to port port on
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

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.
IP context selection and basic interface configuration tasks
Command
5 • Establishing basic IP connectivity
Purpose
Enters port configuration mode and
selects the Ethernet port port on slot
slot, on which IP Ethernet encapsula-
tion shall be used and to which an IP
interface shall be bound.
Sets IP Ethernet encapsulation for port
port on slot slot
slot slot to the IP context named router,
which is the IP router context
55

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartNode Series and is the answer not in the manual?

This manual is also suitable for:

Smartware release 2.20

Table of Contents