Establishing Basic IP Connectivity
55
Figure 7-1: Relation between IP Interface
lan
and Ethernet port 0 on slot 0
First the context IP mode is selected for the required IP interface configuration.
SN>
enable
SN#
configure
SN(cfg)#
context ip router
After that a new interface
lan
is created, for which both the IP address and net mask are specified.
SN(ctx-ip)[router]#
interface lan
SN(if-ip)[lan]#
ipaddress 192.168.1.3 255.255.255.0
Next the Ethernet port 0 on slot 0 is selected, the medium is set to 10 MBit/s in half-duplex mode,
and IP encapsulation for this port is chosen.
SN(if-ip)[lan]#
port ethernet 0 0
SN(prt-eth)[0/0]#
medium 10 half
SN(prt-eth)[0/0]#
encapsulation ip
Afterwards the just defined interface
lan
is bound to the Ethernet port, and then the port is activated.
SN(prt-eth)[0/0]#
bind interface lan router
SN(prt-eth)[0/0]#
no shutdown
As a final point the configuration settings are stored in the startup configuration so as to be available
after the next system reboot.
SN(prt-eth)[0/0]#
copy running-config startup-config
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...