E COPYRIGHT Nokia Networks Oy 2000
All rights reserved.
No part of this publication may be copied, distributed, transmitted, transcribed, stored in a retrieval
system, or translated into any human or computer language without the prior written permission
of Nokia Networks Oy.
The manufacturer has made every effort to ensure that the instructions contained in the
documents are adequate and free of errors and omissions. The manufacturer will, if necessary ,
explain issues which may not be covered by the documents. The manufacturer’s liability for any
errors in the documents is limited to the correction of errors and the aforementioned advisory
services.
The documents have been prepared to be used by professional and properly trained personnel,
and the customer assumes full responsibility when using them.The manufacturer welcomes
customer comments as part of the process of continual development and improvement of the
documentation in the best way possible from the user’s viewpoint. Please submit your comments
to the nearest Nokia sales representative.
NOKIA is a registered trademark of Nokia Corporation.
Any other trademarks mentioned in the documents are the property of their respective owners.
Nokia M1122 is an integrated ADSL (Asymmetric Digital Subscriber
Line) bridge and router which enables high-speed Internet access for
your Ethernet local area network (LAN). It multiplies the capacity of
the already installed telephone lines used traditionally for telephone
and dial-up modem services. M1122 brings high-speed connections
available for home users, small offices and telecommuters.
Figure 1-1Nokia M1122
M1122 allows you to connect your desktop and laptop PCs to remote
networks. Your PCs must be equipped with a 10Base-T Ethernet
interface. M1122 has an in-built 4-port hub, which allows easy home
network installation.
The ADSL high-speed Internet access may be delivered to you over
the same copper pair of wires that is used for your traditional telephony
C33906001SE_00
E Copyright Nokia Networks Oy
1-1
Page 11
M1 122 Administrator Manual
services. As both services utilise the same pair of wires, a filter is
needed to separate them. This is called a POTS filter and it is a small
external device connected between your telephone and the telephone
wall socket.
Your Nokia M1122 interconnects with a Digital Subscriber Line
Access Multiplexer (DSLAM) installed and maintained by your
access provider in their central office. M1122 ADSL technology is
based on Discrete Multitone (DMT) modulation allowing a maximum
of 8 Mbit/s data transmission from the network and 800 kbit/s towards
the network. However, these figures illustrate the maximum
performance of the technology and are subjected to the physical line
conditions and the distance from you to the central office. M1122 is
capable of adapting to the physical line conditions and guarantees the
maximum transmission rate possible on the particular line. M1122
adapts its speed to the line conditions in steps of 32 kbit/s. In addition
to these physical limitations affecting your data throughput, your
Internet Service Provider (ISP) may limit your access according to
their service provisioning policy and based on your service contract.
1-2
E Copyright Nokia Networks Oy
C33906001SE_00
Page 12
Chapter 2
Applications and features
In this chapter, we present the most common applications and features
of M1122. The use and configuration of your Nokia M1122 may be
different from the configurations presented in this manual, even for
similar applications. The configurations presented in this manual
represent a typical way of using M1122 for the corresponding
applications.
2.1Applications
The three typical applications discussed below are the Internet access,
remote work, and office LAN interconnection.
Internet access
Your access to the Internet is provided by your Internet Service
Provider (ISP). Nokia M1122 connects you through your telephone
line and the ATM (Asynchronous Transfer Mode) network to the
network of your ISP, which, in turn, is connected to the Internet.
Hence, all your data goes through the ISP’s network. If you are using
only one ISP for your Internet access, your ISP may give you a limited
set of IP addresses belonging to its address space that you may utilise
in your desktop and laptop computers on your home network.
However, in many cases it is more practical to separate your own
private LAN from the ISP’s public network by using private IP
addresses. This way you are not limited to the number of public IP
addresses provided by your ISP but you can manage your own address
space independently. For this you will need to use NAPT (Network
Address Port Translation) feature available in your M1122 modem.
C33906001SE_00
E Copyright Nokia Networks Oy
2-1
Page 13
M1 122 Administrator Manual
This mode of operation reduces the need to have more than one public
Internet address. Furthermore, it prevents others from seeing and
accessing your private network and therefore it acts as a simple
firewall.
Customer
premises
LAN
DSLAM
10Base-T
ATM
network
RAN
Internet
10Base-T
Internet connection
2-2
Figure 2-1High-speed Internet access
E Copyright Nokia Networks Oy
C33906001SE_00
Page 14
Remote work
Another application for M1122 is remote work. In this case the
end-to-end architecture can, for example, use PPP over Ethernet,
where a dial-up-type PPP connection is created between your home PC
and your corporate networks PPP access server based on the user name
and password you issue in your PC. The same set up could be used for
accessing the public Internet with a different user name and password.
This example naturally presumes that your ISP supports this type of
approach for providing remote work services for our company.
Remote
worker 1
DSLAM
ATM
network
10Base-T
Nokia M1122
Remote
worker 2
Remote
worker 3
PPPoE
RANL2TP
Company
router
Corporate
network
Figure 2-2Remote work using M1122 as a standard router
C33906001SE_00
E Copyright Nokia Networks Oy
2-3
Page 15
M1 122 Administrator Manual
LAN interconnection
M1122 can also be used for corporate branch office LAN
interconnection. As a bridge, M1 122 enables all network protocols to
be used on the corporate network.
LAN
Remote
office 1
Remote
office 2
Remote
office 3
10Base-T
10Base-T
DSLAM
ATM
network
Company
bridge
Corporate
network
Figure 2-3LAN interconnection
2.2Features
M1122 can operate as a bridge and/or Internet Protocol (IP) router
between the Ethernet and the virtual channels of ADSL/ATM
interfaces supporting both dynamic and static routing.
DGateway/bridge management interface. This interface is used as a
bridge host interface or gateway interface depending on the
operation mode. In this manual it is called VBRIDGE. On the
M1122 web pages, the interface is called gateway or bridge IP
interface.
M1122 can operate in four different main modes:
DBridging only
DRouting/tunneling IP only
DRouting/tunneling IP, bridging all but IP
DRouting/tunneling IP and bridging all, including IP
The mode in which M1122 operates depends on the configuration of
the unit’s interfaces. Table 2-1 shows the operational modes and the
corresponding interface configurations.
LAN interfaceATM VCC interfacesVbridge
(gateway/host interface)
Bridge only
BridgingBridging.Used as a manage-
ment (host) interface
for all bridged interfaces in case such is
needed.
Route/tunnel IP only
Routing (IP address
configured)
Routing (IP address
configured) or PPTP
local tunneling activated for each active
ATM VCC.
Not used in this case.
The unit can be managed through any of
the LAN, or ATM interface IP addresses.
C33906001SE_00
E Copyright Nokia Networks Oy
2-5
Page 17
M1 122 Administrator Manual
LAN interfaceVbridge
Route/tunnel IP, bridge all other traffic
Routing (IP address
configured) and bridging activated.
Route/tunnel IP, bridge all other including IP
ATM VCC interfaces
VCCs that only route
or tunnel have routing
(IP address configured) or PPTP local
tunneling activated.
VCCs that both bridge
and route have additionally bridging activated. This requires
ETH-LLC encapsulation to be used on
those VCCs.
VCCs that only bridge
have only bridging
activated.
(gateway/host interface)
Typically not used in
this case. The unit
can be managed locally through LAN interface and remotely
through a separate
management VCC or
the ATM VCCs which
have routing activated.
Bridging activatedVCCs that only route
or tunnel have routing
(IP address configured) or PPTP local
tunneling activated.
VCCs that only bridge
have only bridging
activated.
Used as an IP gateway interface for LAN
interface.
Table 2-1Operational modes
LAN interfaces
LAN interfaces can be configured individually to bridge and route
packets. There are three different operational modes in LAN
interfaces:
DBridging only; only bridging is activated in the interface. In this
case the interface bridges all protocols.
DRouting only; only IP address is configured in the interface. In this
case, the interface routes IP packets.
DBridging and routing; Bridging is activated in the interface and IP
address is configured in the interface. In this case, the interface
routes IP packets and bridges all other packets.
2-6
E Copyright Nokia Networks Oy
C33906001SE_00
Page 18
Internal host/gateway interface
There is a special host/gateway logical IP interface within M1122
called VBRIDGE. This interface has a specific purpose in M1122. In
applications where some ATM virtual channel connections are used
for bridging IP traffic and some other ATM virtual channel
connections are used for routing IP traffic, the VBRIDGE interface
must be used instead of LAN IP address. Alternatively , this interface is
used in bridge only application when the IP address is required for
remote management purposes.
Data VCC operation
M1122 supports the following encapsulations in each ATM data
virtual channel individually:
DRFC2684 LLC encapsulation for bridged IP (ETH-LLC)
DRFC2684 LLC encapsulation for routed IP (IP-LLC)
DRFC2364 Virtual circuit multiplexed PPP over AAL5 (PPP-VC)
DRFC2364 Virtual circuit multiplexed PPP over AAL5 used to
tunnel LAN/VBRIDGE PPTP packets (TUNNELED-PPP-VC)
If an IP address is given to a virtual channel interface and bridging is
enabled at that interface, then IP data at that interface is routed and all
other protocols are bridged. The only encapsulation which allows both
bridging and routing simultaneously is ETH-LLC. For example, it is
possible to route ETH-LLC encapsulated packets and at the same time
bridge, for example, PPPoE packets (PPPoE packets are transported
directly over Ethernet frame, not within IP packets).
2.2.2Routing
Routing is based on routing entries in a routing table. Static routes are
added via the management interface and dynamic routing is done using
RIP and RIPv2. Routing is done between the Ethernet 10Base-T
interface and the virtual channel connection (VCC) of the A TM/ADSL
interface. M1122 supports up to 8 simultaneous VCCs.
M1122 supports IGMP (Internet Group Management Protocol) proxy
receive function for IP multicast applications.
2.2.3Bridging
Bridging is supported to provide full protocol transparency. Bridging
can be used simultaneously with IP routing. M1122 works as a
self-learning bridge supporting up to 1024 MAC addresses. Bridging
C33906001SE_00
E Copyright Nokia Networks Oy
2-7
Page 19
M1 122 Administrator Manual
is done between the Ethernet 10Base-T interface and each ATM VCC
interface. Optionally , the bridging between the VCCs can be disabled.
2.2.4Network Address Port Translation
M1122 supports Network Address Port Translation (NAPT) for
TCP/IP , UDP/IP and ICMP/IP protocols. When NAPT is used, a single
IP address is allocated to a VCC which leads to the public IP network.
The Ethernet subnet has private IP addressing and is not visible to the
VCC. NAPT translates the IP source address and source port number
dynamically to the VCC IP address and port number. Similarly,
packets coming from the VCC are mapped back to the original
destination addresses. NAPT allows up to hundreds of hosts to share a
single VCC IP address to the public network. The principle of Network
Address Port Translation is presented in Figure 2-4.
Home network (LAN)Internet (WAN)
src:192.168.1.112:1228
dst:194.112.11.111:80
src:194.112.11.111:80
dst:192.168.1.112:1228
NAPT router
192.168.1.254
src:195.112.12.161:50001
dst:194.112.11.111:80
src:194.112.11.111:80
dst:195.112.12.161:50001
195.112.12.161
Figure 2-4Principle of Network Address Port Translation
NAPT may restrict the operation of some IP applications. NAPT also
operates as a simple IP firewall because translation is only allowed
when the first packet is transmitted from the LAN. This means that the
NAPT table entry is created only when a packet is sent from the home
network to the Internet. With server support capability, the user can
add static entries to the NAPT table allowing the translation always in
both directions. This capability is used to add servers (HTTP, NNTP,
and FTP), which are visible to the public IP network via the VCC, on
the LAN subnet.
2-8
NAPT supports most IP-based protocols. Because NAPT operates on
the IP and transport layer , the application that includes IP address and
port within the payload will not work properly through NAPT . In many
cases, these applications can be passed through the NAPT using
E Copyright Nokia Networks Oy
C33906001SE_00
Page 20
Application Layer Gateway functionality (ALG). M1122 has ALG for
the following protocols/applications:
DICMP
DFTP
DH.323 including NetMeeting
DCUSeeMe
DPPTP
DIRC
DIPSEC ESP tunnel mode and IKE
Note, that most IPSEC implementations will fail when passed through
NAPT. A typical reason is that the identification may fail if the
identification is based on IP address. Also, only tunnel mode without
Authentication Header (AH) works.
2.2.5Dynamic Host Configuration Protocol
M1122 can act as a Dynamic Host Configuration Protocol (DHCP)
server for the PCs on the end-user home network. In this mode, M1122
can assign up to 253+253 consecutive addresses from two separate
address ranges (that is, 253 consecutive addresses per address range)
to the PCs on the home network. Two separate address ranges can be
used if more than 253 addresses are required on the local subnet, if two
non-contiguous address ranges are needed or if an additional router
with DHCP relay is used on the local network. M1122 can also act as a
DHCP relay agent and relay the DHCP requests to an external DHCP
server.
2.2.6ATM and ADSL
M1122 supports up to 8 simultaneous VCCs and supports UBR
(Unspecified bit rate) traffic shaping on all VCCs. The maximum
transmit rate on each VCC is the ADSL upstream capacity. If more
than one VCC is transmitting simultaneously, the ADSL upstream
capacity is temporarily shared between these VCCs. When one VCC is
idle, the bandwidth is used by another VCC.
The ADSL transmission is based on the DMT line code. M1122
provides a DMT line rate up to 8 Mbit/s downstream and up to 800
kbit/s upstream. The DMT transceiver is rate adaptive and capable of
providing faster rates over short distances or slower rates over long
distances. The transceiver adapts itself to the line conditions. M1122
C33906001SE_00
E Copyright Nokia Networks Oy
2-9
Page 21
M1 122 Administrator Manual
supports also ADSL Lite. In the ADSL Lite mode, the maximum line
rates are 1536 kbit/s downstream and 512 kbit/s upstream.
M1122 supports both G.992.1 and G.992.2 ADSL recommendations
defined by ITU-T .
Rate adaptation is done in steps of 32 kbit/s. The ADSL interface of
M1122 functions completely automatically and all configuration
related to the ADSL connection is done at the access multiplexer in the
operator’s premises. The network operator can set the data rates as a
part of the network management functionality provided by Nokia
DSLAM.
2.2.7Point-to-Point Tunneling Protocol (PPTP)
When PPTP local tunneling is used, a local network client initialises a
PPTP-tunneled PPP connection (VPN) to Nokia M1 122. The modem
terminates the tunnel and all data from that terminated local PPTP
tunnel will be forwarded to an assigned ATM VCC by using PPP over
AAL5 encapsulation. Thus, each local PPTP tunnel requires an
equivalent ATM VCC assigned to it restricting the total number of
local PPTP hosts to 8.
Local tunneling is used when there is a need to have one or more
computers connected independently to different networks. For
example, in remote work application, the rest of the family may be
using the common ISP services and one or two family members need to
gain access to their corporate networks. With local tunneling, these
remote workers may be connected to a different network than the rest
of the users.
Local tunneling is activated using the PPTP client running, for
example, in Windows. The destination IP address must be M1122
LAN/VBRIDGE IP address depending on the configuration. PPP
packets within PPTP are mapped to the configured VCC. M1122 has
three different ways to choose the ATM VCC that will be used for
tunneling:
DAutomatic, chooses the first free VCC
DChooses the VCC number using C:number, where number is from
1 to 8. C:number is typed after the M1122 IP address in PC’s PPTP
client Connect To window (see Figure 2-5).
DChooses the VCC number using N:name, where name is the
VCCx description. N:name is fed after the M1122 IP address.
2-10
E Copyright Nokia Networks Oy
C33906001SE_00
Page 22
Figure 2-5Choosing the VCC2 for tunneling example
2.2.8Point-to-Point Pr otocol over Ethernet (PPPoE)
Standard PPPoE mode is used when M1122 is operating as a bridge.
PPPoE protocol defines how PPP sessions are mapped into Ethernet
packets. When M1122 operates as a bridge, this protocol is transparent
to M1122.
2.2.9Payload encapsulations
Both routed and bridged protocols are encapsulated in the A TM link by
using either RFC 2684 LLC/SNAP encapsulation or VC multiplexing.
M1122 also supports PPP over AAL5 encapsulation, in which routed
protocols are first encapsulated in PPP (RFC 1661). PPP is then
encapsulated in ATM according to the IETF PPP over AAL5 using
RFC 2364 VC multiplexing or LLC/NLPID encapsulation.
2.2.10 W eighted Fair Queueing (Class of Service)
As a Class of Service (CoS) function, M1122 supports Weighted Fair
Queueing (WFQ) for each ATM VCC. The CoS function ensures that
different IP traffic flows are treated fairly in the upstream (towards the
Internet) direction. This may be necessary , in some cases, because the
upstream capacity of the ADSL line is somewhat limited compared to
the Ethernet bandwidth on the office or home LAN. The WFQ CoS
C33906001SE_00
E Copyright Nokia Networks Oy
2-11
Page 23
M1 122 Administrator Manual
function classifies IP traffic flows based on IP address, protocol and
port fields. It is capable of identifying the IP flow from all supported
payload encapsulation formats. WFQ works properly only with
IP-based protocols. If the flow is IP-based but is encrypted using IPSec
or PPP encryption, then WFQ cannot identify the flows correctly. In
this case, the default flow is used and the default flow is treated as a
single flow.
2.2.11 Management
There are three management methods in M1122:
DCommand line interface (CLI) through console serial port
DCLI via telnet
DWeb browser management
The CLI allows complete configuration of the unit; the Web browser
management allows the configuration of the most frequently used
configuration parameters.
2.2.12 Dedicated management channel
The operator or the Internet Service Provider can establish a dedicated
management channel to M1122. This channel provides access to the
M1122 management (with telnet or web browser) and it can be used to
upload a new software to M1122.
The dedicated management channel is separated from the other IP
stack. It is not possible to access the other interfaces or networks
behind the data interfaces through the dedicated management channel.
Similarly , access from LAN or data VCCs to the management channel
is blocked. The management channel supports only routing using the
following encapsulations:
DRFC2684 LLC encapsulation for bridged IP (ETH-LLC)
DRFC2684 LLC encapsulation for routed IP (IP-LLC)
DRFC2364 Virtual circuit multiplexed PPP over AAL5 (PPP-VC)
2-12
In Figure, 2-6 VCC1 is used for customers data transmission.
Administration through this channel has been disabled. The operator
or the service provider uses the management VCC for management
purposes only.
E Copyright Nokia Networks Oy
C33906001SE_00
Page 24
LAN
10Base-T
Home
network
Nokia M1122
ISP’s NMS Network management system
VCC1/Data
(admin disabled)
Management VCC
Figure 2-6Dedicated management channel
Internet
C33906001SE_00
E Copyright Nokia Networks Oy
2-13
Page 25
M1 122 Administrator Manual
2-14
E Copyright Nokia Networks Oy
C33906001SE_00
Page 26
Chapter 3
Interfaces and indicator lights
This chapter describes the external interfaces of M1122 and introduces
its front panel indicator lights.
3.1Interfaces
M1122 has one ADSL line interface and four LAN interfaces
(10Base-T Ethernet). It also has a local management interface (CLI)
for management purposes. The ADSL line interface is compatible with
ITU-T G.992.1 specification.
Power switch
Mains connector
Command line interface (CLI)
Figure 3-1M1122 back panel
C33906001SE_00
Ethernet ports
(ETH-1, ETH-2,
ETH-3, ETH-4)
E Copyright Nokia Networks Oy
ADSL line (DSL)
3-1
Page 27
M1 122 Administrator Manual
3.1.1Ethernet interface
The Ethernet interfaces (ETH) are located on the back panel. The
Ethernet interface is a standard 10 Mbit/s half-duplex 10Base-T
interface. The mechanical connector is an 8-pin RJ-45. The pin-out
numbering is shown in Table 3-1.
18
Figure 3-2ETH connector
PINSignalDirection
1Rx+<–Receive data +
2Rx–<–Receive data –
3Tx+–>Transmit data +
6Tx––>Transmit data –
Table 3-1Ethernet interface pin-out numbering
3.1.2ADSL interface
The ADSL interface (DSL) is compatible with ITU-T G.992.1
specification. The mechanical connector is a 6-pin RJ-11. The pin-out
numbering is shown in Table 3-2.
16
MDI signal
M1122-
Ethernet
3-2
Figure 3-3DSL connector
E Copyright Nokia Networks Oy
C33906001SE_00
Page 28
PINSignal
3DSL1
4DSL2
Table 3-2ADSL interface pin-out numbering
3.2Command line interface
The command line interface (CLI) is RS-232 interface with an RJ-45
mechanical connector . The pin-out numbering is shown in Table 3-3.
4102 SGSignal ground
5103 TxD<–Transmitted data
6104 RxD–>Received data
7105 RTS
(not in use)
8106 CTS
(const. ON)
MDI signal
M5112-ter-
minal
–>Data set ready
–>Data channel re-
ceived line signal detector
<–Request to send
–>Clear to send
Table 3-3Command line interface pin-out numbering
C33906001SE_00
E Copyright Nokia Networks Oy
3-3
Page 29
M1 122 Administrator Manual
3.3Indicator lights
M1122 has eight indicator lights on the front panel: PWR, STA, COL,
ETH-1, ETH-2, ETH-3, ETH-4, and DSL. ST A indicator is red. Other
indicators are green.
Figure 3-5M1122 front panel indicators
DSL
GREEN
OffADSL link is down.
BlinksADSL connection is being established.
OnADSL link is up.
ETH-
GREEN
OffEthernet is down.
On10Base-T Ethernet is functional
BlinksReceives traffic from Ethernet.
COL
GREEN
BlinksCollisions on the Ethernet. Note, that it is normal that some
collisions occur on the Ethernet.
3-4
E Copyright Nokia Networks Oy
C33906001SE_00
Page 30
STA
RED
OffOK
OnHardware malfunction during startup.
PWR
GREEN
OffPower off.
OnPower on.
C33906001SE_00
E Copyright Nokia Networks Oy
3-5
Page 31
M1 122 Administrator Manual
3-6
E Copyright Nokia Networks Oy
C33906001SE_00
Page 32
Chapter 4
Installing Nokia M1122
This chapter presents a step-by-step installation procedure of M1122.
Before starting the installation check that M1122 is physically
undamaged. The package contains the following items:
Typically, M1122 has a customer-specific configuration. The default
configuration of a general version is shown in Table 4-1.
C33906001SE_00
E Copyright Nokia Networks Oy
4-1
Page 33
M1 122 Administrator Manual
Config mode levelParameterSetting
systemhostnameM1122
ethIP address192.168.1.1
vcc1pvc0 (vpi) 100 (vci)
IP address0.0.0.0 0.0.0.0,
IP NAPTon
ppp authenticationboth-chap-pap
255.255.255.0
ppp-vc (encaps)
means that M1122
gets its IP address
dynamically from the
network.
ppp usernamenone
ppp passwordnone
commonip route0.0.0.0 0.0.0.0 0.0.0.0
vcc1
DHCP modeserver
Table 4-1M1122 default settings
4-2
E Copyright Nokia Networks Oy
C33906001SE_00
Page 34
4.2Step-by-step installation procedure
splitter
Figure 4-1M1122 with cables and splitter (T66270) connected
(Telephone and ADSL services)
1.Plug the mains power cord to a mains outlet.
2.Switch on M1122. The PWR indicator lights up. After a while, the
red STA indicator blinks and then remains unlit. M1122 is now
functional.
3.Connect the Ethernet cable between your PC’s 10Base-T
connector and the Ethernet connector on the M1122 back panel
(ETH-1, ETH-2, ETH-3, or ETH-4).
4.Switch on your PC. The indicator corresponding the Ethernet port
you connected your PC to becomes green when your PC has
started. This indicator blinks when there is traffic in the
corresponding Ethernet port.
5.Connect the ADSL line cable between the DSL connector on the
M1122 back panel and ADSL line wall socket. If you want to use
ADSL and telephone services simultaneously , connect the splitter
according to Figure 4-1. After a while, the DSL indicator starts
blinking. This indicates that the ADSL line is being established.
When the DSL indicator remains lit, the line is functional.
6.During normal operation PWR and DSL indicators are lit and the
Ethernet indicators of the active Ethernet ports blink or are lit
depending whether there is traffic or not. COL indicator may blink
occasionally during normal operation.
C33906001SE_00
E Copyright Nokia Networks Oy
4-3
Page 35
M1 122 Administrator Manual
Now, your M1122 has been connected and you can check the
connections according to your service provider’s instructions.
4-4
E Copyright Nokia Networks Oy
C33906001SE_00
Page 36
Chapter 5
Managing M1122
This chapter shows some operational examples of M1122. The
examples can be used as a guide when you are planning your
configuration. After the operational examples, we introduce the
management methods of M1122. First we show how to use the web
browser management and then the command line interface (CLI) will
be presented. The command line interface section contains all CLI
commands.
5.1Operational examples
This section presents some typical operational examples and the
corresponding configurations. Figure 5-1 shows a general block
diagram of the IP forwarding and bridging functions of M1 122.
C33906001SE_00
E Copyright Nokia Networks Oy
5-1
Page 37
M1 122 Administrator Manual
IP-HOST or IP-FORWARD-STACK
LAN
Bridging between interfaces connected to Bridge group. VBRIDGE
interface is the common IP interface for all bridge only interfaces
(Routing or NAPT routing or tunneling)
VBRIDGE
VCC1
VCC2
Bridge group
VCC3
VCC4
VCC5
VCC6
VCC7
VCC8
MNGTVCC
IP
Bridge/
IP
Bridge/
IP
LANVCC1VCC8VCC7VCC6VCC5VCC4VCC3VCC2MNGT
Bridge/
Bridge/IPBridge/
IP
Bridge/IPBridge/IPBridge/IPBridge/
IP
Figure 5-1Block diagram
5.1.1Routing/tunneling IP only
If the application requires only routing of IP packets, an IP address
should be configured for each interface in use. The example below
shows a typical configuration in such a case.
M1122> show conf running
eth
ip address 192.168.1.1 255.255.255.0
vcc1
pvc 0 101 ip-llc
ip address 10.98.16.1 255.255.255.0
M1122>
5.1.2Routing/tunneling IP, bridging other protocols
When the application requires routing IP packets and bridging all other
protocols, then IP address has to be configured and bridging enabled
5-2
E Copyright Nokia Networks Oy
C33906001SE_00
Page 38
for all relevant interfaces. The result is that IP packets will be routed
and all other packets will be bridged. In the configuration example
below , LAN interface routes IP traffic and bridges all other protocols.
ATM VCC1 routes IP traffic and ATM VCC2 interfaces bridges all
traffic.
M1122> show config running
eth
ip address 192.168.1.1 255.255.255.0
bridging
vcc1
pvc 0 101 ip-llc
ip address 10.98.16.1 255.255.255.0
vcc2
pvc 0 102 eth-llc
bridging
M1122>
5.1.3Routing/tunneling IP , bridging all protocols including IP
When IP packets that are received from LAN must be routed/tunneled
to some ATM VCC and bridged to some other ATM VCC, then the
VBRIDGE interface must be used as this common IP interface for all
bridged interfaces. LAN interface is in this case configured as bridge
only.
M1122> show config running
eth
bridging
vcc1
pvc 0 101 ip-llc
ip address 10.98.16.1 255.255.255.0
vcc2
pvc 0 102 tunneled-ppp-vc
vcc3
pvc 0 103 eth-llc
bridging
vbridge
ip address 192.168.1.1 255.255.255.0
M1122>
C33906001SE_00
E Copyright Nokia Networks Oy
5-3
Page 39
M1 122 Administrator Manual
5.1.4Bridging only
When only bridging is required, all ATM VCCs are configured as
bridge. VBRIDGE IP address can be used as an optional management
interface.
M1122> show config running
eth
bridging
vcc1
pvc 0 101 eth-llc
bridging
vcc2
pvc 0 102 eth-llc
bridging
vbridge
ip address 192.168.1.1 255.255.255.0
M1122>
5.2Typical configuration tasks
This section provides some typical configuration tasks. These
configuration examples can be done through the command line
interface.
Note
After you have made changes to the configuration, you must save the
configuration if you want it to be active also after restarting M1122.
5.2.1Configuring DHCP and DNS
The DHCP server can be enabled towards LAN and VBRIDGE ports.
When the DHCP server is enabled, up to two address ranges (scopes)
will be automatically generated and bound to LAN/VBRIDGE
interfaces, in this order if the interface has an IP address. T wo address
ranges can be used if more than 253 addresses are required on the local
subnet, if two non-contiguous ranges are needed or if an additional
router with DHCP relay is used on the local network.
5-4
The address range defines pool of IP addresses and parameters like
default gateway, DNS addresses and domain name. The generated
default address range allows up to 253 IP addresses (C class).
E Copyright Nokia Networks Oy
C33906001SE_00
Page 40
Automatically generated address ranges use LAN/VBRIDGE IP
address as gateway and DNS server addresses. If one address range is
defined, then automatic binding will be disabled. If optional address
range parameters like gateway or DNS addresses are not defined,
LAN/VBRIDGE IP addresses are used as in automatic binding.
T ypically , when DHCP is used, the advertised DSN addresses point to
LAN/VBRIDGE interfaces. In such cases, the DNS proxy forwards
the DNS request to statically configured DNS servers or to DNS
servers learned dynamically vie PPP/IPCP.
The following commands are used to configure DHCP and DNS
settings:
M1122(conf-common)#dhcp?
usage: dhcp mode
dhcp address
dhcp gateway
dhcp dns
dhcp lease-time
dhcp domain-name
M1122(conf-common)#dhcp mode server ; this enables
DHCP server
Normally, there is no need to configure the DNS addresses. If the
service provider does not support automatic DNS address allocation,
the DNS servers can be configured as shown by the following
example:
M1122(conf-common)# dns address primary 1.2.3.4
M1122(conf-common)# dns address secondary 1.2.3.5
M1122(conf-common)#
5.2.2Configuring static and dynamic routing
Routing entries in the routing table are needed in order to forward the
IP packets to the correct interface. M1 122 has both static and dynamic
routes. Static routes are configured manually and dynamic routes are
learned automatically using RIP v1 and RIP v2 protocols. The
following examples show how to configure static routes to M1122.
Default gateway for an interface that learns the next hop automatically:
M1122(conf-common)# ip route 0.0.0.0 0.0.0.0 0.0.0.0
vcc1
C33906001SE_00
E Copyright Nokia Networks Oy
5-5
Page 41
M1 122 Administrator Manual
Default gateway for an interface that requires static next hop:
M1122(conf-common)# ip route 0.0.0.0 0.0.0.0 1.2.3.1
vcc1
Static route for an interface that learns the next hop automatically:
M1122(conf-common)# ip route 131.132.133.0
255.255.255.0 0.0.0.0 vcc1
Static route for an interface that requires a static next hop:
M1122(conf-common)# ip route 131.132.133.0
255.255.255.0 1.3.5.1 vcc1
M1122 can have only one default gateway. The interfaces that can
learn gateway/peer address dynamically can use value 0.0.0.0 instead
of the next hop address.
5.2.3File system and downloading new firmware using TFTP
M1122 has a flash file system. Some files in the file system have
special meanings. These files are:
Dimage.exe; primary application file.
Dimage.bak; secondary application file used if image.exe has been
corrupted or is missing. It is then renamed as image.exe
automatically.
Dstartup.cfg; primary configuration file used during startup.
Ddhcp.leases; contains DHCP lease table information.
M1122 has the following commands that can be used for file handling:
Dcopy
Drename
Ddelete
Ddir
If you use image.exe as a destination filename with the copy command
and the image.exe already exists, the existing image.exe will be
automatically renamed as image.bak. This guarantees that the
application file exists if M1122 loses power during SW download.
5-6
You can update the operating software of M1122 by downloading the
new software from a TFTP server. To download and activate new
M1122 operating software:
E Copyright Nokia Networks Oy
C33906001SE_00
Page 42
1.Use CLI to issue
install tftp:/<ip-address>/Gx1x2200.R00 command,
where <ip-address is the IP address of the TFTP server
containing the new software and
file to be downloaded. The command copy
tftp:/<ip-address>/Gx1x2200.R00 image.exe can be used
alternatively.
2.After you will see transfer statusSUCCESSFUL
message, restart M1122 to activate the new software.
Downloading configuration or application from monitor
Monitor is a small application that is executed before the actual
software image is started. Typically the Monitor automatically loads
the application file image.exe. You can activate the Monitor by
pressing “m” followed by “o” in the very beginning of the system
startup:
Gx1x2200.R00 is the name of the
local MAC=00:40:43:02:36:72; Using M111/850 eth conf
Type ’m’ (fast) followed by ’o’ (in 10 sec) to
activate Monitor
Nokia Networks (C) 1999
Nokia Boot
B-R0.0.0. built on Apr 4 2000 11:27:55
MON>
The following commands are available for file handling in the
Monitor:
Drename
Ddelete
Ddir
M1122 has two methods of retrieving files:
DTFTP
DXMODEM
You can retrieve files from a TFTP server using the commands in the
following example:
M1122 can be managed with a web browser or command line interface
(CLI). The web configuration pages of M1122 can be accessed
through the Ethernet ports or through the ADSL/ATM channels of
M1122. In order to access the web management feature, the IP
functionality must be activated and an IP address must be given to the
corresponding interface.
You can use your PC’s web browser software to access the web
configuration pages in M1122. To access the web pages you must
know the IP address of your M1122 or, alternatively, the “name” that
your M1122 recognises.
5-8
E Copyright Nokia Networks Oy
C33906001SE_00
Page 44
Note
Before using your web browser for configuration, you must know the
IP address or the name assigned to your M1122.
There are three ways to find out whether to use a name or an IP
address:
DYour service provider has given you an IP address for M1122.
DY our M1122 uses Dynamic Host Configuration Protocol (DHCP)
and Domain Name Server. In this case the name is M1122.
DY our M1122 uses DHCP. In this case run winipcfg.exe (Windows
95) or ipconfig.exe (Windows NT). The IP address of M1122 is the
Default Gateway address shown by the ipconfig program.
5.3.1Opening a connection
To open a connection to the Nokia M1122:
1.Start your web browser.
2.Enter the name (’M1122’) or IP address of your Nokia M1122 in
the browser’s Open Location field and press Enter . If you use the
IP address, it has to be assigned to a local port or gateway interface
(VBRIDGE).
3.Type in the username/password as requested. If no
username/password is required, just click OK to proceed. The
Nokia M1122 Main Page appears.
C33906001SE_00
E Copyright Nokia Networks Oy
5-9
Page 45
M1 122 Administrator Manual
5.3.2Main Page
Main Page is shown first when you use a web browser to connect to
M1122. The currently shown page is shown highlighted on the list on
the left. Clicking an item on the list (Service Providers, Local Network,
Statistics, Restart, and Save Config) takes you to the corresponding
page.
Note
When you make modifications to the configuration, remember to save
the configuration and restart your M1122 for your changes to take
effect.
5-10
Figure 5-2Main Page
The Main Page shows you the statuses of the DSL line and Ethernet
interfaces. Software and hardware versions and the serial number of
M1122 are shown in the bottom of the page.
E Copyright Nokia Networks Oy
C33906001SE_00
Page 46
5.3.3Service Providers pages
The Service Providers page can be used to set authentication for A TM
VCCs with PPP encapsulation (Figure 5-3). You can set the
Authentication method and the corresponding Username and
Password. You can also view Network connection information in the
bottom of the page. If you are using PPTP encapsulation, you can
change the name of the connection through the Service Providers page
(Figure 5-4). The name can be used in your PPTP client for tunnel
configuration, see section 2.2.7 Point-to-Point T unneling Protocol.
Figure 5-3Service Provider page with PPP configuration
C33906001SE_00
E Copyright Nokia Networks Oy
5-11
Page 47
M1 122 Administrator Manual
Figure 5-4Service Providers page with PPTP configuration
5-12
E Copyright Nokia Networks Oy
C33906001SE_00
Page 48
5.3.4Local Network pages
The Local Network page as four sub pages: Local ports, DHCP, NAPT,
and Routing.
Local ports
On the Local Network Local Ports sub page you can assign an IP
address to Ethernet port.
Note
When you click Apply, the IP addresses are changed immediately. If
the IP address of the interface you are using changes the connection
will be lost. You have to reconfigure the IP address of the accessing
host. For example, in Windows programs winipcfg.exe or
ipconfig.exe must be used first to release the old address and then to
renew to request new address.
Figure 5-5Local Network Local Ports page
DHCP
On the Local Network DHCP subpage you can enable/disable
Dynamic Host Control Protocol and set the Address ranges from
which the addresses are distributed to the DHCP clients on your
network. You can also set the Domain Name Server addresses here.
C33906001SE_00
E Copyright Nokia Networks Oy
5-13
Page 49
M1 122 Administrator Manual
Start address is the first address in the address range. The Range size
defines how many addresses the range contains. Subnet mask is the
subnet mask of the addresses in the range. Primary and SecondaryDNSs set the domain name servers for the corresponding address
range. Lease time defines how often the DHCP client must renew its
lease. Domain name defines the domain name for the range.
The DHCP server can be enabled towards LAN and VBRIDGE
(gateway interface) ports. When the DHCP server is enabled, up to two
scopes (address ranges) are automatically generated and bound to
LAN/VBRIDGE interfaces, in this order if the interface has an IP
address. In Figure 5-6, scope (a) has been bound to Ethernet interface
and scope (b) to VBRIDGE interface. When the address ranges are not
defined, M1122 uses the default values for all DHCP parameters. The
default values are:
DStart address is the interface IP address
DSubnet mask 255.255.255.0
DRange size of up to 253 addresses starting from the interface IP
address.
DDNS address is the interface IP address
DLease time is 60 minutes
DDomain name is null string
If at least one address range has been defined, then IP address, DNS,
domain name and lease time, if defined, override the default values.
5-14
E Copyright Nokia Networks Oy
C33906001SE_00
Page 50
Figure 5-6Local Network DHCP page
C33906001SE_00
E Copyright Nokia Networks Oy
5-15
Page 51
M1 122 Administrator Manual
NAPT
If Network Address Port Translation (NAPT) has been activated,
servers on your local network are not visible outside your network. On
NAPT page, you can configure pinholes through which you can
provide outside access to your web server from the Internet, for
example.
In the example shown in Figure 5-7, a pinhole has been added on the
Server list. This example means that all TCP traffic coming from the
Internet through VCC1 to ports 80...89 will be mapped to the IP
address 192.168.1.15 ports 90...99 on your local network.
5-16
Figure 5-7Local Network NAPT page
E Copyright Nokia Networks Oy
C33906001SE_00
Page 52
Routing page
On the Local Network Routing sub page you can set static routes and
enable/disable dynamic routing protocols (Routing Information
Protocol version 1 and 2).
T o enable dynamic routing to a particular interface select the Routing
protocol version from the pull-down list and click the Apply button.
RIP versions 1 and 2 are supported. Send v1-compat. v2 option enables
the sending of RIPv2 packets using broadcast. Receive v1-compat. v2
option enables the receiving of both RIPv1 and RIPv2 packets.
To add a static route, type in the Destination network IP address, the
Subnet mask of the destination network, and the Gateway and the
Interface through which the destination network can be reached. Thenclick the Add new button. There are two static routes in Figure 5-8.
Figure 5-8Local Network Routing page
C33906001SE_00
E Copyright Nokia Networks Oy
5-17
Page 53
M1 122 Administrator Manual
5.3.5Statistics page
The Statistics page lets you view a selection of M1122 statistics. to
view statistics of a particular function, click the corresponding button
and the statistics view is opened on a separate window.
Figure 5-9Statistics page
5-18
E Copyright Nokia Networks Oy
C33906001SE_00
Page 54
5.3.6Restart page
On the Restart page, you can reset subsystems and restart M1122.
Figure 5-10Restart page
C33906001SE_00
E Copyright Nokia Networks Oy
5-19
Page 55
M1 122 Administrator Manual
5.3.7Save Config page
When you change the configuration, all configuration changes are
activated immediately without restart/reload. However, the
configuration will not be saved into the nonvolatile memory . If M1122
is restarted or powered down without saving the configuration, the old
configuration will be restored. Clicking the Save configuration button
saves the configuration into the nonvolatile memory and the old
configuration cannot be restored through the web interface.
Figure 5-11Save Config page
5.4Command line interface (CLI)
M1122 can be managed locally through a command line interface
(CLI). The local command line interface is accessed through the local
management console on the back panel. The local management
console interface is an asynchronous V.24/V.28 character-based
interface with the following configuration:
5-20
E Copyright Nokia Networks Oy
C33906001SE_00
Page 56
SettingValue
Speed9600
ParityNone
Data bits8
Stop bits1
DuplexFull
Flow controlNone
Table 5-1Local management console configuration
Use the 10Base-T Ethernet cable with the serial adapter to connect you
PC’s serial port to the local management console interface according to
Figure 5-12.
10Base-T
Ethernet cable
serial adapter
Figure 5-12Local management cabling
The command line interface can also be accessed through the Ethernet
port of M1122 or through the ATM channels of M1122 on top of the
telnet protocol. In order to use the CLI through telnet or the ATM
channel, the IP function must be switched on and IP address must be
given to the corresponding interface.
M1122 can also be managed remotely through a separate ATM virtual
channel. This channel is only used for management purposes. In order
to use this management channel, it has to be activated first and given an
IP address configuration. The management traffic to this interface is
not routed to any other interfaces of M1122.
C33906001SE_00
E Copyright Nokia Networks Oy
5-21
Page 57
M1 122 Administrator Manual
The command line interface has been divided into two modes: main
and configuration. The main mode lets you monitor the status and
performance of M1122. The configuration mode lets you change
M1122 configuration. The CLI is case sensitive. All commands must
be given in lower case characters. Only file names and strings can
contain upper case characters.
In the configuration mode, functions can be activated by typing the
corresponding command, for example
deactivated by simply typing no bridging. In commands which
require typing in parameter values, the default value can be restored by
typing
“default”. If you type in a value which is incorrect (for example, letters
instead of numbers), the CLI prompts you to enter the value correctly
and displays help. Y ou can always get help on the command or display
by typing
de ppp mru, for example. de in front of the command means
help or ? at the command prompt.
bridging. The function can be
You can recall your previous commands by pressing the “up-arrow”
key on your keyboard.
The configuration mode has been divided into levels. Y ou can navigate
through the configuration mode by typing the name of the level. By
typing exit you will return to the main mode. top command returns
you to the root level of the configuration mode (M1122(conf)#).
The configuration mode levels are:
Dsystem
Dpassword
Deth
Dvcc1, vcc2, vcc3, vcc4, vcc5, vcc6, vcc7, and vcc8
Dvbridge
Dmngtvcc
Dcommon.
The example below shows how to access the different levels:
DescriptionDisplays M1122 hardware and software information.
Syntaxshow status [session | performance]
ArgumentsOptional arguments session and performance.
session shows information of the active configuration
sessions. If login-id is used, it is shown on the screen.
performance shows error counters.
Example
M1122> show status
product-idT66280.01
serial-num61000206829
cpu-typeXPC850SR / B
flash-type2 M
sdram-type8 M
phys-address-lan00:40:43:02:36:80
phys-address-wan00:40:43:02:36:81
short-descM1122
long-descNOKIA M1122
DescriptionDisplays currently active configuration. If you have
made changes in the configuration and you want them
to be active after restart, save the current configuration
to startup.cfg file using save config command.
Syntaxshow config running
ArgumentsNone
Example
M1122> show config running
system
hostname M1122
eth
ip address 192.168.172.148
255.255.255.128
vcc1
pvc 0 155 tunneled-ppp-vc
bridging
vcc2
pvc 0 156 ppp-vc
ip address 0.0.0.0 0.0.0.0
ppp authentication chap
ppp username nokia
ppp password mypassword
vbridge
mngtvcc
common
M1122>
C33906001SE_00
E Copyright Nokia Networks Oy
5-35
Page 71
M1 122 Administrator Manual
CommandShow startup configuration
DescriptionDisplays the startup configuration of your M1122. This
is the configuration saved in the startup.cfg file. Startup.cfg file is activated when M1122 is switched on. If
the startup.cfg file is missing, the default configuration
is used.
Syntaxshow config startup
ArgumentsNone
Example
M1122> show config startup
system
hostname M1122
eth
ip address 192.168.172.148
255.255.255.128
vcc1
pvc 0 155 tunneled-ppp-vc
bridging
vbridge
mngtvcc
common
M1122>
CommandShow default configuration
DescriptionDisplays the default configuration of M1122. M1122
uses this configuration if the startup.cfg file is missing.
Syntaxshow config default
ArgumentsNone
Example
M1122> show config default
system
hostname Mxx
eth
bridging
vcc1
pvc 0 100 eth-llc
bridging
vbridge
mngtvcc
common
M1122>
5-36
E Copyright Nokia Networks Oy
C33906001SE_00
Page 72
CommandShow configuration file
DescriptionDisplays the local configuration file
Syntaxshow config file <filename>
Argumentsfilename is the name of the local configuration file.
Example
M1122> show config file startup.cfg
M1122>
CommandShow debug status
DescriptionDisplays the status (ON/OFF) of the debug functions.
Syntaxshow debug
ArgumentsNone.
Example
DescriptionSend an ICMP echo request to an IP address to test
the IP function.
Syntaxping <ip-address>
Argumentsip-address is the IP address of the ping destination
Example
M1122> ping 198.168.172.23
Reply from 198.168.172.23: bytes 32 time <10ms
TTL=128
M1122>
C33906001SE_00
in dotted decimal format.
E Copyright Nokia Networks Oy
5-37
Page 73
M1 122 Administrator Manual
CommandATMping
DescriptionSends five OAM F5 loopback cells to the specified VPI/
VCI destination with a 5 second total timeout interval.
You can use ATMping to test the ATM connection.
Syntaxatmping <vpi> <vci> <range>
Argumentsvpi is the Virtual Path Identifier and vci is the Virtual
Channel Identifier of the ATM channel you want to test.
vpi values are integers (0...255).
vci values are integers (0...65535)
range values are segment and end-to-end depend-
ing whether you want to test the first segment of the
ATM connection or the end-to-end connection.
Example
M1122> atm ping 0 23 segment
reply asserted roundtrip time = 4.20 ms
M1122>
The debug commands are used to solve difficult problem situations.
The debugging can be switched off with the following command.
Other debugging commands are not handled in this manual.
CommandSwitch off debug
DescriptionSwitches all debug operations off. To quit debugging,
write no debug all on the screen regardless of what is
being printed on the screen.
Syntaxno debug all
Argumentsno switches debugging off.
Example
M1122> no debug all
M1122>
5-38
E Copyright Nokia Networks Oy
C33906001SE_00
Page 74
CommandShow contents of file directory
DescriptionDisplays the contents of M1122 file directory.
Syntaxdir
ArgumentsNone
Example
DescriptionRenames a file
Syntaxrename <old-filename> <new-filename>
Argumentsold-filename is the name of the file you want to re-
name.
new-filename is the new filename.
Example
M1122> rename newconfig oldconfig
M1122>
CommandDelete file
DescriptionDeletes a file
Syntaxdelete <del-filename>
Argumentsdel-filename is the name of the file you want to de-
lete.
Example
M1122> delete oldfile
M1122>
CommandDownload new firmware
DescriptionDownloads a new firmware from a TFTP server. Re-
member to restart M1122 after downloading to activate
the new firmware.
Syntaxinstall tftp:/<ip-address>/<../src-filename>
Argumentsip-address is the IP address of the TFTP server.
src-filename is the name of the file which contains
the new software.
Example
M1122> install tftp:/10.98.20.6/appl-A0.4.2
blocks received
transfer status SUCCESSFUL
M1122> restart
...
5-40
E Copyright Nokia Networks Oy
C33906001SE_00
Page 76
CommandExecute a command batch
DescriptionExecutes a custom command batch.
Syntaxscript <batch-filename>
Argumentsbatch-filename is the name of the file in which you
want to execute.
Example
M1122>script swap.bat
M1122>
CommandSave log to file
DescriptionSaves log to a file.
Syntaxsave log file<log-filename>
Argumentslog-filename is the name of the file in which you
want to save the log.
Example
M1122>save log file log.txt
M1122>
CommandSave log to a default file
DescriptionSaves log with a default file name (default.log).
Syntaxsave log default
ArgumentsNone
Example
M1122>save log default
M1122>
C33906001SE_00
E Copyright Nokia Networks Oy
5-41
Page 77
M1 122 Administrator Manual
CommandSave configuration to file
DescriptionSaves the configuration to a file.
Syntaxsave config {file<filename> | startup | user}
Argumentsfilename is the name of the file in which you want to
save the configuration.
startup-config argument saves the configuration
into a startup.cfg file.
user saves the user configuration.
Example
M1122>save config startup-config
M1122>
CommandRestore configuration
DescriptionRestores the default or user configuration. You must
have the admin privileges to issue this command. Re-
start your M1122 after you have issued this command.
Syntaxrestore config {default | user}
Argumentsdefault argument restores the default configuration of
M1122.
user argument restores the user configuration. The
user configuration can be made with admin rights only.
Example
M1122>restore config default
M1122>
CommandClear counters
DescriptionClears the statistics counters.
Syntaxclear {log | eth | atm | bridge | ppp | ip}
Argumentslog argument rewinds the diagnostic log to the begin-
ning of the log file.
eth argument clears the Ethernet statistics counters.
dsl resets the DSL subsystem. The DSL connection
will be re-established.
ppp resets the whole PPP subsystem. The PPP connection will be re-establihed. If you provide a VCC
number (vcc-id), only that connection will be reseted.
arp clears the ARP table.
bridge clears the bridge table.
napt resets the NAPT subsystem.
Example
M1122> reset ppp
M1122>
CommandLogout
DescriptionLogs out from the command line interface.
Syntaxlogout
ArgumentsNone
Example
M1122>logout
CommandFast restart M1122
DescriptionRestarts M1122 software.
Syntaxreload
ArgumentsNone
Example
M1122>reload
in progress...
C33906001SE_00
E Copyright Nokia Networks Oy
5-43
Page 79
M1 122 Administrator Manual
CommandRestart M1122
DescriptionRestarts M1122. This command is equivalent to switch-
ing the power first off and then on.
Syntaxrestart
ArgumentsNone
Example
M1122> restart
in progress...
CommandSwitch to configuration mode
DescriptionSwitches to the configuration mode. The configuration
mode lets you change the configuration of M1122.
Syntaxconfigure
ArgumentsNone
Example
M1122>configure
M1122(conf)#
5.4.2Configuration mode commands
CommandReturn to root level
DescriptionReturns you to the root level from a higher configur-
ation level.
Syntaxtop
ArgumentsNone.
Example
M1122(conf-system)#top
M1122(conf)#
5-44
E Copyright Nokia Networks Oy
C33906001SE_00
Page 80
Root level commands
CommandShow current running configuration
DescriptionDisplays currently running configuration.
Syntaxshow
ArgumentsNone
Example
show command given on different configuration levels displays the
current configuration of that particular configuration level.
Use the following commands to enter different configuration levels:
system
password
eth
vcc1 ... vcc8
vbridge
mngtvcc
common
C33906001SE_00
E Copyright Nokia Networks Oy
5-45
Page 81
M1 122 Administrator Manual
System level commands
CommandAssign hostname
DescriptionAssigns a hostname to M1122.
Syntaxhostname <name-string>
Argumentsname-string is an ASCII string of maximum of 32
characters.
Example
M1122(conf-system)#hostname nokia
nokia(conf-system)#
CommandSet configuration session timeout
DescriptionSets a timeout for a management session.
Syntaxtimeout <value>
Argumentsvalue is a time from 1 to 255 minutes.
Example
M1122(conf-system)#timeout 10
nokia(conf-system)#
5-46
E Copyright Nokia Networks Oy
C33906001SE_00
Page 82
Password level command
CommandAssign new password
DescriptionSwitches password on/off and sets a new password for
different user levels. Note, that you must assign admin
password before you can assign other passwords.
When removing passwords, admin password must be
removed last.
user argument sets the user privilege level password.
User password gives no access to the configuration
mode. Also, firmware download is not allowed on the
user privilege level.
bridge-user sets the bridge-user privilege level
password. Bridge user can set static routes and enable
VBRIDGE IP address.
router-user sets the router-user privilege level password. Router user can change log levels and hostname.
pptp-user sets the PPTP-user privilege level password. PPTP user can change VCCx description, DHCP,
DNS and LAN/VBRIDGE configurations.
napt-user set the NAPT-user privilege level password. NAPT user can change VCCx description, LAN/
VBRIDGE, NAPT servers (pinholes), PPP username/
password/mode/autostop, DHCP, DNS configurations,
and set static routes.
admin sets the administrator privilege level password.
Administrator can change all configuration parameters.
Only the administrator is allowed to use file handling
commands (copy, rename, etc.).
passwd-string is the new password.
Example
M1122> admin nokia
M1122
C33906001SE_00
E Copyright Nokia Networks Oy
5-47
Page 83
M1 122 Administrator Manual
Ethernet level commands
CommandSwitch on/off bridging
DescriptionSwitches on/off bridging.
Syntax[no] bridging
Argumentsno switches bridging off.
Example
M1122(conf-eth)#bridging
M1122(conf-eth)#
CommandSwitch on/off IP function in Ethernet interface
DescriptionSwitches on/off IP function in the Ethernet interface.
Syntax[no] ip address <ip-address> <ip-mask>
Argumentsno switches IP function off.
ip-address is the IP address you want to assign to
the Ethernet interface.
ip-mask is the subnet mask.
Example
M1122(conf-eth)#ip address 192.168.132.11
255.255.255.0
M1122(conf-eth)#
CommandSwitch on/off RIP send function in Ethernet inter-
face
DescriptionSwitches on/off RIP send function. When enabled
M1122 sends Routing Information Protocol messages
to other routers.
Syntax[no] ip rip-send {rip-send-mode}
5-48
Argumentsno switches rip-send function off.
v1 send-mode selects RIP version 1.
v2 send-mode selects RIP version 2.
compatible-v1 send-mode selects the sending of
RIPv2 packets using broadcast.
Example
M1122(conf-eth)#ip rip-send v1
M1122(conf-eth)#
E Copyright Nokia Networks Oy
C33906001SE_00
Page 84
CommandSwitch on/off RIP receive function in Ethernet inter-
face
DescriptionSwitches on/off RIP send function. When enabled
M1122 receives Routing Information Protocol mess-
ages from other routers.
Syntax[no] ip rip-receive {rip-receive-mode}
Argumentsno switches RIP receive function off.
pool-string identifies the server entry.
hidden-address is the address of the local server for
which the pinhole is made.
hidden-pool-base is the start of the local port
range.
public-pool-base is the start of the external port
range.
pool-size is the size of the port range.
protocol-id is the protocol allowed through the pin-
hole. Available protocols are: UDP, TCP, PPTP-GRE,
and ESP-IPSEC
Example:
When hidden-pool-base is 80, public-pool-base is 80 and pool-size is 1, traffic coming to external port (WAN port) 80 will be mapped to internal port
80.
Example
M1122(conf-vccx)#ip server-napt web_server
192.168.1.100 80 80 1 tcp
M1122(conf-vccx)#
CommandDisable/enable management through the ATM chan-
nel
DescriptionEnables/disables the management of M1122 through
the ATM channel.
Syntax[no] ip admin-disabled
Argumentsno enables management through the ATM channel.
Example
CommandSwitch on/off IP function on dedicated manage-
ment channel
DescriptionSwitches on/off IP function.
Syntax[no] ip address <ip-address> <ip-mask>
Argumentsno switches off IP function.
ip-address is the IP address of the Vbridge in dotted
decimal notation. IP address 0.0.0.0 with subnet mask
0.0.0.0 can be used with ppp-vc encapsulation if the
dynamic IP address negotiation is required.
ip-mask is the subnet mask in dotted decimal notation.
Example
M1122(conf-mngtvcc)#ip address nnn.nnn.nnn.nnn
255.255.255.0
M1122(conf-mngtvcc)#
CommandSwitch on/off RIP receive function on dedicated
management channel
DescriptionSwitches on/off RIP receive function.
Syntax[no] ip rip-receive {rip-receive-mode}
Argumentsno switches rip-send function off.
v1 receive-mode selects RIP version 1.
v2 receive-mode selects RIP version 2.
both-v1v2 receive-mode selects both RIP version 1
DescriptionSets the maximum size of the received PPP packets.
Syntax[de] ppp mru <size>
Argumentssize is the size of a PPP packet. Default size is 1500.
Example
service parameter value is server when you want to
use M1122 as a DHCP server.
Example
M1122(conf-common)#dhcp mode server
M1122(conf-common)#
5-60
E Copyright Nokia Networks Oy
C33906001SE_00
Page 96
CommandSet DHCP address range
DescriptionYou can define to DHCP address ranges with this com-
mand. The default pool is the IP address of the interface with a subnet mask 255.255.255.0.
If you don’t define an address range, up to two ranges
will be defined automatically for ETH/VBRIDGE interfaces, in this order, if the interface has an IP address.
scope defines the pool. Values are 1 and 2.
pool-base is the first IP address in the pool in dotted
decimal format.
pool-mask is the subnet mask of the pool addresses.
pool-size is the size of the address pool, 0...254.
Example
M1122(conf-common)#dhcp address 1 168.190.1.1
255.255.255.0 100
M1122(conf-common)#
CommandSet DNS address for DHCP clients
DescriptionDefines a DNS address for the DHCP clients.
Syntax[de | no] dhcp dns <scope> <class> <dns-server>
Argumentsscope defines the DHCP pool (1 or 2).
class defines whether the server is a primary or a
secondary server.
dns-server is the IP address of the DNS server.
Example
M1122(conf-common)#dhcp dns 1 primary 190.168.2.1
M1122(conf-common)#
C33906001SE_00
E Copyright Nokia Networks Oy
5-61
Page 97
M1 122 Administrator Manual
CommandSet DHCP server lease time
DescriptionDefines the time how often the PC has to renew its
DHCP lease.
Syntax[de | no] dhcp lease-time <scope> <time-count>
Argumentsscope defines the DHCP pool (1 or 2).