Efficient CLI
Efficient CLI
Copyright
Efficient Networks provides this publication Òas isÓ without warranty of any kind, either expressed or implied,
including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose.
All rights reserved. No part of this book may be reproduced in any form or by any means without written
permission from Efficient Networks.
Changes are periodically made to the information in this book. They will be incorporated in subsequent editions.
Efficient Networks may make improvements and/or changes in the product described in this publication at any
time.
Trademarks
Efficient NetworksÒ is a registered trademark of Efficient Networks, Inc.
All other trademarks and registered trademarks mentioned in this manual are the sole property of their respective
companies.
2
WhatÕs New in This Release?
This version of the Command Line Interface (CLI) manual has been updated to document features available with
this release of the kernel software. The following list directs you to the CLI documentation for these new features:
Release 5.0:
VRRP Backup Ñ page 107
¥ Allows other routers in the LAN to serve as backups for a static default gateway.
¥ Uses a V.90 modem connected to the console port as an automatic backup when the DSL link fails.
¥ Shortens the time required to find the correct line speed by checking the line quality before activation.
¥ Perfect Forward Secrecy option to increase the security of the IKE key exchange Ñ see page 136.
¥ Option to have network address translation performed before IPSec encryptionÑ see page 340.
Interface Stop, Start and Restart
¥ Commands to stop, start, and restart a logical Ethernet interface Ñ see page 77.
¥ Commands to stop, start, and restart an active session for a remote Ñ see page 32.
¥ Command to change voice profile available if voice gateway is ATM standards-based Ñ see page 21.
¥ Use dhcp addrelay and dhcp delrelay commands to change the BootP server list.
¥ The command syntax has changed for system addSyslogServer and system delSyslogServer.
¥ system addServer Ñ see page 209; remote addServer Ñ see page 259; eth ip addServer Ñ see page 232.
3
IP Filter changes Ñ see eth ip filter, page 237 or remote ipfilter, page 267
¥ New -tcp rst parameter allows a filter to match the TCP RESET flag.
¥ PPP remote can receive IPCP information for dyamically reconfiguring the Ethernet interface.
4
About This Manual
This manual contains information on the syntax and use of the Command Line Interface for the family of DSL
routers. Configuration of network connections, bridging, routing, and security features are essentially the same for
all DSL routers, unless otherwise noted.
This manual is intended for small and home office users, remote office users, and other networking professionals
who are installing and maintaining bridged and routed networks.
It assumes that you have read the Quick Start Guide that came with the router and have installed the router as
described in that guide.
How to Access the Command Line. Describes how to access the router command line from a PC so you can
enter router commands.
Router Concepts. Contains information on topics such as interoperability, routing and bridging operations, PAP/
CHAP security negotiation, bandwidth management, protocol conformance, and the file system.
Planning for Router Configuration. Provides information unique to configuration using the Command Line
Interface including worksheets for collecting required information.
Configuring Router Software. Describes the basic configuration of the router using the Command Line.
Configuring Special Features. Describes how to configure advanced features, such as Bridge Filtering, RIP,
DHCP, NAT, Dial Backup and VRRP.
Configuring Software Options. Describes how to install and configure features available via software option
keys, including Encryption, IP Filtering, L2TP Tunneling, and IKE/IPSec.
Managing the Router. Describes SNMP management capabilities, TFTP client and server, TELNET support
and how to upgrade the system software, boot code, backup and restore configuration files, FLASH memory
recovery procedures, and batch file command execution.
Troubleshooting. Describes diagnostic tools used for identifying and correcting hardware and software problems.
Command Reference. Describes the syntax of each command and the results when the command is entered.
Appendix A provides blank Network Information Sheets. Appendix B describes IPX configuration.
Two indexes are provided at the end of the manual. The Command Index directs you to the desired command
description. The Topic Index directs you to specific feature discussions.
Typographic Conventions
The following typeface conventions are used in this guide:
7
Configuration Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Configuring PPP with IP Routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Configuring PPP with IPX Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Configuring PPP with Bridging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuring RFC 1483 / RFC 1490 with IP Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Configuring RFC 1483 / RFC 1490 with IPX Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Configuring RFC 1483 / RFC 1490 with Bridging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Configuring MAC Encapsulated Routing: RFC 1483MER / RFC 1490MER with IP Routing . 55
Configuring FRF8 with IP Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Configuring Mixed Network Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Configuring a Dual-Ethernet Router for IP Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Verify the Router Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Test IP Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Test Bridging to a Remote Destination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Test IPX Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Sample Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Sample Configuration 1: PPP with IP and IPX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Sample Configuration 2: RFC 1483 with IP and Bridging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Sample Configuration 3: Configuring a Dual-Ethernet Router for IP Routing . . . . . . . . . . . . . . 75
Chapter 4. Configuring Special Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Multiple IP Subnets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Logical Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Stopping and Starting an Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Interface Routing and Filtering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Virtual Routing Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Bridge Filtering and IP Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Configure Bridge Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Enable/Disable Internet Firewall Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
IP (RIP) Protocol Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
DHCP (Dynamic Host Configuration Protocol) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
DHCP Address Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
DHCP Client Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
DHCP Administration and Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Manipulating Subnetworks and Explicit Client Leases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Setting Option Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Managing BootP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Defining Option Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
DHCP Information File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Clearing All DHCP Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Network Address Translation (NAT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
General NAT Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Masquerading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Classic NAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
PPPoE (PPP over Ethernet) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Configuring for PPPoE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Managing PPPoE Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Controlling Remote Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Disabling Remote Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Re-enabling Remote Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Validating Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Restricting Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Changing the SNMP Community Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Disabling WAN Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
8
Dial Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
Configuring Dial Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103
VRRP Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
VRRP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Defining the VRRP Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Defining the VRID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Defining VRRP Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Listing and Deleting the VRRP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .111
Sample VRRP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
Master Router Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
Backup Router Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
Chapter 5. Configuring Software Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
Software Option Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
Listing the Installed Software Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
Adding a New Software Option Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Deleting Software Option Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
PPP DES (RFC 1969) Encryption. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
Diffie-Hellman Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117
IP Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
Filters and Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
Configuring Filters with Network Address Translation Enabled . . . . . . . . . . . . . . . . . . . . . . . .120
Filter Actions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
IP Filter Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
Special Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
L2TP Tunneling Ñ Virtual Dial-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
L2TP Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124
Sample Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .126
IPSec (Internet Protocol Security) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
Transport and Tunnel Encapsulation Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
ESP and AH Security Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
IKE Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
Main Mode and Aggressive Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Additional IKE Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
Security Associations (SAs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
IKE Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
IKE Peer Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
IKE Proposal Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
IKE IPSec Proposal Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
IKE IPSec Policy Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
IKE Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
Main Mode Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
Aggressive Mode Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147
IPSec Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .148
Chapter 6. Managing the Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150
SNMP Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150
Telnet Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Client TFTP Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
TFTP Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
BootP Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
9
BootP Concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
BootP Service by the DHCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Relaying BootP Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Syslog Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Boot Code Maintenance Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Manual Boot Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Identifying Fatal Boot Failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Software Kernel Upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Booting and Upgrading from the LAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Upgrading from the WAN Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Backup and Restore Configuration Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Backup Configuration Files (Recommended Procedure) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Restore Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
FLASH Memory Recovery Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Recovering Kernels for Routers with Configuration Switches . . . . . . . . . . . . . . . . . . . . . . . . . 163
Recovering Kernels for Routers with a Reset Button. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Recovering Passwords and IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Routers with Configuration Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Routers with a Reset Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Batch File Command Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Chapter 7. Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Diagnostic Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Using LEDs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
History Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Ping Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Investigating Hardware Installation Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Investigating Software Configuration Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Problems Connecting to the Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Problems with the Login Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Problems Accessing the Remote Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Problems Accessing the Router via Telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Problems Downloading Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Trouble-Shooting Telephony Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
System Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Time-Stamped Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Debugging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
General Debug Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
ATM Debug Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Web GUI Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
SDSL Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Voice Router Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
ADSL DMT Router Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Frame Relay Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
ATM Tracing Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
IP Filtering Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Before Contacting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Chapter 8. Command Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Command Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
System-Level Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
File System Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Frame Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
10
Router Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206
SYSTEM (Target Router System Configuration Commands) . . . . . . . . . . . . . . . . . . . . . . . . . .207
ETH (Target Router Ethernet LAN Bridging and Routing) . . . . . . . . . . . . . . . . . . . . . . . . . . . .229
Remote Access Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .255
REMOTE Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .256
ADSL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .290
ATM Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .292
DMT Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295
Dual-Ethernet Router (ETH) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
HDSL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .298
IDSL Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .301
SDSL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304
DHCP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
L2TP Ñ Virtual Dial-Up Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .322
FILTER BR (Bridge Filtering) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .331
PPPoE Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .333
IKE (Internet Key Exchange) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .335
IPSec Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351
Appendix A. Network Information Worksheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356
Configuring PPP with IP Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .357
Configuring PPP with IPX Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .358
Configuring PPP with Bridging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .359
Configuring RFC 1483 / RFC 1490 with IP Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .360
Configuring RFC 1483 / RFC 1490 with IPX Routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .361
Configuring RFC 1483 / RFC 1490 with Bridging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .362
Configuring RFC 1483MER / RFC 1490MER with IP Routing . . . . . . . . . . . . . . . . . . . . . . . .363
Configuring FRF8 with IP Routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .364
Configuring a Dual-Ethernet Router for IP Routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .365
Appendix B. Configuring IPX Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .366
IPX Routing Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .366
Configure IPX Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .366
Step 1: Collect Your Network Information for the Target (Local) Router . . . . . . . . . . . . . . . . .367
Step 2: Review your Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .368
Command Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .369
Topic Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .374
11
How to Access the Command Line
This manual describes the Command Line Interface for your router. The Command Line Interface gives you
access to all capabilities of your router.
Many of the router configuration capabilities are also available through an easy-to-use, graphic interface. To learn
how to access the graphic interface, see the Quick Start Guide that came with the router.
To use the Command Line Interface, you must Þrst access the router command line. To do this, you:
5. Enter the login password. (The default is admin. To change the login password, use the system admin
command, page 212). You may then begin entering router commands.
The router supports both local access and remote access. In step 3 above, the terminal session could be:
¥ The terminal window from within the Quick Start or Configuration Manager application (for local access)
Terminal Window
To access the terminal window from within the Quick Start or Configuration Manager application:
The menu selection Commands provides shortcuts to most of the commands described in this manual.
Terminal Session under Windows (HyperTerminal)
To open the HyperTerminal emulator available under the Windows operating system:
1. Click Start on your desktop and then select Programs > Accessories > Communications > Hyperterminal.
2. Double-click Hypertrm.exe.
3. In the Phone Number window, under Connect using, select Choose Direct to Com 1 (or 2).
4. In the Com 1 (or 2) Properties page, enter the following port settings and select OK:
Bits per second: 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow control: Hardware
(To use a baud rate other than
9600, see page 157.)
Baud rate
(Data rate): 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow control: Hardware
(To use a baud rate other
than 9600, see page 157.)
To set up a Telnet session under Windows for remote access to the router:
1. Make sure that your PC and router addresses are in the same subnetwork. For example, the router address
could be 192.168.254.254 and the PC address could be 192.168.254.253.
This chapter provides background information applicable to the router on topics useful to network administrators.
These topics include:
The router can operate as a bridge, a router, or as both (sometimes called a brouter). The following sections
describe routing and bridging and how the two functions operate together.
Routing
Routing is the process that determines where data is sent. A router can route user data from source to destination
over different LAN and WAN links. Routing relies on routing address tables to determine the best path for each
packet to take.
The routes within a routing address table are established in two ways:
¥ The routing tables can be seeded, that is, addresses for remote destinations are placed in the table along with
path details and the associated costs (path latency).
¥ The routing tables can also be built dynamically; i.e., the location of remote stations, hosts, and networks are
updated from broadcast packet information.
Routing helps to increase network capacity by localizing traffic on LAN segments. It also provides security by
isolating traffic on segmented LANs. Routing extends the reach of networks beyond the limits of each LAN
segment.
Internet Protocol Routing Information Protocol (RIP) Maintains a map of the network
(IP)
Internet Packet Routing Information Protocol (RIP)b Maintains a map of the network
Exchange (IPX)
Bridging
Bridging connects two or more LANs so that all devices share the same logical LAN segment and network
number. Transparent bridging allows locally connected devices to send frames to all devices as if they were local.
The MAC layer header contains source and destination addresses used to transfer frames. An address table is
dynamically built and updated with the location of devices when frames are received. (To see the contents of the
bridging table, use the command bi list, page 189.)
Bridging allows frames to be sent to all destinations regardless of the network protocols used. It allows protocols
that cannot be routed (such as NETBIOS) to be forwarded and allows optimizing internetwork capacity by
localizing traffic on LAN segments. A bridge extends the physical reach of networks beyond the limits of each
LAN segment. Bridge filtering can increase network security.
The router bridging support includes the IEEE 802.1D standard for LAN-to-LAN bridging and the Spanning Tree
Protocol for interoperability with other vendorsÕ bridge/routers. Bridging is provided over PPP as well as adjacent
LAN ports.
Bridge-Only Units
A series of bridge-only units is available, both upgradable and non-upgradable. An upgradable bridge can be
upgraded to a router; a non-upgradable bridge cannot.
Upgrading an upgradable bridge to become a router requires the addition of a software option key. The software
option key turns on the IP Routing feature. To read about software option keys, see page 114.
Typical usage When only IP/IPX trafÞc is to be routed and all other trafÞc is to be
ignored. For IP, used for Internet access.
Note: This is the most easily controlled configuration.
Operational IP/IPX routing; allows other protocols, such as NetBEUI (that canÕt be
characteristics routed), to be bridged.
Typical usage When only IP/IPX trafÞc is to be routed but some non-routed protocol is
required. Used for client/server conÞgurations.
Typical usage Peer-to-peer bridging and when the remote end supports only bridging.
¥ The router operates as a router for network protocols that are enabled for routing (IP or IPX).
¥ The router operates as a bridge for protocols that are not supported for routing.
¥ One remote router can be designated as the outbound default bridging destination. All outbound bridging
traffic with an unknown destination is sent to the default bridging destination.
¥ Bridging from specific remote routers can be controlled by enabling or disabling bridging from individual
remote routers.
¥ Routing is performed to all remote routers entered into the remote router database. All routing can be enabled
or disabled with a system-wide control.
Operation of the router is influenced by routing and bridging controls and filters set during router configuration as
well as automatic spoofing and filtering performed by the router. For example, general IP or IPX routing, and
routing or bridging from specific remote routers are controls set during the configuration process.
Spoofing and filtering, which minimize the number of packets that flow across the WAN, are performed
automatically by the router. For example, RIP routing packets and certain NetBEUI packets are spoofed even if
only bridging is enabled.
Bridge Filtering
You can control the flow of packets across the router using bridge filtering. Bridge filtering lets you ÒdenyÓ or
ÒallowÓ packets to cross the network based on position and hexadecimal content within the packet. This feature
lets you restrict or forward messages with a specified address, protocol, or data content. Common uses are to
prevent access to remote networks, control unauthorized access to the local network, and limit unnecessary traffic.
For example, it might be necessary to restrict remote access for specific users on the local network. In this case,
bridging filters are defined using the local MAC address for each user to be restricted. Each bridging filter is
specified as a ÒdenyÓ filter based on the MAC address and position of the address within the packet. Deny
filtering mode is then enabled to initiate bridge filtering. No packet with one of the MAC addresses can be bridged
across the router until the deny filtering mode is disabled.
Similarly, protocol filtering can be used to prevent a specific protocol from being bridged. In this case, the
protocol ID field in a packet is used to deny or allow a packet. You can also restrict, for example, the bridging of
specific broadcast packets.
Telephony Services
A Voice over DSL (VoDSL) router allows the delivery of both telephony (voice) and data services over a single
DSL line. It acts as an Integrated Access Device (IAD), residing on the customer premises and connecting to a
DSL circuit. As such, it serves as a circuit/packet gateway and provides standard telephone service as well as
Internet service via an Ethernet connection. Thus, the user has access to toll-quality telephone lines and
continuous, high-speed Internet and remote LAN services over a single copper loop.
This diagram illustrates how a Voice over DSL router connects both a phone system to the PSTN and a LAN to
the Internet over the same DSL line.
The phone number for each port is set by your voice service provider.
The phone dial tone is provided by the Class 5 switch via the voice gateway at your regional switching center
(RSC). All voice features of the switch are passed through to the phone set. The router supports the calling
services that you subscribe to from your service provider, such as call forwarding, caller ID, messaging, etc.
The bandwidth required for a voice call depends on whether PCM or ADPCM encoding is used. With PCM, each
voice call takes about 80 Kb of bandwidth (64 Kb plus overhead) when the phone goes off hook. With ADPCM,
only about 40 Kb is used (32 Kb plus overhead).
Configuration for voice and data routing can be performed using the Web-based Easy Setup configuration
program. For ATM standards-based gateways, the voice profile must match the configuration of the voice
gateway (see Changing Your Voice Profile, page 21).
You can use the Port Monitor GUI program to see the voice PVC and the last event message. To see LMI
statistics for a frame relay router, use the frame stats command (page 204). To see AAL2 statistics for the voice
gateway, use the voice l2stats command (Jetstream gateway only). For other commands to monitor telephony
services, see Trouble-Shooting Telephony Services (page 174).
You can display and change your active voice profile. To display the current voice profile, enter this command:
voice profile
To change your active voice profile, specify the profile number on the voice profile command.
Silence Payload
profile ADPCM32? Suppression? Size?
7 Yes Yes 44 bytes
8 No Yes 44 bytes
9 No No 44 bytes
10 Yes No 44 bytes
11 Yes No 40 bytes
12 Yes Yes 40 bytes
# voice profile 7
The active profile has been changed
Profile 7 active, pcm or adpcm32, silence, 44 byte packets
The router supports PAP (Password Authentication Protocol) and CHAP (Challenge Handshake Authentication
Protocol) under PPP.
Security authentication may not be required due to the nature of the connection in a DSL environment (traffic
occurs on a dedicated line/virtual circuit. However, authentication may be specifically required by the remote end,
the ISP, or the NSP. When authentication is not required, security can be disabled with the command remote
disauthen (page 266).
PAP provides verification of passwords between routers using a two-way handshake. One router (peer) sends the
system name and password to the other router. Then the other router (known as the authenticator) checks the
peerÕs password against the configured remote routerÕs password and returns acknowledgment.
PAP Authentication
1
.....Accepted/Rejected.......
CHAP is more secure than PAP because unencrypted passwords are not sent across the network. CHAP uses a
three-way handshake. One router (known as the authenticator) challenges the other router (known as the peer) by
generating a random number and sending it along with the system name. The peer then applies a one-way hash
algorithm to the random number and returns this encrypted information along with the system name.
The authenticator then runs the same algorithm and compares the result with the expected value. This authentica-
tion method depends upon a password or secret known only to both ends.
CHAP Authentication
1
Challenge
New York New York & encrypted number Chicago
During link negotiation (LCP), each side of the link negotiates which protocol to use for authentication during the
connection. If both the system and the remote router have PAP authentication, then they negotiate PAP
authentication.
Otherwise, the router always requests CHAP authentication first; if CHAP is refused, PAP will be negotiated. If
the remote end does not accept either PAP or CHAP, the link is dropped; i.e., the router will not communicate
without a minimum security level. On the other hand, the router will accept any authentication scheme required by
the remote node, including no authentication at all.
During the authentication phase, each side of the link can request authentication using the method they negotiated
during LCP.
For CHAP, the router issues a CHAP challenge request to the remote side. The challenge includes the system
name and random number. The remote end, using a hash algorithm associated with CHAP, transforms the name
and number into a response value. When the remote end returns the challenge response, the router can validate the
response challenge value using the entry in the remote router database. If the response is invalid, the call is
disconnected. If the other end negotiated CHAP, the remote end can, similarly, request authentication from the
local router. The router uses its system name and password to respond to CHAP challenge.
For PAP, when a PAP login request is received from the remote end, the router checks the remote router PAP
security using the remote router database. If the remote router is not in the remote router database or the remote
router password is invalid, the call is disconnected. If the remote router and password are valid, the local router
acknowledges the PAP login request.
If PAP was negotiated by the remote end for the remote-side authentication, the router will issue PAP login
requests only if it knows the identity of the remote end. The identity is known if the call was initiated from the
router, or if the remote end returned a successful CHAP challenge response. For security reasons, the router will
never identify itself using PAP without first knowing the identity of the remote router.
If PAP was negotiated by the remote end for the local side of the authentication process and the minimum security
level is CHAP, as configured in the remote router database, the link will be dropped for a security violation.
When configuring the router, you may set the following passwords:
¥ System authentication password Ñ the default system password used to access any remote router. Remote
sites use this password to authenticate the local site.
¥ System override password Ñ optional password used only to connect to a specific remote router for
authentication by that remote site.
¥ Remote authentication password Ñ password used by the router to authenticate the remote site. Each remote
router entered in the remote router database has a password used when the remote site attempts to gain access
to the local router.
To specify a unique system override password for a remote router, use the command remote SetOurPasswd
(page 282). This password is used instead of the general system password only for connecting to a specific remote
A common use is for the system override password is to set a password assigned to you by Internet Service
Providers (ISPs). Similarly, the system name of the local router can be overridden for connecting to a specific
remote with the command remote setOurSysName (page 283).
¥ Remote authentication protocol Ñ Each remote router entered in the remote router database has a minimum
security level that must be negotiated before the remote router gains access to the local router.
¥ System authentication protocol Ñ A system-wide control is available for overriding the minimum security
level in the entire remote router database.
The router uses industry-wide standards to ensure compatibility with routers and equipment from other vendors.
To interoperate, the router supports standard protocols on the physical level, data link level for frame type or
encapsulation method, and network level. For two systems to communicate directly, they must use the same
protocol at each level. Most protocols do not support negotiable options, except for PPP.
The physical protocol level includes hardware and electrical signaling characteristics. This support is provided by
the router Ethernet and modem hardware interfaces.
The router supports both ATM (Asynchronous Transfer Mode) and Frame Relay transmission. ATM transports
fixed-length cells; Frame Relay transports variable-length packets.
The data-link protocol level defines the transmission of data packets between two systems over the LAN or WAN
physical link. The frame type or encapsulation method defines a way to run multiple network-level protocols over
a single LAN or WAN link. The router supports the following WAN encapsulations:
Protocol Conformance
The router conforms to RFCs designed to address performance, authentication, and multi-protocol encapsulation.
The following RFCs are supported:
IP Routing
IP routing support, in conformance with RFC 791, provides the ability to process TCP/IP frames at the network
layer for routing. IP routing support includes the Routing Interface Protocol (RIP), in conformance with RFC
1058 (RIP v.1) and RFC 1723 (RIP v.2).
IPX Routing
IPX routing conforms to the Novell¨ NetWareª IPX Router Development Guide, Version 1.10.
Encapsulation Options
This section describes the format of each packet associated with a particular encapsulation option supported by the
router.
The encapsulation type for each remote entry is defined using the remote setProtocol command (page 284).
PPP
Each packet begins with a one- or two-byte protocol ID. Typical IDs are:
0xc021 LCP
0x8021 IPCP
The command for this encapsulation option is: remote setProtocol PPP <remoteName>
See page 284.
Note: With PPP over ATM, the address and control fields (i.e., FF03) are never present; this also is the case for
LCP packets.
PPPLLC
This protocol (LLC-multiplexed) allows PPP traffic to be carried simultaneously with other traffic on a single
virtual circuit (as opposed to the PPP method of encapsulationÑVC multiplexingÑwhich dedicates a virtual
circuit to PPP traffic only).
Each PPP packet is prepended with the sequence 0xFEFE03CF. Thus, an LLC packet has the format:
0xFEFE03CF 0xC021.
The command for this encapsulation option is: remote setProtocol PPPLLC <remoteName>
See page 284.
Bridging
User data packets are prepended by the sequence 0xAAAA0300 0x80c20007 0x0000 followed by the
Ethernet frame containing the packet.
802.1D Spanning Tree packets are prepended with the header 0xAAAA0300 0x80C2000E.
Routing
If IP routing is enabled, then IP packets are prepended with the sequence 0xAAAA0300 0x80c20007 0x0000 and
sent as bridged frames. If IP routing is not enabled, then the packets appear as bridged frames.
FRF8
IP packets have prepended to them the following sequence: 0x03CC.
The command for this encapsulation option is: remote setprotocol FRF8 <remoteName>
rawIP
IP packets do not have any protocol headers prepended to them; they appear as IP packets on the wire. Only IP
packets can be transported since there is no possible method to distinguish other types of packets (bridged frames
or IPX).
The command for this encapsulation option is: remote setProtocol rawIP <remoteName>
The system software and configuration information for the router are contained in files in its DOS-compatible file
system. It is wise to keep a backup copy of these files. For more information on the backup and restoration of
configuration files, see page 162.
Any file contained within the system may be retrieved or replaced using the TFTP protocol. Specifically,
configuration files and the operating system upgrades can be updated. Only one copy of the router software is
allowed in the routerÕs FLASH memory. For more information on these topics, see Managing the Router, page
150.
Note: Users should not delete any of these files, unless advised to do so by Technical Support.
ASIC.AIC FPGA (Field Programmable Gate Array) file that provides the logic that customizes the
router hardware.
The following files are for automatic execution of command scripts. For more information, see page 166.
The keys for software options that have been purchased are kept in the file KEYFILE.DAT. Do not copy the key
file from one router to another router, even if the two routers are the same model with the same kernel. The
This chapter describes the basic information you need before you can begin configuring your router. The basic
configuration tasks can be performed using the Command Line Interface described in this manual or the graphic
interface described in the Quick Start Guide that came with your router. This basic information you need is the
same in either case.
¥ Setting names, passwords, PVC numbers, and link and network parameters
¥ Configuring specific protocol requirements, such as IP or IPX addresses and IP protocol controls
Remote Routers
This manual frequently refers to the target router and remote routers, which are defined as follows.
Target router. Router that you are configuring. Also referred to as local router.
Remote routers. All the routers to which the target (local) router may connect.
Remote router database. Database which resides in the target router and contains information about the
remote routers to which the target router may connect.
Router A Router B
Remote router database
Router B DSL
Router C
Network
Router C
Router D Router D
As shown in the illustration, the remote router database in the target router contains an entry for each remote
router. A remote router entry defines:
¥ Connection parameters
¥ Security features
¥ Route addressing and bridging functions
The active session for a remote can be stopped and started independently of the other remotes (see the commands
remote stop, page 288, remote start, page 287, and remote restart, page 274). Certain configuration changes
require a save and restart before the change becomes effective. Thus, using these commands, you can activate
configuration changes for a remote without rebooting the router. Unlike enable/disable, a stop or start does not
remain in effect across reboots.
Protocols to be Used
The information needed to configure the router depends on the link protocol and network protocols that are to be
used. The link protocol and network protocols used are generally determined by your Network Service Provider.
Note: Use the blank Network Information Worksheets in Appendix A to collect your network information.
PPP with:
¥ IP Routing, go to page 34
¥ IPX Routing, go to page 36
¥ Bridging, go to page 38
FRF8 with:
¥ IP Routing, go to page 44
PPP over ATM and PPP over Frame Relay use different connection identifiers:
Note: If the NSP does not support the authentication of the NSP system by the target router, use the
command remote disauthen <remoteName> to disable the authentication process.
Note: A sample configuration containing names and passwords is provided in the section Sample
Configuration 1: PPP with IP and IPX, on page 61 .
ATM uses two connection identifiers that describe the PVC (Permanent Virtual Circuit). These
identifiers are the VPI (Virtual Path Identifier) and the VCI (Virtual Channel Identifier). Your router may
have been preconfigured with VPI/VCI numbers. If not, you need to get these numbers from your
Network Service Provider.
If you are connecting to multiple remote sites, you need the unique VPI and VCI numbers that identify
the remote destinations. You should get these from your Network Service Provider and/or Network
Access Provider.
The DLCI (Data Link Connection Identifier) number applies to Frame Relay routers only. Get your
DLCI from your Network Service Provider or Network Access Provider.
The Domain Name Service (DNS) maps host names to IP addresses. DNS is performed by Domain
Name Servers. The router can get DNS information automatically. Or, you can choose to configure DNS
manually. Consult with your Network Service Provider to determine if you need to enter the following
information:
t IP Routing Addresses
Note: An Ethernet route is usually defined when there are multiple routers on the Ethernet that cannot
exchange routing information. This feature is not normally used, except in special circumstances.
A TCP/IP Default Route should be designated in the routing table for all traffic that cannot be directed
to other specific routes. Define the default route to a remote router or, in special circumstances, define an
Ethernet gateway. There can be only one default route specified.
Note: If the NSP does not support the authentication of the NSP system by the target router, use the
command remote disauthen <remoteName> to disable the authentication process.
Note: A sample configuration containing names and passwords is provided in the section Sample
Configuration 1: PPP with IP and IPX, on page 61
Your router may have been preconfigured with VPI/VCI numbers. If not, you will have to obtain these
numbers from your Network Service Provider and then configure them.
If you are connecting to multiple remote sites, you will need to obtain additional VPI and VCI numbers
from your Network Service Provider and/or Network Access Provider. These numbers identify the
remote destination and must, therefore, be unique for each remote.
The DLCI number applies to Frame-Relay routers only. Your Network Service Provider or your
Network Access Provider will provide you with a Data Link Connection Identifier (DLCI). The DLCI is
an address identifying your connection.
These numbers are defined by the Network Administrator. You will need to obtain the following
information (most likely from your network administrator) for IPX Routing.
Note: IPX routes define a path to a specific destination. They are primarily needed by the routers to
allow the servers and clients to exchange packets. A path to a file server will be based on the Internal
Network Number of the server. A path to a client will be based on the External Network Number
(Ethernet) of the client.
Frame Type
With local servers on your LAN, make sure to select the proper frame type for the IPX network number.
To determine this, consult with your network administrator. When you have only NetWare clients on
your LAN, keep the default (802.2) selected as most clients can support any type. The frame type choices
are:
Note: For step-by-step information on how to configure IPX routing, see Configuring IPX Routing, on
page 366.
This information is obtained from the Network Service Provider. For each remote site, you must have the
site name and its authentication password. They are used by the target router to authenticate the remote
end. The name and password are used in both PAP and CHAP authentication. Please refer to the diagram
under PAP/CHAP Security Authentication, on page 22 to see how this information is used.
Note 1: A sample configuration containing Names and Passwords is provided in the section Sample
Configuration 1: PPP with IP and IPX, on page 61.
Note 2: If the ISP does not support the authentication of the ISP system by the caller, use the command
remote disauthen <remoteName> to disable the authentication.
Your router may have been preconfigured with VPI/VCI numbers. If not, you will have to obtain these
numbers from your Network Service Provider and then configure them.
If you are connecting to multiple remote sites, you will need to obtain additional VPI and VCI numbers
from your Network Service Provider and/or Network Access Provider. These numbers identify the
remote destination and must, therefore, be unique for each remote.
The DLCI number applies to Frame-Relay routers only. Your Network Service Provider or your
Network Access Provider will provide you with a Data Link Connection Identifier (DLCI). The DLCI is
an address identifying your connection.
This information is obtained from the Network Service Provider. Consult with you Network Service
Provider to find out if you need to enter the following information:
Note: If you intend to connect to the Internet only, enter this information using the Internet Quick Start
configurator.
RFC 1483 and RFC 1490 combined with the IP, IPX, or Bridging Network Protocols share the same configuration
characteristics, except for the connection identifiers: VPI/VCI numbers are used for RFC 1483 and a DLCI
number is used for RFC 1490.
Obtain the information as described in the appropriate section. This data will be used later to configure your router
using the Command Line Interface (see Configuration Tables, on page 48).
The VPI and VCI numbers apply to ATM routers only. Your router may have been preconfigured with
VPI/VCI numbers. If not, you will have to obtain these numbers from your Network Service Provider
and then configure them.
If you are connecting to multiple remote sites, you will need to obtain additional VPI and VCI numbers
from your Network Service Provider and/or Network Access Provider. These numbers identify the
remote destination and must, therefore, be unique for each remote.
The DLCI number applies to Frame-Relay routers only. Your Network Service Provider or your
Network Access Provider will provide you with a Data Link Connection Identifier (DLCI). The DLCI is
an address identifying your connection.
This information is obtained from the Network Service Provider. Consult with you Network Service
Provider to find out if you need to enter the following information:
t IP Routing Entries
If NAT is not enabled, you may need to specify a source WAN IP address for the WAN connection to
the remote router. Check with your system administrator for details.
A TCP/IP Default Route default route should be designated in the routing table for all traffic that
cannot be directed to other specific routes. You will need to define the default route to a remote router
or, in special circumstances, define an Ethernet gateway. There can be only one default route specified.
The VPI and VCI numbers apply to ATM routers only. Your router may have been preconfigured with
VPI/VCI numbers. If not, you will have to obtain these numbers from your Network Service Provider
and then configure them.
If you are connecting to multiple remote sites, you will need to obtain additional VPI and VCI numbers
from your Network Service Provider and/or Network Access Provider. These numbers identify the
remote destination and must, therefore, be unique for each remote.
The DLCI number applies to Frame Relay routers only. Your Network Service Provider or your
Network Access Provider will provide you with a Data Link Connection Identifier (DLCI). The DLCI is
an address identifying your connection.
Note: IPX routes define a path to a specific destination. They are primarily needed by the routers to
allow the servers and clients to exchange packets. A path to a file server will be based on the Internal
Network Number of the server. A path to a client will be based on the External Network Number
(Ethernet) of the client.
Note: Only the two routers need to have the WAN Network Number configured.
Frame Type
With local servers on your LAN, make sure to select the proper frame type for the IPX network number.
To determine this, consult with your network administrator. When you have only NetWare clients on
your LAN, keep the default (802.2) selected as most clients can support any type.
The frame type choices are:
802.2Default recommended by Novell
802.3Other most common type
DIXFor DEC, Intel, Xerox; this setting is also referred to as ÒEthernet IIÓ, and it is rapidly
becoming obsolete.
The VPI and VCI numbers apply to ATM routers only. Your router may have been preconfigured with
VPI/VCI numbers. If not, you will have to obtain these numbers from your Network Service Provider
and then configure them.
If you are connecting to multiple remote sites, you will need to obtain additional VPI and VCI numbers
from your Network Service Provider and/or Network Access Provider. These numbers identify the
remote destination and must, therefore, be unique for each remote.
The DLCI number applies to Frame-Relay routers only. Your Network Service Provider or your
Network Access Provider will provide you with a Data Link Connection Identifier (DLCI). The DLCI is
an address identifying your connection.
This information is obtained from the Network Service Provider. Consult with your Network Service
Provider to find out if you need to enter the following information:
RFC 1483MER and RFC 1490MER combined with the IP, IPX, or Bridging Network Protocols share the same
configuration characteristics, except for the connection identifiers: VPI/VCI numbers are used for RFC 1483MER
and a DLCI number is used for RFC 1490.
Obtain the information as described in the appropriate section. This data will be later used to configure your router
using the Command Line Interface (see Configuring MAC Encapsulated Routing: RFC 1483MER / RFC
1490MER with IP Routing, on page 55).
The VPI and VCI numbers apply to ATM routers only. Your router may have been preconfigured with
VPI/VCI numbers. If not, you will have to obtain these numbers from your Network Service Provider
and then configure them.
If you are connecting to multiple remote sites, you will need to obtain additional VPI and VCI numbers
from your Network Service Provider and/or Network Access Provider. These numbers identify the
remote destination and must, therefore, be unique for each remote.
The DLCI number applies to Frame Relay routers only. Your Network Service Provider or your
Network Access Provider will provide you with a DLCI (Data Link Connection Identifier). The DLCI is
an address identifying your connection.
This information is obtained from the Network Service Provider. Consult with your Network Service
Provider to find out if you need to enter the following information:
Note: If you intend to only connect to the Internet, enter this information using the Internet Quick Start
configurator.
t IP Routing Entries
A TCP/IP Default Route should be designated in the routing table for all traffic that cannot be directed
to other specific routes. You will need to define the default route to a remote router or, in DLCI (special
circumstances, define an Ethernet gateway. There can be only one default route specified.
FRF8 is only used in conjunction with the IP Network Protocol. Obtain the information described below. This
data will be used later to configure your router using the Command Line Interface (see Configuration Tables, on
page 48).
Your router may have been preconfigured with VPI/VCI numbers. If not, you will have to obtain these
numbers from your Network Service Provider and then configure them.
If you are connecting to multiple remote sites, you will need to obtain additional VPI and VCI numbers
from your Network Service Provider and/or Network Access Provider. These numbers identify the
remote destination and must, therefore, be unique for each remote.
The following information is obtained from the Network Service Provider. Consult with your NSP to
find out if you need to enter the following information:
Note: If you intend to connect only to the Internet, enter this information using the Internet Quick Start
configurator.
t IP Routing Entries
A TCP/IP Default Route should be designated in the routing table for all traffic that cannot be directed
to other specific routes.
You will need to define the default route to a remote router or, in special circumstances, define an
Ethernet gateway. There can be only one default route specified.
To configure the Dual-Ethernet router, access the router using the Command Line Interface (CLI). The CLI
can be accessed from a Telnet or a console session (using the console cable) connected to the routerÕs default
IP address of 192.169.254.254. You can also configure the router using the Web browser GUI. Refer to the
Dual-Ethernet Router Quick Start Guide.
Bridging is enabled by default when the router boots up. IP and IPX routing are disabled.
DHCP is enabled by default and the routerÕs DHCP server issues IP addresses to any PC request. The DHCP
default IP pool is 192.168.254. 2 through 192.168.254.20.
To connect to the router, use the routerÕs default IP address using a Telnet session, for example, and any
10Base-T port on the router.
This router is configured by default as a bridge and no configuration steps are needed. The user needs only
establish a connection to the remote location (to the Internet Service Provider, for example).
Bridging is enabled by default when the router boots up. IP and IPX routing are disabled.
The eth commands are used to configure the Dual-Ethernet router for IP routing. Refer to the section Dual-
Ethernet Router (ETH) Commands, on page 296, for usage and syntax information.
The last argument of each ETH command determines which interface is being configured (0 for ETH/0, 1 for
ETH/1).
Each interface (ETH/0 and ETH/1) must be set. A minimum of one route must be defined to have a working
configuration. This is generally a default route on the ETH/1 interface where all traffic otherwise specified is
automatically forwarded. This default route is: 0.0.0.0 255.255.255.255 1.
The Gateway address is the IP address supplied by your Internet Service Provider or Network Administrator.
You can customize your router by using the scripting feature, which loads batch files of preset configuration
commands into the router (refer to the Batch File Command Execution, on page 166 section).
A Dual-Ethernet router sample configuration with IP Routing is provided in the Sample Configuration 3:
Configuring a Dual-Ethernet Router for IP Routing, on page 75 section.
This chapter covers configuration tables and verifying the router configuration. It also provides sample
configurations.
Configuration commands are outlined for each Link Protocol/Network Protocol supported by the router.
The information needed to configure the router is contingent on the chosen Link Protocol. It is therefore
important to know which Link Protocol you are using (this is determined by your Network Service Provider)
to be able to refer to the configuration sections that apply to your setup.
A configuration table for the Dual-Ethernet Router (with IP routing enabled) is also provided.
The section on verifying the router configuration describes how to test IP, IPX, or Bridging.
In this chapter, you will find two sample configurations with diagrams, commands, and list outputs.
Note 1: For usage conventions and a complete description of the commands mentioned in this chapter, refer
to Chapter 8. Command Reference on page 187.
Note 2: To configure the router software, the Command Line Interface is available to you at all times after
you have installed the router hardware, connected to the router with a terminal-emulation session (or ASCII
terminal), and powered the unit on. This chapter assumes that you have successfully installed the router
hardware as described in the Quick Start Guide.
If you intend to use the Command Line Interface through Configuration Manager, it is assumed that you have
installed the Configuration Manager software and can access the terminal window (refer to the Quick Start
Guide).
Note 3: Worksheets are provided in Appendix A so that you can enter details about your target router and
remote routers. The worksheets list the commands associated with setting the features.
To configure the target router, you need to fill out one chart for the target router and one remote router chart
for each remote router to be entered into the remote router database.
If you are setting up both ends of the network, you will need a mirror image of the information listed below
for configuring the router on the other end of the link.
Important: If you change any the of the following settings, you must use the commands reboot and save for the
changes to take effect:
Remote Router: TCP/IP route addresses, IPX routes, IPX SAPs and bridging control, and enable, disable, or
add remote routers
The following tables give you step-by-step instructions for standard configurations of the following Network
Protocol/Link Protocol associations, as well as a configuration table for a Dual-Ethernet Router:
¥ RFC 1483/RFC 1490 Link Protocols with IPX Routing Network Protocol
1. Find the configuration table that fits your particular Network Protocol/Link Protocol association. These tables
are designed to provide easy step-by-step instructions.
2. Use the blank Network Configuration Worksheets provided in Appendix A to enter the commands in the
order that they are given in the Commands column of the configuration tables.
3. You may want to refer to the sample configurations at the end of this chapter.
System Settings
System Name Required system name <name>
System Message Optional system msg <message>
Authentication Password Required system passwd <password>
Ethernet IP Address As required eth ip addr <ipaddr> <ipnetmask> [<port#>]
DHCP Settings Already enabled; additional dhcp set valueoption domainname
settings may be required <domainname>
dhcp set valueoption domainnameserver <ipaddr>
Change Login Optional system admin <password>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
Link Protocol/PVCa Select: PPP remote setProtocol PPP <remoteName>
(for ATM routers) Enter: VPI/VCI numbers remote setPVC <vpi number>*<vci number>
<remoteName>
Link Protocol/DLCIb Select: PPP remote setProtocol PPP <remoteName>
(for Frame Relay routers) Enter: DLCI number remote setDLCI <number> <remoteName>
System Settings
System Name Required system name <name>
System Message Optional system msg <message>
Authentication Password Required system passwd <password>
Ethernet IP Address As required eth ip addr <ipaddr> <ipnetmask>[<port#>]
Settings DHCP Already enabled; addit. dhcp set valueoption domainname <domainname>
settings may be required dhcp set valueoption domainnameserver < ipaddr >
Change Login Optional system admin <password>
Ethernet IPX Network # Enter: IPX network # eth ipx addr <ipxnet> [<port#>]
Frame Type (default: 802.2) eth ipx frame <type>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
Link Protocol/PVCa Select: PPP remote setProtocol PPP <remoteName>
(for ATM routers) Enter: VPI/VCI numbers remote setPVC <vpi number>*<vci number>
<remoteName>
Link Protocol/DLCIb Select: PPP remote setProtocol PPP <remoteName>
(for Frame Relay routers) Enter: DLCI number remote setDLCI <number> <remoteName>
Securityc Choose security level remote setAuthen <protocol> <remoteName>
RemoteÕs Password Enter: password remote setPasswd <password> <remoteName>
Bridging On/Off Must be off remote disBridge <remoteName>
IPX Routes Enter appropriate info remote addIpxroute <ipxNet> <metric> <ticks>
Add <remoteName>
IPX SAPs Enter appropriate info remote addIpxsap <servicename> <ipxNet>
Add <ipxNode> <socket> <type> <hops> <remoteName>
WAN Network # Enter appropriate info remote setIpxaddr <ipxNet> <remoteName>
IP and IPX Routing
TCP/IP Routing Must be disabled eth ip disable
IPX Routing Must be enabled eth ipx enable
Store save
Reboot reboot
a Enter this information if you are using PPP in an ATM environment.
b Enter this information if you are using PPP in a Frame- Relay environment.
c If the ISP does not support the authentication of the ISP system by the caller, use the command:
remote disauthen <remoteName> to disable the authentication.
System Settings
System Name Required system name <name>
System Message Optional system msg <message>
Authorization Password Required system passwd <password>
DHCP Settings Already enabled; additional dhcp set valueoption domainname <domainname>
settings may be required dhcp set valueoption domainnameserver < ipaddr >
Change Login Optional system admin <password>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
Link Protocol/PVCa Select: PPP remote setProtocol PPP <remoteName>
(for ATM routers) Enter: VPI/VCI remote setPVC <vpi number>*<vci number> <remoteName>
System Settings
System Message Optional system msg <message>
Ethernet IP Address As required eth ip addr <ipaddr> <ipnetmask> [<port#>]
DHCP Settings Already enabled; dhcp set valueoption domainname <domainname>
additional settings may dhcp set valueoption domainnameserver <ipaddr>
be required
Change Login Optional system admin <password>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
Link Protocol/PVCa Select: RFC 1483 remote setProtocol RFC1483 <remoteName>
(for ATM routers) Enter: VPI/VCI remote setPVC <vpi number>*<vci number>
Numbers <remoteName>
Link Protocol/DLCIb Select: FR remote setProtocol FR <remoteName>
(for Frame Relay Enter: DLCI number remote setDLCI <number> <remoteName>
routers)
Bridging On/Off Must be OFF remote disBridge <remoteName>
TCP/IP Route Enter: Explicit or default remote addiproute <ipnet> <ipnetmask> <hops>
Address route with remote <remoteName>
gateway
If Address Translation To enable NAT, use: remote setIpTranslate on <remoteName>
(NAT) is enabled:
TCP/IP Route Enter: Source WAN Port remote setSrcIpAddr <ipaddr> <mask> <remoteName>
Addresses Address
If NAT is off: You may still need to remote setSrcIpAddr <ipaddr> <mask> <remoteName>
TCP/IP Route enter a Source WAN
Addresses Port Address
IP and IPX Routing
TCP/IP Routing Must be enabled eth ip enable
(Internet Firewall) (Optional) eth ip Þrewall <on | off >
IPX Routing Must be disabled eth ipx disable
Store save
Reboot reboot
a Enter this information if you are using RFC 1483 in an ATM environment.
b Enter this information if you are using RFC 1490 in a Frame-Relay environment.
System Settings
System Message Optional eth ip addr <ipaddr> <ipnetmask> [<port#>]
Ethernet IP Address As required dhcp set valueoption domainname <domainname>
dhcp set valueoption domainnameserver < ipaddr >
DHCP Settings Already enabled; eth ipx addr <ipxnet> [<port#>]
additional settings may be
required
Ethernet IPX Network # Enter: IPX Network # Frame eth ipx frame <type>
Type (default is 802.2)
Change Login Optional system admin <password>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
System Settings
System Message Optional system msg <message>
DHCP Settings Already enabled; dhcp set valueoption domainname <domainname>
additional settings may be dhcp set valueoption domainnameserver <ipaddr>
required
Change Login Optional system admin <password>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
Link Protocol/PVC Select: RFC 1483 remote setProtocol RFC1483 <remoteName>
(for ATM routers) Enter: VPI/VCI Numbers remote setPVC <vpi number>*<vci number>
<remoteName>
Link Protocol/DLCIa Select: FR remote setProtocol FR <remoteName>
(for Frame Relay Enter: DLCI number remote setDLCI <number> <remoteName>
routers)
Bridging On/Off Must be on remote enaBridge <remoteName>
IP and IPX Routing
IP Routing Must be disabled eth ip disable
IPX Routing Must be disabled eth ipx disable
Store save
Reboot reboot
a Enter this information if you are using RFC 1490 in a Frame-Relay environment.
System Settings
System Message Optional system msg <message>
Ethernet IP Address As required eth ip addr <ipnet> <ipnetmask> [<port#>]
DHCP Settings Already enabled; dhcp set valueoption domainname <domainname>
additional settings may dhcp set valueoption domainnameserver <ipaddr>
be required
Change Login Optional system admin <password>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
Link Protocol/PVCa Select: RFC 1483MER remote setProtocol RFC1483MER <remoteName>
(for ATM routers) Enter: VPI/VCI Numbers remote setPVC <vpi number>*<vci number>
<remoteName>
Link Protocol/DLCIb Select: MER remote setProtocol MER <remoteName>
(for Frame Relay Enter: DLCI number remote setDLCI <number> <remoteName>
routers)
Bridging On/Off Must be off remote disBridge <remoteName>
TCP/IP Route Address Enter: Explicit or default remote addiproute <ipnet> <ipnetmask><ipGateway>
route with remote <ipGateway> <remoteName>
gateway
If NAT is enabled: To enable NAT, use: remote setIpTranslate on <remoteName>
If NAT is OFF: Enter: Source WAN Port remote setSrcIpAddr <ipaddr> <mask><remoteName>
Address + mask of the
remote network
TCP/IP Route Enter a Source WAN Port remote setSrcIpAddr <ipaddr> <mask> <remoteName>
Addresses Address + mask of the
remote networkÕs mask
IP and IPX Routing
TCP/IP Routing Must be enabled eth ip enable
(Internet Firewall) (optional) eth ip Þrewall <on | off >
IPX Routing Must be disabled eth ipx disable
Store save
Reboot reboot
a Enter this information if you are using RFC 1483 in an ATM environment.
b Enter this information if you are using RFC 1490 in a Frame-Relay environment.
System Settings
System Message Optional system msg <message>
Ethernet IP Address As required eth ip addr <ipaddr> <ipnetmask> [<port#>]
DHCP Settings Already enabled; dhcp set valueoption domainname <domainname>
additional settings may dhcp set valueoption domainnameserver <ipaddr>
be required
Change Login Optional system admin <password>
Remote Routers
New Entry Enter: Remote Name remote add <remoteName>
Link Protocol/PVC Select: FRF8 remote setProtocol FRF8 <remoteName>
Enter: VPI/VCI Numbers remote setPVC <vpi number>*<vci number>
<remoteName>
Bridging On/Off Must be off remote disBridge <remoteName>
TCP/IP Route Address Enter: explicit or default remote addIproute <ipnet> <ipnetmask> <hops>
route <remoteName>
If Address Translation To enable NAT, use: remote setIpTranslate on <remoteName>
(NAT) is enabled:
If NAT is OFF: Enter: Source WAN Port remote setSrcIpAddr <ipaddr> <mask><remoteName>
Address + mask of the
remote network
TCP/IP Route Enter a Source WAN Port remote setSrcIpAddr <ipaddr> <mask><remoteName>
Addresses Address + mask of the
remote network
IP and IPX Routing
TCP/IP Routing Must be enabled eth ip enable
(Internet Firewall) (Optional) eth ip Þrewall <on | off >
IPX Routing Must be disabled eth ipx disable
Store save
Reboot reboot
¥ Bridging + IP routing
¥ Bridging + IPX routing
¥ Bridging + IP routing + IPX routing
¥ IP routing + IPX routing
¥ Each network protocol in the combination is individually configured as described in the preceding tables.
¥ When configuring multiple network protocols, make sure that they are all enabled (even though the
preceding individual configuration tables show them to be mutually exclusive).
Example:
To configure bridging + IP routing (both with Link Protocol RFC 1483), refer to the preceding RFC 1483 with
Bridging and RFC 1483 with IP Routing tables. Follow the instructions described in the tables, except for the
Bridging and IP Routing settings. Since you are configuring both bridging and IP routing, make sure that these
two protocols are both enabled (even though the individual configuration tables you are referring to are showing
them to be mutually exclusive). Configure Bridging and then IP Routing. Remember that IP Routing has
precedence over Bridging.
System Settings
System Name Optional system name <name>
System Settings
Message Optional system msg <message>
Ethernet Settings
Routing/ Bridging Enable IP routing eth ip enable
Controls Disable bridging eth br disable
ETH/0 IP Address DeÞne ETH/0 IP address for eth ip addr <ipaddr> <ipnetmask> [<port#>]
the hub side
ETH/1 IP Address DeÞne ETH/1 IP address for eth ip addr <ipaddr> <ipnetmask> [<port#>]
the single 10Base-T side
TCP/IP default route ETH/0 sends all trafÞc to eth ip addroute <ipaddr> <ipnetmask> <gateway>
address ETH/1 <hops> [<port#>]
DHCP Settings
Already enabled; additional settings may be required
DHCP Settings DeÞne DHCP network for dhcp add | <net> <mask> | <ipaddr> | <code>
ETH/1 <min> <max> <type>
Create an address pool for dhcp set addresses <Þrst ipaddr> <last ipaddr>
ETH/1
DNS Domain Name dhcp set valueoption domainname <domainname>
DNS Server dhcp set valueoption domainnameserver <ipaddr>
Test IP Routing
Test IP Routing over the Local Ethernet LAN (from PC)
¥ Use the TCP/IP ping command or a similar method to contact the configured target router specifying the
Ethernet LAN IP address.
¥ If you cannot contact the router, verify that the Ethernet IP address and subnet mask are correct and check the
cable connections.
¥ Make sure that you have saved and rebooted after setting the IP address.
¥ Check Network TCP/IP properties under Windows 95. If you are running Windows 3.1, check that you have
a TCP/IP driver installed.
¥ Using the TCP/IP ping command, contact a remote router from a local LAN-connected PC. When you enter
the ping command, the router will connect to the remote router using the DSL line.
¥ If remote or local WAN IP Addresses are required, verify that they are valid.
¥ Use the iproutes command to check, first, the contents of the IP routing table and, second, that you have
specified a default route as well.
¥ Have a remote router contact the target router using a similar method.
¥ Contact a station, subnetwork, or host located on the network beyond a remote router to verify the TCP/IP
route addresses entered in the remote router database.
¥ Verify that you configured the correct static IP routes.
¥ Use the iproutes command to check the contents of the IP routing table.
¥ Check that the local Ethernet LAN IPX network number is correct.
¥ Verify that the WAN link network number is the same as the remote WAN link network number.
¥ Verify that the IPX routes and IPX SAPs you have specified are correct.
¥ List the contents of the routing and services tables using the ipxroutes and ipxsaps commands, respectively.
¥ Make sure that the security authentication method and password that you configured match the remote router.
¥ Several list command outputs that are used to check the information entered for this particular configuration
¥ Information about the names and passwords that are used in this configuration example (required for PPP)
Note: Appendix A contains blank Network Information Worksheets; use them to fill in the information for your
own configuration. If you selected Òinstall documentationÓ, these samples and others are copied from the
installation CD into the samples directory where the GUI was installed .
Scenario:
In this configuration example of a hypothetical network, a small office/home office (SOHO) will access:
¥ The Internet through an Internet Service Provider (ISP); it uses PPP as the link protocol with IP routing
as the network protocol. Network Address Translation (NAT) is enabled to the ISP, because the ISP
assigned the SOHO only one IP address.
¥ A central site (HQ) through a Network Service Provider (NSP provides access to the DSL/ATM Wide
Area Network); it uses PPP as the Link Protocol with IP and IPX as its network protocols.
IP addresses are issued by the DHCP server. DHCP will be set up to issue DNS information to the SOHO LAN.
IPX = 456
0,39
(HQ)
SOHO
0,38 2 Virtual
Target Router (ISP) Circuits
Workstation/Server IP:192.168.254.254
PC/Client 192.168.254.3 255.255.255.0
192.168.254.2 255.255.255.0
255.255.255.0
DSL / ATM
Network
PPP/IP
192.168.200.20
Network Service
Provider
(ISP)
DNS: 192.168.200.1
DNS Domain: myISP.com Server NT Server/WINS Server
SERV312_FP, 172.16.0.2
1001 255.255.255.0
PC/Client
System Settings
Name System Name system name SOHO
Message Message (optional) system msg ConÞgured_Dec_1998
Authentication Authentication Password system password SOHOpasswd
Password
Ethernet IP Address Ethernet IP Address and eth ip addr 192.168.254.254 255.255.255.0
Subnet Mask (default IP
address)
Ethernet IPX Ethernet IPX Network eth ipx addr 456
Network Number
DHCP Settings
DHCP Settings DNS Domain Name dhcp set valueoption domainname myISP.com
DNS Server dhcp set valueoption domainnameserver
192.168.200.1
WINS Server Address dhcp set valueoption winsserver 172.16.0.2
Remote Routers
New Entry Remote RouterÕs Name remote add HQ
Link Protocol Link Protocol remote setProtocol PPP HQ
PVC VPI Number/VCI Number remote setPVC 0*39 HQ
Security Minimum Authentication remote setauthen PAP HQ
(PAP is the default)
Remote RouterÕs Password remote setpasswd HQpasswd HQ
Bridging Bridging on/off remote disbridge HQ
(Bridging is off by default)
TCP/IP Route Remote NetworkÕs IP remote addiproute 172.16.0.0 255.255.255.0 1 HQ
Addresses Addresses, Subnet Masks,
and Metric
IPX Address Network #, Hop Count, Ticks remote addipxroute 1001 1 4 HQ
IPX SAPs SAPS: Server Name, Server remote addipxsap SERV312_FP 4 1001 00-00-00-
Type, Network #, Node #, 00-00-01 451 3 1 HQ
Sockets, type, hops
WAN Network # remote setipxaddr 789 HQ
Note: Fill in one worksheet for each remote router in the remote router database.
Remote Routers
New Entry Remote RouterÕs Name remote add ISP
Link Protocol Link Protocol remote setProtocol PPP ISP
PVC VPI Number/VCI Number remote setPVC 0*38 ISP
Security Minimum Authentication remote setauthen PAP ISP
(PAP is the default) remote setpasswd ISPpasswd ISP
Remote RouterÕs Password
Bridging Bridging on/off remote disbridge ISP
(Bridging is off by default)
TCP/IP Route Remote NetworkÕs IP remote addiproute 0.0.0.0 255.255.255.255 1 ISP
Addresses Addresses, Subnet Masks, and (Default Route)
Metric
Network Address Translation remote setiptranslate on ISP
system list
In this configuration example, the PPP Link Protocol requires using system names and passwords.
t System Passwords
SOHO has a system password ÒSOHOpasswd,Ó which is used when SOHO communicates with HQ for
authentication by that site and at any time when HQ challenges SOHO.
HQ has a system password ÒHQpasswd,Ó which is, likewise, used when HQ communicates with site
SOHO for authentication by SOHO and at any time SOHO challenges HQ.
ISP has a system password ÒISPpasswdÓ used for the same purpose.
t Remote Passwords
Each router has a remote routerÕs password for each remote router defined in its Remote Router
Database. The router will use the remote password to authenticate the remote router when the remote
router communicates with or is challenged by the local site.
For example, SOHO has remote router entries for HQ and ISP; defined in each table entry is the
respective remote routerÕs password.
The following table shows the names and passwords for each router that must be defined for
authentication to be performed correctly. (This assumes that all three systems use some form of
authentication protocol.)
Note: If you experience trouble with passwords, we recommend that you set the remote router security to
disable authentication to simplify the process.
System
SOHO HQ ISP
Name
System
SOHOpasswd HQpasswd ISPpasswd
Password
Remote
HQpasswd
Router SOHOpasswd SOHOpasswd
ISPpasswd
Database
¥ Several list command outputs that are used to check the information entered for this particular configuration
Note 1: Names and passwords are not required with the RFC 1483 Link Protocol.
Note 2: Blank Network Information Worksheets are available to fill in the information for your own configuration
in Appendix A.
Scenario:
In this configuration example of a hypothetical network, a small office/home office (SOHO) will access:
¥ The Internet through an Internet Service Provider (ISP); it uses RFC 1483 as the Link Protocol with IP
routing as the network protocol. Network Address Translation (NAT) is enabled to the ISP, since the ISP
assigned SOHO only one IP address.
¥ A central site (HQ) through a Network Service Provider (NSP provides access to the DSL/ATM Wide
Area Network); it uses RFC 1483 as the link protocol with bridging and IP routing as its network
protocols.
IP addresses are issued by the DHCP server. DHCP will be set up to issue DNS information to the SOHO
LAN.
0,39
(HQ)
SOHO
0,38 2 Virtual
Target Router (ISP) Circuits
Workstation/Server IP:192.168.254.254
PC/Client 192.168.254.3 255.255.255.0
192.168.254.2 255.255.255.0
255.255.255.0
DSL / ATM
Network
RFC 1483 / IP
192.168.200.20
Remote Router
HQ IP:172.16.0.1
0.0.0.0 255.255.255.0
255.255.255.255
ISP
Network Service
Provider
(ISP)
DNS: 192.168.200.1
DNS Domain: myISP.com
NT Server/WINS Server
172.16.0.2
PC/Client 255.255.255.0
Bridging Application
System Settings
Message Message (optional) system msg RFC1483_dec98
Ethernet IP Address Ethernet IP Address and eth ip addr 192.168.254.254 255.255.255.0
Subnet Mask
(default IP address)
DHCP Settings DNS Domain Name dhcp set valueoption domainname myISP.com
DNS Server dhcp set valueoption domainnameserver
192.168.200.1
WINS Server address dhcp set valueoption winsserver 172.16.0.2
Remote Routers
New Entry Remote RouterÕs Name remote add HQ
Link Protocol Link Protocol remote setProtocol RFC1483 HQ
PVC VPI Number/VCI Number remote setPVC 0*39 HQ
Bridging Bridging on/off remote enabridge HQ
TCP/IP Route Addresses Remote NetworkÕs IP remote addiproute 172.16.0.0 255.255.255.0 1 HQ
Addresses, Subnet Masks,
and Metric
Remote Routers
New Entry Remote RouterÕs Name remote add ISP
Link Protocol Link Protocol remote setProtocol RFC1483 ISP
PVC VPI Number/VCI Number remote setPVC 0*38 ISP
Bridging Bridging On/Off remote disbridge ISP
(Bridging is Off by default)
TCP/IP Route Remote NetworkÕs IP remote addiproute 0.0.0.0 255.255.255.255 1 ISP
Addresses Addresses, Subnet Masks,
and Metric
Network Address remote setiptranslate on ISP
Translation (NAT)
In Advanced:
Source WAN IP Address remote setsrcipaddr 192.168.200.20
and Subnet Mask 255.255.255.255 ISP
system list
The following example provides a simple sample configuration for a Dual-Ethernet router (eth_router) with
IP routing enabled.
The routerÕs hub (ETH/0) belongs to the 192.168.254.0 subnet. The routerÕs ETH/1 belongs to the
192.168.253.0 subnet.
ETH/0 will route packets to ETH/1 at the address 192.168.253.254. DHCP is enabled for both subnets.
eth_router ConÞguration
ConÞguration
Item Commands
Section
System Settings
Name System Name (optional) system name eth_router
Message Message (optional) system msg ConÞgured_Jan_1999
Ethernet Settings
Routing/ Bridging Enable IP routing eth ip enable
Controls
Disable bridging eth br disable
ETH/0 IP Address DeÞne ETH/0 IP address for eth ip addr 192.168.254.254 255.255.255.0 0
the hub side
ETH/1 IP Address DeÞne ETH/1 IP address for eth ip addr 192.168.253.254 255.255.255.0 1
the single 10Base-T side
TCP/IP default route ETH/0 sends all trafÞc to eth ip addroute 0.0.0.0 255.255.255.255
address ETH/1 192.168.253.254 1 1
DHCP Settings
DHCP Settings DeÞne DHCP network for dhcp add 192.168.253.0 255.255.255.0
ETH/1
Create an address pool for dhcp set addresses 192.168.253.2 192.168.253.20
ETH/1
DNS Domain Name dhcp set valueoption domainname myISP.com
DNS Server dhcp set valueoption domainnameserver
192.168.200.1
WINS Server Address dhcp set valueoption winsserver 172.16.0.2
The features described in this chapter are advanced topics. They are primarily intended for experienced users and
network administrators to perform network management and more complex configurations.
¥ Multiple IP subnets
¥ Management security
Additional features can be purchased as software option keys. These features are described in Configuring
Software Options, page 114. To determine which software options are installed on your router, use the vers
command. (If a feature has not been enabled, it is listed with a ~ prefix.)
You may configure the router to provide access to multiple IP subnets on the Ethernet network. (This feature does
not apply to IPX or bridged traffic.)
Each IP subnet is referenced as a logical (or virtual) Ethernet interface. You may define multiple logical interfaces
for each physical Ethernet interface (that is, port) in the router. Each logical interface is referenced by its port
number and logical interface number (port #:logical#).
The default logical interface for each port is interface 0; this logical interface 0 always exists and cannot be
deleted. (Other logical interfaces may be deleted using the eth delete command [page 230].)
Note: When you stop or restart an interface, interface changes are discarded if they have not been saved.
¥ eth ip addRoute Adds an Ethernet IP route that uses the logical Ethernet interface. The route is added to
the default routing table (page 231).
¥ eth ip bindRoute Adds an Ethernet IP route that uses the logical Ethernet interface. The route is added to a
virtual routing table (page 233).
¥ eth ip filter Manages IP filters for the logical Ethernet interface. Lists of input, output, and forward
filters may be defined for the interface (page 237).
¥ eth ip options Sets RIP options for the logical interface; these options set IP routing information
protocol controls (page 243).
Note: In general, logical interface commands are not effective until you save the change and either restart the
logical interface or reboot the router. However, the eth ip bindRoute and eth ip filter commands are effective
immediately if the logical Ethernet interface is already active.
The virtual routing feature allows you to define multiple routing tables. This is also known as IP virtual router
support.
To define a new routing table, you must specify a name for the routing table and a range of IP source addresses
that use that table. The router determines which routing table to use based on the source address in the packet. For
example, if the router receives a packet whose source address is 192.168.254.10, it checks if that address is within
the address range defined for a virtual routing table. If it is, the virtual routing table is used to route the packet. If
it is not, the default routing table is used instead.
The address ranges assigned to the virtual routing tables may not overlap. All source IP addresses not assigned to
a virtual routing table are routed using the default routing table. You can add routes to the default routing table
using eth ip addroute (page 231) and remote addiproute (page 258).
The following commands define the names and address ranges of the virtual routing tables:
system addIPRoutingTable Adds a range of IP addresses to a virtual routing table. The virtual routing table
is defined if it does not already exist (page 209).
system delIPRoutingTable Deletes a range of IP addresses from the range defined for a virtual routing table
or deletes the entire table (page 219).
system moveIPRoutingTable Moves a range of IP addresses from their current assignment to the specified
virtual routing table. The virtual routing table is defined if it does not already
exist (page 223).
To add and remove routes from a virtual routing table, use these commands:
eth ip bindRoute Adds an Ethernet route to a virtual routing table (page 233).
eth ip unbindRoute Removes an Ethernet route from a virtual routing table (page 246).
remote bindIPVirtualRoute Adds a remote route to a virtual routing table (page 260).
remote unbindIPVirtualRoute Removes a remote route from a virtual routing table (page 289).
Note: Unlike changes to the default routing table, changes to IP virtual routing tables take effect immediately.
However, the changes are lost if they are not saved before the next reboot.
You can control the flow of packets across the router using bridge filtering. Bridge filtering lets you ÒdenyÓ or
ÒallowÓ packets to cross the network based on position and hexadecimal content within the packet. This enables
you to restrict or forward messages with a specified address, protocol, or data content. Common uses are to
prevent access to remote networks, control unauthorized access to the local network, and limit unnecessary traffic.
For example, it might be necessary to restrict remote access for specific users on the local network. In this case,
bridging filters are defined using the local MAC address for each user to be restricted. Each bridging filter is
specified as a ÒdenyÓ filter based on the MAC address and position of the address within the packet. To initiate
bridge filtering, ÒdenyÓ filtering mode is then enabled. Every packet with one of the MAC addresses would not be
bridged across the router until ÒdenyÓ filtering mode was disabled.
Similarly, protocol filtering can be used to prevent a specific protocol from being bridged. In this case, the
protocol id field in a packet is used to deny or allow a packet. You can also restrict, for example, the bridging of
specific broadcast packets.
¥ ÒDenyÓ mode will discard any packet matched to the ÒdenyÓ filters in the filter database and let all other
packets pass.
¥ ÒAllowÓ mode will only pass the packets that match the ÒallowÓ filters in the filter database and discard all
others.
Up to 40 ÒallowÓ filters or 40 ÒdenyÓ filters can be activated from the filter database.
Enter the filters, including the pattern, offset, and filter mode, into a filter database. If you intend to restrict
specific stations or subnetworks from bridging, then add the filters with a ÒdenyÓ designation and then enable
ÒdenyÓ filtering. If you wish to allow only specific stations or subnetworks to bridge, then add the filters with an
ÒallowÓ designation and enable ÒallowÓ filtering. Add each filter with the following command:
where [pos] is the byte offset within a packet (number from 0-127) to a [data] (a hex number up to 6 bytes). This
data and offset number can be used to identify an address, a protocol id, or data content. After entering your
filters, verify your entries with the following command:
filter br list
If you have entered an incorrect filter, delete the filter using the filter br del command. When you are satisfied
with the filter list, save the filtering database with the save filter command. You must reboot the router to load the
filtering database. Then enable bridging filtering with the following command:
To test the filtering configuration, access the remote destination identified in the filter.
Caution: This is a simple firewall check; it does not add much security. For more elaborate firewall features, see
IP Filtering, page 119 .
You can control the Internet Firewall Filtering feature using the command:
The Internet Firewall defaults to on during initial configuration, but it is active only when Ethernet LAN IP
routing is on.
eth ip enable
eth ip disable
Therefore, at initial configuration, to activate the Internet Firewall Filter, you need only enable IP routing. If you
do not wish the router to perform IP Internet Firewall Filtering while doing IP routing, you must turn off the
firewall filter. Remember to save and reboot if you alter the IP routing status.
You can configure the router to send and receive RIP packet information, respectively, to and from the remote
router. This means that the local site will ÒlearnÓ all about the routes beyond the remote router and the remote
router will ÒlearnÓ all about the local siteÕs routes. You may not want this to occur in some cases. For example, if
you are connecting to a site outside your company, such as the Internet, you may want to keep knowledge about
your local siteÕs routes private.
The default is to not send or receive IP RIP packets. If RIP packets are not allowed to flow on the WAN link, you
must use the remote addiproute command (page 258) to configure static routes for this WAN link. You can also
advertise the local siteÕs existence. The default is to keep the local siteÕs existence private.
Note: RIP options can also be set for a LAN Ethernet interface. To do so, use the command eth ip options (page
243).
The router supports DHCP and can act as the DHCP server. (The routerÕs DHCP server disables itself if it locates
other active DHCP servers on the network or if a DHCP server on the WAN has been explicitly specified.)
This section describes how to configure DHCP using the Command Line Interface. Configuring DHCP can be a
complex process; this section is therefore intended for network managers. For a complete list and explanation of
the DHCP commands, see DHCP Commands, page 309.
Note: Some DHCP values can be set using the Windows Quick Start application, the Windows Configuration
Manager, or the web-based EZ Setup application.
Using DHCP to automatically acquire initialization parameters translates into avoiding the more involved router/
PC manual initialization process. (The manual initialization requires reconfiguration of router and/or PC addresses
to be in the same network.)
To configure DHCP for a network, the network administrator defines a range of valid IP addresses to be used in
the subnetwork as well as options and other parameters. This process is described in the next section, DHCP
Administration and Configuration.
Note 1: DHCP will work only if the TCP/IP stack is installed on the PCs.
Note 2: In Windows, DHCP is enabled by selecting it on your PC (under Settings, Control Panel, Network, and
TCP/IP in the Configuration tab page).
When the WAN link activates and the source IP address or mask is undefined (i.e. 0.0.0.0), the router places a
DHCP client request over the WAN link. The router may learn the following parameters:
¥ DNS address
¥ Default gateway
To see the gateway and source IP addresses that were returned, use the iproutes command.
The IP addresses and options assigned to a client are collectively called the ÒleaseÓ. The lease is only valid for a
certain period of time and is automatically renewed by the client.
¥ Managing BootP
¥ Other information
Note: To save the DHCP conÞguration or changes to ßash memory in the router, remember to use the command
dhcp save.
Examples:
To enable the subnetwork 192.168.254.0 if that subnetwork exists, enter:
To enable the client lease 192.168.254.17 if that client lease exists, enter:
To disable the client lease 192.168.254.18 if that client lease exists, enter:
¥ Adding a Subnetwork
The following commands are used to add/delete subnetworks. Only one subnetwork with one pool of IP
addresses may be defined for a subnet.
Note: All client leases associated with this subnetwork are automatically deleted.
Example 1:
The following command creates a subnetwork 192.168.254.0 with a subnet mask of 255.255.255.0:
dhcp add 192.168.254.0 255.255.255.0
Example 2:
The following command deletes the subnetwork 192.168.254.0 and deletes all client leases
associated with that subnetwork:
dhcp del 192.168.254.0
Client leases may either be created dynamically or explicitly. Usually client leases are created
dynamically when PCs boot and ask for IP addresses.
Example 1:
To explicitly add the client lease 192.168.254.31, type:
dhcp add 192.168.254.31
Example 2:
To delete the client lease 192.168.254.31, type:
dhcp del 192.168.254.31
¥ Concepts
The information given by the DHCP server (router) to your PC is leased for a specific amount of time.
The client lease has already been selected. The DHCP server will select the lease time based on the
option defined for the client lease as described by this algorithm:
1. If the client lease option is a specific number or is infinite, then the server uses the specified lease
time associated with this client lease.
2. If the client lease option is ÒdefaultÓ, then the server goes up one level (to the subnetwork) and uses
the lease time explicitly specified for the subnetwork.
3. If the client and subnetwork lease options are both ÒdefaultÓ, then the server goes up one level
(global) and uses the lease time defined at the global level (server).
4. Lease time:
The minimum lease time is 1 hour.
The global default is 168 hours.
¥ Commands
The following commands are used by network administrators to control lease time.
To set the lease time explicitly for the client lease, use:
dhcp set lease <ipaddr> <hours>
To set the lease time explicitly for the subnetwork lease, use:
dhcp set lease <net> <hours>
To set the lease time explicitly for the global lease, use:
dhcp set lease <hours>
Example 1:
To set the lease time to ÒdefaultÓ for the client 192.168.254.17, type:
dhcp set lease 192.168.254.17 default
Example 2:
To set the subnetwork lease time to infinite for the subnet 192.168.254.0, type:
dhcp set lease 192.168.254.0 infinite
Example 3:
To set the global lease time to 2 hours, type:
dhcp set lease 2
In general, administrators do not need to change client leases manually. However, if the need arises to do so,
the following two commands are used.
Concepts
The server returns values for options explicitly requested in the client request. It selects the values to return
based on the following algorithm:
1. If the value is defined for the client, then the server returns the requested value for an option.
2. If the value for the option has not been set for the client, then the server returns the value option if it has
been defined for the subnetwork.
3. If the value option does not exist for the client and does not exist for the subnetwork, then the server
returns the value option if it has been defined globally.
4. If the value option is not defined anywhere, the server does not return any value for that option in its
reply to the client request.
¥ It does not return any option values not requested by the client.
¥ It does not support the definition of a ÒclassÓ of clients.
¥ It does not return any non-default option values unless the client requests the option value and the server
has a value defined for that option.
¥ It does not return any non-default values on the clients subnet unless the client requests the value for that
option.
To set the value for an option associated with a specific client, use:
dhcp set valueoption <ipaddr> <code> <value>...
To clear the value for an option associated with a specific client, use:
dhcp clear valueoption <ipaddr> <code>
Example:
dhcp set valueoption 192.168.254.251 winserver 192.168.254.7
To list the values for global options as well as subnet and client lease information, use:
dhcp list
To list options that are set for that subnet/client lease as well as subnet/client lease information, use:
dhcp list <net>|<ipaddr>
This command lists all available options (predefined and user-defined options):
dhcp list definedoptions
This command lists all available options starting with the string ÒnameÓ.
dhcp list definedoptions name
To list the lease time use:
dhcp list lease
Example:
This command lists the subnet 192.168.254.0 including any options set specifically for that subnet:
dhcp list 192.168.254.0
Managing BootP
Administrators can enable and disable BootP and specify the BootP server. BootP can be enabled at the
subnetwork and at the client lease level.
BootP and DHCP provide services that are very similar. However, as an older service, BootP offers only a
subset of the services provided by DHCP.
The main difference between BootP and DHCP is that the client lease expiration for a BootP client is always
infinite.
Note: Remember, when BootP is enabled, the client assumes that the lease is infinite.
Enable/Disable BootP
To allow BootP request processing for a particular client/subnet, use the command:
dhcp bootp allow <net>|<ipaddr>
To disallow BootP request processing for a particular client/subnet, type:
dhcp bootp disallow <net>|<ipaddr>
The following commands let the administrator specify the TFTP server (boot server) and boot file name. The
administrator should first configure the IP address of the TFTP server and file name (kernel) from which to
boot.
To set the IP address of the server and the file to boot from, use the commands:
dhcp bootp tftpserver [<net>|<ipaddr>] <tftpserver ipaddr>
dhcp bootp file [<net>|<ipaddr>] <file name>
To clear the IP address of the server and the file to boot from, use:
dhcp bootp tftpserver [<net>|<ipaddr>] 0.0.0.0
Example 1:
To set the global BootP server IP address to 192.168.254.7:
dhcp bootp tftpserver 192.168.254.7
Example 2:
To set the subnet 192.168.254.0 server IP address to 192.168.254.8:
dhcp bootp tftpserver 192.168.254.0 192.168.254.8
Example 3:
To set the client 192.168.254.21 server IP address to 192.168.254.9
dhcp bootp tftpserver 192.168.254.21 192.168.254.9
Example 4:
To set the subnet 192.168.254.0 boot file to Òkernel.100Ó:
dhcp bootp file 192.168.254.0 kernel.100
Example 5:
To clear the global BootP server IP address and file name:
dhcp bootp tftpserver 0.0.0.0
BootP/DHCP relays are used by system administrators when the DHCP configuration parameters are acquired
from a BootP/DHCP server other than the routerÕs DHCP server.
This feature allows configuration information to be centrally controlled. Enabling a BootP/DHCP relay disables
DHCP on the router because, by definition, only one policy mechanism can be supported.
However, multiple relays may be specified. BootP/DHCP requests are forwarded to every relay on the list. It is
assumed, in this case, that the multiple servers are configured to recognize the requests that they are to handle.
To remove a BootP/DHCP Relay address from the list, use the command:
Concepts
A DHCP option is a code, length, or value. An option also has a ÒtypeÓ (byte, word, long, longint, binary, IP
address, string).
The subnet mask, router gateway, domain name, domain name servers, NetBios name servers are all DHCP
options. Refer to RFC 1533 if you require more information.
Usually users will not need to define their own option types. The list of predefined option types based on RFC
1533 can be shown by typing dhcp list definedoptions.
Commands
¥ Some DHCP client will know about the option with code 128.
¥ The administrator will still need to set the option value either globally, specific to a subnetwork, or
specific to a client for the option to have any meaning.
The values for this option that have been set globally, specific to a subnetwork, or specific to a client will not
be removed. The administrator must remove those values explicitly. Well-known type option codes cannot be
changed or deleted.
At this point, the DHCP information is cleared from memory, but the DHCP.DAT file remains unchanged. To
clear the information from the DHCP.DAT file as well, enter:
save
Note: You cannot abbreviate the word records in the dhcp clear all records command.
¥ Any number of PCs on the LAN may be going to the same or different remote routers at the same time. In
reality, the number of PCs on the LAN that can be supported is limited by how much memory the router
consumes maintaining table information and by how many connections are currently active.
¥ Some operations will not work. Specifically, services that place IP address/port information in the data may
not work until the router examines their packets and figures out what information in the data needs to be
changed. Remember that the router is remapping both IP addresses and ports.
¥ When using NAT with a remote router, either the remote ISP must supply the IP address for NAT translation
or the user must configure the IP address for NAT translation locally.
¥ Any number of PCs on the LAN may have a connection to the same or different remote routers at the same
time. In reality, the number of PCs on the LAN that can be supported is limited by the amount of memory
consumed by the router to maintain table information and by the number of connections the router ÒthinksÓ
are currently active. Theoretically, up to 64,000 active connections per protocol typeÑTCP/UDPÑcan be
concurrently running, if the table space is available.
Masquerading
With masquerading, multiple local (PC) IP addresses are mapped to a single global IP address. Many local (PCs)
IP addresses are therefore hidden behind a single global IP address. The advantage of this type of NAT is that
users only need one global IP address, but the entire local LAN can still access the Internet. This NAT technique
requires not only remapping IP addresses but also TCP and UDP ports.
Each PC on the LAN side has an IP address and a mask. When the router connects to an ISP, the router appears to
be a ÒhostÓ with one IP address and mask. The IP address that the router uses to communicate with the ISP is
obtained dynamically (with PPP/IPCP or DHCP) or is statically configured. When the PC connects to the ISP, the
IP address and port used by the PC are remapped to the IP address assigned to the router. This remapping is done
dynamically.
Client Configuration
¥ Enable NAT
The save command makes the above changes persistent across reboots; these changes turn NAT on when the
specified interface is used.
The IP address (the IP address ÒknownÓ by the remote ISP) used for this type of NAT can be assigned in two
ways.
Server Configuration
This section is intended for users and network administrators who wish to allow WAN access to a Web server,
FTP server, SMTP server, etc., on their local LAN, while using NAT.
NAT needs a way to identify which local PC [local IP address(es)] should receive these server requests.
The servers can be configured on a per-remote-router and per-Ethernet-interface basis as well as globally.
¥ Interface-Specific Commands
You can specify servers for specific remote interfaces and for specific Ethernet interfaces. Servers can also be
designated for specific protocols and ports. To enable and disable a local IP address (on your LAN) as the
server for a specific remote interface, use these commands:
remote addServer <action> <protocol> <port> [<last port>[<first private port>]] <remoteName>
remote delServer <action> <protocol> <port> [<last port>[<first private port>]] <remoteName>
See the command descriptions on page 259 and page 265. To see all of the remote entries, use the command
remote list <remoteName>
To enable and disable a local IP address (on your LAN) as the server for a specific Ethernet interface, use
these commands:
eth ip addServer <action> <protocol> <port> [<last port>[<first private port>]] <interface>
eth ip delServer <action> <protocol> <port> [<last port>[<first private port>]] <interface>
Example 1:
Assume that the local LAN network is 192.168.1.0 255.255.255.0. The following commands enable a
Telnet server on the local LAN with the IP address 192.168.1.3, and an FTP server with the IP address
192.168.1.2.
remote addServer 192.168.1.3 tcp telnet router1
remote addServer 192.168.1.2 tcp ftp router1
When the local router receives a request from router1 to communicate with the local Telnet server, the
local router sends the request to 192.168.1.3. If router1 asks to talk to the local FTP server, the local
router sends the request to 192.168.1.2.
Example 2:
Assume that the local LAN network is 192.168.1.0 255.255.255.0. When the port value of 0 (zero) is
used, it directs all ports of the specified protocol to the IP address specified.
remote addServer 192.168.1.4 tcp 0 router1
Note: addserver commands using specific port numbers take priority over the port 0 setting.
192.168.1.4 will be asked to serve requests coming from router1 to the local router. If the local router
also has the same Telnet and FTP entries from the previous example, 192.168.1.3 will serve the Telnet
request, 192.168.1.2 will serve the FTP request, and 192.168.1.4 will serve any other request, including
HTTP, SMTP, etc.
Example 3:
An incoming request on TCP port 9001 will be sent to 192.168.1.11 with the port changed from 9001 to
the telnet port.
The error message Failed to add server indicates that a server entry could not be created. This can occur
either due to port overlap or due to not enough memory.
Port overlap
The second command gets an error due to port overlap. If the second server entry was allowed and the
remote end sends a server request to port 9000, the router wouldnÕt know whether to send the request to
192.168.1.10 or 192.168.1.11.
This condition should not ordinarily occur because the amount of memory needed for a server entry is
less than 30 bytes. Should this problem occur, it may cause many related problems or failures.
¥ System Commands
The following two commands are used to globally enable/disable a local IP address (on your LAN) as the
server for that particular protocol and/or port.
For more information, see the command descriptions on page 209 and page 219.
Examples:
As shown above, multiple system addserver, remote addserver, and eth ip addserver commands can
designate different servers for different protocols, ports, and interfaces. When handling a request from a
remote router (to which the local router has NAT enabled), the local router searches the server list for the
appropriate server. The following lists the order of search and the command that added the server to the list:
3. Protocol and any port for a specific interface remote addserver with port 0 or
eth ip addserver with port 0
4. Protocol and any port for any interface system addserver with port 0
5. Any protocol and any port for a specific interface remote addserver with protocol all and port 0
eth ip addserver with protocol all and port 0
6. Any protocol and any port for any interface system addserver with protocol all and port 0
Client Configuration
Classic NAT requires that you first enable NAT Masquerading (as described in the previous section); thus,
for the Classic and Masquerading forms of NAT, the clients are configured in the same way. Refer to the
Client Configuration, page 91 section.
Host Remapping
¥ Interface-Specific Commands
You can enable and disable host remapping for specific remote interfaces and for specific Ethernet
interfaces. To enable or disable host remapping on a per-remote basis, use these commands:
remote addHostMapping <first private addr> <second private addr> <first public addr>
<remoteName>
remote delHostMapping <first private addr> <second private addr> <first public addr>
<remoteName>
Use the command remote addHostMapping whenever a host on the local LAN is known by different IP
addresses to different remotes.
eth ip delHostMapping <first private addr> <second private addr> <first public addr> <interface>
¥ System Commands
¥ IP Address Range
The range of local LAN IP addresses to be remapped is defined by <first private addr> to <second
private addr> inclusive. These addresses are mapped one-to-one to the public addresses.
The range of public IP addresses is defined by <first public addr> only. The rest of the range is computed
automatically (from <first public addr> to <first public addr> + number of addresses remapped - 1)
inclusive.
Example:
remote addHostMapping 192.168.207.40 192.168.207.49 10.0.20.11 remote1
remote addHostMapping 192.168.207.93 192.168.207.99 10.0.20.4 remote1
remote addHostMapping 192.168.209.71 192.168.209.80 10.12.14.16 remote1
The above entries create three mappings:
¥ The per-interface commands, remote addHostMapping and eth ip addHostMapping have these
range overlap rules:
¥ The global command, system addHostMapping, has these range overlap rules:
Private IP address ranges cannot overlap for a system.
Public IP address ranges cannot overlap for a system.
¥ If a private IP address range for an interface and a private IP address range for the system overlap,
the private IP address range for the interface has precedence.
¥ If a public IP address range for an interface and the public IP address range for the system overlap,
the public IP address range for the interface has precedence.
For example, to enable IP/port translation to a remote router and make the IP addresses 10.1.1.7 through
10.1.1.10 globally visible, it is permissible to use either one of the following commands:
If the remapped hostÕs IP address (classic NAT, one-to-one IP address translation) and the masquerading
IP address (many-to-one IP address translation) are the same, then NAT masquerading has precedence
over classic NAT.
PPPoE is a method of delivering PPP sessions over an Ethernet LAN connected to a DSL line, as defined in the
document RFC2516. It was designed to maintain the established PPP interface for the end user and the service
provider, while improving service through use of a DSL line.
¥ PPPoE allows the user to connect to a service provider using the same PPP interface as for a dialup
connection, but the connection is through a DSL line, which provides greater speed and bandwidth.
¥ The service provider also perceives the connection as a standard PPP session, allowing for the same access
control and billing per user as before.
¥ Multiple PPP users share the same DSL line to connect to an access concentrator.
Our router provides additional advantages to PPPoE users and service providers, as follows.
¥ Using our router, no software changes are required in the user PCs. Because the router acts as the PPPoE
client, no PPPoE software is needed in the PC.
¥ Our router acts as both the PPPoE client and as the bridge connecting the Ethernet LAN to the DSL line. It
does all IP address translation.
¥ The PPPoE client information (user name, password, and domain) are configured into the router. Once
configured, the user does not need to enter them, ever.
The following diagram illustrates how our router connects an Ethernet LAN to a service provider by serving as
both the bridge and the PPPoE client.
Ethernet LAN
Router Service Provider
User
Serves as
DSL Line ATM/Frame PPPoE
User bridge and as
PPPoE client Network server
User
PPPoE Session
PPPoE Bridge
PPPoE requires a remote router entry defined for bridging. All PPPoE traffic must be bridged through the PVC or
DLCI of a remote router entry. The entry can use any protocol that supports bridging including PPP, RFC 1483, or
RFC 1490.
The remote entry must be enabled for bridging using the remote enabridge command.
The PPPoE bridge does not require the Spanning Tree Protocol. Turn off the protocol with this command:
In addition, if the remote entry should be used only for PPPoE traffic, define it as ÒPPPoE onlyÓ using this
command:
For a Dual-Ethernet router, an Ethernet interface can be designated as ÒPPPoE onlyÓ using this command:
PPPoE Client
PPPoE configuration requires creation of a new remote router entry to serve as the PPPoE client. The PPPoE
client provides the user name, password, and domain name required for each PPPoE session. In our router, we
refer to the PPPoE domain name as a Òservice nameÓ as described later.
The user name and password can be the router name and password provided by the system name and system
passwd commands. Or a name and password can be specified for the remote router entry using the remote
setOurSysName and remote setOurPasswd commands.
The preceding two commands create a remote router entry that can be used to connect to all PPPoE services. To
create an entry for a specific PPPoE service, use the following two commands:
The service name is the domain name defined by your service provider.
After defining the remote entry with the remote add and remote setPPPoEservice commands, enter commands
to:
¥ Turn off authentication of the remote router by the target router (remote disauthen).
¥ Specify the user name and password for the service (remote setoursysname and remote setourpasswd).
¥ Define the IP route for the remote (remote addiproute). (IP routing must be enabled for the Ethernet interface
with eth ip enable.)
¥ Permanently allocate a channel or allocate a channel only when needed (remote setminline).
If your service provider charges by the hour, you may want a PPPoE session to timeout after a period of no
traffic. However, if you do use a timeout, bringing up a PPPoE session takes 2-3 seconds longer.
The following script is an example showing commands for a PPPoE configuration. The script assumes the
following:
¥ The CHAP user name is JaneDoe and the CHAP password is Secret.
# ifs
Interface Speed In % Out % Protocol State Connection
ETHERNET/0 10.0.mb 0%/0% 0%/0% (Ethernet) OPENED
DMT/0 8.0mb D 0%/0% (ATM) OPENED
800kb U 0%/0% (ATM) OPENED
ATM-VC/1 8.0mb D 0%/0% (ATM) OPENED to PPPoEbridge
800kb U 0%/0% (ATM) OPENED to PPPoEbridge
ATM-ECHO/2 8.0mb D 0%/0% (ATM) OPENED
800kb U 0%/0% (ATM) OPENED
CONSOLE/0 9600 b 0%/0% 0%/0% (TTY) OPENED
PPPoE/1 10.0 mb 0%/0% 0%/0% (PPP) OPENED to PPPoEuser
You can list more information about the current PPPoE sessions using the pppoe list command. The following is
an example:
# pppoe list
PPPoE Client Session ...... DialUpPPP.net
PPPoE/Ifs number..... 1
Access Concentrator.. 15021109931568-efficient
Peer MAC Address .... 00:10:67:00:66:E2
Session ID .......... 2
State ............... 2
Flags ............... 1
To close a PPPoE session before it terminates, use the pppoe close command. The session is specified by its
number. (Use the PPPoE/n number from the ifs output or the PPPoE/Ifs number from the pppoe list
output.)
With the following security control features, the user can control remote management of the router via Telnet,
HTTP, Syslog, and/or SNMP. Disabling SNMP stops the Configuration Manager from accessing the router, which
in some environments is desirable.
Router system event messages can be automatically sent to a Unix Syslog server. The system syslogport and
system addsyslogfilter commands control the port number and valid IP addresses. For more information, see
Syslog Client, page 153.
Validating Clients
The following commands are used to validate clients for Telnet, SNMP, HTTP, or Syslog. They define a range of
IP addresses that are allowed to access the router via that interface. Only the IP addresses in the range specified
for the interface can access the router via that interface. This validation feature is off by default.
Multiple address ranges can be specified for each filter. If no range is defined, then access to the router is through
the LAN or WAN.
Note: These commands do not require a reboot and are effective immediately.
Example:
system list
For example, the following commands redefine the Telnet, SNMP, HTTP, and Syslog ports:
The following example shows how this is done. It assumes there is no computer at 192.168.254.128.
The Dial Backup capability provides a backup V.90 connection to the Internet when the default DSL link goes
down. The V.90 connection is provided through the console port. In this case, the console port is used as a serial
port and must be connected to an external V.90 modem.
Dial Backup is intended for customers with critical applications for which continuous Internet access is vital. If
the DSL link for those applications goes down, the router can automatically switch their traffic to the V.90
modem. Later, after determining that the DSL link is, once again, up and stable, the router automatically switches
the V.90 traffic back to the DSL link.
This feature may also be useful for a customer whose DSL line is not yet installed. The router can begin providing
service through a V.90 modem and later automatically switch to the DSL link when it becomes available.
You may wish to use an L2TP tunnel or IPSec tunnel only with the primary interface or only with the backup
interface.
If you do not want tunnel traffic to go through the backup V.90 modem, you should restrict the tunnel to use only
the primary interface. With this restriction in place, if the primary interface fails, the tunnel is terminated, and it is
not re-established with the backup interface.
Or, you might want a tunnel to be established only when the V.90 modem is being used. In this case, you would
restrict the tunnel to the backup interface only.
To set either restriction for an L2TP tunnel, use the command l2tp set wanif (page 328). On the command, you
specify the remote name that the tunnel is restricted to and the tunnel name. To restrict the tunnel to the backup
interface, specify the remote name that you created for the dialup parameters as described in Specifying the
Dialup Parameters, page 106.
To set a restriction for an IPSec tunnel, use the command ike ipsec set interface (page 337). The interface that
you specify on the command is the remote interface that the tunnel is to be restricted to. To restrict the tunnel to
the backup interface, specify the remote name that you created for the dialup parameters as described in
Specifying the Dialup Parameters, page 106.
¥ Set the conditions that determine the status of the DSL link.
¥ Optional IP addresses to be pinged and their ping interval, number of samples, and minimum success rate
The router can determine that the DSL link has failed at either of these levels:
If the signal remains down for a minimum time (the stability period), the DSL link is assumed to be
physically disconnected and down.
You have the option to provide the router with one or more addresses to ping. (These could be the addresses
that are vital to your application.) The router pings these addresses at the interval you specify (default, every 5
seconds). It compares a specified number of samples (default, 6) against the specified minimum success rate
(default, 50%). If the success rate is less than the minimum, the DSL link is assumed to be down.
Stability Period
As listed above, DSL link failure is indicated if the DSL link status signal remains down for a minimum time.
This minimum time is the stability period that guards against frequent switching back and forth between the DSL
link and the backup port.
The default stability period is three minutes. To change the stability period, use this command:
Addresses to Ping
If you specify one or more addresses, the router pings those addresses to determine if the DSL link is up. You may
request that the router ping any or all of these:
If you specify more than one address to ping, you may want to assign the addresses to groups. Each group can be
assigned its own ping interval, number of samples, and success rate. For example, you might want the success rate
for the DNS address to be at least 95%, while a success rate of 50% would be reasonable for a heavily used
website. You can also disable and re-enable ping addresses by group. A group is identified by its number (0
through 65535).
By default, the router pings the addresses every 5 seconds until it has pinged each address 6 times; it requires a
minimum success rate of 50%. However, you can change the ping interval, number of samples, and success rate
for an address group using these commands:
Note: To disable a group of ping addresses, specify 0 for any of its three valuesÑ pinginterval, pingsamples, or
success rate.
The same ping interval, number of samples, and success rate apply to all addresses assigned to a group. (Any
address not assigned to a group is considered to belong to group 0.) All groups are tested in parallel. As soon as
any group fails its success rate test, the DSL link is assumed to have failed and the switchover to the backup is
performed.
During the ping test, every address in a group contributes to the current success rate of the group; as soon as the
current success rate falls below the minimum success rate, the group has failed. For example, if the minimum
success rate is 50% and the sample number is 6, the maximum sample size for a three-address group is 18 (6 times
3); thus, as soon as the group accumulates 10 failures (one more than 9 failures, which is 50% of 18), the group
fails.
Once DSL link failure is determined, the router uses its console port as a serial port and data traffic is sent and
received through the V.90 modem connected to that port. This backup port continues to be used until it is time to
When the retry period expires, the router determines if the DSL link has been restored. To do so, it first
determines if the DSL link status signal has been up for the minimum stability period. If it has, then the router
stops the data traffic going through the backup V.90 modem, and checks whether the DSL link can be used
instead.
If you have specified one or more ping addresses, the router pings those addresses via the DSL link. If the DSL
link fails the ping test, the router once again switches data traffic to the backup port until the retry period expires
again.
However, if the DSL link passes the ping test, the DSL link is assumed to be restored and it is used for data traffic
until another failure is detected. The serial port reverts to being the console port.
The default retry period is 30 minutes. To change the retry period, enter this command:
You need to provide the router with modem parameters so it can effectively use the V.90 modem connected to the
console port. A default modem setup is provided. To see the default settings, enter:
system defaultmodem
system list
To change the modem settings from the defaults, specify which setting you want to change and the new string. To
do so, use this command:
system modem reset | escape | init | offhook | dial | answer | hangup <string>
For example, the following command changes the string for the init setting:
The string for the dial setting can be either ATDT for tone dialing or ATDP for pulse dialing. The default is tone
dialing. For example, the following command selects pulse dialing:
To use the V.90 modem to connect to the ISP, the router requires a remote entry defining the connection
parameters. For example, the following commands define a new remote entry named backup:
# Specifies the phone number to be used when dialing out. The phone
# number begins with 9 (to get an outside line), a comma (for a 2-second
# Specifies the alternative phone number to be used and its bit rate.
VRRP Backup
When a router is defined as a static default gateway and no other dynamic routing protocol or router discovery
protocol is used (such as RIP, page 81), the gateway becomes a critical link in the network. If that router fails, that
critical link would be broken. It, therefore, may be appropriate to set up other routers as backups that can serve as
the static default gateway if necessary.
The Virtual Router Redundancy Protocol (VRRP), as defined in RFC 2338, allows other IP routers in a LAN to
provide immediate and automatic backup to a failed IP router. VRRP is a protocol that defines how backup
routers monitor the status of a master router and take over its function if it fails. The new master router adopts the
IP and MAC address of the original master, so that the hosts configured with the single default gateway maintain
their network connection.
Ethernet LAN
VRRP Routers
Master
Internet
Backup
Routers using VRRP send out advertisement packets at intervals to let the other VRRP routers on the LAN know
that they are still up. The other VRRP routers realize that a router is down when no advertisement packets have
been received for the minimum down interval. The VRRP router assigned the highest priority takes over for the
failed router. When the failed router is restored, it can automatically preempt the backup router and resume its
function in the network.
VRRP Configuration
To configure a LAN to use VRRP, you must enter configuration commands into every router that is to be
provided with backup or that is to serve as backup to another router. Certain values must be the same between the
original router and its backups; other values must differ (as discussed in the following sections).
The VRRP interface is for VRRP only; it cannot be used for any other purpose. Unlike other logical interfaces, the
VRRP interface does not use the usual Ethernet MAC address associated with the router. Instead, it uses the
VRRP MAC address as defined in RFC 2338, that is, 00005e0001xx where xx is the VRID.
IP Address
Every logical interface is assigned its own IP address, or range of addresses, that is unique on the LAN. The
VRRP interface must be assigned the IP address that serves as the default static gateway for other devices on the
LAN.
Note: You must assign the same IP address to the VRRP interface in the master router and in every router that is
to serve as its backup. For example, if the VRRP interface is assigned IP address 192.168.100.254 in router A, the
VRRP interface in every backup router for router A must be assigned IP address 192.168.100.254.
RIP Processing
Routers using VRRP do not need RIP protocol processing to discover routes. (See IP (RIP) Protocol Controls,
page 81.) You may, therefore, turn off RIP processing using these commands:
For example, the following command assigns the VRID 7 to the logical interface 0:1 that is to serve as the VRRP
interface.
¥ Integer from 1 through 255; thus, a LAN can have up to 255 VRIDs.
¥ The same VRID must be defined in all routers that make up the Virtual Router, that is, the original router and
all routers that are to serve as its backups. For example, if VRID 7 is defined in router A, then VRID 7 must
also be defined in all backup routers for router A.
Note: The VRRP interface becomes effective after you both save your changes and either restart the VRRP
interface or reboot the router. For example, these commands save all changes and restart logical interface 0:1.
save
eth restart 0:1
Note: The VRRP attribute commands do not require a restart or reboot to take effect. However, you do need to
save your changes if they are to persist after a restart or reboot.
To define a record to contain the attributes for a VRID in a router, use this command:
The port number is needed only if the router is an Ethernet hub router with two ports (port 0 and port 1).
The priority value determines which backup router takes over when a router fails. The original (or master) router
must be assigned the highest priority (255). Lower priorities are assigned to its backup routers, that is, the other
routers in which the same VRID is defined.
For example, suppose routers A, B, and C all have VRID 7 defined. If router B should take over if router A fails
and if router C should take over if both A and B fail, you would assign priority 255 to A and lower priorities to B
and C, such as, priority 100 to B and priority 50 to C.
The priority command is: eth vrrp set priority <priority> <vrid> [<port#>]
The time interval value specifies how often VRRP advertisement packets are sent. It also determines how quickly
a backup router can recognize that another VRRP router is down.
If the backup does not receive a VRRP packet from another VRRP router during the master down interval, the
backup assumes the other router is down. The master down interval is:
Thus, the default skew time is (256 - 100) / 256, or .609375. The default master down interval is (3 * 1) +
.609375, or 3.609375 seconds.
Note: The time interval must be the same for every router in the Virtual Router, that is, for every router in the
LAN with the same VRID. For example, if a VRRP interface in routers A, B, and C has the VRID 7, routers A, B,
and C must all specify the same time interval for VRID 7.
The time interval command is:eth vrrp set timeinterval <seconds> <vrid> [<port#>]
You may specify an optional password of 1 to 8 characters. The password is only used to authenticate VRRP
advertisement packets. It is sent as clear text on the LAN. If you do not specify a password, no password
authentication is done.
Note: The password must be the same for every router in the Virtual Router, that is, for every router in the LAN
with the same VRID. For example, if a VRRP interface in routers A, B, and C has the VRID 7, routers A, B, and
C must all specify the same password for VRID 7.
The password command is:eth vrrp set password <string> <vrid> [<port#>]
The command to clear the password is:eth vrrp clear password <vrid> [<port#>]
The preemption option determines what the router does when it recovers from a failure, as follows:
¥ If the router is the master router for the IP address (it has priority 255), it always immediately preempts the
backup router and resumes its function in the network.The preemption option cannot change this.
¥ However, if the router is a backup router for the IP address and it determines that a router with a lower
priority is currently functioning as backup, the preemption option determines whether this router immediately
preempts the router with lower priority or waits for the lower priority router to go away before becoming the
active VRRP router.
The preemption option may differ among the backup routers for a VRID.
The preemption command is:eth vrrp set option <preempt | nopreempt> <vrid> [<port#>]
To delete the VRRP configuration in a router, you delete the attribute record and the extra logical interface using
these commands:
# These commands define a logical interface 0:1 to serve as the management interface.
# It is assigned an IP address unique on the LAN, 192.168.254.252.
eth add 0:1
eth ip addr 192.168.254.252 255.255.255.0 0:1
#
# RIP is not needed for either interface so it is turned off.
eth ip options txrip off
eth ip options rxrip off
eth ip options txrip off 0:1
eth ip options rxrip off 0:1
#
# In this example, the VRRP interface is the default logical interface 0:0,
# (The VRRP interfaces for the master and backup routers may have different numbers.)
#
# The VRRP IP address must be the same as that of the master router.
eth ip addr 192.168.100.254 255.255.255.0
#
# The VRRP interface must be assigned the same VRID as in the master router.
eth ip vrid 7
#
# A VRRP attribute record is defined for VRID 7.
eth vrrp add 7
#
# The backup router must have a priority less than 255. Here, the default, 100,
# is used.
eth vrrp set priority 100 7
#
# The backup router must have the same password as the master router.
eth vrrp set password abcdefgh 7
#
# The backup router must have the same time interval as the master router. In this
# example, the default, 1 second, is used.
# The default preempt option is used; it is not required to be the same as the
# master router.
#
# Save the changes and then reboot.
save
reboot
The features described in this chapter can be purchased as software option keys. To determine which software
options are installed on your router, use the vers command. (If a feature has not been enabled, it is listed with a ~
prefix.)
¥ Encryption
¥ IP filtering
¥ L2TP tunneling
¥ 3DES encryption
The router has several optional software features that can be purchased as software option keys when ordering the
router. These optional features are:
¥ IP routing
These options are usually ordered with the router. The options are controlled by the presence of a key file in flash
memory or a bit set in the CMOS. Both values are checked; if either is set, the option is enabled.
For example, the following vers command output shows that the L2TP and encryption options are disabled, but
all the other options are enabled. The IP Routing feature was enabled by a key.
Options: FRAME RELAY, SDSL, RFC1490, +IP ROUTING, IP FILTERING, WEB, ~L2TP,
~ENCRYPT, BRIDGE, IPX, CMMGMT
When using the web GUI, you select the Upgrade Features button and enter the key. When using the Command
Line Interface, you enter the key using the following command:
Note: The new feature is not activated until the router is rebooted.
reboot bridgeonly
Note: Encryption is a software option. The following section applies only for routers with this option.
For routers shipped with the following encryption options, two variants of encrypted data links over PPP have
been implemented:
¥ Diffie-Hellman
Caution: PPP DES and Diffie-Hellman encryption options may not be exported outside the United States or
Canada.
Configuration Notes
Simply add the encryption commands to your standard configuration. For PPP DES, the encryption
commands are:
¥ PPP DES can only be configured using the Command Line Interface (CLI).
¥ The choice of keys should be carefully considered: they must have eight hexadecimal digits, and values
that are considered cryptographically weak should be avoided. Consult a security expert for advice.
¥ Use the console port or a Telnet port (use the system log command) to view error messages and progress.
If you see ÒUnknown protocolÓ errors, the router receive key and sender Tx key don't match.
¥ For maximum security, as shown in the following configuration examples, Telnet and SNMP access
should be disabled, and PPP CHAP authentication should be used by both ends.
Sample Configuration
Refer to the section Sample Configurations, page 61, of this guide. The routers SOHO (the target router) and
HQ (the remote router) are configured in the same manner as shown in that section, but the following
encryption commands are added. DonÕt forget to save the configuration and reboot the router (save and
reboot commands).
Remember that the transmit key (tx) of SOHO is the receive key (rx) of HQ. Inversely, the receive key of
SOHO is the transmit key of HQ.
Example:
remote setEncryption dese rx 1111111111111111 SOHO
remote setEncryption dese tx 2222222222222222 SOHO
save
reboot
Example:
remote setEncryption dese tx 1111111111111111 HQ
remote setEncryption dese rx 2222222222222222 HQ
save
reboot
Diffie-Hellman Encryption
With Diffie-Hellman encryption, each router has an encryption file that is associated with a public key providing
768-bit security. The predefined keys can be replaced by the user. The key files have a suffix of ÒnumÓ by
convention (e.g., dh96.num).
Configuration Notes
Simply add the encryption command to your standard configuration. For Diffie-Hellman, the encryption
command is:
¥ DESE_1_KEY specifies that the same key is used in both directions, whereas DESE_2_KEY specifies
that the keys are different. Having the same keys in both directions can significantly reduce time needed
to compute the DES keys from the Diffie-Hellman exchange.
¥ The routersÕ receive key and sender Tx key must not match.
¥ Different keys and key files may be used with different remote destinations.
¥ For maximum security, as shown in these examples, Telnet and SNMP access should be disabled, and
PPP CHAP should be used. Use the console port to view error messages and progress.
Sample Configuration
The sample configuration is the same as the one provided in the preceding PPP DES encryption example, but
the Diffie-Hellman encryption command is used instead of the PPP DES encryption commands.
The file consists of 192 bytes, in binary format. There are two 96-byte numbers stored, with the most
significant byte in the first position. For example, the number 0x12345678 would appear as
000000...0012345678.
The first 96 bytes form the modulus. In the equation x' = g^x mod n, n is the modulus. According to Diffie
and Hellman, the modulus should be prime, and (n-1)/2 should also be prime.
The second 96 bytes form the generator, or g in the above equation. The generator should be a primitive root
mod n.
The remaining pieces of the encryption key (x and y) are randomly generated at connection time and will
change every time the device connects.
Contact an encryption expert to obtain cryptographically sound generator and modulus pairs if you wish to
change the default values.
¥ Default Modulus
00000000: c9 b4 ed 33 ba 7f 00 9e - ce e0 83 5d a5 4c 19 25
00000010: e0 2d 99 44 e8 8d cd 16 - 02 0e 6c 26 6d 15 7c 95
00000020: 82 9a 8c 2b 19 d0 56 da - 9b 5b a9 cd cf fb 45 2b
00000030: c9 6a 3c 26 e5 b8 1a 25 - 07 b8 07 22 ed 15 8a 56
00000040: 8b f4 30 f2 28 fc 6b f1 - bf a4 3e 87 f0 be d6 1c
00000050: 33 92 b9 5e d1 b7 20 8c - 92 02 cb e5 26 45 02 1d
¥ Default Generator
00000000: 90 f0 09 78 cc 23 79 a8 - 6c 23 a8 65 e0 dc 0f 6d
00000010: fb a7 26 e8 63 0a 21 67 - 5a f8 0f 59 84 09 5c da
00000020: ef af af fc d2 5f 83 e2 - a7 27 05 34 17 94 1a 4f
00000030: b2 87 76 97 e7 48 43 db - 62 29 70 9e 7f eb 2c 6e
00000040: 5d 25 1d a1 65 f0 b4 e6 - 47 4d 25 23 0b 20 b9 93
00000050: 27 f0 56 12 5a 97 f6 c5 - 31 b6 19 fc 67 22 93 f5
IP Filtering is a type of firewall used to control network traffic. The process involves filtering packets received
from one interface and deciding whether to route them to another interface or to discard them.
When it is filtering packets, the router examines information such as the source and destination address contained
in the IP packet, the type of connection, etc., and then screens (filters) the packets based on this information;
packets are either allowed to be forwarded from one interface to another interface or simply discarded.
IP filtering requires that IP routing be enabled. This type of filtering offers great flexibility and control of IP
filters, but configuration of this feature requires using a series of commands that may appear complex to a casual
user.
See the installation CD for sample IP Filter command files (filter.txt). This file can be edited for your installation
and copied to the router usingTFTP or the Windows Quick Start application. (See Batch File Command
Execution, page 166.)
Filters operate at the interface level. Each interface has a series of IP filters associated with it; the filters can be of
three types: Input filters, Output filters, and Forward filters. The following illustrates the filter process.
IP-ES Forward
Input N N Output
Filters
Filters A A Filters
ICMP
T T
Redirect
IP Routing
Table
Input Phase
When an IP packet comes in through an interface (such as the Input interface), the router tries to recognize the
packet. The router then examines the Input filters for this interface and, based on the first Input filter that
matches the IP packet, it decides how to handle the packet (forward or discard it).
Forward Phase
At this stage, the router uses its routing table to determine to which interface or link the packet is sent . It then
applies the Forward filters based on the Input interface information. Next the router applies the Forward
filters based on the Output interface information.
Output Phase
If NAT translation is enabled for the Output interface, then NAT translation is performed. The router
examines the Output filters for this interface and handles the IP packet based on the first Output filter that
matches the packet.
Network Address Translation is an IP address conversion feature that translates a PCÕs local (internal) address
into a global (outside/Internet) IP address. NAT is needed when a PC (or several PCs) on a Local Area
Network wants to connect to the Internet or get to a remote network that uses global, registered addresses:
NAT swaps the local IP address with a global IP address: the IP address and port information that the PC uses
are remapped (changed) to the IP address that was assigned to the router and a new port number is assigned.
Note: The preceding section, Filters and Interfaces, describes how NAT ÒbehavesÓ for each filtering phase.
Filter Actions
Each packet is compared to filters at each implementation point (Input, Forward, and Output). If no filter at a
particular point matches the incoming IP packet, the packet is accepted. If a filter does match the packet, the filter
initiates one of the following possible actions:
Accept
When the packet is accepted at a filter interface (Input, Forward, or Output), the router lets it proceed for
further processing.
Drop
Reject
With Reject, an ICMP REJECT (Internet Control Management Protocol) is sent to reject the packet.
Pass to IPSec
Two actionsÑinipsec and outipsecÑpass the packet to IPSec for further processing. The inipsec action is
for packets coming from the other IPSec gateway; it passes the packet to IPSec for decrypting. The outipsec
Although filters are the mechanism by which packets are passed to IPSec, it is recommended that you use
IKE, rather than your own filters, to manage your IP Security (see IPSec (Internet Protocol Security), page
134).
IP Filter Commands
To define and manage IP filters on an Ethernet interface, use the command eth ip filter. To define and manage IP
filters on the remote interface, use the command remote ipfilter. For more information on these commands, see
eth ip filter, page 237 and remote ipfilter, page 267.
Special Notes
IP filters of Input type are checked before the IP packet is redirected by ICMP. This could adversely affect local
LANs that use ICMP redirect to dynamically learn IP routes. IP filters of Input type are checked before the IP
packet is sent to the router itself as a host.
Example:
The following commands stop any attempt by a host coming from the remote Internet from sending an IP packet
to the Telnet port. Hence, the router does not see the packet, and the packet is not forwarded.
These commands stop any attempt by a host coming from the remote internet from sending an IP packet to the
Telnet port ÒthroughÓ the router to a different interface. The router itself could still receive the IP packet, hence
the remote host could Telnet to the router itself.
¥ The L2TP Concepts section explains LNS, L2TP client, LAC, dial user, tunnels, and sessions.
¥ Configuration describes preliminary configuration steps and verification steps and lists commands associated
with the configuration of L2TP and PPP sessions.
¥ The Sample Configurations section provides two examples with step-by-step instructions: a simple L2TP
client configuration example and a complete LNS and L2TP client configuration example.
The installation CD also contains sample configuration files. These files can be edited for your installation
and copied to the router using TFTP or the Windows Quick Start application. For more information on TFTP
use, see Batch File Command Execution, page 166.
Introduction
L2TP (Layer 2 Tunneling Protocol) is used to forward a PPP link from a remote site to a corporate site across the
Internet, thus creating virtual paths called tunnels. Because tunneling involves encapsulating data, packets can be
transported across networks using different protocols. The advantages for tunneling the PPP protocol are listed
below:
¥ Different network protocols such as NetBEUI, IPX, and Appletalk can be transported through the Internet
using a tunnel. The protocol packets are encapsulated and routed across the network through the Internet.
¥ Tunnels provide a way to reduce costs and complexity associated with remote dial-up networking by using a
local ISP: users connect to the remote site by dialing into their local ISP and letting the Internet handle the
long-distance connections, thus avoiding long-distance phone charges.
¥ Tunneling PPP allows compression of data through the entire tunnel, which translates into greater throughput.
¥ By allowing encryption over the PPP link, L2TP contributes to more secure networks over the Internet.
¥ Remote users can access the company network, even if there is a company firewall (provided, of course, that
tunnels can come through the firewall).
Note: This feature can interoperate with any vendor that supports L2TP - Draft II.
L2TP Concepts
This section defines the major L2TP concepts and illustrates them with L2TP client examples. It also describes
the creation and destruction of tunnels and sessions.
An L2TP tunnel is created between an L2TP client and an L2TP network server (LNS). The client and server
control the tunnel using the L2TP protocol.
The LNS is the point where the call is actually managed and terminated (e.g., within a corporate
network).
The LAC is the physical hardware (such as a router) used for placing and receiving phone calls.
¥ Dial User
A dial user is the remote system or router that is either placing the call to the LAC or receiving the call
from the LAC.
The dial user does not actually dial in to the LNS or receive a call from the LNS, since this is a virtual
connection.
The dial user is one end of a PPP session. The LNS is the other end of the PPP session.
¥ L2TP Client
With an L2TP client, the dial user and LAC are combined in the same hardware device. In this case, the
PPP session is between the LAC and the LNS.
As shown in the following illustration (Figure 1), an L2TP client is used to tunnel a PPP session between
a small office (our router) and a corporate office through the Internet.
The tunnel uses UDP/IP traffic as the transport medium over IP. This implementation of L2TP as illustrated
below shows a tunnel from a remote userÕs perspective.
Note: There is one PPP session over ISDN and another PPP session over the tunnel.
The LNS acts as the supervising system. The L2TP client acts both as the dial user and the LAC.
One end of the tunnel terminates at the L2TP client. The other end of the tunnel terminates at the LNS.
One end of the PPP session going through the tunnel terminates at the L2TP client acting as the dial user; the
other end terminates at the LNS.
Tunnels
Tunnels are virtual paths that exist between an L2TP client and an L2TP server.
An L2TP server can communicate simultaneously with more than one L2TP client.
An L2TP client can communicate simultaneously with more than one L2TP server.
Some L2TP implementations including the one discussed in this section allow the same router to act as both
an L2TP client and an L2TP server simultaneously, if so configured.
Caution: Verify that the IP address of the other end of the tunnel is correctly routed through the right, local
interface/remote and will not appear to be routed through the tunnel. An attempt to route the tunnel endpoint
within itself will fail.
Sessions
Sessions can be thought of as switched virtual circuit ÒcallsÓ carried within a tunnel and can only exist within
tunnels. One session carries one ÒcallÓ. This ÒcallÓ is one PPP session. Multiple sessions can exist within a
tunnel. The following briefly discusses how sessions are created and destroyed.
¥ Session creation
Traffic destined to a remote entry (located at the end of the tunnel) initiates a tunnel session. When the
L2TP client wishes to establish a session to an LNS, the L2TP client assumes the role of a LAC and
sends control packets containing incoming call information to the LNS over the tunnel.
¥ Session destruction
A tunnel session automatically times out after the data session stops. When instructed to destroy a
session, the L2TP client closes any PPP session associated with that session. The L2TP client may also
send control messages to the LNS indicating that the L2TP client wishes to end the PPP session.
When the LNS wants to hang up the call, it sends control messages destroying the session.
Configuration
¥ A Tunnel CHAP secret (both sides of the connection must use the same secret)
¥ The IP address of the other party must be provided to the initiating side of the tunnel
4. Create a remote entry for the PPP session. Associate the remote entry with the Tunnel.
Verification Steps
1. Verify that the IP address of the other end of the tunnel is correctly routed through the right, local
interface/remote and will not appear to be routed through the tunnel. An attempt to route the tunnel
endpoint within itself will fail.
a.ÒPingingÓ from the L2TP client or LNS to the opposite tunnel endpoint should succeed (this tests the
tunnel path).
b.ÒPingingÓ from a tunnel endpoint IP address to an IP address within the tunnel will probably fail due to
the existence of the IP firewall.
Configuration Commands
¥ Tunnels
For additional information, see L2TP Ñ Virtual Dial-Up Configuration Commands, page 322.
CHAP secret:
l2tp set CHAPSecret <secret> <TunnelName>
Tunnel authentication:
Note: Verify that the IP address of the other end of the tunnel is correctly routed. It should not be routed
through the tunnel itself, but over a physical link.
You may also specify the source IP address for the tunnel as an address other than the WAN interface IP
address, such as the Ethernet IP address.
Other commands:
Commands are also available to delete a tunnel, close a tunnel, or set up advanced L2TP configuration
features such as traffic performance fine-tuning (see L2TP Ñ Virtual Dial-Up Configuration
Commands, page 322).
Two commands are used to extend a PPP link from a remote site to a corporate site across the Internet
and establish a tunnel. For more information, see L2TP Ñ Virtual Dial-Up Configuration Commands,
page 322.
Sample Configurations
Two sample configurations are described in this section:
¥ A simple configuration. This example describes the information needed to configure one side of the tunnel
(the client side).
¥ A complete configuration. This example describes the information needed to configure both sides of the
tunnel (client and server sides).
This example shows how a telecommuter working at home (client side) can configure his/her router SOHO to
tunnel to the companyÕs LAN (server side).
The information given in the Configuration Process section below provides a framework reference for this
type of L2TP Client configuration.
¥ Assumptions
¥ The server side (the company) has an LNS router connected to the Internet.
¥ The client side has an existing route to the Internet with the remote ÒInternetÓ (refer to the following
Note, if you need sample configuration commands).
¥ IP routing is enabled (refer to the following Note, if you need sample configuration commands).
Note: Below is an example of configuration commands that can be used to enable IP routing and
establish a route to the Internet.
¥ Configuration Process
The following sets of questions, answers, and configuration commands specific to the L2TP tunnel and
the PPP remote will assist you in configuring the client side router SOHO (also referred to as home
router). Note that the server side is referred to as either company router or router at work.
2. What is the host name of the company router at work to which the user will tunnel?
3. What is the shared CHAP secret used for tunneling between the home router (client) and the
company router (server)?
4. What is the IP address of the company router to which the user will tunnel?
L2TP tunnel answers. For our example, letÕs assume the answers to the above tunnel-specific questions
are as follows:
1. Home_Router
3. Shared_Secret
4. 10.0.0.1
L2TP tunnel configuration commands. These commands would be used to set up the L2TP tunnel
information for our example:
l2tp add Work_Router
l2tp set ourtunnel Home_Router Work_Router
l2tp set chapsecret Shared_Secret Work_Router
l2tp set address 10.0.0.1 Work_Router
3. Does the home router need PPP authentication for the remote router (company router)?
If yes:
a. Use the command remote disauthen <remoteName> where <remoteName> is the name used to
refer to the companyÕs router.
4. Does the remote router dynamically assign an IP address for this PPP session?
If yes:
Use IP address translation (NAT)
5. Which IP and network addresses does the home router access at work through this PPP session?
PPP remote answers. For our example, let us assume the answers to the above PPP remote-specific
questions are as follows:
2. ppp_soho_secret
3. We assume that this router will authenticate the router at work with the following information:
4. We assume that the companyÕs router will dynamically assign an IP address to the home router.
5. 172.16.0.0/255.240.0.0
PPP remote configuration commands. For our example, these commands would be used to set up the
PPP remote information for tunneling to work:
remote add ppp_work
remote setlns Work_Router ppp_work
remote setpasswd ppp_work_secret ppp_work
remote setiptranslate on ppp_work
remote addiproute 172.16.0.0 255.240.0.0 1 ppp_work
The following information and illustration (Figure 1) provide a configuration example of an LNS and L2TP
Client.
¥ Assumptions
IP Addresses
The LNS serverÕs LAN IP address is 192.168.100.1 (LNSserver) with a mask of 255.255.255.0.
The LNS has a WAN IP address of 192.168.110.1, which is used as the tunnel endpoint.
The L2TP ClientÕs LAN IP address is 192.168.101.1 (soho) with a mask of 255.255.255.0. Additionally,
192.168.101.1 is also the tunnel endpoint within the L2TP client. The router soho connects to the remote
isp.
Secret/password
A shared tunnel secret of ÒtunnelsecretÓ will be used.
PPP Authentication
The LNS will authenticate the client using PPP. The client will not try to authenticate the LNS using
PPP. For PPP authentication, the L2TP client will be known as ÒlacclientÓ with a password of
ÒclientpasswordÓ.
Figure 1
isp
router internet
172.16.0.254 INTERNET router
CO end:
172.16.0.1
Note 3: No CHAP secret is needed; the client does not authenticate the LNS server.
Configuration Process
The following sample scripts list the commands used to configure the routers soho (L2TP client), LNSserver
(LNS), internet, and isp.
Define soho:
system name soho
system passwd sohopasswd
system msg configured_12/15/98
system securitytimer 60
Note: internet is a DSL router. The router internet establishes a link to the LNS.
Define internet:
system name internet
system passwd internet
system msg configured_12/15/98
system securitytimer 60
Note: isp is an ISDN router. The router soho calls the router isp.
Define isp:
system name isp
system passwd isppasswd
system msg configured_12/15/98
system securitytimer 60
Enable IP routing:
eth ip enable
eth ip addr 172.16.0.254 255.255.255.0
Disable DHCP:
dhcp disable all
Define LNSserver:
system name lnsserver
system passwd serverpassword
system msg Script_for_LNS_called_HQ
system securitytimer 60
Enable IP routing:
eth ip enable
eth ip addr 192.168.100.1 255.255.255.0
Note: IPSec security is a software option for your router. The option becomes available after purchase and
installation of the software option key (see Software Option Keys, page 114). The following section applies only
to routers with this option.
IPSec is an open standard that defines optional authentication and encryption methods at the IP packet level. It is a
true network layer protocol that provides authentication, privacy, and data integrity. Its protocol suite is comprised
of:
¥ ESP (Encapsulated Security Payload)Ña security protocol that completely encapsulates and optionally
encrypts and/or authenticates user data.
¥ IKE (Internet Key Exchange)Ña security protocol used to establish a shared security policy and
authenticated keys before an IPSec data transfer begins.
IPSec sessions are initiated through Security Associations (SAs), which allow peers to negotiate a common set of
security attributes. In a nutshell, IPSec assures source authenticity, data integrity and confidentiality of IP packets,
providing the level of security required by Virtual Private Networks (VPNs).
IPSec can be used in conjunction with L2TP (see L2TP Tunneling Ñ Virtual Dial-Up, page 122). IPSec offers
greater security than L2TP, but it does not support as many network protocols. However, bridged and lower layer
protocol traffic may be transmitted across an IPSec network if packets are first encapsulated by L2TP, and then by
IPSec.
IPSec does not require modification of individual applications or devices for secure data transport. Although it
does require global IP addresses for all peers, Network Address Translation (NAT) may be used with IPSec. (See
Network Address Translation (NAT), page 91.)
The router supports both IPSec encapsulation methods. It can serve as the endpoint of a tunnel mode connection
or as the endpoint of a transport mode connection. Also, while operating in tunnel mode, the router will allow
transport mode traffic to flow through it.
Tunnel mode is the default encapsulation mode for the router. It is used when the IPSec packet comes from either
another device or from the encrypting device. In tunnel mode, the IP header is encrypted as part of the payload,
and an entirely new IP header is added to the packet. Tunnel mode prevents network traffic analysis. A network
attacker could determine the tunnel endpoints (the gateway addresses), but not the true source and destination of
the tunneled packets, even if they are the same as the tunnel endpoints
Transport mode is used when the IPSec packet originates in the encrypting device. In transport mode, only the
payload (data portion) of each IP packet is encapsulated and/or encrypted. An IPSec header is inserted between
the IP header and the upper layer protocol header.
The router should be configured for transport mode when a client is communicating directly with the router. For
example, use transport mode when a remote user wants to access the HTML setup pages or Telnet into the router.
Tunnel Mode:
Secure Packet Traffic
Between Routers
Transport Mode:
Secure Data Traffic Between Devices
Device Device
Router Router
or router or router
If ESP encryption is selected, ESP automatically encrypts the data portion (payload) of each packet using the
chosen encryption method, DES (56-bit keys) or 3DES (168-bit keys).
Caution: Restrictions may exist on the export of the DES and 3DES encryption options outside the United States
or Canada.
Although encryption cannot be specified for individual applications, a server could be partitioned to achieve the
same effect. Given that packets can be encrypted using any combination of security association (SA), protocol,
source port, and destination port, you could specify that traffic to and from one database be encrypted while
allowing unencrypted traffic to pass freely to and from other databases on the server.
Both the ESP and AH protocols support authentication and replay detection. Replay detection uses sequence
numbers to reject old or duplicate packets. The packet is authenticated using a message digest derived from either
of two hashing algorithmsÑSHA-1 (Secure Hashing Algorithm 1) or MD5 (Message Digest 5).
The ESP protocol can authenticate the data origin and data integrity; it does not authenticate the entire packet.
More specifically, the message digest is inserted following, not before, the payload. Both the message digest and
payload are sandwiched between the ESP header and ESP trailer.
The AH protocol can perform packet authentication. The AH header protocol defines authentication methods for
both the packetÕs outer IP header and its payload. Unlike ESP authentication, the message digest is inserted in
front of the payload.
ESP Protocol:
Encrypted
Authenticated
AH Protocol:
Authenticated
IKE Management
Internet Key Exchange (IKE) management makes encryption key exchange practical, even in large networks
where there are many unknown intermediate links between sending and receiving nodes. Unlike protocols that
allow only one key exchange per session, IKE can generate and transfer multiple keys between peers during a
single tunnel session. Users may specify the duration for which keys are valid. This dynamic type of Diffie-
Hellman key exchange greatly reduces the chances of a network attacker finding an entry into a tunnel.
If you wish, you may also select Perfect Forward Secrecy (PFS) to increase the security of the key exchange. PFS
ensures that the compromise of a single key permits access to only data protected by that particular key. However,
PFS requires use of a Diffie-Hellman group for each rekey, adding overhead to the process and causing IKE to run
more slowly. Thus, PFS is not always desirable.
Because VPN users are likely to be using a variety of protocols, a common set of security attributes must be
negotiated at the beginning of any tunnel session. Phase 1 IKE is responsible for negotiating these security
attributes and establishing peer identities. A secure tunnel for the exchange of encryption keys is also created
Main mode is used when both source and destination IP addresses are known. In main mode, only two options
require definition initiallyÑthe remote peer IP address and the shared secret.
Aggressive mode is used when either the source or destination IP address could change, as with a remote modem
or DSL connection. In aggressive mode, additional information must be specified at the beginning of a session.
This additional information includes the remote gatewayÕs IP address, the local and remote peer IDs, and an ID
type. This information is checked against the routerÕs Security Association (SA) database. If a match is found, a
tunnel session can be established.
¥ Session authentication
After an IKE SA is established, any number of IPSec SAs may be created. Although IPSec SAs can be configured
manually, most networks rely on IKE to set them up. IKE negotiates and establishes SAs on behalf of IPSec. SAs
are negotiated between the two endpoints of the tunnel and contain information on sequence numbering for anti-
replay.
IPSec SAs are unidirectional so a set of SAs is needed for a secure connection. For each security protocol used,
one SA is needed for each direction (inbound and outbound). Usually, only one protocol (ESP or AH) is used so
the connection would use two SAs (one inbound and one outbound). However, it is possible for a connection to
use four SAs if it uses two proposals and policies, one requiring the ESP protocol and the other requiring the AH
protocol.
Phase 1 IKE:
The session initiator creates a cookie and sends it to the responder, with a zero placeholder in the responder
cookie area. The responder then creates a cookie and fills in the zeros. All packets will contain these two
cookies until the Phase 1 SA expires. IKE Peer commands next establish the identity of local and remote
peers. Then IKE Proposal commands specify how packets will be encrypted and/or authenticated for the
initial exchange.
Phase 2 IKE
IKE IPSec Proposal commands specify how packets will be encrypted/authenticated for the final SA. Then
IKE IPSec Policy commands specify which packets will be encrypted/authenticated for the final SA.
You can use the following command to clear all IKE configuration information from the router.
ike flush
The other IKE commands relate to the four categories of information required to set up IKE in the router.
1. The IKE Peer commands establish the identity of the local and remote peers.
2. The IKE Proposal commands define the proposals exchanged during the Phase 1 exchange.
3. The IKE IPSec Proposal commands specify the parameters for the final SA.
4. The IKE IPSec Policy commands specify the filtering parameters for the final SA.
ike peers add <PeerName> Defines the name of a new IKE peer.
Sets the peer connection to either main or aggressive mode. Main mode is used when the IP addresses of
both ends are known. Aggressive mode is used when the address of one end can change, as with a typical
modem or DSL connection.
For a main mode connection, set only the IP address and the secret:
Sets the IP address of the other endpoint. In a main mode configuration, the other endpoint is constant.
Sets the shared secret for the peer. The secret must be identical for both ends. It can be up to 256
characters long; do not use spaces or non-printable characters.
For an aggressive mode connection, you must set the IP address and secret and several more options.
Sets the shared secret for the peer. The secret must be identical for both ends.It can be up to 256
characters long; do not use spaces or non-printable characters.
Sets the local ID. This must match the peer ID on the other end.
Sets the type of the local ID (IP address, domain name, or e-mail address). This must match the peer ID
type on the other end.
Sets the peer ID. This must match the local ID on the other end.
Sets the type of the peer ID (IP address, domain name, or e-mail address).This must match the local ID
type on the other end.
ike proposals add <ProposalName> Defines the name of a new IKE proposal.
Proposes the session authentication; preshared key is currently the only option.
3DES Encryption using three 56-bit keys, thus, producing 168-bit encryption.
Proposes the Diffie-Hellman (DH) key generation group used (no group or group 1 or 2).
Proposes the length of time (in seconds) before the Phase 1 SA expires; the recommended value is 86400
(24 hours). When the time limit expires, IKE renegotiates the connection.
ike ipsec proposals add <ProposalName> Defines the name of a new IKE IPSec proposal.
ike ipsec proposals delete <ProposalName> Deletes an existing IKE IPSec proposal.
The followings proposals set commands specify the contents of the proposals exchanged.
Note: The next three commands (set espenc, set espauth, and set ahauth) determine the encapsulation
method (AH or ESP) used and the authentication and/or encryption requested by the proposal.
You cannot request both AH and ESP encapsulation in the same proposal. (It is possible for a connection
to use two proposals, one that requests AH and the other that requests ESP.)
In any one proposal, you can request any one of the following:
ike ipsec proposals set espenc <DES | 3DES | NULL | NONE> <ProposalName>
Determines whether ESP encryption is requested and, if it is requested, the encryption method used.
NULL No encryption, but use ESP encapsulation. Headers are inserted as though the data was
encrypted. This allows veriÞcation of the source, but sends the data in the clear, increasing
throughput.
NONE No encryption and no ESP encapsulation. (If you select this option, the encapsulation method
must be requested by a set espauth or set ahauth command.)
Determines whether ESP message authentication is requested and, if it is requested, the hash algorithm
used.
MD5 Use ESP encapsulation and authenticate using hash algorithm Message Digest 5.
SHA1 Use ESP encapsulation and authenticate using hash algorithm Secure Hash Algorithm-1.
Determines whether AH message authentication is requested and, if it is requested, the hash algorithm
used.
Note: The proposal cannot request both AH encapsulation and ESP encapsulation.
MD5 Use AH encapsulation and authenticate using hash algorithm Message Digest 5.
SHA1 Use AH encapsulation and authenticate using hash algorithm Secure Hash Algorithm-1.
NONE No AH encapsulation and no AH message authentication. (If you select this option, the encap-
sulation method must be requested by a set espenc or set espauth command.)
Proposes the length of time (in seconds) before the IPSec SA expires; the recommended value is 86400
(24 hours). When the time limit expires, IKE renegotiates the connection.
Proposes the maximum number of kilobytes for the IPSec SA; 0 means unlimited. After the maximum
data is transferred, IKE renegotiates the connection. By limiting the amount of data that can be
transferred, you reduce the likelihood of the key being broken.
ike ipsec policies add <PolicyName> Defines the name of a new IPsec policy.
ike ipsec policies enable <PolicyName> Indicates that the specification of this IPSec policy is complete and
enables use of the policy.
The following commands define the filtering parameters for the policy.
Specifies an IKE peer that may be used for the connection. (The peer must have been defined by IKE
peer commands.)
Specifies the encapsulation mode (tunnel or transport) that may be used for the connection. The default is
tunnel mode.
Specifies an IKE IPSec proposal that may be used for the connection. (It must have been defined by IKE
IPSec proposal commands.) The policy may allow more than one value for the proposal parameter. For
example, two set proposal commands could specify two proposals, either of which could be used by the
connection.
Sets the Perfect Forward Secrecy negotiation and specifies the Diffie-Hellman group used for each rekey
(none or group 1 or 2). Perfect Forward Secrecy increases the security of the key exchange; compromise
of a single key permits access to only the data protected by that particular key. However, the additional
encryption slows the IKE process so it is not always desirable.
Requires that the data come from the specified source IP address and mask.
Requires that the data be intended for the specified destination IP address and mask.
Determines whether the router applies NAT (network address translation) before the packets are
encrypted by IPSec. If translate is set to on, the packets are sent using the host routerÕs public IP
address. The remote must have IP address translation enabled (see NAT on page 91). The address that
NAT translates to should be the source or destination address for the policy (use the set source or set
dest commands).
ike ipsec policies set protocol <ProtocolNumber | TCP | UDP | *> <PolicyName>
Requires a specific protocol that must be used or allows any protocol (*).
ike ipsec policies set sourceport <PortNumber | TELNET | HTTP | SMTP | TFTP | *> <PolicyName>
Requires a specific source port for the data or allows any source port (*) (Because port numbers are TCP
and UDP specific, a port filter is effective only when the protocol filter is TCP or UDP.)
ike ipsec policies set destport <PortNumber | TELNET | HTTP | SMTP | TFTP | *> <PolicyName>
Requires a specific destination port for the data or allows any destination port (*). (Because port numbers
are TCP and UDP specific, a port filter is effective only when the protocol filter is TCP or UDP.)
Requires a specific interface that must be used or allows all interfaces (all). The policy is only used when
the specified interface is connected. The specified interface must be the interface to the IKE peer.
The first example in this section shows an IKE configuration that uses main mode for a secure connection
between two routers with fixed IP addresses. The second example shows how the first configuration must change
when one of the routers no longer has a fixed IP address thus, requiring aggressive mode.
192.168.16.X 192.168.19.X
192.168.17.200 192.168.18.201
Home Branch
Office Public Network Office
Home Office Branch Office
Private Private
Router Router
Network Network
The configuration sets up a secure connection between the two routers across a public network, thus, the routers
are identified by their public IP addresses on the ike peers commands. The packets that are transmitted through
this secure connection are from devices in the home office and branch office networks. These networks use
private addresses, and thus the packets contain private IP addresses. The ike ipsec policies commands specify
these private source and destination addresses.
192.168.16.X 192.168.19.X
(No fixed IP address)
192.168.17.200 Domain: branchoffice.big.com
Home Branch
Office Public Network Office
Home Office Branch Office
Private Private
Router Router
Network Network
To change the main mode configuration to an aggressive mode configuration, you only need to change the ike
peers commands. All the other IKE commands remain the same. Change the mode to aggressive and change the
address of the router that has no fixed address to 0.0.0.0, and specify either its e-mail address or domain name.
Note: Remember to save and reboot each router after entering the configuration changes.
Change the ike peers commands in the home office router configuration to the following:
Change the ike peers commands in the branch office router configuration to the following:
IPSec Commands
The following commands allow you to define an IPSec connection without IKE.
Note: If you define a tunnel using IPSec commands, the keys will remain static. This could pose a security risk
and is not recommended. Use of IKE for key management is recommended.
The following commands define parameters for the specified Security Association (SA).
Requests the encapsulation mode (tunnel or transport) for the SA. The default is tunnel mode.
Selects authentication using either SHA-1 (Secure Hashing Algorithm 1) or MD5 (Message Digest 5)
Specifies the encryption key (in hexadecimal, 64 bits for DES or 192 bits for 3DES).
Selects the authentication and/or encryption services used: AH authentication, ESP encryption, or both
ESP encryption and ESP authentication (encryption applied first and then authentication).
This chapter describes facilities for managing, monitoring, and securing the router. The options discussed include:
¥ Booting software
¥ Password recovery
¥ Script execution
SNMP Support
SNMP (Simple Network Management Protocol), a member of the TCP/IP protocol suite, was designed to provide
network management interoperability among different vendorsÕ management applications and equipment. SNMP
provides for the exchange of messages between a management client and a management agent. The messages
contain requests to get or set variables that exist in network nodes, thus allowing a management client to obtain
statistics, set configuration parameters and monitor events. These variables (or objects) are defined in
Management Information Bases (MIBs), some of which are general or standard SNMP-defined bases. Other
bases, such as Enterprise Specific MIBs are defined by different vendors for specific hardware.
The router provides SNMP agent support and support for standard as well as Enterprise Specific MIBs. SNMP is
also used internally for configuration of the router. The active SNMP agent within the router accepts SNMP
requests for status, statistics, and configuration updates. Communication with the SNMP agent occurs over the
LAN or WAN connection.
The supported MIBs and a description of their contents are listed in the following table:
Bridge MIB State/statistics (including spanning tree states) within bridging system
Any management application using SNMP over UDP/IP has access to the local SNMP agent. SNMP network
management tools vary but often have features to display network maps of SNMP nodes, poll nodes at intervals,
An example of useful information that can be obtained from a remote SNMP client would be the current status of
the routerÕs WAN link and Ethernet interfaces, including protocol (PPP, CSMA-CD), line speed, maximum frame
(transmission unit) size, physical address, operating status, or packet traffic rates.
The router supports Telnet access. Telnet allows you to log in to the router as if you are directly connected
through the console port. You can issue commands, using the command line interface, to configure the router and
perform status monitoring from any remote location.
To access the router using Telnet, use one of the available TCP/IP packages containing the Telnet application.
Issue the appropriate command syntax and assign the IP address of the router. You are then directly connected to
the router and can issue commands. (For an example, see Telnet Session for Remote Access, on page 14.) To end
the Telnet session, exit the application by entering logoff or another appropriate command.
By default, a system security timer logs out a Telnet session after 10 minutes of inactivity. To change the timer
period, use the system securitytimer command, page 226.
To disable and re-enable Telnet access, use the command system telnetport, page 227. For more information on
controlling Telnet access to the router, see page 101.
A client Trivial File Transfer Protocol (TFTP) facility is built into the router that is capable of reading from and
writing to the network. A TFTP server must be properly configured to communicate with the router for file
transfers to be successful. The client TFTP facility can be used to boot software from a TFTP server, perform
software upgrades and copy configuration files to a TFTP server. A TFTP server is integrated into the WindowsÕ
Configuration Manager and can also be used as a stand-alone application.
TFTP Server
The TFTPD (Trivial File Transfer Protocol Daemon) program is installed on your PC as part of the DSL Tools
software. TFTPD waits for incoming TFTP requests from TFTP clients. It can put a file on your computerÕs hard
disk or get one from it.
Because there is no security built into TFTPD, it is important to specify a root directory where all accessible files
are located. When a file is requested, it must be at or below the level of this root directory on your directory tree or
the request is denied. If a TFTP client attempts to put a file on your PC, the file must already exist for writing.
The Options menu of the TFTPD program allows the user to configure additional parameters, such as the number
of retries and the time between retries. The root directory can also be specified from the Options menu.
The TFTPD operational parameters are kept in file ROUTER.INI in the form:
rootdir=rootdirectory
retries=maxtries
timeout=timeout
TFTPD is automatically called by BootP and Configuration Manager.
BootP Service
This section first discusses what BootP is and then describes the BootP service available from the router.
BootP Concepts
BootP refers to the Bootstrap Protocol. In general, BootP requests have these purposes:
¥ To obtain a TFTP server address and file information to continue the booting up process.
For example, a diskless workstation could use a BootP request to get an IP address for itself, the TFTP server
address where it is to get the kernel it is to load and run, and the file name of that kernel.
A BootP server waits for incoming BootP broadcasts from BootP clients. The server looks up the MAC addresses
of the incoming BootP request in its database. If the MAC address is found, the server normally responds to the
requestor with an IP address. It may also respond with boot information, that is, the IP address of a TFTP server,
and the name of a file.
If the DHCP server in the router is disabled, it, of course, cannot process BootP requests even if BootP processing
is enabled. The DHCP server in the router disables itself if one of the following occurs:
While the relay list contains at least one address, the DHCP server in the router is disabled, and the router
forwards all DHCP requests and BootP requests to all servers in the relay list. It forwards every reply received
from any of the servers in the relay list to the appropriate LAN.
If you remove all addresses from the DHCP relay list, the DHCP server is re-enabled and resumes processing
DHCP requests and also BootP requests if BootP processing is enabled.
Syslog Client
The router can act as a Syslog client, automatically sending system event messages to one or more Unix Syslog
servers. (For example, if you request an IP filter watch, the messages are sent to the Syslog servers; see ETH IP
FILTER, on page 237.) Messages generated by the router and sent to a Syslog server are sent to facility local0
with priority notice.
To disable, re-enable, or redefine the Syslog port, use the command system syslogPort (page 227).
The router can learn the IP addresses of Syslog servers in two ways:
¥ Via DHCP. The router can, under certain circumstances, send out a DHCP message and learn the IP
address(es) of Syslog servers. For more information, see DHCP Client Requests, on page 82.
¥ By explicit configuration. To configure the IP address of a Syslog server, use the command system
addSyslogServer (page 211).
You can limit the Syslog server addresses that the router learns through DHCP. To do so, set a filter for valid
Syslog server addresses using the command system addSyslogFilter (page 210).
The router provides a number of maintenance options for booting router software.
¥ You can boot from the routerÕs FLASH memory, the most common option.
¥ Or, you can boot across the LAN network from a TFTP server, perhaps to test a new level of router software
before downloading it to FLASH memory.
¥ You can also boot through a gateway to a WAN. The router allows you to set permanent network boot
parameters used during network booting, and it enables you to temporarily override those parameters.
¥ Finally, the router lets you define the order in which the router boot procedures are performed. You can make
changes to the boot procedures and specify network boot parameters by entering manual boot mode.
This section provides Boot Mode information for models with configuration switches.
Note: For routers with a reset button, see Recovering Kernels for Routers with a Reset Button, on page 164.
When the router is shipped, it is set for automatic boot from FLASH memory. If you wish to change the boot
options to allow for network booting, to change the order of boot procedures, or to perform a manual boot, you
must enter manual boot mode. Automatic and manual boot are controlled by the configuration switches on the
back panel of the router. The Options menu will be displayed if the routerÕs kernel is missing.
2. Reboot the router by issuing the reboot command or by powering up the router.
1. Retry start-up
2. Boot from Flash memory
3. Boot from network
4. Boot from specific file
5. Configure boot system
6. Set date and time
7. Set console baud rate
8. Start extended diagnostics
2. Reboot by selecting options 1, 2, 3, or 4. If you reboot with switch 6 in the up position, the router boots
its software automatically in the order and manner that you have specified.
If you are in Manual Boot mode, you can reboot the router in the boot procedure order by selecting option 1,
ÒRetry start-upÓ. The boot procedure order is either the one you have specified or the default order. The default
order is to boot from FLASH memory and then from the network (if defined). If you wish to boot from the
network and/or alter the boot procedure order, refer to Option 3: Boot from Network, on page 155.
To perform a manual boot from FLASH memory, select option 2 from the main boot procedure menu. The
router then attempts to boot from FLASH memory. If the boot is unsuccessful, the router returns to manual
boot mode. (When you first receive the router, it defaults to booting from FLASH during power-up or
automatic reboot.)
Before you can boot from the network, you must first define permanent network boot parameters using option
5. You can then select option 3 from the main boot procedure menu to perform a manual boot from the
network. The router attempts to boot from the network using the permanent network boot parameters you
have specified.
If you have not defined network boot parameters, the router attempts to locate a BOOTP or RARP server on
the network.
BOOTP can be used to supply an IP address, a TFTP Server IP address, and a filename.
RARP is used to obtain an IP address, if it knows the MAC address. The router assumes that the RARP server
is also capable of performing the duties of a TFTP server and it will request the filename KERNEL.F2K (or
the filename assigned when permanent network boot parameters are set.)
If a BOOTP or RARP server exists and is properly configured with the routerÕs MAC address, the router
boots from the network. If the boot is unsuccessful, the router returns to manual boot mode.
You can temporarily override permanent network boot parameters when you perform a network boot.
1. When the router is in manual boot mode, select option 4, Boot from specific file, from the
main boot procedure menu.
2. Set the network boot parameters; the current default (permanent) parameters are as shown.
3. After you set the parameters, hit the return key and the router boots from the network using the
temporary boot parameters. If the boot is unsuccessful, the router returns to manual boot mode.
Once you have installed router software on a network TFTP server, you can have the router boot across the LAN.
Network booting requires three parameters:
The TFTP boot server address is specified as: xxx.xxx.xxx.xxx (where xxx.xxx.xxx.xxx is the LAN IP address of the
boot server).
The filename must be in the format: yyyyyyyy.yyy (similar to the DOS filename format).
Note that once you have set a TFTP server address, it will be assigned to the router software TFTP facility. This
server address will then be used whenever a server address is not explicitly specified, including when the copy
command is in the form:
2. Select option 5, Configure boot system, from the main boot procedure menu.
3. Select options 2, 3, and 4 to set the three boot parameters (boot IP address, TFTP boot server address,
and router software file name on the server). To reset any parameter, press enter following the prompt.
4. Set the boot procedure order. You can specify whether the router boots from FLASH memory first, from
a network TFTP server first, or never automatically reboots.
5. Select option 4 to Boot through the IP gateway. In this procedure, the router on the local LAN can
boot from a boot server that is not connected directly. Instead, the path to the boot server can include
other networks (including the WAN, if adequate routers exist). The gateway must be located on the local
LAN and reachable by the local router.
To set the current time and date, boot the router in manual boot mode, and select option 6 from the main boot
procedure menu. Set the new date in the format mm[/dd[/yy (or yyyy)]]. Set the new time in military format
hh[:mm[:ss]]). You are shown the current date and time.
Note: Your router is Y2K compliant. If you choose to enter only two digits to specify the year, values greater
than 93 translate to 19xx. Values less or equal to 93 translate to 20xx. The router has a one-hundred-year date
range (from 1994 to 2093).
If the date is set to zero (0/0/00), the real-time clock is disabled for long-term storage.
Select option 7 to alter the baud rate that the router uses to communicate over the Console port with a
terminal-emulation program. You can override the default rate of 9600. Remember to set the identical baud
rate in your terminal emulation program.
Option 8 in manual boot mode is for running extended diagnostics. Boot diagnostics are only available on
routers with the MC68EN360 processor.
You may want to run extended diagnostics if you suspect a hardware problem. If you select option 8 from the
main boot-procedure menu, you will see the following display:
Enter the number of each test that you would like to run, or select all tests. Then enter Ò.Ó to begin diagnostic
testing. (All of the tests automatically run when you power up or reboot the router.) A debugging mode is
available for use primarily when you encounter a serious problem, in consultation with customer support
services.
Fatal boot failures can be identified by the light patterns shown by the LEDs on the front panel of the router.
Note: Normal LED states are described in the Hardware Specifications section of the Quick Start Guide.
The TEST, LNK, WAN, and LANT LEDs indicate fatal errors according to the following patterns where:
0 Off
G Blinking green
FG Blinking fast
Y Blinking yellow
* On, off, or blinking
Pattern Failure
Any other combinations of the four LEDs flashing in a regular pattern indicates an internal error. Should this
occur, return the router to the factory for repair or replacement.
Note: Non-fatal errors are not displayed by the LEDs, but they do prompt the system to print explanatory
messages on the console.
You can upgrade the software kernel by downloading a new version from the LAN or from the WAN.
Note: We strongly recommend that you use the Configuration ManagerÕs Upgrade/Backup tool to upgrade or
back up the kernel. The Configuration ManagerÕs tool is more convenient to use than the Command Line
Interface.
Upgrade Instructions
Read the following steps very carefully before you perform an upgrade:
1. Warning: Before performing this procedure, make sure that you can successfully boot from the network
using the manual boot procedure option 3 or 4. Refer to the section Option 3: Boot from Network, on
page 155.
2. Copy the router software file KERNEL.F2K (or KERNEL.FPL for an IDSL router) to a directory where
it can be accessed by a TFTP server. The TFTP server must be on the same LAN as the target router; i.e.,
there must not be a router or gateway between the target system and the TFTP server. If the TFTP sever
is not on the same network as the target router, enter the gateway in the boot menu as described in the
previous section.
4. Enter the reboot command to synchronize the file system and reboot the router. Because the kernel is no
longer stored in FLASH memory, the router tries to boot from the network. If you have never set
permanent boot parameters, the router attempts to locate a BOOTP or RARP server. If the router
successfully reboots from the server, go to step 7.
5. Select option 4 to boot router software from the TFTP server using temporary network boot parameters.
You are prompted for:
6. Note that the LAN IP address is the proper address to use during the network boot and this may differ
from the IP address ultimately assigned to the router. Enter the temporary network boot parameters (hit
Enter selection: 4
Enter my IP address:
128.1.210.65
Enter server IP address:
128.1.210.70
Enter load address [80100]:
Enter Þle name: kernel.f2k
Alternatively, select option 5 to set permanent network boot parameters and then boot from the network
using option 3. You would use this option if you wish to boot from the network for a period of time
before copying the software to FLASH memory.
7. After the boot is complete, verify that the kernel is running successfully.
8. When you are satisfied that the new kernel is performing as expected, copy the kernel into FLASH
memory in the router by typing the two following commands:
Warning: After the kernel is copied, do not power down the router until you have issued either a sync or
reboot command to reboot the router. Otherwise the file will not be written to FLASH memory.
9. After successfully copying the kernel to the router, set Configuration switch 2 or 6 to the up position (if
you have set it down), and reboot the router from FLASH memory via the reboot command. If you have
altered the boot procedure order in any way, reset to boot from FLASH memory first. Verify the software
revision number by issuing the vers command.
The system is now ready to be re-configured, if necessary. The configuration files are unchanged by the
upgrade process.
Warning: Before performing this procedure, make sure that you can successfully access the software across the
WAN line via a TFTP server.
1. Copy router software KERNEL.F2K to a directory where it can be accessed by a TFTP server.
Warning: After the kernel is copied, do not power down the router until you have either issued a sync command
or rebooted the router. Otherwise the file is not written to FLASH memory.
4. After successfully copying the kernel to the router, reboot the router from FLASH memory via the reboot
command. If a problem occurs during the upgrading process, try the command again (do not reboot until you
have successfully copied the kernel). If you have altered the boot procedure order in any way, be sure to reset
the router system to boot from FLASH memory first. Verify the software revision number by issuing the vers
command.
The router system is now ready to be re-configured if necessary. The configuration files are unchanged by the
upgrade process.
To successfully save configuration files to the server, those files must already exist and be writeable by everyone.
This restriction is part of the TFTP protocol. Moreover, all the files accessed by the TFTP server must be under a
single root directory. Multiple sub-directories can exist below this root directory, but they must be created
manually at the server. Neither the sub-directories nor the files can be created remotely.
Note: Remember to start the TFTP server from the DSL Tools menu.
The copy command lets you upload configuration files to the TFTP server where the destination is in the form:
[email protected]:filename.ext
2. Create files called SYSTEM.CNF, DHCP.DAT, and FILTER.DAT in this subdirectory. The files can be
empty or not, but should be writeable by everyone.
Note: SYSTEM.CNF, FILTER.DAT, and DHCP.DAT are three key files that should be backed up. To see
other files that you may also want to save, type the command dir.
where xxx.xxx.xxx.xxx is the IP address of the TFTP server and myname is the router name.
1. Try to repair the file system by issuing the msfs command. While logged in, issue a sync command followed
by an msfs command. If the display shows that the file system is corrupted, verify that no other console (via
Telnet) is currently modifying the file system with the ps command. Then attempt to repair the file system
typing the following commands:
msfs fix
sync
2. If the file system is still corrupted (i.e., you cannot write a file), you will have to reformat the file system.
First, attempt to save your configuration files as explained in the section Backup and Restore Configuration
Files, on page 162. Then, while logged in, enter the following commands:
format disk
save
copy [email protected]:kernel.f2k kernel.f2k
sync
The above command sequence assumes that the software presently running from RAM is correctly configured
and is still functional. The save command re-creates all the configuration files (except the FILTER.DAT file,
which you may re-create manually by typing save filter). The copy command reinstalls the operational
software on the FLASH file system, and sync commits all this information to disk.
3. In the event that the software running from RAM is not sufficiently functional to perform those steps, you
will have to boot from the network using a TFTP server, as explained in the section Software Kernel
Upgrades, on page 159.
If you cannot issue the format command (as explained in the previous step), you will have to erase the
FLASH file system from the boot code.
a. Flip configuration switch 6 to the down position and reboot the router (by powering down and up again,
for example).
b. At the manual boot menu, select 5. ÒConfigure boot systemÓ, and enter the ÒmagicalÓ number 98. Then,
move switch 6 back to its up position.
c. Reboot from the network following the steps described in the Software Upgrade Procedure. You will
notice error messages indicating that the file system is not formatted. Then log in and enter:
format disk
d. Recreate the configuration files either by re-entering the information or by restoring them from a TFTP
server. Re-install the operational software by entering the command:
copy [email protected]:kernel.f2k kernel.f2k
This assumes that TCP/IP routing is enabled and that an IP address has been assigned to the Ethernet
interface.
¥ If the reset button is depressed during the power on sequence, the router attempts to download a kernel from a
BootP server as described in Recovery Steps Using BootP, on page 164. (The BootP server must be
configured to recognize the router.) The existing configuration file (SYSTEM.CNF) is written to file
SYSTEM.BAK (overwriting the existing SYSTEM.BAK file). The firmware creates a new SYSTEM.CNF
file that can be accessed using the default password admin.
Note: Use this function only if other recovery methods have failed and you need to start over with a new
kernel image.
¥ If the reset button is depressed after the TEST LED turns green and until after all the LEDs flash, it bypasses
the loading of the FPGA (Field Programmable Gate Array) file that provides the logic that customizes the
router hardware. The actual file name is ASIC.AIC. This function is useful if a mismatch occurs between the
hardware, the kernel, and the FPGA file because it forces a error that allows you to continue and replace the
ASIC.AIC file.
¥ If the reset button is depressed while running the kernel, the router enters a ten-minute recovery period.
During this period, the router password is the router serial number and DHCP is temporarily changed to the
default subnet 192.168.254.0. (This reset function is described in Recovering Passwords and IP Addresses, on
page 165.)
A router that fails to boot may be an indication that the kernel has been corrupted. To recover, you need a kernel
for your particular router model. If you installed the DSL Tools and successfully connected to the router, an
automatic backup process was started that saved a copy of the kernel and other files to the PC in a subdirectory
under DSL Tools called Sxxxxxx, where xxxxxx is the serial number of the unit. The file needed for this recovery
is called KERNEL.F2K.
Before you proceed with the recovery steps described below, make sure that the router has a good Ethernet
connection to the PC. If a console cable is available, you may want to connect it and start a terminal emulator
session so you can see the routerÕs console messages. You can also check the LEDsÕ blinking patterns (on the
front panel of the router) to help you identify the state of the router.
1. Make sure that the PC path and directory information to a valid kernel are correct.
2. Start the Configuration Manager or Quick Start application (refer to your Quick Start Guide).
Note: This IP address needs to belong to the same subnet as your PC and not be used by another device. For a
simple configuration, the IP address 192.168.254.254 will work if your PC already received an IP address
from the router when it was still functioning.
7. Insert a a small pen or pointed object into the small reset switch (unlabeled hole) on the back panel of the
router (to the right of the Ethernet hub connector). With the object still inserted in the reset switch, power up
the router. Wait until all the LED lights flash (about 10 seconds).
8. Once this is accomplished, the BootP server should receive a BootP request and start the TFTPD server. The
TFTPD server will send the kernel to the router.
9. Restart Configuration Manager and try to connect to the router. Using the following instructions, you will
attempt to write a new kernel to the flash system.
10. From the Configuration ManagerÕs Main Menu, select Tools and Upgrade/Backup.
13. Wait until the file is copied, and click Yes to reboot the rooter.
Recover an IP address: Connect to the console terminal and type the eth list command to find out what the
routerÕs IP address is.
Push the reset button and hold it for 3 seconds while the router is running. With this step, the following features
are enabled for a period of 10 minutes:
¥ The system password can be overridden by using the routerÕs serial number as the password.
¥ A DHCP client address is enabled or created, so that a connected PC can obtain an IP address from the router.
This feature is used to load batch files of configuration commands into the router. This allows the user to
customize and simplify installation of the router. A script file can contain commands, comments (lines introduced
by the # or ; characters), and blank lines.
¥ A group of commands that can be executed at any time from the Command Line Interface with the execute
<filename> command.
One-time scripts are useful to execute the complete configuration process from a default (unconfigured) state.
The following steps describe how to proceed in order to create and execute a one-time script from the Quick Start
application.
¥ Create the script on your PC using Notepad or other text editor. The command syntax can be found in the
Command Line Reference manual or enter ? on the router command line (assuming you have access to the
Command Line with the console or with Telnet).
¥ Select the Tools | Execute Script menu item and choose the script file you just prepared. When you click
OK, the script file is loaded to the router (under the name AUTOEXEC.BAT) and the router is restarted, thus
executing the script.
Alternatively, you can manually transfer the script file from your PC to the router using the following method:
¥ Start the TFTP server on your PC and set the root directory where the script file is located.
¥ Use the following command to copy the script file to the router file system:
copy tftp@ <PC_IP_address>:<PC_file> <router_file>
¥ To process the commands in the script file, you can either reboot your router (if the script file was copied
under the name AUTOEXEC.BAT onto the router) or use the command execute <file>.
Note: If present, the file AUTOEXEC.BAT is renamed AUTOEXEC.OLD before it is executed, so that it is only
run once. If you clear the router configuration with the Reset Defaults button of the Upgrade/Backup tool or the
reboot default command, the AUTOEXEC.OLD is renamed back to AUTOEXEC.BAT and re-run after the boot
up, thus restoring your configuration.
You can include the commands rename <autoexec.old> <autoexec.bat> or reboot in a script file; there is no
limitation on the commands that you might define in your scripts. The rename command is useful if you need the
script to execute on every startup, whereas the reboot command is useful to apply changes and have them take
effect (almost) immediately.
Caution: If you create a one-time script file (copied to the router under the name AUTOEXEC.BAT), do not
include the commands rename <autoexec.old> < autoexec.bat> and reboot at the same time. This will result in
an endless loop of starting the router, executing the script, restarting the router, re-executing the script.
Software problems usually occur when the routerÕs software configuration contains incomplete or incorrect
information. This chapter discusses:
¥ Diagnostic tools that are available to help identify and solve problems that may occur with your router
¥ System messages
Diagnostic Tools
Using LEDs
Most hardware problems can be diagnosed and solved by checking the LEDs on the front panel of your router.
The following table summarizes the normal LED sequence in the left column (five consecutive states) from
Power On to Ready State. The right column lists suggestions for problems reflected by an ÒabnormalÓ LED state
(no progression to the next state).
For the LED patterns that indicate fatal boot errors, see Identifying Fatal Boot Failures, on page 158.
¥ Check that the power cord is firmly plugged into the back panel of the router and the other end into an active
AC wall or power-strip outlet.
State 1
Power ON A hardware problem has been detected.
5 sec
PWR - green Contact Technical Support.
TEST - amber
LINK - off
State 2
All lights flash 1 sec
State 3
PWR - green 1. Check that the DIP switches are all up.
5 sec
TEST - green 2. Check that the correct software was loaded.
LINK - off
State 4
1. Check your DSL cable.
PWR - green 5 to 10 sec 2. Check the physical connection from your router to the DSLAM (Central
TEST - green
OfÞce).
LINK - amber
3. Possible problem with DSLAM card.
State 5
PWR - green
Ready State
TEST - green
LINK - green
Once the router is in Ready State, the other LEDs may indicate transmitting and receiving activity as follows:
¥ The LANT LED indicates that the Ethernet LAN is transmitting activity.
¥ The LANR LED indicates that the Ethernet LAN is receiving activity.
History Log
The History Log utility is a troubleshooting tool which displays the routerÕs activity. It can be accessed from a
terminal emulation session (including Configuration Manager) or from Telnet.
To see message explanations, refer to the System Messages section, page 176.
3. Click Connect.
2. Log in with your administration password into the router (e.g. ÒadminÓ).
¥ If you wish to monitor your router activity at all times, use the command system log start to view a
continuous log, using Telnet. (This command will not work in a Terminal Window session; it only works
from Telnet.)
¥ The command system log status is used to find out if other users, including yourself, are using this
utility.
¥ To discontinue the log at the console, use the command system log stop.
When you exit Telnet, you automatically stop any logging programs running in that session.
Note: History Log is preserved across reboots, but not across power outages or power down.
Ping Command
You can verify IP connectivity to the router by running a ping command. You will probably find a ping utility
bundled with your TCP/IP stack. In Microsoft Windows, the command is called PING.EXE and can be found in
your Windows directory.
Note: Before using the ping command to troubleshoot, make sure that the PWR, TEST, and LINK lights are
green.
b. Select Programs.
To isolate a problem with the TCP/IP protocol, perform the following three tests:
1. Try to ping the IP address of your PC. If you get a response, proceed directly with step 2. If you donÕt get a
response, check that:
2. Try to ping the IP address of your router. If you get a response, proceed directly to step 3. If you donÕt get a
response, the problem lies between your PC and router:
¥ Make sure that your PC and the local router are in the same IP subnetwork.
3. Try to ping the DNS server. Write down the results and call your Network Service Provider.
When investigating a hardware installation problem, first check the LEDs on the front panel of the router. Many
common hardware problems can be easily diagnosed by the LED indicators. For more information, refer to this
chapterÕs section entitled Diagnostic Tools, Using LEDs, page 167.
¥ Verify that you are on the right communications port (Com1, Com2).
¥ Check the configuration parameters for speed, parity, etc. Make sure the console is not in an XOFF state. Try
entering a Òctrl qÓ.
¥ Verify that the RS232 device attached to the console is configured as a DTE. If not, a crossover or null
modem adapter is required.
¥ Verify that the model number is correct (the number is displayed during the boot procedure). The model
number and serial number are also displayed on the main window of Configuration Manager.
¥ log in.
¥ download software.
Finally, if you have a VoDSL router, it suggests how to trouble-shoot your telephony services.
¥ For a LAN connection, verify that the routerÕs IP address matches the IP address previously stored into the
routerÕs configuration. You must have previously set the routerÕs Ethernet LAN IP address and subnet mask,
saved the Ethernet configuration changes, and rebooted the router for the new IP address to take effect.
¥ Check that your LAN cable is pinned correctly and each pin end is securely plugged in.
Note: If you are using a straight-through cable, the colors for pins 1, 2, 3, and 6 should match on both
connectors. If you are using a crossover cable, the colors for pins 1, 2, 3, and 6 on one connector should
match respectively 3, 6, 1, and 2 on the other connector.
¥ Make sure the PC and target router are on the same IP subnetwork or the target router is reachable through a
router on your LAN. They can, however, be on different networks if IP routing is off.
¥ Check Network TCP/IP properties under Windows 95 and the control panel of the TCP/IP driver installed
under Windows 3.1.
¥ Check if the LAN LED on the routerÕs front panel blinks when ÒpingedÓ.
¥ Check your Ethernet board IRQ settings: the PCÕs table may have become ÒconfusedÓ. If so, reboot your PC.
¥ Type the correct password and press enter. Remember that the password is case-sensitive. If the password is
admin, check that you are entering it in lowercase and that the Caps key is not active.
¥ If you have forgotten the password, you must reset the login password. Refer to Recovering Passwords and IP
Addresses, on page 165. If the router has configuration switches, perform the following procedure:
4. Complete any configuration update that caused the prompt for login.
¥ Make sure to reboot if you have made any bridging destination or control changes.
¥ Check that a bridging default destination has been configured and is enabled.
¥ Check that bridging is enabled locally (use the remote listBridge command, page 272).
¥ Verify that bridging is enabled by the remote router (use the remote list command, page 271).
¥ In Windows 95, do not forget to declare shared disk directories. Check the sharing properties on your C:
drive.
¥ In the Terminal Window, check that calls are answered from the remote router.
¥ Check also for any PAP/CHAP errors for the remote router.
TCP/IP Routing
¥ Check that Ethernet LAN TCP/IP Routing has been enabled (eth list command, page 248).
¥ The IP addresses of the local and remote networks belong to different IP subnetworks.
¥ Make sure that there is a route back from the remote network.
¥ There must be a source WAN IP address defined if you are using NAT.
¥ Check that, if required, the source and remote WAN IP addresses are on the same subnetwork
¥ Reboot if you have made any IP address or control or protocol option changes.
¥ Check that the IP address of the station/network connected to the LAN beyond the remote router is
correct, as well as the associated subnet mask.
¥ If the remote router WAN IP address and subnet mask are required, check that they have been specified
correctly.
¥ Be sure to reboot if IP addresses or control or protocol option changes have been made.
¥ Verify that the IP and gateway addresses are correct on the PC.
¥ Windows 95 may remember MAC addresses: if you have changed MAC addresses, reboot the router and
the PC.
¥ In Windows 3.1., check that the TCP driver is installed correctly. Ping (ping command) your PCÕs IP
address from the PC. Successful ÒpingingÓ results let you know that the TCP driver is working properly.
¥ If you have changed an IP address to map to a different MAC device, and ping or IP fails, reboot your
PC.
¥ Use the iproutes command (page 191) to verify which routerÕs name is the default gateway (this cannot
be 0.0.0.0).
IPX Routing
¥ Check that IPX routing has been enabled and that the remote end is enabled for IPX routing.
¥ Validate that the IPX WAN network number matches the remote routerÕs WAN network number.
¥ Check that IPX SAPs correctly identify the servers and applications on the remote network and have
valid network numbers, node numbers, etc.
¥ Check that the IPX routes (network numbers, hops, and ticks) seeded into the routing table for network
segments and servers beyond the remote router are correct.
¥ Validate that the IPX WAN network number matches the remote routerÕs WAN network number.
¥ Check that the IPX routes (network numbers, hops, and ticks) seeded into the routing table for network
segments and servers beyond the remote router are correct.
¥ Check that IPX SAPs correctly identify the servers and applications on the remote network and have
valid network numbers, node numbers, etc.
¥ Be sure to reboot if IPX addresses, routes, SAPs or control has been changed.
¥ Check the frame types using the eth list command (page 248) and ensure that they are the same on
both routers.
If you are given an incorrect VCI/VPI number or none at all to use for the remote, and you need to determine
what the possible value might be, use the atom findpvc command (see ATM Debug Commands, on page
181).
¥ Verify that the router is loading from the network and not from FLASH memory.
If you hear clicking during heavy data downloads, check that the DSLAM supports quality of service (QoS) and
that the ATM switch has the voice PVC provisioned for vRT and the data at a lower priority.
The Port Monitor GUI program can show you the voice PVC and the last event message. The following debug
commands may also be helpful.
ifs Shows whether the data and voice PVCÕs are configured and percent loading.
atom voice <x*y> Changes the voice PVC to the specified x*y.
If the voice gateway is a Jetstream gateway, the following commands are available:
The following commands allow you to trace all signaling cells sent and received and all encoding changes for
voice ports.
sdsl stats
The dsp debug commands are shown in Voice Router Debug Commands, on page 183.
The jitter buffer shapes data to overcome the problem of latency, that is, the time delay between packets of voice
data that can cause gaps in or loss of traffic in a voice call. A command is available that allows you to adjust the
size of the jitter buffer. The command is as follows:
To display the current jitter buffer, enter the dsp jitter command without its parameter. For example:
# dsp jitter
Jitter Buffer: 15 ms
usage: dsp jitter <milliseconds 0-60>
Use this command if you get what sounds like voice playout underruns under full network loading. Increase the
buffer size until the problem is corrected. However, do not set the buffer unnecessarily large because that would
introduce unnecessary latency.
The jitter buffer should be set to the best estimate of the effective worst-case jitter in the voice-packet arrival time
from the voice gateway. Be aware of the granularity of the setting: for G.711 voice compression, only integer
multiples of 5.5 ms can be realized; for G.726, only integer multiples of 11 ms can be realized. Thus, the
following table illustrates the difference between the value you specify and the actual holding time for G.711 and
G.726. The numbers in parentheses are the number of voice frames held in the jitter buffer.
System Messages
System messages are displayed on the terminal and sent to a log file (if you have opened one). The messages
listed in this section are time-stamped informational and error messages. The messages are in the following
format:
message message
Time-Stamped Messages
<router/user> didn't negotiate our IP address correctly
Explanation: The remote router did not negotiate the IP address options as was expected by the local router.
Explanation: IP failed to negotiate. Try to change the remote or the source WAN IP address.
Explanation: Message about the average signal quality for the remote router. This information appears during
modem startup and should be ignored unless requested by Technical Support.
Authorization failed
Explanation: The IP address entry for the remote router in the remote router database does not match what the
local router expects.
Can't obtain an IP address from <router/user>: one is needed in single user mode
Informative message.
Explanation: The remote end requests an IP address from the local end, which cannot supply it.
Informative message.
Explanation: The local router is trying to connect to the specified remote destination.
Data Mode
Explanation: There exist two routes to the same IPX destination. Remove one of the routes.
Explanation: There exist two IPX SAPs for the same IPX destination. Remove one of the SAPs.
Explanation: There exist two IP routes to the same IP destination. One route needs to be removed.
Idle
Explanation: On one end of the connection, remote entries have been configured for numbered mode. On the other
end, remote entries have been configured for unnumbered mode. Neither end cab communicate with the other.
Explanation: (SDSL-specific error message) Your SDSL router cannot establish connectivity. Check your
physical line.
Informational message.
PPP: Peer not negotiating <IP | BNCP | IPX | CCP> right now
Explanation: One end of the network is not negotiating the same protocol as the other end.
Informational message.
Informational message.
Explanation: The remote end negotiated PAP while its minimum security level in the remote database was set to
CHAP.
Explanation: The remote end has used an invalid password during CHAP or PAP security authentication.
Explanation: The router attempted CHAP security authentication but the remote end rejected the password.
Informational message.
Informational message.
Startup failed
Explanation: The ATM modem could not synchronize with the remote end. Call Technical Support.
Explanation: The ATM modem could not synchronize with the remote end. Call Technical Support
TelnetD
Informative message.
The following commands may be available for debugging purposes. Please use them with caution because they
are not fully supported.
Shows which interfaces are configured or active. For an example of its output, see page 190.
mlp debug <LCP | NCP | BNCP | IPCP | IPXCP | CCP | ECP | MLP | AUTH | NCPSTATES> [<0>]
BNCP is for bridging, ECP for encryption, and NCPSTATES for state table changes.
To turn off the trace, enter the command with the optional 0 at the end.
ipdebug icmp 1
ipdebug nat 1
These commands show data received. The ipdebug icmp 1 command is useful for showing the router can
receive cells ok.
dod whycall 80
Prints out the packet that is causing the link to come up. This is useful when system onewan on is set. (This
command makes PVCÕs look like dial-up links, that is, the link comes up only if user traffic exists and the
link times out on inactivity.) For more information, see SYSTEM ONEWANDIALUP, on page 225.
Shows trace of when we bring up the link or time out link on inactivity. Specify 1 to turn on the trace; specify
0 to turn off the trace.
ping [-c count] [-i wait] [-s | -l size] [-I sourceipaddr] <ipaddr>
Sends an echo message to the specified IP address. You cannot ping your own LAN address; you can ping
your own WAN address.
You can set the length of user data down to 0 bytes (-s 0 or -l 0) so in routing mode it fits in one ATM cell.
(See page 194.)
traceroute [-c count] [-i wait] [-s | -l size] [-I sourceipaddr] <ipaddr>
Traces the route taken by packets sent from the target router to the specified IP address. A packet is sent for
each hop in the route. The output lists the IP addresses of the hops that returned packets. (See page 198.)
Starts event logging when logged in via Telnet. Otherwise, you donÕt see any event messages. It is not needed
if you are using a console cable. (See page 223.)
system support
The information dumped includes the history log and information about the version, memory, processes, the
file system, general system information, Ethernet, DHCP, Voice, remote database, interfaces, bridging, the
ARP table, IP routes, IPX routes, IPX SAPs, L2TP tunnels, and IP filters.
Uses the special file name /RAW-IMAGE to copy all of flash memory to a backup file for system debugging.
Shows VPI*VCI of cells received. This command is normally used to find the ATM VPI*VCI number
necessary for configuring a remote when the Service Provider either has supplied the wrong value or simply
is not able to supply one.This command should only be used when there are no remotes defined or when the
remote entries are disabled.
The command output is directed to the console. If Telnet is used to log into the router, then issue the system
log start command to direct the console output to the Telnet session.
Example:
# atom findPVC on
No remote entry found with PVC (VPI*VCI) 1*2
In this case, an ATM VPI*VCI is found for which there is no remote defined. 1 is the number of the VPI as
found in the ATM stream. 2 is the number of the VCI as found in the ATM stream. The discovered number
may be used as the VPI*VCI value in the remote, for determining whether communications are possible.
Enables an echo pvc (use atom echo 0*21). This is configured automatically and can be disabled with atom
echo 0*0. The echoPVC will echo back any ATM cell received on the PVC exactly as received. This is useful
when an administrative service wishes to ensure ATM connectivity but cannot use ATM OAM F5 cells to
achieve this function.
Changes type of ATM empty cell sent or expected. It is useful if ATM sync delineation errors when
combined with atom stats command.
Looks at the content of an ATM cell. It will not affect normal operation performance.
sdsl btstat
Example:
# sdsl bts
Available status:
SLM ........................... Input Signal Level
DC_METER ...................... Input DC Offset
FELM .......................... Far-End Signal Attenuation (CalÕd at 1168 Kbs)
NMR ........................... Noise Margin
TIMING_RECOVERY_CONTROL ....... Timing Recovery Control
STARTUP_STATUS ................ Bit-Pump Status
BIT_PUMP_PRESENT .............. Bit-Pump Present
SELF_TEST ..................... Self Test
REGISTER ...................... Read Register
CONFIGURATION ................. Big-Pump Configuration
STAGE_NUMBER .................. Stage Number
AAGC_VALUE .................... AAGC
READ_TX ....................... Read Tx Gain
Displays Far-End Signal Attenuation. It gives an estimate of the length of the loop.
Displays noise margin. Large values are symptoms of a bad or excessively lengthy loop.
Turns on trace of line changes. To turn off the trace, append all to the command.
Example:
Example:
# sdsl huh
SDSL:
Bitpump: 8973
CPE -- ACTIVATING
Line Rate: [AUTO] 192 Kb/s [3072 KHz]
Activation Interval: 99 [AUTO:20] [symbol_rate: 24]
AutoSpeed:
FastSearchAttemptsPerPass: 2
FastSearchPasses.........: 2
SlowSearchAttemptsPerPass: 5
SaveDelayInSeconds.......: 45
Two Symbol Time: 23 uS
FW: V4.3 CS 5: BR = 80000401 OR = fffff8f66
Ints -- On : 1228462 Mask: 0b00 IRQ: 02
BP Status Reads: 0
BT assumed on other end!
BT - Self Test will run
SDSL CONFIGURATION: 0x03f9 20 LOST: 10 [0x0a] Sym Rate: 24 [0x18]
Resets values.
The following commands can be used for standalone phone verification. (This is for lab or bench verification
only.)
ds init nobort
ds cas 1
ds cas 2
ds ploop 1-2
dmt ver
dmt speed
dmt ms
Sets the link type. It is used to force the CPE into ANSI (T1.413), G_DMT, or G_LITE mode. DEFAULT
and MULTIMODE are the same. The link type survives reboots.
dmt log
Displays statistics. For more information, see FRAME STATS, on page 204.
atom promisc on
Prints the ATM statistics every n seconds. It shows good and bad cells and frames.
Prints a message to the console if a packet to or from this remote is dropped or rejected.
Before you contact Technical Support, please have the following information ready:
¥ Router model number
¥ Date of purchase
¥ List of other equipment such as personal computers, modems, etc. and third-party software you are using,
including revision levels.
To determine how to contact Technical Support, see the Quick Start Guide and the Customer Release Notes that
came with your router.
This chapter lists the formats of the commands you can enter on the router command line.
¥ System-level commands
¥ Frame commands
Command Conventions
¥ The Command Line Interface is not case-sensitive except for passwords and router names.
¥ All parameters are positional; i.e., each keyword/parameter must be entered in the correct order, as shown in
the command format in this manual.
¥ Items that appear in bold type must be typed exactly as they appear.However, commands can be shortened to
just those characters necessary to make the command unique.
¥ Items that appear in italics are placeholders representing specific information that you supply.
Sample command responses are shown in this chapter. In many cases, only the command prompt # is returned. If
you have not entered the correct parameters, the syntax of the command is displayed.
? OR HELP
By entering ? or help, you can list the commands at the current level as well as subcommands. At the lowest
subcommand level, entering a ? may return the syntax of the command. Note that some commands require a
character string and the ? will be taken as the character string if entered in that position.
Example:
# ?
Top-level commands:
? help version
filter logout exit
reboot mem ps
copy dir delete
rename execute format
sync msfs ifs
ipifs iproutes arp
ipxroutes ipxsaps bi
system eth save
erase key remote
call ping tcp
dhcp l2tp ipsec
ike atom dsp
sdsl voice
System-Level Commands
These commands are online action and status commands. They allow you to perform the following functions:
ARP DELETE
Deletes the IP address of the entry in the ARP table.
ipaddr IP address associated with a MAC address for a device on the local interface in the format of 4
decimals separated by periods.
InterfaceUnit For an Ethernet interface, this can be a 1 or 0. For a DSL interface, this is a VPN number.
Response:
IP Addr Mac Address Interface
192.84.210.148 00:05:02:00:80:A8 ETHERNET/0
BI
Lists the root bridge, and indicates whether the router is learning, listening, or forwarding.
bi
Response:
# bi
GROUP 0Our ID=8000+00206f0249fc Root ID=8000+00206f0249fc
Port ETHERNET/0 00+00 FORWARDING
BI LIST
Lists the contents of the bridge table.
Each MAC address in the table is listed with its corresponding bridge port as learned by the bridge function. The
line also shows the number of seconds elapsed since the last packet was received by the MAC address followed by
flags. Possible flags include:
Example:
# bi list
BRIDGE GROUP 0:
00206F024C34: P US SD A
0180C2000000: P A MC
FFFFFFFFFFFF: P FLD A BC MC
02206F02E70D: ETHERNET/0 325 FWD
00C04F2E1AEB: ETHERNET/0 143 FWD
0060081BD761: ETHERNET/0 95 FWD
CALL
Dials a remote router. This command can be used to test the ISDN link or L2TP secession and the configuration
settings for the remote router.
call <remoteName>
Response:
# Request Queued
EXIT
Has the same function as logout, but will disconnect you from a Telnet session.
exit
IFS
Lists the communication interfaces installed in the router and the status of the interfaces.
ifs
Example:
ifs
Interface Speed In % Out % Protocol State Connection
ETHERNET/0 10.0mb 0%/0% 0%/0% (Ethernet) OPENED
SDSL/0 384kb 50%/50% 50%/50% (ATM) OFF
ATM-VOICE/1 384kb 45%/45% 0%/0% (ATM) OFF
BACKUP/0 57kb 0%/0% 0%/0% (AHDLC/PPP) OPENED to backup
CONSOLE/0 9600 b 0%/0% 0%/0% (TTY) OFF
VOX-STRM/0 0 b (CLEAR) OFF
In% Out% Downstream and upstream percentages. The first percentage is an instantaneous value taken
every second. The second percentage is the weighted average over 5 seconds using the formula:
Protocol Protocol in use, such as frame relay (FR), asynchronous PPP (AHDLC/PPP), and serial (TTY).
OFF Down
STANDBY Being negotiated.
OPEN Up
IPIFS
Lists the IP interface.
ipifs
Response:
ATM_VC/1 192.168.254.1 (FFFFFF00) dest 192.168.254.2 sub 192.168.254.0
net 192.168.254.0 (FFFFFF00) P-2-P
ETHERNET/0 192.84.210.12 (FFFFFF00) dest 0.0.0.0 sub 192.84.210.0
net 192.84.210.0 (FFFFFF00) BROADCAST mtu 1500
IPROUTES
Lists the current entries in the IP routing table.
Response:
# iproutes
IP route / Mask --> Gateway Interface Hops Flags
Where: NW Network
PERM Permanent (static)
DOD Initiate link dial-up
FW Forward
DIR Direct
ME This router
IPXROUTES
Lists the current entries in the IPX routing table.
ipxroutes
Response:
# ipxroutes
Network Gateway Interface Hops Ticks Flags
00001001: HQ [down] 1 4 STATIC FORWARD DOD
00000456: (DIRECT) ETHERNET/0 0 1 FORWARD
IPXSAPS
Lists the current services in the IPX SAPs table.
ipxsaps
Response:
# ipxsaps
LOGOUT
Logs out to reinstate administrative security after you have completed changing the routerÕs configuration.
logout
MEM
The mem command report the amount of ram installed in the router.
mem
Response:
# mem
Small buffers used.......18 (7% of 256 used)
Large buffers used.......41 (16% of 256 used)
Buffer descriptors used..59 (7% of 768 used)
Number of waiters s/l....0/0
MLP SUMMARY
Lists the status of the protocols negotiated for an active remote connection. The following are the most common
protocols:
mlp summary
PING
This command sends an echo message, available within the TCP/IP protocol suite. The echo message is sent to a
remote node and returned in order to test connectivity to the remote node. It is particularly useful for locating
connection problems on a network.
You cannot ping your own LAN address; you can ping your own WAN address.
To fit the echo message into one ATM cell in routing mode, set the length of user data down to 0 bytes (-s 0 or -l
0).
ping [-c count] [-i wait] [- s size (or -l size)] [-I srceaddr] <ipaddr>
-i wait Wait period between packets in seconds (from 1 to 10). The default is 1 second.
-s size Packet data length in bytes (from 0 to 1648). The default is 56 bytes.
-I srcaddr Source IP address contained in the echo message (4 decimals separated by periods). Use this
option to force packets into a tunnel or to force use of the management address as the source
address.
Examples:
The followng command requests 2 echo messages sent 7 seconds apart with a packet length of 34 bytes. The
messages are sent to IP address 192.168.254.2.
# ping -c 2 -i 7 -s 34 192.168.254.2
The following command sends packets with the source IP address 192.168.254.254 to the IP address
192.4.210.122. Default values are used for the other options.
The following command uses management address 192.168.1.2 as the source address when pinging destination
address 192.168.100.100.
ps
Response:
# ps
REBOOT
This command causes a reboot of the system.
Caution: A reboot erases any configuration changes that have not been saved. Remember to enter a save
command before the reboot command.
Certain configuration settings require a reboot before the setting becomes effective, including:
¥ IPX changes
Other configuration changes become effective following either a reboot or a restart of the Ethernet or remote
interface. These changes include:
¥ System settings
¥ TCP/IP routing
A reboot also ensures that all file system updates are completed. There is a time lag between the entry of a save
command and the safe storage of the data in FLASH memory. If the power goes off before the data is stored in
memory, the data can be lost. Always reboot before powering off the router. Or, use the sync command (page 203)
to commit file changes to memory.
reboot [<option>]
option If no option is specified, the router is rebooted using the existing configuration file.
default This option deletes the system configuration file and restores the router to its original defaults
(before any configuration was entered).
factory This option deletes all files except AUTOEXEC.OLD if it exists. AUTOEXEC.OLD is renamed
AUTOEXEC.BAT; it is re-executed by the reboot. This option also resets the non-volatile RAM;
thus deleting the IP address of the router and the TFTP server during the boot process and also
forcing the router to boot from FLASH instead of from the network.
SAVE
The save command saves the entire routerÕs configuration or parts of it to FLASH memory. The keyword in the
command determines what is saved.
Note: There is a time lag between the response issued by the save command and the time when the data is actually
stored in FLASH memory. Issue a sync command after a save command before powering off the router. This
commits the changes to FLASH memory.
save all | keys | dod | sys | eth | filter | atom | sdsl | dhcp | l2tp | ipsec | IKE
Examples:
save all Saves the configuration settings for the system, Ethernet LAN, DSL line, and remote
router database into FLASH memory.
save dhcp Saves the DHCP configuration settings into FLASH memory.
save dod Saves the current state of the remote router database.
save filter Saves the bridging filtering database to FLASH memory. A reboot must be executed to
load the database for active use.
save sys Saves the name, message, and authentication password system settings into FLASH
memory.
ERASE
The erase command erases the entire routerÕs configuration or parts of it from FLASH memory. The parts that can
be erased include:
¥ System
¥ Ethernet LAN
¥ DHCP settings
¥ Filters
Once you erase part of the configuration, you will need to completely reconfigure that part.
Note: An erase command does not take effect until after a reboot without a save command
Note: There is a time lag between the response issued by the erase command and the time that the data is actually
deleted from FLASH memory. Issue a sync command after an erase command before powering off the router.
This commits the changes to FLASH memory.
erase all | keys | dod | sys | eth | filter | atom | sdsl | dhcp | l2tp | ipsec | IKE
Examples:
erase all Erases the configuration settings for the system, Ethernet LAN, DSL line, DHCP, and
remote router database from FLASH memory.
erase dhcp Erases the DHCP configuration settings from FLASH memory. To clear all DHCP
information without erasing FLASH memory, use the command dhcp clear all records
(page 312).
erase dod Erases the current state of the remote router database.
erase eth Erases the configuration settings for the Ethernet LAN from FLASH memory.
erase filter Erases the current bridging filtering database from FLASH memory.When you issue this
command you must reboot (without a save).
erase sys Erases the name, message, and authentication password system settings from FLASH
memory.
tcp stats
TRACEROUTE
Traces the route taken by packets sent from the target router to the specified IP address. A packet is sent for each
hop in the route. The output lists the IP addresses of the hops that returned packets.
traceroute [-c count] [-i wait] [- s size (or -l size)] [-I srceaddr] <ipaddr>
-i wait Wait period between packets in seconds (from 1 to 2000000000). The default is 1 second.
-s size Packet data length in bytes (from 0 to 1648). The default is 56 bytes.
-I srcaddr Source IP address contained in the echo message (4 decimals separated by periods). Use this
option to force packets into a tunnel or to force use of the management address as the source
address.
Example:
The following command sends up to 30 packets with a wait period of 1 second and a packet length of 56 bytes.
The route ends at IP address 204.71.200.68.
# traceroute 204.71.200.68
2: 24.26.161.37
3: 24.26.161.1
4: 24.26.161.65
5: 24.218.190.110
6: 24.218.190.114
7: 24.128.191.90
8: 24.128.191.18
9: 24.128.191.13
10: 204.246.198.121
11: 206.132.118.85
12: 206.132.117.209
13: 206.132.110.113
14: 206.132.110.73
15: 208.48.118.118
16: 208.50.169.62
17: 206.132.254.37
VERS
Displays the software version level, source, software options, and amount of elapsed time that the router has been
running.
All software options are listed. If the option has a + prefix, the option was enabled using a key. If the option has a
~ prefix, the option is disabled in this router. For more information, see Software Option Keys, on page 114.
vers
Example:
# vers
Flowpoint/2025 ATM25 Router
FlowPoint-2000 BOOT/POST V3.0.0 (12-Dec-98 18:10)
Software version 3.0.1 (built Wed Jan 7 13:17:37 PST 1999
18:36:15 PST 1999
Maximum users: unlimited
Options: FRAME RELAY, SDSL, RFC1490, +IP ROUTING, IP FILTERING, WEB, ~L2TP,
~ENCRYPT, BRIDGE, IPX, CMMGMT
Up for 0 days 0 hours 20 minutes (started 1/7/1999 at 13:28
The file system commands allow you to perform maintenance and recovery on the router. These commands allow
you to:
The router file system is DOS-compatible, and the file system commands are similar to the DOS commands of the
same name.
COPY
Copies a file from the source to the destination. This command allows you to update the router software level or to
write configuration files to a TFTP server
Issue a sync command after a copy command to commit the changes to FLASH memory.
srcÞle Filename of the source Þle to be copied.It can be either the name of a local file or a file accessed
remotely via a TFTP server.
A local filename is in the format: name.ext.
To force use of a specific source address when copying a file from a TFTP server, use this format:
tftp@serveraddr-sourceaddr:filename.ext
delete <filename>
filename Name of the file to be deleted. The filename is in the format xxxxxxxx.xxx.
Response:
kernel.f2k deleted.
DIR
Displays the directory of the file system. The size of each file is listed in bytes.
dir
Example: dir
EXECUTE
This command loads batch files of configuration commands into the router. This allows for customization and
simpler installation of the router. A script file can contain commands, comments (lines introduced by the # or ;
characters), and blank lines.
¥ A group of commands that can be executed at any time from the Command Line Interface with the execute
<filename> command.
One-time scripts are useful to execute the complete configuration process from a default (unconfigured) state.
execute <filename>
FORMAT DISK
Erases and reformats the router file system. This command should only be used when the file system is unusable.
If the router does not execute the POST test and software boot successfully, and the result of the dir command
format disk
Response:
NEWFS: erasing disk...
NEWFS: fs is 381k and will have 762 sectors
NEWFS: 128 directory slots in 8 sectors
NEWFS: 747 fat entries in 3 sectors
NEWFS: writing boot block...done.
NEWFS: writing fat tables...done.
NEWFS: writing directory...done.
Filesystem formatted!
MSFS
Checks the structure of the file system. This command performs a function similar to the DOS chkdsk command.
The router analyzes the File Allocation Table (FAT) and produces a file system status report.
Warning: When you specify fix, make sure that no other operation is being performed on the configuration files
at the same time by Configuration Manager or by another user.
msfs [fix]
Þx If Þx is speciÞed, errors are corrected in the FAT. This option should only be used when an
msfs command results in a recommendation to apply the Þx option.
Example: msfs
Response:
Filesystem 0, size=825k:
Checking filesystem...
Checking file entries...
SYSTEM CNF ... 2304 bytes .. ok.
ATM25 DAT ... 20 bytes .. ok.
DHCP DAT ... 1536 bytes .. ok.
KERNEL F2K ... 257014 bytes .. ok.
IDL_7 AIC ... 14828 bytes .. ok.
ASIC AIC ... 14828 bytes .. ok.
FILTER DAT ... 1284 bytes .. ok.
1097 fat(s) used, 0 fat(s) unused, 0 fat(s) unref, 534 fat(s) free
561664 bytes used by files, 9728 bytes by tables, 273408 bytes free
oldName Existing name of the Þle. The Þlename is in the format xxxxxxxx.xxx.
newName New name of the Þle. The Þlename is in the format xxxxxxxx.xxx.
Response:
Ôether.datÕ renamed to Ôoldeth.datÕ
SYNC
Commits the changes made to the file system to FLASH memory.
sync
Example: sync
Response:
Syncing file systems...done.
Warning: Syncing is not complete until you see the message ÒdoneÓ.
Frame Commands
FRAME ?
Lists the frame commands.
frame ?
Example:
# frame ?
Frame Commands:
? help lmi
stats voice
Example:
# frame on
LMI is on
FRAME VOICE
Displays the voice DLCI for voice routers.
frame voice
Example:
# frame voice
Voice DLCI is 22
FRAME STATS
Displays frame relay statistics.
frame stats
Example:
# frame stats
FR/0 Frame Relay Statistics
ANSI LMI:
Protocol Errors........................ 0
Unknown Msg Recv....................... 0
T391 Timeouts.......................... 0
PVC Status Changes..................... 0
StatusEnq Sent......................... 0
Status Recv............................ 0
StatusEnq Recv......................... 0
Unconfigured DLCIs recv in Status Msgs. 0
Configuration commands are used to set configuration information for each functional capability of the router.
Each functional capability has a specific prefix for its associated commands:
¥ isdn (for IDSL) ISDN Digital Subscriber Line (IDSL routers only)
¥ authentication password
¥ management security
¥ IP address translation
¥ NAT configuration
¥ host mapping
¥ WAN-to-WAN forwarding
¥ filters
SYSTEM ?
Lists the supported keywords.
system ?
Example:
# sys ?
System commands:
? msg name
passwd authen community
list admin history
log addHostMapping delHostMapping
addServer delServer bootpServer
supportTrace telnetport snmport
httpport syslogport addTelnetFilter
delTelnetFilter addSNMPFilter delSNMPFilter
addHTTPFilter delHTTPFilter addSyslogFilter
delSyslogFilter wan2wanforwarding OneWANdialup
blockNetBIOSDefault addUDPrelay delUDPrelay
securityTimer addIPRoutingTable delIPRoutingTable
moveIPRoutingTable
While the BootP server list has at least one address, the router disables its own DHCP server and, instead,
forwards all DHCP/BootP requests to all servers in the list. It forwards every reply received from any of the
servers in the list to the appropriate LAN.
Addresses can also be added to the list using the dhcp addrelay command (page 310). To remove an address
from the list, use the dhcp delrelay command (page 313).
SYSTEM ADDHOSTMAPPING
This command is used to remap a range of local-LAN IP addresses to a range of public IP addresses on a system-
wide basis. These local addresses are mapped one-to-one to the public addresses.
Note: The range of public IP addresses is defined by <first public addr> only. The rest of the range is computed
automatically (from <first public addr> to <first public addr> + number of addresses remapped - 1) inclusive.
system addHostMapping <first private addr> <second private addr> <first public addr>
Þrst private addr First IP address in the range of IP addresses to be remapped, in the format of 4 decimals
separated by periods.
second private addr Last address in the range of IP addresses to be remapped, in the format of 4 decimals
separated by periods.
Þrst public addr DeÞnes the range of public IP addresses, in the format of 4 decimals separated by periods.
SYSTEM ADDHTTPFILTER
This command is used to allow devices within the defined IP address range to use the HTTP protocol (for
example, to browse the Web). This command is useful to block devices on the WAN from accessing the Web
browser.
SYSTEM ADDIPROUTINGTABLE
Defines a new virtual routing table. Once defined, you can add routes to the table using the commands eth ip
bindRoute (page 233) and remote bindIPVirtualRoute (page 260).
The command specifies the name of the new routing table and the range of IP addresses that reference the table
for their routing. When the router receives a packet, the source address of the packet determines which routing
table is used. For example, if the range of addresses for the virtual routing table ROSA includes address
192.168.25.25, then every packet with the source address 192.168.25.25 is routed using virtual routing table
ROSA.
If the source address of a packet is not within the address ranges for any virtual routing table, the default routing
table is referenced to route the packet.
last ip addr Last IP address of the range (4 decimals separated by periods). This parameter may be omitted if
the range contains only one IP address. The specified address range may not overlap the address
range defined for any other virtual routing table.
tablename Name of the virtual routing table to which the addresses are assigned (character string).
Example:
The following command defines a virtual routing table named ROSA (if it does not already exist) and assigns
it the IP address range 192.168.1.5 through 192.168.1.12.
SYSTEM ADDSERVER
This Network Address Translation (NAT) command is used to configure a local IP address as the selected server
on the LAN (FTP, SMTP, etc.) for the global configuration. To learm more, see Network Address Translation
(NAT), on page 91.
Multiple system addserver, remote addserver (page 259), and eth ip addserver (page 232) commands can
designate different servers for different protocols, ports, and interfaces. When a request is received, the router
searches the server list for the appropriate server. The order of search for a server is discussed in Server Request
Hierarchy, on page 94.
system addServer <action> <protocol> <first port> [<last port> [<first private port>]]
first port First or only port as seen by the remote end. Port used by the selected server
portid Numeric value between 0 and 65,535. A numeric value of 0 matches any port.
ftp FTP port.
telnet Telnet port.
smtp SMTP port.
sntp SNTP port.
http HTTP port.
tftp TFTP port.
all All ports.
last port Optional last port in the range of ports as seen by the remote end for the server on the LAN.
first private port If specified, this is a port remapping of the incoming request from the remote end.
Example:
SYSTEM ADDSNMPFILTER
This command is used to validate SNMP clients by defining a range of IP addresses that are allowed to access the
router via SNMP. This validation feature is off by default.
Note 1: This command does not require a reboot and is effective immediately.
Note 2: To list the range of allowed clients, use the command system list when you are logged in with read and
write permission (be sure to log in with password).
last ip addr Last IP address of the client range. May be omitted if the range contains only one IP address.
SYSTEM ADDSYSLOGFILTER
Limits the Syslog server addresses that may be returned by DHCP. By default, this validation feature is off.
This command does not affect the Syslog server addresses that you specify explicitly. For more information on the
router as Syslog client, see page 153.
Note: This command does not require a reboot and is effective immediately.
last ip addr Last IP address of the valid server range. May be omitted if the range contains only one IP
address.
LAN Limits the valid Syslog servers to those on the local Ethernet LAN.
Example:
SYSTEM ADDSYSLOGSERVER
Adds an address to the list of Syslog servers. The router sends system event messages to all Syslog servers in the
list, unless the Syslog port has been disabled. For more information about the router as Syslog client, see page
153.
To see the server addresses, use the command system list. To remove a Syslog server address from the list, use
the command system delSyslogServer (page 221).
Note: This command does not require a reboot; it takes effect immediately.
ipaddr IP address to be added to the Syslog server address list (4 decimals separated by periods).
Example:
SYSTEM ADDTELNETFILTER
This command is used to validate Telnet clients by defining a range of IP addresses that are allowed to access the
router via Telnet. This validation feature is off by default.
Note 1: This command does not require a reboot and is effective immediately.
Note 2: To list the range of allowed clients, use the command system list when you are logged in with read and
write permission (log in with password).
last ip addr Last IP address of the client range. May be omitted if the range contains only one IP address.
Example:
SYSTEM ADDUDPRELAY
This command is used to create a UDP port range for packet forwarding. You can specify a port range from 0 to
65535; however, 137 to 139 are reserved for NetBIOS ports. Overlap of UDP ports is not allowed.
ipaddr IP address of the server to which the UDP packet will be forwarded.
all Incorporates all the available UDP ports in the new range.
SYSTEM ADMIN
Sets the administration password that is used to control write access to the target router configuration.
SYSTEM AUTHEN
Forces the target router authentication protocol that is used for security negotiation with the remote routers when
the local side authentication is set. You should not need to issue this command as the best security possible is
provided with the none default.
none When set to none (the default), the authentication protocol is negotiated, with the minimum best
security level as deÞned for each remote router in the database.
chap Overrides all the remote database entries with chap; i.e., only CHAP will be performed.
DNS Domain Name Server address. The router determines the actual DNS address.
group Optional number of a group to which the address is assigned (integer, 0 thru 65535). The default is
group 0.
Examples:
The following command adds the address 192.168.1.5 to group 0 of the addresses to be pinged.
The following command adds the gateway address to group 1 of the addresses to be pinged.
¥ Request that the router delete the gateway or DNS address from the list.
To see the addresses in the current list, use the command system list. For more information about Dial Backup,
see page 103.
GW Gateway address. The router determines the actual gateway address and deletes it.
DNS Domain Name Server address. The router determines the actual DNS address and deletes it.
group Optional number of a group from which the specified address or all addresses are deleted (integer, 0
thru 65535). The default is group 0.
Examples:
To re-enable the Dial Backup option, use the system backup enable command.
Note: The Dial Backup option cannot be used until its software option key is installed in the router. For more
information, see Software Option Keys, on page 114.
To disable the Dial Backup option, use the system backup disable command.
Note: If you change the ping interval to 0, you disable the group of addresses.
To see the current ping intervals, use the system list command. For more information about the ping interval and
Dial Backup, see Ping Interval, Number of Samples, and Success Rate, on page 105.
seconds Number of seconds in the ping interval for the group (integer). The default is 5 seconds.
group Optional number of a group (integer, 0 thru 65535). The default is group 0.
Examples:
The following command changes the ping interval to 10 seconds for group 0.
Note: If you change the ping samples value to 0, you disable pinging for that group of addresses.
To see the current ping sample values, use the system list command. For more information about ping samples
and Dial Backup, see Ping Interval, Number of Samples, and Success Rate, on page 105.
samples Number of times the addresses in the group are pinged (integer). The default is 6.
group Optional number of a group (integer, 0 thru 65535). The default is group 0.
Examples:
The following command changes the number of ping samples to 10 for addresses in group 0.
The default retry period is thirty minutes. The minimum retry period is two minutes.
To see the current retry value, use the system list command.
minutes Number of a minutes in the retry period (integer). The default is 30; the minimum is 2.
Example:
The default stability period is three minutes. The minimum stability period is one minute.
To see the current stability value, use the system list command.
minutes Number of a minutes in the stability period (integer). The default is 3; the minimum is 1.
Example:
Note: If you change the success rate to 0, you disable pinging for that group of addresses.
Note: A minimum success rate of 100% is not recommended; this would require a reply from every ping sent.
To see the current success rate values, use the system list command. For more information about success rates and
Dial Backup, see Ping Interval, Number of Samples, and Success Rate, on page 105.
group Optional number of a group (integer, 0 thru 65535). The default is group 0.
Examples:
The following command changes the success rate to 75% for addresses in group 0.
SYSTEM BLOCKNETBIOS
The router can block all netbios and netbui requests from being sent over the wan. This command sets the
defaultvalue for the entire router when a remote router is defined.
After a remote device is deÞned, the command remote blockNetBIOS on|off <remoteName> can enable or disable
this feature.
SYSTEM COMMUNITY
Enhances SNMP security by allowing the user to change the SNMP community name from its default value of
ÒpublicÓ to a different value. Refer to Controlling Remote Management, on page 101.
Note: The command system community (with no value) will display the current community name.
SYSTEM DEFAULTMODEM
Lists the default modem settings. The modem settings are for the backup V.90 modem connected to the console
port.
To change the modem settings, use the system modem command (page 223). For more information on the Dial
Backup option, see page 149.
system defaultmodem
To remove all addresses from the list, use system delbootpserver all.
Addresses can also be removed from the list using the dhcp delrelay command (page 313). To add an address to
the list, use the dhcp addrelay command (page 310).
Examples:
SYSTEM DELHOSTMAPPING
Undoes an IP address/host translation (remapping) range that was previously established with the command
remote addHostMapping on a per-systemwide basis.
system delHostMapping <first private addr> <second private addr> <first public addr>
Þrst private addr First IP address in the range of IP address, in the format of 4 decimals separated by periods.
second private addr Last address in the range of IP address, in the format of 4 decimals separated by periods.
Þrst public addr DeÞnes the range of public IP addresses, in the format of 4 decimals separated by periods.
SYSTEM DELHTTPFILTER
Deletes an address filter created by the system addHTTPFilter command. To see the address range of the filter,
use the command system list.
last ip addr Last IP address of the range. May be omitted if the range contains only one IP address.
Example:
SYSTEM DELIPROUTINGTABLE
Deletes a range of addresses that reference a virtual routing table or deletes the entire virtual routing table.
To list the virtual routing tables, use the iproutes command (page 191).
ALL Deletes the virtual routing table. Both the table definition and all routes in the table are deleted.
first ip addr First IP address of the range to be deleted (4 decimals separated by periods).
last ip addr Last IP address of the range to be deleted (4 decimals separated by periods). This parameter
may be omitted if the range contains only one IP address.
Examples:
Deletes two IP addresses from the address range that references routing table ROSA:
system delIPRoutingTable 192.168.1.5 192.168.1.6 ROSA
SYSTEM DELSERVER
Deletes an entry created by the system addServer command (page 209).
system delServer <action> <protocol> <first port> [<last port> [<first private port>]]
first port First or only port as seen by the remote end. Port used by the selected server
portid Numeric value between 0 and 65,535. A numeric value of 0 matches any port.
ftp FTP port.
telnet Telnet port.
smtp SMTP port.
sntp SNTP port.
last port Optional last port in the range of ports as seen by the remote end for the server on the LAN.
first private port If specified, this is a port remapping of the incoming request from the remote end.
Example:
SYSTEM DELSNMPFILTER
Deletes the client range previously defined by the command system addsnmpfilter.
Note 1: This command does not require a reboot and is effective immediately.
Note 2: To list the range of allowed clients, use the command system list when you are logged in with read and
write permission (be sure to log in with password).
last ip addr Last IP address of the client range; may be omitted if the range contains only one IP address.
SYSTEM DELSYSLOGFILTER
Deletes the Syslog address filter.To see the address range of the filter, use the command system list. To define a
new Syslog address filter, use the command system addSyslogFilter (page 210).
Note: This command does not require a reboot; it takes effect immediately.
last ip addr Last IP address of the range. May be omitted if the range contains only one IP address.
Example:
Note: This command does not require a reboot; it takes effect immediately.
Example:
SYSTEM DELTELNETFILTER
Deletes the client range previously defined by the command system addTelnetFilter.
Note 1: This command does not require a reboot and is effective immediately.
Note 2: To list the range of allowed clients, use the command system list when logged in with read and write
permission (be sure to log in with password).
last ip addr Last IP address in the client range; may be omitted if the range contains only one IP address.
SYSTEM DELUDPRELAY
Deletes the port range that was previously enabled by the command system addUDPrelay.
system history
SYSTEM HTTPPORT
Manages HTTP port access including disabling and re-enabling HTTP port access or redefining the HTTP port for
security reasons. Refer to Chapter 4. Controlling Remote Management on page 101.
default Restores the port value to the default value 80 and re-enables the port.
port Defines a new HTTP port number. Use this option to restrict remote access.
Examples:
SYSTEM LIST
Lists the system settings for the target router.
system list
Example:
# system list
GENERAL INFORMATION FOR <SOHO>
System started on................... 9/8/2000 at 13:29
Authentication override............. none
WAN to WAN Forwarding............... no
Block NetBIOS Default............... no
BOOTP/DHCP Server address........... none
Telnet Port......................... default (23)
Telnet Clients...................... all
SNMP Port........................... default (161)
SNMP Clients........................ all
HTTP Port........................... default (80)
HTTP Clients........................ all
SYSTEM LOG
Allows logging of the routerÕs activity in a Telnet session.
status Used to Þnd out if other users (yourself included) are using this utility.
SYSTEM MODEM
Changes the selected modem setting. The modem settings are for the backup V.90 modem connected to the
console port.
For more information on the Dial Backup option, see page 149.
system modem reset | escape | init | offhook | dial | answer | hangup <string>
dial The two possible strings for the dial setting are ATDT for tone dialing or ATDP for pulse dialing.
The default is tone dialing.
Examples:
The following command changes the string for the init setting:
SYSTEM MOVEIPROUTINGTABLE
Moves a range of IP addresses to another virtual routing table. The command first looks at the address ranges
defined for other virtual routing tables, searching for the addresses to be moved. If it finds addresses to be moved,
To list the routes in the virtual routing tables, use the iproutes command (page 191) or the remote listiproutes
command (page 272).
first ip addr First IP address of the range to be moved (4 decimals separated by periods).
last ip addr Last IP address of the range to be moved (4 decimals separated by periods). This parameter
may be omitted if the range contains only one IP address.
tablename Name of the virtual routing table to be assigned the address range (character string). The virtual
routing table may be new or it may already exist.
Example:
Suppose you want all packets with source addresses in the range 192.168.254.11 through 192.168.254.20 to
be routed using virtual routing table MIGUEL. Addresses in that range may already be assigned to other
virtual routing tables. Therefore, to delete the addresses from any other virtual routing tables and assign the
address range to MIGUEL, you enter this command:
SYSTEM MSG
Sets a message that is saved in the target router you are configuring.
message Message (character string. Space characters are not allowed within the message; you may use
underscore characters instead. If you do not enter a message, the current message is displayed.
The message may be no more than 255 characters.
SYSTEM NAME
Sets the name for the target router that you are configuring. You must assign a name to the target router. This
name is sent to a remote router during PAP/CHAP authentication.
name Name of the target router (character string). Space characters are not allowed within the name;
you may use underscore characters instead. (The system name is a ÒwordÓ when exchanged
with PAP/CHAP.) If you do not enter a name, the current name of the router is displayed. If you
type anything after system name, the characters will be taken as the new name.
SYSTEM ONEWANDIALUP
This command is useful when security concerns dictate than the router have only one connection active at a time.
For example, the command can prevent from connecting to the Internet and to another location such as your
company at the same time. The command system oneWANdialup on forces the router to have no more than one
connection to a remote entry active at one time. (Multiple links to the same remote are allowed.)
A connection is only generated when data is forwarded to the remote router (dial-on-demand); Permanent links
cannot be automatically generated.
At system startup time, the router examines each remote entry. If if finds one remote enabled, it leaves the remote
enabled. If it finds more than one remote entry enabled, then it disables every entry that does not have a protocol
of PPP or PPPLLC. It sets the minimum number of active links (remote minLink) to 0 (zero) on the enabled
entries; if the command did not perform this function, connections to multiple destinations would not be possible
(since the link to the destination with minLink=non-zero would be active).
The command allows multiple connections to the SAME location and supports PPP Mult-link protocol.
This system oneWANdialup command complements the system command that controls WAN-to-WAN
forwarding. That command allows multiple connections to different locations to be active at the same time but
stops traffic from passing from one WAN connection to another.
SYSTEM PASSWD
Sets the system authentication password for the target router that is used when the router connects to other routers
or is challenged by them. This password is a default password used for all remote sites unless a unique password
is explicitly defined for connecting to a remote router with the remote setOurPasswd command.
SYSTEM SNMPPORT
Manages SNMP port access including disabling SNMP, reestablishing SNMP services, or redefining the SNMP
port for security reasons. Refer to Chapter 4. Controlling Remote Management on page 101.
default Restores the port value to the default value 161 and re-enables the port.
port Defines a new SNMP port number. Use this option to restrict remote access.
Examples:
SYSTEM SUPPORTTRACE
Lets you capture to a file all the configuration data that Technical Support may need to investigate configuration
problems. This exhaustive list command incorporates the following commands:
¥ system history
¥ vers
¥ mem
¥ system list
¥ eth list
¥ remote list
¥ ifs
¥ ipifs
¥ iproutes
¥ ipxroutes
system supporttrace
SYSTEM SYSLOGPORT
Manages Syslog port access including disabling and re-enabling the Syslog port or redefining the Syslog port for
security reasons. For more information on configuring the router as a Syslog client, see page 153.
default Restores the port value to the default value 514 and re-enables the port.
port Defines a new Syslog port number. Use this option to restrict remote access.
Examples:
SYSTEM TELNETPORT
The router has a built-in Telnet server. This command is used to specify which routerÕs TCP port is to receive a
Telnet connection.
disabled The router will not accept any incoming TCP request.
port Port number of the Ethernet LAN. It is recommended that this number be > 2048 if not 0
(disabled) or 23 (default).
SYSTEM WAN2WANFORWARDING
Allows the user to manage WAN-to-WAN forwarding of data from one WAN link to another.
For example, an employee uses the router at home to access both a company network and the Internet at the same
time, and the company does not want its information to pass to the Internet, then this command is useful for
disabling WAN-to-WAN forwarding.
on Allows data to be forwarded from one WAN link to another WAN link.
off Stops data from being forwarded from one WAN link to another WAN link.
¥ Manage the contents of the default routing table and any virtual routing tables
Note: In general, these commands require a save and reboot before they take effect. However, changes made to
IP filters and to virtual routing tables take effect immediately; the changes are lost, though, if they are not saved
before the next reboot.
ETH ?
Lists the supported keywords.
eth ?
Example:
# eth ?
Ethernet commands:
? add delete
br ip ipx
list mtu
# eth ip ?
eth ip sub-commands
? addr ripmulticast
options enable disable
firewall directedBcast addroute
delroute defgateway bindRoute
unbindRoute filter
ETH ADD
Adds a logical interface onto an Ethernet port so that the router can provide service to multiple IP subnets. The eth
add command defines the port number and logical interface number. You should then use an eth ip addr
command to define the IP subnet that uses the logical interface. For more information, see Multiple IP Subnets, on
page 77.
A logical interface 0 always exists for Ethernet port 0 (and for port 1 in a dual-port router); logical interface 0
cannot be deleted.
Once defined, routes and filters can be created for the new logical interface using the other eth commands in this
section. To list the currently defined logical interfaces, use the eth list command (page 248). To remove a logical
interface, use an eth delete command (page 230).
logical# New logical interface number. It cannot be 0 because logical interface 0 always exists.
ETH DELETE
Deletes a logical interface from an Ethernet port. For more information, see Multiple IP Subnets, on page 77
When you delete a logical interface, all information defined for that interface, such as routes and filters, is deleted
automatically.
To list all currently defined logical interfaces, use the eth list command (page 248).
Note: This command takes effect immediately; however, if the change is not saved before the next reboot, the
deletion is lost and the deleted interface reappears after the reboot.
ETH IP ADDHOSTMAPPING
Remaps a range of local LAN IP addresses to a range of public IP addresses on a per-interface basis. These local
addresses are mapped one-to-one to the public addresses. For more information, see Host Remapping, on page 95.
Note: The range of public IP addresses is deÞned by <Þrst public addr> only. The rest of the range is computed
automatically (from <Þrst public addr> to <Þrst public addr> + number of addresses remapped - 1) inclusive.
first private addr First IP address in the range of IP address (4 decimals separated by periods).
second private addr Last address in the range of IP address (4 decimals separated by periods).
first public addr DeÞnes the range of public IP addresses (4 decimals separated by periods). The rest of the
range is computed automatically.
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet
interface.
To specify a logical interface other than logical interface 0, specify both the port number
and the logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
ETH IP ADDR
Defines the IP address and subnet mask for an Ethernet port or logical interface.
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Examples:
The following command sets the IP address and subnet mask for the default Ethernet interface (0:0).
The following command sets the IP address and subnet mask for logical interface 1 on Ethernet port 0.
ETH IP ADDROUTE
Adds a route to the default routing table for the Ethernet interface.
This command is needed only if the system does not support RIP (see IP (RIP) Protocol Controls, on page 81 and
the eth ip options command, on page 243).
Note: This command requires a save and reboot before it takes effect.
hops Number of routers through which the packet must go to get to its destination.
interface Ethernet interface through which the packet is sent out. This parameter may be omitted if the
router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Examples:
The following command adds a route to the default routing table for the default Ethernet interface (0:0).
The following command adds a route to the default routing table for logical interface 1 on Ethernet port 0.
ETH IP ADDSERVER
This Network Address Translation (NAT) command adds a serverÕs IP address (on the LAN) associated with this
interface for a particular protocol. For more information, see Network Address Translation (NAT), on page 91.
eth ip addServer <action> <protocol> <first port> [<last port> [<first private port>]] <interface>
first port First or only port as seen by the Ethernet interface. Port used by the selected server
portid Numeric value between 0 and 65,535. A numeric value of 0 matches any port.
ftp FTP port.
telnet Telnet port.
smtp SMTP port.
sntp SNTP port.
http HTTP port.
tftp TFTP port.
all All ports.
last port Optional last port in the range of ports as seen by the Ethernet interface for the server on the
LAN.
first private port If specified, this is a port remapping of the incoming request from the Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
ETH IP BINDROUTE
Adds an Ethernet route to the named IP virtual routing table.
Duplicate routes are not allowed within a routing table. However, identical routes may be added to different
routing tables. For example, the same route may be added to a virtual routing table and to the default routing table.
To list the routes, use the iproutes command, page 191. To remove an Ethernet route from a virtual routing table,
use the eth ip unbindRoute command, page 246.
Note: A route change in an IP virtual routing table takes effect immediately. However, the change is lost if it is
not saved before the next reboot.
hops Number of routers through which the packet must go to get to its destination.
interface Ethernet interface through which the packet is sent out. This parameter may be omitted if the
router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
The following commands add a route for IP address 10.1.2.0/255.255.255.0 to four routing tables: ROSA,
MIGUEL, FRANCISCO, and the default routing table. The first two routes are for Ethernet interface 0:1 and
use gateway 192.168.252.9; the second two are for the default Ethernet interface (0:0) and, therefore, specify
another gateway (192.168.252.7).
ETH IP DEFGATEWAY
Assigns an Ethernet default gateway for packets whose destination address does not have a route defined.
This setting is most useful when IP routing is not enabled, in which case the system acts as an IP host (i.e., an end
system, as opposed to an IP router).
Note: This command requires a save and reboot before it takes effect.
Note: The following command is recommended instead of the eth ip defgateway command. It sends packets for
all IP addresses to the specified gateway:
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and
the logical interface number (<port #>:<logical #>, for example, 0:1).
ETH IP DELHOSTMAPPING
Undoes an IP address/ host translation (remapping) range that was previously established with the command eth
ip addHostMapping on a per-interface basis (page 230). For more information, see Host Remapping, on page 95.
eth ip delHostMapping <Þrst private addr> <second private addr> <Þrst public addr> <interface>
first private addr First IP address in the range of IP address (4 decimals separated by periods).
second private addr Last address in the range of IP address (4 decimals separated by periods).
first public addr DeÞnes the range of public IP addresses (4 decimals separated by periods). The rest of the
range is computed automatically.
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet
interface.
To specify a logical interface other than logical interface 0, specify both the port number
and the logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
ETH IP DELROUTE
Removes a route from the default routing table that was added using the eth ip addroute command.
The route to be deleted is identified by its IP address and mask and its Ethernet interface. To see the remaining
routes, use the iproutes command (page 191).
Note: This command requires a save and reboot before it takes effect.
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Examples:
The following command deletes the route for IP address 10.9.2.0/255.255.255.0 for the default Ethernet
interface (0:0).
The following command deletes the route for IP address 10.1.3.0/255.255.255.0 for the Ethernet interface 0:1.
ETH IP DELSERVER
Deletes an entry created by the eth ip addServer command (page 232).
eth ip delServer <action> <protocol> <first port> [<last port> [<first private port>]] <interface>
first port First or only port as seen by the Ethernet interface. Port used by the selected server
portid Numeric value between 0 and 65,535. A numeric value of 0 matches any port.
ftp FTP port.
telnet Telnet port.
smtp SMTP port.
sntp SNTP port.
http HTTP port.
tftp TFTP port.
all All ports.
last port Optional last port in the range of ports as seen by the Ethernet interface for the server on the
LAN.
first private port If specified, this is a port remapping of the incoming request from the Ethernet interface.
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
ETH IP DIRECTEDBCAST
Enables or disables the forwarding of packets sent to the network prefix-directed broadcast address of an interface.
A network prefix-directed broadcast address is the broadcast address for a particular network. For example, a
networkÕs IP address is 192.168.254.0 and its mask is 255.255.255.0. Its network prefix-directed broadcast
address is 192.168.254.255.
eth ip disable
ETH IP ENABLE
Enables IP routing across the Ethernet LAN. This command acts as a master switch allowing you to re-enable all
IP routing.
eth ip enable
ETH IP FILTER
Manages the IP filters for the Ethernet interface(s). The filters are used to screen IP packets.
Each Ethernet interface can have its own set of filters. The intended interface is designated at the end of the filter
command. If the router has two physical Ethernet interfaces (an Ethernet hub router), the interface is designated
by its port number (0 or 1). If logical interfaces have been defined to provide service to multiple IP subnets, the
logical interface number is also specified (port #:<logical #, for example, 0:1).
The set of filters for an interface can be of three types: Input, Forward, and Output. For more information on how
these three types of filters are applied, refer to Chapter 5. IP Filtering on page 119.
Note: IP filters take effect immediately upon entry. They can even affect the current connection that you are using
to enter commands. Unlike other configuration changes, you do not need to save and reboot.
The following commands are provided for managing IP filters for an Ethernet interface:
Appends a filter to the list of filters for this <type> and <interface>. The filter is specified by the
<action> and optional <parameters>.
If no line number is specified, the filter is appended to the end of the list; otherwise, it is appended after
the specified line. To see the line numbers, use the eth ip filter list command. Filters are used in the
order they appear in their list.
Inserts a filter in the list of filters for this <type> and <interface>. The filter is specified by the <action>
and optional <parameters>.
If no line number is specified, the filter is inserted at the beginning of the list; otherwise, it is inserted
before the specified line. To see the line numbers, use the eth ip filter list command. Filters are used in
the order they appear in their list.
Deletes the first filter that matches the filter specified on the command.
Deletes a range of filters from the list for this <type> and <interface>.
If no line numbers are specified, all filters in the list are deleted. If only the first line number is specified,
all filters from that line to the end are deleted. To see the line numbers, use the eth ip filter list
command. Filters are used in the order they appear in their list.
eth ip filter clear [<first line> [<last line>]] [<type>] <clear arg> [<interface>]
Resets the counters for the specified filters. A filter has a counter if the -c parameter was specified when
the filter was defined.
You can specify the filters whose counters are to be reset by their line number range and type (input,
output, or forward). If no type is specified, the counters for all filters for the interface are reset. If no line
numbers are specified, the counters for all filters for that type and interface are reset. If only the first line
number is specified, all counters for filters from that line to the end of the list are reset. To see the line
numbers and counters, use the eth ip filter list command.
Checks the action that would be taken if a packet with the specified parameters was compared with the
list of filters defined for the specified type and interface. For example, the command
eth ip filter check input -p TCP 1
would check what action (accept, drop, reject, inipsec, outipsec) would be taken for a TCP packet after it
was compared with the list of input filters defined for port 1.
Lists all filters of the specified <type> defined for the specified <interface>.
Turns on or turns off the console watch for the interface. If the watch is on, a message is printed to the
console serial port when a packet is dropped or rejected. (The message is also sent to any Syslog servers;
see Syslog Client, on page 153.)
However, if the parameter -q (quiet) was specified for a filter, no message is printed when that filter
matches a packet. If the parameter -v (verbose) was specified for a filter, a message is printed whenever
that filter matches a packet, regardless of the filter action.
To see the messages, Telnet to the router and enter system log start. The watch does not continue after a
reboot; to resume the watch after a reboot, you must enter the eth ip filter watch on command again.
forward Filter is used, after any IP address translation, but before routing is performed.
output Filter is used after routing and IP address translation have been performed, just before the
packet is sent out an interface.
drop The packet is discarded, without sending an ICMP (Internet Control Management Protocol)
error message.
reject The packet is discarded and an ICMP error message is returned to the sender.
inipsec The packet is passed to IPSec for decrypting. The filter is intended to match packets coming
from the other IPSec gateway. Although filters are the mechanism by which packets are passed
to IPSec, it is recommended that you use IKE to manage your IP Security (see IPSec (Internet
Protocol Security), on page 134).
outipsec The packet is passed to IPSec so it can be encrypted and sent to the other IPSec gateway. The
filter is intended to match packets coming from the local protected network. Although filters are
the mechanism by which packets are passed to IPSec, it is recommended that you use IKE to
manage your IP Security (see IPSec (Internet Protocol Security), on page 134).
The following parameters specify the characteristics that an IP packet must have in order to match the Þlter. A Þlter
can require any or all of these characteristics.
-p <protocol> | TCP | UDP | ICMP
The packet must have the specified protocol. If no protocol is specified, the filter matches every protocol.
-tcp syn|ack|noflag|rst
If the IP packet is a TCP packet, the filter matches the packet only if the packet flag settings are as specified.
If no -tcp option is specified for the filter, flag settings are not checked.
Note: You may specify more than one -tcp option for the IP filter.
The -tcp rst setting is independent of the others; if you specify -tcp rst for the filter, the filter matches every
TCP packet with the TCP RESET flag set, regardless of the other flag settings. For example, for the filter to
match packets for ÒestablishedÓ connections, you would specify both -tcp rst and -tcp ack so that the filter is
applied to every TCP packet that has either the RESET flag or the ACK flag set.
-b
This option requests that this filter be compared twice with each packet. The first time the source filter
information is matched against the source information in the IP packet and the destination filter information is
matched against the destination information in the IP packet. The second time the source filter information is
matched against the destination information in the IP packet and the destination filter information is matched
against the source information in the IP packet.
Use this option when the action specified is inipsec or outipsec. It specifies the IPSec Security Association
that uses the filter.
-q or -v
Specify one of these options to determine when watch messages are sent for this filter. The messages are sent
to the console serial port (and to any Syslog servers; see page 153).
If neither -q or -v are specified for the filter, and an eth ip filter watch on command is entered for the
interface, a message is sent each time this filter causes a packet to be dropped or rejected.
If -q (quiet) is specified, no messages are printed for this filter, even if the filter causes a packet to be dropped
or rejected.
The optional interface determines which Ethernet interface the Þlter applies to.
If the router has only one Ethernet interface, <interface> may be omitted.
If the router has two physical Ethernet interfaces (that is, a dual-port router), you must specify the port by its
number (0 or 1).
If logical interfaces have been defined for the physical Ethernet interface, the port number and the logical
interface number are specified (<port #>:<logical #>, for example, 0:1).
Examples:
ETH IP FIREWALL
The router supports IP Internet Firewall Filtering to prevent unauthorized access to your system and network
resources from the Internet. This filter discards packets received from the WAN that have a source IP address
recognized as a local LAN address. This command sets Ethernet Firewall Filtering on or off and allows you to list
the active state.
Note 1: This command requires a save and reboot before it takes effect.
Note 2: To perform Firewall Filtering, IP routing must be enabled. For more information, see Enable/Disable
Internet Firewall Filtering, on page 80.
on Sets Þrewall Þltering on. IP routing must also be enabled for Þltering to be performed.
ETH IP MGMT
This command assigns to an Ethernet interface an IP address which is to be used for management purposes only
and not for IP address translation. This management IP address is generally a private network address used solely
by the ISP.
Note: The management address is not effective until after the next save and reboot.
Note: To use the management address as the source address for a ping, you must specify it using the -I option on
the ping command (page 194). For example, to use management address 192.168.1.2 when pinging destination
address 192.168.100.100, specify:
ping -I 192.168.1.2 192.168.100.100
Note: To use the management address as the source address for a copy, you must specify both the source and
destination addresses on the copy command (page 200).
To list the current management address for the Ethernet interface, if any, use the eth list command (page 248). To
set a management address for the WAN interface, see remote setMgmtIpAddr (page 281).
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
ETH IP MTU
Sets the maximum transfer unit for the Ethernet interface. The default is 1500 bytes.
You can set the MTU size to less than 1500 bytes, but you cannot set the MTU to greater than 1500 bytes, even if
you specify a larger value on an eth ip mtu command. (RFC 1042 recommends 1500 bytes as the maximum MTU
for an Ethernet network.)
To see the current MTU size for an interface that has IP enabled, use the ipifs command (page 191).
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
The following command decreases the MTU size for Ethernet interface 0:1 to 1400 bytes.
ETH IP OPTIONS
RIP is a protocol used for exchanging IP routing information among routers. The following RIP options allow you
to set IP routing information protocol controls on the local Ethernet LAN. (See IP (RIP) Protocol Controls, on
page 81)
Note: This command requires a save and reboot before it takes effect.
rxrip Receive and process IP RIP-1 compatible and RIP-2 broadcast packets from the Ethernet LAN.
Also receive and process RIP-2 packets that are multicast as deÞned by the eth ip ripmulticast
command. Set this option if the local router is to discover route information from the Ethernet
LAN. The default is on.
rxdef Receive the default route address from the Ethernet LAN. The default is on. This option is
useful if you do not want to conÞgure your router with a default route.
txrip Transmit RIP-1 compatible broadcast packets and RIP-2 multicast packets over the Ethernet
LAN. The default is on.
txdef/avdfr Advertise this router as the default router over the Ethernet LAN (provided it has a default
route). The default is on. Set this to off if another router on the local LAN is the default router.
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and
the logical interface number (<port #>:<logical #>, for example, 0:1).
Certain configuration changes for a logical Ethernet interface become effective only after the logical interface is
restarted or the router is rebooted. Remember to save the changes before the restart or reboot.
Note: Use restart instead of reboot whenever possible. A restart does not affect other interfaces, allowing their
traffic to continue. For example, using restart, you can add an IP route without killing voice traffic.
interface Logical Ethernet interface. Specify both the port number and the logical interface number using
the format <port #>:<logical #> (for example, 0:1).
Example:
ETH IP RIPMULTICAST
Changes the multicast address for RIP-1 compatible and RIP-2 packets. The default address is 224.0.0.9.
ETH IP START
Starts a stopped logical Ethernet interface. To read about logical Ethernet interfaces, see page 77.
A logical Ethernet interface is stopped using the command eth ip stop (page 245). To stop and immediately
restart a logical Ethernet interface, use the command eth ip restart (page 244).
interface Logical Ethernet interface. Specify both the port number and the logical interface number using
the format <port #>:<logical #> (for example, 0:1).
Example:
ETH IP STOP
Stops a logical Ethernet interface. To read about logical Ethernet interfaces, see page 77.
Note: To keep certain configuration changes, you must enter a save command before stopping the logical
interface.
The stopped interface is disabled until it is started again. To start a logical Ethernet interface, use the command
eth ip start (page 244). To stop and immediately restart a logical Ethernet interface, use the command eth ip
restart (page 244).
interface Logical Ethernet interface. Specify both the port number and the logical interface number using
the format <port #>:<logical #> (for example, 0:1).
Example:
ETH IP TRANSLATE
This command is used to control Network Address Translation on a per-interface basis. It allows several PCs to
share a single IP address to the Internet. To read more about Network Address Translation (NAT), see page 91.
on | off Indicates whether Network Address Translation is on or off for this Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
eth ip translate on 0
This command disables Network Address Translation for logical interface 0:1
To list the routes, use the iproutes command, page 191. To add an Ethernet route to a virtual routing table, use the
eth ip bindRoute command.
Note: A route change in an IP virtual routing table takes effect immediately. However, the change is lost if it is
not saved before the next reboot.
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Example:
The following commands remove Ethernet routes from virtual routing table ROSA. The first deleted route is
for IP address 10.1.2.0 and the default Ethernet interface (0:0). The second deleted route is for IP address
10.1.3.0 and the logical Ethernet interface 0:1.
ETH IP VRID
Assigns a virtual router ID (VRID) to an Ethernet interface. The same VRID must be assigned to the master router
and its backup routers. For more information, see VRRP Backup, on page 107.
This command designates the interface as the VRRP interface for the router. You must use another logical
Ethernet interface as the management interface for the router. To create a new logical Ethernet interface, use the
command eth add (page 229) and then assign it an IP address with an eth ip addr command (page 231).
To clear the VRRP interface designation, enter the eth ip vrid command with 0 as the VRID.
Note: The assignment takes effect after you save the change and restart the interface or reboot the router.
After you assign the VRID, you specify its attributes with the eth vrrp commands (see page 249).
If you specify 0 as the VRID, the Ethernet interface is no longer the VRRP interface.
To specify a logical interface other than 0:0, specify both the port number (0 or 1) and the
logical interface number using the format <port #>:<logical #> (for example, 0:1).
Examples:
This command clears the VRRP interface designation from interface 0:1.
This command assigns VRID 1 to the default logical Ethernet interface 0:0.
eth ip vrid 1
port# Port number of the Ethernet LAN. This number must be 0 or 1, or it may be omitted.
port# Port number of the Ethernet LAN. This number must be 0 or 1, or it may be omitted.
port# Port number of the Ethernet LAN. This number must be 0 or 1, or it may be omitted.
ETH LIST
Lists information about the Ethernet interfaces including the status of bridging and routing, IP protocol controls,
and IP address and subnet mask.
interface Ethernet interface for which information is listed. If the parameter is omitted, information is
listed for all Ethernet interfaces in the router.
For a dual-port router, you may specify the port number (0 or 1).
If logical interfaces are defined, you may specify a port and logical interface number
(<port #>:<logical interface #>, such as 0:1).
Example:
# eth list
GLOBAL BRIDGING/ROUTING SETTINGS:
Bridging enabled..................... no
Exchange spanning tree with dest... yes
IP Routing enabled................... yes
Multicast forwarding enabled....... no
Firewall filter enabled............ yes
Directed Broadcasts Allowed........ no
RIP Multicast address.............. default
IPX Routing enabled.................. no
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
After you define the VRRP attribute record, you specify the attributes with other eth vrrp commands (see
Defining VRRP Attributes, on page 109.)
vrid Virtual router ID (integer, 1-255). It is defined by an eth ip vrid command (page 246).
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Examples:
This command defines an attribute record for VRID 7 for the default port 0.
Note: If the VRRP attribute record has no password, no VRRP authentication is performed.
Note: If you clear the password for one VRRP router, you must clear the password for every router for that VRID
on the LAN. For example, if VRID 7 is defined in routers A, B, and C in the LAN and you clear the password for
router A, you must clear the password for routers B and C as well.
To see the current password, use the command eth vrrp list (page 250). To set a new password, use the command
eth vrrp set password (page 252).
vrid Virtual router ID of the VRRP attribute record (integer, 1-255). The attribute record was created
by the command eth vrrp add (page 249).
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Example:
This command clears the password for VRID 7 using default port 0.
After deleting the VRRP attribute record, you should also delete the VRRP interface. To do so, use the command
eth delete (page 230).
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Example:
This command deletes the attribute record for VRID 7 for the default port 0.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Example:
This command lists the attribute records for the default port 0.
Note: This command is not usually needed for VRRP configuration. Do not use this command unless you clearly
understand its impact.
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
ipaddr IP address that is to be the new multicast address (4 decimals, separated by periods).
Example:
The preemption option determines what the router does when it recovers from a failure, as follows:
¥ If the router is the master router for the IP address (it has priority 255), it always immediately preempts the
backup router and resumes its function in the network.The preemption option cannot change this.
¥ However, if the router is a backup router for the IP address and it determines that a router with a lower
priority is currently functioning as backup, the preemption option determines whether this router immediately
preempts the router with lower priority or waits for the lower priority router to go away before becoming the
active VRRP router.
The preemption option may differ among the backup routers for a VRID.
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
vrid Virtual router ID of the VRRP attribute record (integer, 1-255). The attribute record was created
by the command eth vrrp add (page 249).
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Example:
To clear a password, use the command eth vrrp clear password (page 249).
Note: The password must be the same for every router in the Virtual Router, that is, for every router in the LAN
with the same VRID. For example, if a VRRP interface in routers A, B, and C has the VRID 7, routers A, B, and
C must all specify the same password for VRID 7.
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
vrid Virtual router ID of the VRRP attribute record (integer, 1-255). The attribute record was created
by the command eth vrrp add (page 249).
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Example:
This command specifies the password ÒAbCdEfGhÓ for VRID 7 using default port 0.
Note: If you do not specify a priority value for a VRRP attribute record, the default priority, 100, is used.
The priority for the master router must be the maximum, 255; the priority for each backup router must be less than
255.
The priority values must differ for each router that uses the same VRID. For example, the master router for VRID
7 must have priority 255 while the first backup router for VRID 7 could have the default priority 100 and a second
backup router for VRID 7 could have priority 50.
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
priority Priority value (integer, 1-255). The priority for the master router must be 255; the priority for
each backup router must be less than 255.
vrid Virtual router ID of the VRRP attribute record (integer, 1-255). The attribute record was created
by the command eth vrrp add (page 249).
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Examples:
This command specifies the maximum priority for the master router for VRID 7 using default port 0.
This command defines priority 50 for a backup router for VRID 7 using port 1.
Note: If you do not specify a time interval value for a VRRP attribute record, the default time interval, 1 second,
is used.
If the backup does not receive a VRRP packet from another VRRP router during the master down interval, the
backup assumes the other router is down. The master down interval is calculated as follows:
Thus, the default skew time is (256 - 100) / 256, or .609375. The default master down interval is (3 * 1) +
.609375, or 3.609375 seconds.
Note: The time interval must be the same for every router in the Virtual Router, that is, for every router in the
LAN with the same VRID. For example, if a VRRP interface in routers A, B, and C has the VRID 7, routers A, B,
and C must all specify the same time interval for VRID 7.
Note: This command takes effect immediately, but you must save the change if it is to persist after you restart the
interface or reboot the router.
vrid Virtual router ID of the VRRP attribute record (integer, 1-255). The attribute record was created
by the command eth vrrp add (page 249).
port# Physical Ethernet interface (port) number (0 or 1). The default is 0; the parameter may be
omitted if the router has only one port.
If the router has two ports (an Ethernet hub router), the port number (0 or 1) must be specified.
Example:
This command specifies two seconds as time interval for VRID 7 using default port 0.
The following commands allow you to add, delete, and modify remote routers to which the target router can
connect. Remote router information that can be configured includes:
¥ PVC numbers
¥ IP routes
¥ Host mapping
¥ Encryption (optional)
¥ IP filtering (optional)
REMOTE ?
Lists the supported keywords. (The list varies depending on the router model.)
remote ?
st
Example:
# remote ?
Sub-commands for remote:
? help add
del delete list
enable disable start
stop restart setAuthen
enaAuthen disAuthen setPasswd
setOurPasswd delOurPasswd setOurSysName
delOurSysName listPhones setLNS
setL2TPClient setProtocol setPVC
REMOTE ADD
Adds a remote router entry into the remote router database.
remoteName Name of the remote router (character string). The name is case-sensitive.
When you specify a MAC address on this command, a permanent entry for that address is created in the bridging
table. Thereafter, packets that contain that MAC address are bridged using the specified remote router entry. (To
see the entries in the bridging table, use the bi list command.)
Note: Bridging using the specified remote is effective only after it has been enabled using the remote enabridge
command (page 267). To see the current bridge settings for a remote, use the remote listbridge command (page
272). To remove the default designation from a remote, use the remote delbridge command (page 261).
If IP and IPX routing are disabled, all packets, with an unknown destination, are bridged to the default bridging
destination. If IP and/or IPX routing is enabled, bridging occurs only for packets that are not routed.
MAC_addr MAC address (six bytes, specified as six hexadecimals, separated by colons).
remoteName Name of the remote router (character string). The name is case-sensitive.
Example:
REMOTE ADDHOSTMAPPING
Remaps a range of local LAN IP addresses to a range of public IP addresses on a per-remote-router basis. These
local addresses are mapped one-to-one to the public addresses.
Note: The range of public IP addresses is defined by <first public addr> only. The rest of the range is computed
automatically (from <first public addr> to <first public addr> + number of addresses remapped - 1) inclusive.
Þrst private addr First IP address in the range of local IP address to be remapped, in the format of 4 decimals
separated by periods.
second private addr Last address in the range of local IP address to be remapped, in the format of 4 decimals
separated by periods.
Þrst public addr DeÞnes the range of public IP addresses, in the format of 4 decimals separated by periods.
The target routerÕs routing table must be seeded statically to access networks and stations beyond this remote
router. After the connection is established, standard RIP update packets can dynamically add to the routing table.
Setting this address is not required if a target router never connects to the remote router and the remote router
supports RIP.
Note: Changes to the default routing table require a save and a remote restart or reboot before they take effect.
ipnetmask IP network mask of the remote network or station (4 decimals separated by periods).
hops Perceived cost to reach the remote network or station by this route (number between 1 and 15).
Examples:
The first two addresses in the list represent subnetworks, the third is a class B network, the fourth is a host, and
the fifth address is the default route. The fifth command adds the default route when the WAN interface is a point-
to-point interface; the sixth command adds the default route when the WAN interface is a broadcast interface.
REMOTE ADDIPXROUTE
Adds an IPX route for a network or station on the LAN network connected beyond the remote router. The target
routerÕs routing information table must be seeded statically to access networks and stations beyond this remote
router. After the connection is established, standard RIP update packets will dynamically add to the routing table.
(Setting this address is not required if a target router never connects to the remote router and the remote router
supports RIP.)
Note: A reboot command must be performed on the target router for the addition of a static route to take effect.
metric Number of routers through which the packet must go to get to the network/station.
ticks Number in 1/8 seconds which is the estimated time delay in reaching the remote network or
station.
REMOTE ADDIPXSAP
Adds an IPX SAP to the server information table for a service on the LAN network connected beyond the remote
router. The target routerÕs SAP table must be seeded statically to access services beyond this remote router. After
the connection is established, standard SAP broadcast packets will dynamically add to the table.
Note: A reboot must be performed on the target router for the addition of a SAP to take effect.
remote addIpxSap <servicename> <ipxNet > <ipxNode> <socket> <type> <hops> <remoteName>
socket Socket address of the destination process within the destination node. The processes include
services such as Þle and print servers.
hops Number of routers through which the packet must go to get to the network/station.
REMOTE ADDSERVER
This Network Address Translation (NAT) command is used to add a serverÕs IP address (on the LAN) associated
with this remote router for a particular protocol. To learn more, see Network Address Translation (NAT), on page
91.
Multiple system addserver (page 209) and remote addserver commands can designate different servers for
different protocols, ports, and interfaces. When a request is received, the router searches the server list for the
appropriate server. The order of search for a server is discussed in Server Request Hierarchy, on page 94.
remote addServer <action> <protocol> <first port> [<last port> [<first private port>]] <remoteName>
first port First or only port as seen by the remote end. Port used by the selected server
portid Numeric value between 0 and 65,535. A numeric value of 0 matches any port.
ftp FTP port.
telnet Telnet port.
smtp SMTP port.
sntp SNTP port.
http HTTP port.
tftp TFTP port.
all All ports.
last port Optional last port in the range of ports as seen by the remote end for the server on the LAN.
first private port If specified, this is a port remapping of the incoming request from the remote end.
Example:
REMOTE BINDIPVIRTUALROUTE
Adds a remote route to the named IP virtual routing table.
To list the remote routes, use the remote listIProutes command, page 272. To remove a route from a virtual
routing table, use the remote unbindIPVirtualRoute command, page 289.
Note: A route change in an IP virtual routing table takes effect immediately. However, the change is lost if it is
not saved before the next remote restart or reboot.
ipnetmask IP network mask of the remote network or station (4 decimals separated by periods).
hops Perceived cost in reaching the remote network or station by this route (number between 1 and
15).
Example:
The following command adds a route to virtual routing table FRANCISCO. The route is to IP address
10.1.2.0/255.255.255.0 and goes through remote router HQ.
REMOTE BLOCKNETBIOS
This command turns on or turns off a filter that blocks all NetBIOS packets over this WAN connection.
REMOTE DEL
Deletes a remote router entry from the remote router database.
REMOTE DELATMNSAP
This command deletes an ATM mapping set by the remote setATMnsap command (page 274).
REMOTE DELBRIDGE
Removes the designation of the remote router entry as the default bridging destination. (Default bridging
destinations are defined using the remote addbridge command, page 257.) To see the bridge settings for a remote
entry, use the remote listbridge command (page 272).
To remove a designation as the default bridging destination for a specific MAC address, specify that address on
the command. The entry is then removed from the bridging table. To see the entries in the bridging table, use the
bi list command (page 189).
MAC_addr MAC address (six bytes, specified as six hexadecimals, separated by colons).
remoteName Name of the remote router (character string). The name is case-sensitive.
REMOTE DELENCRYPTION
Deletes encryption files associated with a remote router.
REMOTE DELHOSTMAPPING
Undoes an IP address/host translation (remapping) range that was previously established with the command
remote addhostmapping on a per-remote-router basis.
remote delHostMapping <first private addr> <second private addr> <first public addr> <remoteName>
Þrst private addr First IP address in the range of IP address, in the format of 4 decimals separated by periods.
second private addr Last address in the range of IP address, in the format of 4 decimals separated by periods.
Þrst public addr DeÞnes the range of public IP addresses, in the format of 4 decimals separated by periods.
The rest of the range is computed automatically.
REMOTE DELIPROUTE
Deletes an IP address route for a network or station on the LAN connected beyond the remote router. The route is
deleted from the default routing table.
Note: Changes to the default routing table require a save and remote restart or reboot before they take effect.
Note: The reboot command must be issued on the target router for a deleted static route to take effect.
REMOTE DELIPXSAP
Deletes an IPX service on the LAN network connected beyond the remote router.
Note: The reboot command must be issued on the target router for a deleted service to take effect.
REMOTE DELOURSYSNAME
Removes the unique CHAP or PAP authentication system name entries established by the command remote
setOurSysName.
REMOTE DELPHONE
Deletes a phone number that was specified by the command remote setPhone (page 283).
phone# Decimal number representing the exact digits to be dialed. Digits, the asterisk, and the #
characters are accepted; use a comma to specify a 2-second pause.
Example:
remote delServer <action> <protocol> <first port> [<last port> [<first private port>]]
first port First or only port as seen by the remote end. Port used by the selected server
portid Numeric value between 0 and 65,535. A numeric value of 0 matches any port.
ftp FTP port.
telnet Telnet port.
smtp SMTP port.
sntp SNTP port.
http HTTP port.
tftp TFTP port.
all All ports.
last port Optional last port in the range of ports as seen by the remote end for the server on the LAN.
first private port If specified, this is a port remapping of the incoming request from the remote end.
Example:
REMOTE DISABLE
Disables the remote. The remote remains disabled even after a reboot. To enable the remote, you must enter the
command remote enable (page 266).
Note: You may enter and save information and settings for a disabled remote entry. However, the remote entry
cannot be used until it is enabled.
Note: If the remote is currently active when the remote is disabled, the active session is not stopped. To stop the
active session, use the remote stop command (page 288).
REMOTE DISBRIDGE
Disables bridging from the target router to the remote router.
Note: This command requires rebooting the target system for the change to take effect.
REMOTE ENAAUTHEN
With this command the target router will try to negotiate authentication as defined in the remote router's database.
REMOTE ENABLE
Enables use of an entry in the remote router database. Although the command makes it possible to use the remote
entry, it does not start an active session for the remote.
Note: The entry remains enabled across reboots. The entry remains enabled until it is disabled by a remote
disable command (page 265).
REMOTE IPFILTER
This command manages the IP filters on the WAN interface. The filters screen IP packets at the interface level.
You can define filters for any entry in the remote router database. The remote entry is referenced by the name
specified on the remote add command that created the entry.
The set of filters for a remote router entry can be of three types: Input, Forward, and Output. For more information
on how these three types of filters are applied, refer to Chapter 5. IP Filtering on page 119.
Note: IP filters take effect immediately upon entry. They can even affect the current connection that you are using
to enter commands. Unlike other configuration changes, you do not need to save and restart or reboot.
The following commands are provided for managing IP filters for the WAN interface:
Appends a filter to the list of filters for this <type> (Input, Output, or Forward) for this remote router
entry.
If no line number is specified, the filter is appended to the end of the list; otherwise, it is appended after
the specified line. To see the line numbers, use the remote ipfilter list command. Filters are used in the
order they appear in their list.
Inserts a filter in the list of filters for this <type> (Input, Output, or Forward) for this remote router entry.
If no line number is specified, the filter is inserted at the beginning of the list; otherwise, it is inserted
before the specified line. To see the line numbers, use the remote ipfilter list command. Filters are used
in the order they appear in their list.
Deletes the first filter that matches the filter specified on the command.
Deletes a range of filters of this <type> (Input, Output, or Forward) for this remote router entry.
remote ipfilter clear [<first line> [<last line>]] [<type>] <clear arg> <remoteName>
Resets the counters for the specified filters. A filter has a counter if the -c parameter was specified for the
filter.
You can specify the filters whose counters are to be reset by their line number range and type (input,
output, or forward). If no type is specified, the counters for all filters for the interface are reset. If no line
numbers are specified, the counters for all filters for that type and interface are reset. If only the first line
number is specified, all counters for filters from that line to the end are reset. To see the line numbers and
counters, use the remote ipfilter list command.
Checks the action that would be taken if a packet with the specified parameters was compared with the
list of filters defined for the specified type and remote router entry.
Lists all filters of the specified <type> (Input, Output, or Forward) for this remote router entry.
Turns on or turns off the console watch for this remote router entry. If the watch is on, a message is
printed to the console serial port when a packet is dropped or rejected. (The message is also sent to any
Syslog servers; see Syslog Client, on page 153.)
However, if the parameter -q (quiet) was specified for a filter, no message is printed when that filter
matches a packet. If the parameter -v (verbose) was specified for a filter, a message is printed whenever
that filter matches a packet, regardless of the filter action.
To see the messages, Telnet to the router and enter system log start. The watch does not continue after a
restart or reboot; to resume the watch, you must enter the remote ipfilter watch on command again.
The Þlter type speciÞes at which point the Þlter is compared to the IP packet (see the illustration under IP Filtering,
on page 119):
input Filter is used when the packet enters the interface, before any IP address translation is
performed.
forward Filter is used, after any IP address translation, but before routing is performed.
output Filter is used after routing and IP address translation have been performed, just before the
packet is sent out an interface.
reject The packet is discarded and an ICMP error message is returned to the sender.
inipsec The packet is passed to IPSec for decrypting. The filter is intended to match packets coming
from the other IPSec gateway. Although filters are the mechanism by which packets are passed
to IPSec, it is recommended that you use IKE, rather than your own filters, to manage your IP
Security (see IPSec (Internet Protocol Security), on page 134).
outipsec The packet is passed to IPSec so it can be encrypted and sent to the other IPSec gateway. The
filter is intended to match packets coming from the local protected network. Although filters are
the mechanism by which packets are passed to IPSec, it is recommended that you use IKE to
manage your IP Security (see IPSec (Internet Protocol Security), on page 134).
The following parameters specify the characteristics that an IP packet must have in order to match the Þlter. A Þlter
can require any or all of these characteristics.
-p <protocol> | TCP | UDP | ICMP
The packet must have the specified protocol. If no protocol is specified, the filter matches every protocol.
-tcp syn|ack|noflag
If the IP packet is a TCP packet, the filter matches the packet only if the packet flag settings are as specified.
If no -tcp option is specified for the filter, flag settings are not checked.
Note: You may specify more than one -tcp option for the IP filter.
The -tcp rst setting is independent of the others; if you specify -tcp rst for the filter, the filter matches every
TCP packet with the TCP RESET flag set, regardless of the other flag settings. For example, for the filter to
match packets for ÒestablishedÓ connections, you would specify both -tcp rst and -tcp ack so that the filter is
applied to every TCP packet that has either the RESET flag or the ACK flag set.
-b
This option requests that this filter be compared twice with each packet.The first time the source filter
information is matched against the source information in the IP packet and the destination filter information is
matched against the destination information in the IP packet. The second time the source filter information is
matched against the destination information in the IP packet and the destination filter information is matched
against the source information in the IP packet.
Use this option when the action specified is inipsec or outipsec. It specifies the IPSec Security Association
that uses the filter.
-q or -v
Specify one of these options to determine when watch messages are sent for this filter. The messages are sent
to the console serial port (and to any Syslog servers; see page 153).
If neither -q or -v are specified for the filter, and an remote ipfilter watch on command is entered for the
interface, a message is sent each time this filter causes a packet to be dropped or rejected.
If -q (quiet) is specified, no messages are printed for this filter, even if it causes a packet to be dropped or
rejected.
If -v (verbose) is specified, a message is printed every time this filter matches a packet, regardless of the filter
action.
The remote name specifies the entry in the remote router database that the command applies to. The remote name
is the name given the entry when it was created by a remote add command.
Examples:
This command deletes all IP filters of type Forward for the remote interface internet.
Both of the following commands have the same effect: they deny all IP traffic for the remote interface internet
from the specified destination addresses. The addresses can be specified as 192.168.0.0 masked with 255.255.0.0
or as the range 192.168.0.0 through 192.168.255.255).
This command lists all IP filters of type Forward for the remote interface internet.
REMOTE LIST
Lists the remote router entry (or all the entries) in the remote router database. The result is a complete display of
the current configuration settings for the remote router(s), except for the authentication password/secret.
remoteName Name of the remote router to be listed (character string).If you omit the name, all remote router
entries are listed.
Example:
REMOTE LISTBRIDGE
Lists the current bridge settings for the specified remote router entry.
remoteName Name of the remote router (character string). If a name is omitted, the bridge settings for all
remote router entries are listed.
Example:
# remote listbridge
BRIDGING INFORMATION FOR <internet>
Bridging enabled.................... yes
Exchange spanning tree with dest... no
Bridge only PPPoE with dest........ no
REMOTE LISTIPROUTES
Lists IP information for a remote router or, if the router name is omitted, for all routers in the remote router
database. The IP information includes all network or station IP addresses defined for the LAN connected beyond
the remote router.
This command lists all routes defined for the remote router, including those defined in the default routing table
and in any virtual routing tables.
Example:
The following command lists routing information for remote router HQ. It lists five routes that use HQ, the first
four are in the default routing table and the fifth is in virtual routing table FRANCISCO.
# remote listIproutes HQ
IP INFORMATION FOR <HQ>
Send IP RIP to this dest............. no
Send IP default route if known..... no
Receive IP RIP from this dest........ rip-1 compatible
Receive IP default route by RIP.... no
Keep this IP destination private..... yes
REMOTE LISTIPXROUTES
Lists all network IPX route addresses defined for the LAN connected beyond the remote router. The network
number, hop count, and ticks are displayed. If the remote name is not specified, a list of IPX routes is displayed
for each remote router in the database.
Response:
IPX ROUTE INFORMATION FOR <HQ>
Total IPX remote routes .............. 1 00001001/1/4
REMOTE LISTIPXSAPS
Lists all services defined for the LAN connected beyond the remote router. Each service includes the server name,
network number, node number, socket number, server type, and hop count. If the remote name is not specified, a
list of IPX SAPs is displayed for each remote router in the database.
Response:
IPX SAP INFORMATION FOR <HQ>
Total IPX SAPs ................... 1
SERV312_FP 00001001 00:00:00:00:00:01 0451 0004 1
REMOTE LISTPHONES
Lists the PVC numbers available for connecting to the remote router.
Response:
PHONE NUMBER(s) FOR <HQ>
Connection Identifier (VPI*VCI)...... 0*38
Note: If the remote name is not specified, a list of phone numbers is displayed for each remote router in the
database.
REMOTE RESTART
Stops the current active session and starts a new active session for a remote.
Certain configuration changes for a remote become effective only after the remote is restarted or the router is
rebooted. Remember to save the changes before the restart or reboot.
Note: Use restart instead of reboot whenever possible. A restart does not affect other interfaces, allowing their
traffic to continue. For example, using restart, you can add an IP route without killing voice traffic.
Example:
The following command restarts the active session for remote HQ.
remote restart HQ
REMOTE SETATMNSAP
RFC1577 (Classical IP over ATM) specifies a mechanism to map an ATM Name (called an NSAP) to a PVC.
NSAP's are normally not needed, but if they are used, they have a syntax defined by using either the ATM or
E164 encodings. By convention, octets 2-7 contain a unique identifier for the router, such as a MAC address.
In the command remote setATMnsap, the complete 20 octets of the NSAP are specified. If Partial mode is
selected, the router substitutes the MAC address of the router for octets 2-7. In Full mode, no change is made to
the NSAP.
To see an ATM NSAP that has been set, use the remote list command.
partial The MAC address of the router is substituted for octets 2-7 of the NSAP.
<nsap> NSAP specified as 40 hex digits or 20 octets (2-digit pairs separated by colons).
Example:
# remote list
REMOTE SETAUTHEN
Sets the authentication protocol used communicate with the remote router. The authentication protocol is the
minimum security level that the target router must use with the remote router; this level is verified during security
negotiation. The router will always attempt to negotiate the highest level of security possible (CHAP). The router
will not accept a negotiated security level less than this minimum authentication method.
The parameter in the remote router database is used for the local side of the authentication process; this is the
minimum security level used by the target router when it challenges or authenticates the remote router.
REMOTE SETBOD
Sets the bandwidth on demand (BOD) management option for a DOD (dial on demand) connection, that is, a
connection where the link goes up and down. These links include those for ISDN, L2TP tunnels, IPSec tunnels,
and dial backup.
The bandwidth on demand management option can be set to apply to incoming, outgoing, or both incoming and
outgoing traffic. The bandwidth threshold set by the remote setBWthresh command (page 276) applies to the
direction of traffic set by this command.
Example:
REMOTE SETBROPTIONS
Sets controls on bridging for the remote router entry.
To see the current bridging settings for remote router entries, use the remote listbridge command (page 272).
Warning: Do not change the stp setting without approval from your system administrator.
option stp
Set this option to on to use the Spanning Tree Protocol (STP). The default is on.
STP is used to detect bridging loops. Set this option to off only if the bridging peers do not support
the Spanning Tree Protocol or if you are certain that no bridging loops could exist. When STP is
disabled on an interface, any STP packets received on that interface are ignored.
Note: The Spanning Tree Protocol adds a 40-second delay each time the ADSL or ATM link
comes up while the interface determines if there is a bridging loop.
pppoeOnly
Set this option to on to limit this remote router entry to bridging PPPoE traffic only. If the option
is set to off, then the entry can bridge any traffic, including PPPoE traffic. The default is off.
Examples:
The following command requests the spanning tree protocol for remote router HQ.
The following command configures remote router PPPoEbridge as the remote through which only PPPoE
traffic is bridged.
REMOTE SETBWTHRESH
Sets the bandwidth threshold for a DOD (dial on demand) connection, that is, a connection where the link goes up
and down. These links include those for ISDN, L2TP tunnels, IPSec tunnels, and dial backup.
Both channel are utilized until the bandwidth utilization drops below the threshold. The default is 0% utilization,
in which case, both channels are always used for data transmission.
If you wish, you can have the bandwidth threshold apply only to incoming or outgoing traffic; see the remote
setBOD command (page 275).
threshold Percentage of bandwidth utilization (0 through 100). The default is 0, in which case, whenever
data transmission occurs, the maximum number of links is allocated.
Example:
remote setBWthresh 75 HQ
REMOTE SETCOMPRESSION
Enables or disables compression between the local router and the remote router.
on Compression is negotiated between the local and the remote router if both routers are set to
perform compression and if they both share a common compression protocol.
Example:
remote setCompression on HQ
RX Receive key
TX Transmit key
Þlename Name of the Þle containing the DifÞe-Hellman values. If the Þle is not speciÞed, default values
built into the routerÕs kernel are automatically selected.
REMOTE SETIPOPTIONS
Turns on or turns off the selected IP option for the WAN interface. To select IP options for the Ethernet interface,
use the command eth ip options (page 243).
Several RIP options are available. RIP is a protocol used for exchanging IP routing information among routers.
The RIP options allow you to set IP routing information protocol controls over a point-to-point WAN. For more
information, see IP (RIP) Protocol Controls, on page 81.
rxrip Receive and process IP RIP-1 compatible packets and RIP-2 broadcast packets from the remote
site. Also receive and process RIP-2 multicast packets. Set this option if the local router is to
discover route information from other sites connected to the remote router. This is useful for
hierarchical organizations. If you are connecting to another company or an Internet Service
Provider, you may wish to set this option off. The default is off.
rxdef Receive default IP route address. When this option is set on, the local router receives the remote
siteÕs default IP route. The default is off.
txdef Transmit the local routerÕs default IP route. When this option is set to on, the local router sends
the default route to the remote site. The default is off.
private Keep IP routes private. Used to prevent advertisement of this route to other sites by the remote
router. Used as a security mechanism when the remote site is outside your company (an Internet
Service Provider, for example), or whenever you want to keep the identity of the site private.
The default is yes.
multicast Allows the remote router to send and receive IP multicast traffic.
lanconfig Accept LAN configuration information. Indicates that this PPP remote can receive IPCP
information for dynamically reconfiguring the Ethernet interface.
Example:
REMOTE SETIPSLAVEPPP
Sets the IP Slave PPP mode. If the slave mode is yes, the router accepts the IP address that the remote end informs
the router that it has; the router disregards any IP address specified in its own configuration. If the mode is no, the
router tries to use the address in its configuration.
Normally there is no need to change the default (no) value of this option. However, in certain situations where the
router is managed by another party, (as part of a managed service), you could set this value to yes to ensure that
the central management site always specifies the IP address of the router.
Example:
REMOTE SETIPTRANSLATE
This command is used to control Network Address Translation on a per remote router basis. It allows several PCs
to share a single IP address to the Internet. The remote router must assign the source WAN IP address to the
REMOTE SETIPXADDR
Sets the IPX network number for the remote WAN connection.
port# Port number of the Ethernet LAN. This number must be either 0 or it may be omitted.
REMOTE SETIPXOPTIONS
Turns on or turns off the IPX option RIPSAP for the remote WAN connection.
Example:
REMOTE SETMAXLINE
Sets the maximum links (1 or 2) for a DOD (dial on demand) connection, that is, a connection where the link goes
up and down. These links include those for ISDN, L2TP tunnels, IPSec tunnels, and dial backup.
If you set the maximum links to 2, bandwidth on demand management determines their actual usage; see the
remote setBWthresh command (page 276).
1|2 Maximum number of links to be used for the connection (1 or 2). The default is 1.
Example:
REMOTE SETMGMTIPADDR
This command assigns to the remote router entry an IP address which is to be used for management purposes only
and not for IP address translation. This management IP address is generally a private network address used solely
by the ISP.
The management IP address is separate from the IP address used for IP address translation. The IP address used
for address translation is generally a public IP address valid on the Internet. It is set by the remote setSrcIpAddr
command (page 286).
Note: The management address is not effective until after the next save and remote restart or reboot.
Note: To use the management address as the source address for a ping, you must specify it using the -I option on
the ping command (page 194). For example, to use management address 192.168.1.2 when pinging destination
address 192.168.100.100, specify:
ping -I 192.168.1.2 192.168.100.100
Note: To use the management address as the source address for a copy, you must specify both the source and
destination addresses on the copy command (page 200).
To list the current management address for the remote router, if any, use the remote list command (page 271). To
set a management address for an Ethernet interface, see eth ip mgmt (page 241).
Example:
REMOTE SETMINLINE
This command is used for dial-up connections and other connections that behave like dial-up connections, such as
L2TP and PPPoE sessions. The command sets the minimum number of channels to be continually allocated to the
connection. The default is 0, in which case a channel is allocated only when needed.
For example, if your service provider charges by the hour, you might prefer the minlines default value (0) so that
a channel is allocated only when needed. However, if you are not charged by the hour, then having a channel
allocated continually would save you the 2-3 second wait time required for each channel re-allocation.
minlines Minimum number of channels to be continually allocated for the connection (0, 1, or 2). If you
specify 0, a channel is allocated for the connection only when needed. The default is 0.
Examples:
The following commands set up a timeout period so that, if there is no traffic for 10 minutes (600 seconds), the
channel is deallocated.
REMOTE SETMTU
Sets the maximum transfer unit for the remote interface.
To see the current MTU size for an active remote that is doing IP routing, use the ipifs command (page 191).
If the protocol in use is PPP, you can see the MRU and MTU sizes using the command mlp show. The MRU is
the maximum receive unit. Other information in the mlp show output includes the maxtu (the maximum packet
size that can be sent; it is based on the peerÕs MRU size), the ourmru (the maximum PPP packet size that can be
received if multilink is not running), and ourmrru (the maximum PPP packet size that can be received if multilink
is running).
Example:
The following command decreases the MTU size for remote interface HQ to 1400 bytes.
REMOTE SETOURPASSWD
Sets a unique CHAP or PAP authentication password for the local router that is used for authentication when the
local router connects to the specified remote router. This password overrides the password set in the system
passwd command. A common use is to set a password assigned to you by Internet Service Providers.
password Authentication password of the local router for use in connecting to the remote router.
Note: The system name is case-sensitive and may be no more than 255 characters.
REMOTE SETPASSWD
Sets the CHAP or PAP authentication password that is used when the remote router establishes a connection or is
challenged by the target router.
password Authentication password of the remote router. Note that the password is case-sensitive and its
maximum length is 40 characters.
REMOTE SETPHONE
Specifies the phone number to be used for the dial on demand (DOD) connection, that is, a connection where the
link goes up and down. These links include those for ISDN, L2TP tunnels, IPSec tunnels, and dial backup.
For dial backup, the phone number is used when dialing out using the backup V.90 modem connected to the
console port. You may specify both a primary number and an alternative phone number. For more information on
the Dial Backup option, see page 149.
phone# Decimal number representing the exact digits to be dialed. Digits, the asterisk, and the #
characters are accepted; use a comma to specify a 2-second pause.
Example:
# The phone number begins with 9 (to get an outside line), a comma (for a 2-second
# Specifies the alternative phone number to be used and its bit rate.
REMOTE SETPPPOPT
Turns on or turns off a PPP option.
The default settings vary with the option. To see the current settings of the PPP options, use the command remote
list (page 271).
Example:
REMOTE SETPROTOCOL
Sets the link protocol for the remote router.
PPLLC PPP protocol with LLC SNAP encapsulation (used with frame relay internetworking units).
FRF8 This protocol implements ATM to frame relay as deÞned in the Frame Relay Forum FRF.8
Interworking Agreement.
REMOTE SETPVC
Specifies the PVC number for connecting to the remote router.
vpi number Virtual Path ID Ñ number that identiÞes the link formed by the virtual path.
vci number Virtual Circuit ID Ñ number that identiÞes a channel within a virtual path in a DSL/ATM
environment.
REMOTE SETRMTIPADDR
Sets the WAN IP address for the remote router. This address is required only if the remote router does not support
IP address negotiation under PPP (i.e., numbered mode is required, and the remote router cannot specify a WAN
IP address for use during the negotiation process).
ipaddr IP address of the remote router, in the format of 4 decimals separated by periods.
mask IP network mask of the remote router, in the format of 4 decimals separated by periods.
REMOTE SETSPEED
Specifies the speed to be used when dialing out using the backup V.90 modem connected to the console port.
Specify a speed for each phone number you provide (primary and alternative).
bitrate Bit rate to be used for the phone number. Possible speeds are 38400, 57600, 115200, or 230400.
Example:
# Specifies the alternative phone number to be used and its bit rate.
REMOTE SETSRCIPADDR
Sets the IP address for the target WAN connection to the remote router. You may set this address when the remote
router requires the target and the remote WAN IP addresses to be on the same subnetwork. Another instance is to
force numbered mode and to prevent the remote router from changing the target WAN IP address through IPCP
address negotiation. The target WAN IP address defaults to the Ethernet LAN IP address.
ipaddr Target IP address of the WAN connection to the remote router, in the format of 4 decimals
separated by periods.
REMOTE SETTIMER
This command is used for dial-up connections and other connections that behave like dial-up connections, such as
L2TP and PPPoE sessions. The command sets the length of the timeout period before disconnection.
When the connection has had no traffic for the timeout period, the channel is deallocated. A channel is re-
allocated when it is needed.
Note: The timeout period set by this command is not effective if a remote setMinLines command has changed
the minlines value from its default (0) to 1 or 2.
Example:
The following commands set up a timeout period so that, if there is no traffic for 10 minutes (600 seconds), the
channel is deallocated.
REMOTE START
If the remote is not currently active, this command attempts to start an active session.
Note: A reboot ends the active session; to start a session after the reboot, you must enter another remote start
command.
To stop an active session for the remote, use the command remote stop (page 288). To stop and immediately
restart a session for the remote, use the command remote restart (page 274).
Example:
remote start HQ
REMOTE STATS
Shows the current status of the connection to the remote router, including the bandwidth and data transfer rate.
Response:
where:
Current state: connected, not connected, currently connecting, currently attempting to connect, currently
closing, out of service, or not known.
REMOTE STATSCLEAR
Allows the user to reset the statistics counter for a given remote router.
REMOTE STOP
If the remote is active, this command stops the active session.
Note: To keep certain configuration changes, you must enter a save command before stopping the remote
interface.
The stop command does not disable the remote entry so another session can be started for the remote.To start an
active session for the remote, use the command remote start (page 287). To stop and immediately restart a
session for a remote, use the command remote restart (page 274).
The following command stops the active session for remote HQ.
remote stop HQ
REMOTE UNBINDIPVIRTUALROUTE
Removes a remote route from the named IP virtual routing table.
To list the remote routes, use the remote listIProutes command, page 272. To add a remote route, use the
remote bindIPVirtualRoute command, page 260.
Note: A route change in an IP virtual routing table takes effect immediately. However, the change is lost if it is
not saved before the next remote restart or reboot.
tablename IP virtual routing table from which the route is removed (character string).
Example:
The following command removes a route from virtual routing table FRANCISCO. The route removed is for
IP address 10.1.2.0 and remote router HQ.
ADSL ?
Lists the supported keywords.
adsl ?
Response:
ADSL commands:
? restart stats speed
ADSL RESTART
Resynchronizes the modem with the CO (Central Office) equipment.
adsl restart
Response:
# 12/02/1997-12:47:46:ADSL: Idle
12/02/1997-12:47:46:ADSL: Startup initiated
12/02/1997-12:47:48:ADSL: Startup training in progress
12/02/1997-12:47:54:ADSL: Modem started successfully
12/02/1997-12:47:54:ADSL: Near Avg SQ #: 44 dB [ 3]
12/02/1997-12:47:54:ADSL: Far Avg SQ #: 44 dB [ 3]
12/02/1997-12:47:54:ADSL: Downstream rate: 6272 Kb/s, Upstream rate:
1088 Kb/s
12/02/1997-12:47:54:DOD: connecting to internet @ 0*38 over ATM_VC/1
12/02/1997-12:47:56:ADSL: Data Mode
DUM: BR CHG ATM_VC/1 - to internet now forwarding
ADSL SPEED
Displays the current downstream and upstream rates.The actual speed is set by the DSLAM.
adsl speed
Response:
downstream rate: 6272 Kb/s, upstream rate: 1088 Kb/s
Response:
ASDL Statistics:
Out of frame errors ..... 0
HEC errors received ..... 0
CRC errors received ..... 0
FEBE errors received .... 0
Remote Out-of-frame ....... 0
Remote HEC errors ......... 0
ATM ?
Lists the supported keywords.
atm ?
Example: atm ?
Response:
ATM commands:
? echoPVC findPVC
help voicePVC
ATM PCR
Sets the speed of the ATM link in cells per second.
To set the speed in kilobytes, use the command atm speed (page 293).
ATM RESET
Performs traffic shaping. It causes the ATM link to re-initialize.
atm reset
ATM SAVE
Saves the ATM configuration settings.
atm save
The default upstream speed is 326 Kb/s. Use this command if the upstream speed exceeds 326 Kb/s. Generally,
your speed value is obtained from your Network Service Provider.
To set the speed in cells per second, use the command atm pcr (page 292)
upstream speed in Kb/S Number provided by the Network Service Provider. The default value for the
upstream speed is 326 Kb/s.
Example:
REMOTE SETATMTRAFFIC
Sets ATM traffic-shaping on a remote router. ATM traffic-shaping allows the user to set the average rate at which
cells are sent, that is, the Sustained Cell Rate (SCR), to a value lower than the ATM link speed, the Peak Cell Rate
(PCR).
ATM traffic-shaping should be used to allocate bandwidth whenever more than one remote router is defined. In
that case, enter a remote setATMTraffic command for each remote. Thus, if you have five remotes, you need to
enter five commands.
If no ATM traffic values are set, ATM traffic for the remote is shaped using UBR (unspecified bit rate).
If a CBR (constant bit rate) is required, then specify 1 as the Maximum Burst Size (MBS). If a VBR (Variable Bit
Rate) is required, specify a value greater than 1 as the Maximum Burst Size (MBS).
MBS Maximum Burst Size (cells). For a constant bit rate (CBR), specify 1; for a variable bit rate
(VBR), specify a value greater than 1.
Examples:
Assuming that the ATM link speed (upstream) is 200 Kb/s 471 cells/s and an average upstream data rate of
20 Kb/s (47 cells/s) is desired, you would issue the following command:
remote setATMtraffic 47 31 HQ
remote setATMtraffic 0 0 HQ
DMT LINK
Selects the link type for the ADSL DMT router. The link type survives reboots.
Normally, the CO and CPE negotiate the link type to be used. Use the dmt link command when you do not want
the CO and CPE to negotiate the link type, but instead want to specify the type of data link required.
Caution: This command forces the CPE into the specified mode. It is not for normal use.
DEFAULT Default value. The CO and CPE negotiate the link type used.
DMT MODE
The dmt mode command can request one of three modes: ANSI, no_Trellis_ANSI, and UAWG.
No Trellis encoding for T1.413 ANSI ADSL is only needed where auto-negotiation is not supported for Trellis.
¥ This Dual-Ethernet router may be configured via the Web Browser GUI or from the Command Line Interface
(CLI). To set up any DHCP options and to configure optional features like IP filtering, you must use the CLI.
¥ For configuration information, refer to Dual-Ethernet Router Configuration, on page 45 and the Customer
Release Notes provided with the Dual-Ethernet router.
¥ If you use the Boot from Network option from the boot menu to perform a boot code update, the boot
request is sent from the ETH/0 interface only.
ETH BR ENABLE
Enables bridging in a Dual-Ethernet environment. This command requires rebooting the router for the change to
take effect.
eth br enable
ETH BR DISABLE
Disables bridging in a Dual-Ethernet environment.
Note: This command requires rebooting the router for the change to take effect.
eth br disable
ETH BR OPTIONS
Sets controls on bridging for the Ethernet interface To see the current bridge settings for the Ethernet interface,
use the eth list command.
Warning: Do not change the stp setting without approval from your system administrator.
Set this option to on to use the Spanning Tree Protocol (STP). The default is on.
STP is used to detect bridging loops. Set this option to off only if the bridging peers do not support
the Spanning Tree Protocol or if you are certain that no bridging loops could exist. When STP is
disabled on an interface, any STP packets received on that interface are ignored.
Note: The Spanning Tree Protocol adds a 40-second delay each time the ADSL or ATM link
comes up while the interface determines if there is a bridging loop.
pppoeOnly
Set this option to on to limit this Ethernet port to bridging PPPoE traffic only. If the option is set to
off, then the port can bridge any traffic, including PPPoE traffic. The default is off.
Examples:
The following command turns off the spanning tree protocol for Ethernet port 0.
The following command configures Ethernet port 1 so that only PPPoE traffic is bridged through it.
t Line activation
Line activation is independent of network settings. During activation, the Link light (on the front panel of
the router) first is yellow and then turns green when the link becomes active.
The router at the CPE end will try auto-speed detection, starting at 384 and then try to detect the next
higher speed (for about 30 seconds per speed). The WAN light should turn yellow, then green, when the
link has activated.
Auto-speed detection can be turned off with the command hdsl speed noauto.
If the line was previously set to Òno auto-speedÓ (noauto), the Link light will be amber instead, when the
line tries to activate.
The ifs command displays the Link as either off or opened when successfully activated. Following is a
sample output.
Sample:
ifs
Interface Speed In % Out % Protocol State
Connection
ETHERNET/0 10.0mb 0%/0% 0%/0% (Ethernet) OPENED
HDSL/0 384kb 0%/0% 0%/0% (HDSL) OPENED
CONSOLE/0 9600 b 0%/0% 0%/0% (TTY) OPENED
t Auto-speed sequence
Auto-speed starts with the lower speed (384) and then tries to activate for 30 seconds. If no activation
takes place, it attempts the next higher speed. The time intervals between activation may change if the
modems donÕt activate as expected. Following is a correct activation output.
03/09/1998-17:11:59:HDSL: Deactivated
03/09/1998-17:12:22:HDSL: CPE is Activating at 384 Kb/s
03/09/1998-17:13:00:HDSL: Deactivated
03/09/1998-17:13:01:HDSL: CPE is Activating at 1168 Kb/s
03/09/1998-17:13:32:HDSL: Deactivated
03/09/1998-17:13:32:HDSL: CPE is Activating at 1168 Kb/s
03/09/1998-17:14:11:HDSL: Deactivated
03/09/1998-17:14:12:HDSL: CPE is Activating at 384 Kb/s
03/09/1998-17:14:51:HDSL: Activated
03/09/1998-17:14:53:FRAMER: The framer is synchronized
hdsl ?
Example: hdsl ?
Response:
HDSL commands:
? help terminal
save speed
HDSL SAVE
Saves the HDSL-related changes across restarts and reboots.
hdsl save
HDSL SPEED
CO end: Sets the speed manually on the Central Office (CO) end only.
CPE end: The router on the Customer Premises End (CPE) is always in auto-speed mode: it uses an auto-speed
algorithm to attempt to match the CO speed. The command hdsl speed noauto is used to override auto-speed.
Note 1: The command hdsl speed (with no option) displays the current speed if the modem has activated
successfully.
Note 2: hdsl speed noauto should be followed by the command hdsl save to be persistent across restarts and
reboots.
Note 3: During auto-speed search, use the command hdsl speed <speed> to stop the search and restart it at the
speed you just entered.
Response:
Customer Premises
¥ Your IDSL switch setting indicates your committed bandwidth (FR64, FR128, or FR144).
¥ The IDSL router can support several DLCI virtual circuits over a Frame-Relay IDSL link. However, a typical
connection to the Internet requires only one DLCI. The DLCI number must match the DLCI of the remote
end.
This section describes the following commands used to manage your IDSL router:
idsl list Lists the current Frame Relay switch type (FR64, FR128, or FR144).
idsl set speed Changes the IDSL speed (64, 128, or 144).
remote setdlci Specifies the DLCI for the remote router entry.
remote setprotocol Selects the link protocol for the remote router entry (PPP, Frame Relay, or MER).
IDSL LIST
Lists the current switch type. To change the switch type, use the idsl set switch command.
idsl list
Example:
# idsl list
Switch type is FR128
IDSL SAVE
Saves IDSL-related changes across restarts and reboots. Changes that are not saved are discarded.
idsl save
Example:
# idsl save
Example:
Example:
REMOTE SETDLCI
This command sets the DLCI for the remote router entry. The DLCI (Data Link Connection Identifier) is an
address identifying a logical connection in a Frame Relay environment. The DLCI is generally provided by the
Network Service Provider.
The IDSL router can support several DLCI virtual circuits over a Frame-Relay IDSL link. However, a typical
connection to the Internet requires only one DLCI. The DLCI number must match the DLCI of the remote end.
Line activation
Line activation is independent of network settings. During activation, the Link light (on the front panel of the
router) is first yellow and then turns green when the link becomes active. The WAN light should turn yellow,
then green, when the link has activated.
If auto-speed detection was turned off for the line (sdsl speed noauto), the Link light is amber when the line
tries to activate.
The ifs command displays the Link as either off or opened when it has successfully activated. The following
is a sample output.
Sample:
ifs
Interface Speed In % Out % Protocol State
Connection
ETHERNET/0 10.0mb 0%/0% 0%/0% (Ethernet) OPENED
SDSL/0 384kb 0%/0% 0%/0% (ATM) OPENED
CONSOLE/0 9600 b 0%/0% 0%/0% (TTY) OPENED
Line speed
In general, the line activates at the speed it was last activated. The line speed can be changed by several
means depending on the router model. One way is by setting the speed manually with an sdsl speed
command.
In general, if the speed is not set otherwise, the router at the CPE end will try auto-speed detection (unless it
has been disabled).
Auto-speed detection attempts to activate the line at different speeds (for about 30 seconds per speed) until
the line is activated. The following is output from a successful activation.
03/09/1998-17:11:59:SDSL: Deactivated
03/09/1998-17:12:22:SDSL: CPE is Activating at 768 Kb/s
03/09/1998-17:13:00:SDSL: Deactivated
03/09/1998-17:13:01:SDSL: CPE is Activating at 1152 Kb/s
03/09/1998-17:13:32:SDSL: Deactivated
03/09/1998-17:13:32:SDSL: CPE is Activating at 1152 Kb/s
03/09/1998-17:14:11:SDSL: Deactivated
03/09/1998-17:14:12:SDSL: CPE is Activating at 384 Kb/s
03/09/1998-17:14:51:SDSL: Activated
03/09/1998-17:14:53:FRAMER: The framer is synchronized
03/09/1998-17:15:19:DOD: connecting to co @ 0*38 over ATM-VC/1
Autobaud pre-activation
The previous section showed an example in which auto-speed detection attempted several speeds, before
settling on the best speed for the connection. In some cases, this process can require substantial time. The
autobaud feature, if available for your router and DSLAM, can shorten the connection set-up time by
determining the probable optimal speed before the connection begins.
If the autobaud feature is available and selected, its pre-activation phase automatically determines the
maximum speed that can be supported by a specific loop. It probes the channel and characterizes the line to
allow the connection to begin at a speed closer to the optimal speed.
Later, after activation, the autobaud feature checks the line quality to determine the optimal speed. If the
autobaud feature is used, the auto-speed detection described in the previous section is not performed;
however, you may still set the speed manually with an sdsl speed command if you wish.
A command is available to turn off autobaud pre-activation (sdsl preact off, page 305). A message is sent
before line activation indicating whether autobaud pre-activation was used. The following example shows the
message sent when pre-activation is available and the response to the sdsl speed command:
The next example shows the message sent when pre-activation is not available:
SDSL ?
Lists the supported keywords for the sdsl command.
sdsl ?
Example:
# sdsl ?
SDSL commands:
? help speed
save stats terminal
SDSL PREACT
Displays and/or changes the autobaud pre-activation status.
Note: Remember to enter an sdsl save or save command to save SDSL changes across restarts and reboots.
For more information on the autobaud feature, see Autobaud pre-activation, on page 305.
on Enables pre-activation at the customer premises (CPE) end. (To be effective, pre-activation must also be
enabled at the CO end.)
Example:
The first command displays the current pre-activation status. The second command disables pre-activation.
# sdsl preact
Preactivation enabled
# sdsl preact off
Preactivation disabled
SDSL SAVE
Saves SDSL configuration changes across restarts and reboots.
sdsl save
SDSL SPEED
Manages the speed of the SDSL line.
At the Central Office (CO) end, the command sets the speed manually only.
¥ Display the current speed setting and list the available speeds (sdsl speed)
Note: Remember to enter an sdsl save or save command to save SDSL changes across restarts and reboots.
noauto Overrides auto-speed detection. If auto-speed detection is disabled, the Link light on the front panel
is amber when the line tries to activate.
Example:
The example shows three commands:
1. Displays the current line speed, indicates that the line speed is set by auto-speed detection [AUTO], and
lists the available speed options.
2. Requests a line speed of 1152 Kb/s.
3. Shows that the line speed has been changed to 1151 Kb/s and that auto-speed detection is no longer in
effect (the [AUTO] indicator is not displayed).
# sdsl speed
SDSL Current Speed: [AUTO] 768 Kb/s
usage: sdsl speed <value in Kb/s> [ 192 384 768 1152 1536 ] | noauto
# sdsl speed 1152
# sdsl speed
SDSL Current Speed: 1152 Kb/s
usage: sdsl speed <value in Kb/s> [ 192 384 768 1152 1536 ] | noauto
SDSL STATS
Displays SDSL frame statistics. It can also clear the SDSL statistic counters.
Example:
# sdsl stats
FRAMER Statistics:
Framer Interrupts...... 2118
Out of frame errors.... 1
HEC errors received.... 16
CRC errors received.... 3
FEBE errors received... 2
Remote Out-of-frame.... 16
Remote HEC errors...... 0
SDSL TERMINAL
Displays and/or changes the routerÕs status as CO or CPE.
The router is, by default, configured as Customer Premises Equipment (CPE). Use this command if you intend to
configure the router as Central Office equipment (CO).
Example:
# sdsl terminal
Customer Premises
# sdsl terminal co
Central Office
¥ Enable/disable BootP.
To read about DHCP concepts and the DHCP configuration process, see DHCP (Dynamic Host Configuration
Protocol), on page 82.
DHCP ?
Lists the supported keywords.
dhcp ?
Response:
Sub-commands for dhcp
? help set
list bootp clear
enable add addrelay
del delrelay disable
DHCP ADD
Adds a subnetwork, a client lease, or an option type.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
code The user-deÞned code can be a number between 128 to 254 or a keyword.
Note: In example 3, 128 allows IP addresses, the server has a minimum of one IP address, the
server can have up to four IP addresses, and the type is ÒipaddressÓ).
DHCP ADDRELAY
Adds an address to the DHCP relay list. (This list is also the BootP server list.)
While the relay list contains at least one address, the DHCP server in the router is disabled, and the router
forwards all DHCP requests and BootP requests to all servers in the relay list. (A DHCP request is issued
whenever a device attempts to acquire an IP address). It forwards every reply received from any of the servers in
the relay list to the appropriate LAN.
To remove an address from the list, use the dhcp delRelay command (page 313). For further discussion, see
Configuring BootP/DHCP Relays, on page 89.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
Note: Be sure to specify the TFTP server IP address when you specify the file using the command dhcp bootp
tftpserver (page 313).
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
name Name of the Þle to boot from; the default name for this Þle is KERNEL.F2K.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
tftpserver ipaddr IP address of the TFTP server in the format of 4 decimals separated by periods. To clear the
IP address of the server, use 0.0.0.0.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
Unlike erase dhcp, this command clears all DHCP information from memory, but leaves the DHCP.DAT file
intact. If you want to clear the information in the DHCP.DAT file as well, enter a save command after dhcp clear
all records.
Example:
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
Note: The client does not get updated; it will still have the old value.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
code Code can be a number between 1 and 61 or a keyword. Use the command dhcp list
deÞnedoptions to list the codes and keywords.
DHCP DEL
Deletes a subnetwork lease, a specific client lease, or a code.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
code The user-deÞned code and can be a number between 128 to 254 or a keyword.
DHCP DELRELAY
Removes an address from the DHCP relay list. (This list is also the BootP server list.)
To remove all addresses from the list, use dhcp delRelay all. If you remove all addresses from the DHCP relay
list, the DHCP server is re-enabled and resumes processing DHCP requests and also BootP requests (if BootP
processing is enabled).
To add an address to the list, use the dhcp addRelay command (page 310). For further discussion, see
Configuring BootP/DHCP Relays, on page 89.
Examples:
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
DHCP ENABLE
Enables a subnetwork or a client lease.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
DHCP LIST
Lists global, subnetwork, and client lease information.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
Example 1:
The following command lists global information:
#dhcp list
bootp server............... none
bootp file.................
DOMAINNAMESERVER (6)....... 192.168.210.20 192.84.210.21
Example 2:
Note: For description of the predefined options listed below, refer to RFC 1533. A predefined code can be a
number between 1 and 61 or a keyword. A user-defined code can be a number between 128 and 254 or a keyword.
Example 1:
The following command lists all available options (predefined and user-defined):
Example 2:
The following command lists options starting with the string ÒgaÓ:
Response:
Default lease time ......... 168 hours
Note 2: The client information does not get updated. It will still have the old value.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
hours Lease time; minimum is 1 hour; the global default is 168 hours.
default Lease time that has been speciÞed at the subnetwork or global level.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
ipaddr IP address of the client lease in the format of 4 decimals separated by periods.
hours Lease time; minimum is 1 hour; the global default is 168 hours.
default Lease time that has been speciÞed at the subnetwork or global level.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
net IP address of the subnetwork lease in the format of 4 decimals separated by periods.
continue The routerÕs DHCP server continues sending DHCP requests, even if another DHCP server is
detected on the LAN.
stop The routerÕs DHCP server stops sending DHCP requests when another DHCP server is detected
on the LAN.
ipaddr Specify the client IP address if the option value applies only to the client lease (4 decimals
separated by periods).
net Specify the subnetwork IP address if the option value applies only to the subnetwork lease (4
decimals separated by periods).
code Code specifying the option to be set. It can be a number between 1 and 61 or a keyword. Use
the command dhcp list deÞnedoptions to list the codes and keywords (see DHCP LIST
DEFINEDOPTIONS, on page 315.)
Example 1: This command does not specify an client or subnetwork address, and thus sets a global value
for the domainnameserver option.
dhcp set valueoption domainnameserver 192.168.254.2 192.168.254.3
Example 2: This command sets the value for the gateway option associated with the subnetwork.
dhcp set valueoption gateway 192.168.254.0 192.168.254.254
Example 3: This command sets a value for the winserver option associated with a speciÞc client.
dhcp set valueoption 192.168.254.251 winserver 192.168.254.7
Example 4: This command sets a static route (option 33) to IP address 192.168.253.253 through router
192.168.254.254. (No mask is specified.)
¥ Names
¥ Addresses
¥ Restrict a tunnel so it can be established only with a specific remote interface (l2tp set wanif).
Note: Two remote commands speciÞc to L2TP are included in this section.
L2TP ?
Lists the supported keywords.
l2tp ?
Response:
L2tp Sub-commands:
? add del
forward list set
call close
L2TP ADD
Creates a tunnel entry.
TunnelName Name of the tunnel (character string). The name is case sensitive.
L2TP CALL
This command is primarily used for debugging purposes and it establishes a tunnel without creating a session.
TunnelName Name of the tunnel (character string). The name is case sensitive.
L2TP CLOSE
Closes an L2TP tunnel and/or session.
-n TunnelName Name of the tunnel (character string). The name is case sensitive.
L2TP DEL
Deletes a tunnel entry.
L2TP FORWARD
The router can be conÞgured to forward all incoming calls to an LNS without answering the incoming call. This
feature is normally used when the router is acting as a LAC or both a LAC and LNS.
Note: Only one tunnel entry can have this option set.
L2TP LIST
Provides a complete display of the current conÞguration settings for tunnel(s), except for the authentication
password/secret.
TunnelName Name of the tunnel (character string). The name is case sensitive.
# l2tp list
INFORMATION FOR <pacingAtWork>
type ........................... L2TPClient (LAC-will not dial)/LNS
All Incoming Calls Tunneled here . no
CHAP challenge issued .......... yes
hidden AVPs used ............... yes
sequencing/pacing .............. window pacing
sequencing/pacing is ......... required
window size for sequencing/pacing 10
ip address ..................... 10.0.0.1
Our host name .................. pacingAtHome
Note 1: When a remote router tries to create a tunnel, the remote routerÕs IP address is not authenticated .
Note 2: If this command is not used, then <ipaddr> defaults to 0.0.0.0, and this end cannot initiate the tunnel.
on Enables authentication.
secret CHAP secret (character string) used to authenticate the creation of the tunnel.
TunnelName Name of the tunnel (character string). The name is case sensitive.
no This option prevents the router from placing outgoing calls.The default is no.
yes This option lets the router hide AVPs. The default is yes.
TunnelName Name of the tunnel (character string). The name is case sensitive.
Use this command when you want to specify a source IP address other than the WAN interface IP address. For
example, if NAT (network address translation) is not being used, all IP addresses on the Ethernet LAN would be
visible. You could then specify, as the source IP address, the Ethernet IP address of the router (which would be
visible) instead of the WAN interface IP address.
ipaddr Source IP address used for this tunnel (four decimals separated by periods).
password RouterÕs secret/password used for authentication when challenged by another router.
name Name of the router that is used for authentication when challenged by another router.
TunnelName Name of the tunnel (character string). The name is case sensitive.
Note: If this command is not used, then, if it has been speciÞed, the <name> from the l2tp set ourSysName
command or the <name> from the command system name <name> is used.
name Host name of the local router. This is the fully qualiÞed domain name of the local router.
TunnelName Name of the tunnel (character string). The name is case sensitive.
Note: If this command is not used, then <TunnelName> of the tunnel entry is used.
name Host name of the remote tunnel. This is the fully qualiÞed domain name of the remote host.
all The router is conÞgured to act as both a LAC/L2TP client and an LNS server.
l2tpclient The router is conÞgured to act as an L2TP client for this tunnel.
If this command is not used, no remote interface restriction is enforced. For example, no restriction would be
enforced when the Dial Backup feature is used (see page 103). Thus, the tunnel would be terminated and re-
established when switching back and forth between the primary interface and the backup interface. If the tunnel is
to established only with the primary interface or only with the backup interface, you must specify that restriction
with this command.
To clear the remote restriction for a tunnel, enter the l2tp set wanif command with a hyphen (-) as the remote
name.
remote Name of the remote router proÞle that must be used when establishing the L2TP tunnel. To list the
remote routers, use the command remote list.
For the dual-Ethernet router, specify the physical interface name, that is, either ETHERNET/0 or
ETHERNET/1.
To clear the remote restriction for a tunnel, enter a hyphen (-) as the remote name.
Examples:
This command restricts the tunnel named OfficeTunnel to the remote interface named officertr.
This command clears the remote interface restriction for the tunnel named OfficeTunnel.
This command restricts the tunnel named OfficeTunnel to the physical interface ETHERNET/1.
sequencing Sequence numbers are placed in the L2TP payload packets. With this option, one end instructs
the other end to send sequence packets. No acknowledgments are issued for received packets.
pacing Sequence numbers are placed in the L2TP payload packets. When a session is created, the
router speciÞes a window size. Acknowledgments for received packets are issued.
nosequencing No sequence numbers are placed in the L2TP payload packets carrying the PPP packets. If the
remote end carries out sequencing or pacing, the router can still send and receive sequenced
packets.
size Controls the size of the receive window for receiving packets for sequencing or pacing, when a
session is created. Size can be 0 for packet sequencing. Must be a non-zero value for window
pacing. Size must be less than or equal to 30.
REMOTE SETL2TPCLIENT
With this command, this remote is the path to the L2TP client and accepts tunnel calls. Use this command if your
router acts as an LNS. You must also specify PPP authentication and IP routes for this remote.
remoteName Name of the remote entry (character string). The name is case sensitive.
REMOTE SETLNS
With this command, this remote is the path to the LNS, and it will forward the incoming call (which matches this
remote entry) through the tunnel named <TunnelName> if your router is the client.
Note: The remote entry must also have appropriate information such as PPP authentication, IP routing, IPX
routing, bridging, or Caller ID.
¥ Deny mode will discard any packet that matches the deny filter database and let all other packets pass.
¥ Allow mode will only pass the packets that match the allow filter database and discard all others.
Up to 40 deny and 40 allow filters can be activated from the filter database.
FILTER BR ?
Lists the supported keywords.
filter br ?
Response:
Bridge filter commands:
? add del
use list
FILTER BR ADD
Adds a bridging filter to the filtering database. The filter can allow or deny the forwarding of packets based on
the contents of the packets. The command specifies the position within the packet that is checked and the data that
must appear in that location in order for the packet to match this filter.
Example:
This filter prevents forwarding of RARP packets across the bridge. The data at byte offset 12 in each packet is
checked and, if the data is hex 8035, the packet is denied forwarding.
FILTER BR DEL
Deletes a bridging filter from the filtering database. The parameters on the command identify the filter to be
deleted.
Example:
This command deletes the filter which denies the forwarding of packets that have the hex value 8035 at byte offset
12.
FILTER BR LIST
Lists the bridging filters in the filtering database.
filter br list
Response:
Allow Filter:
Deny Filter:
pos:12, len=2, <80><35>
FILTER BR USE
Sets the mode of filtering to either deny, allow, or none.
REMOTE SETPPPOESERVICE
Defines the remote router entry as a PPPoE remote entry. It also specifies the service to which PPPoE users
connect through this remote entry.
Note: Enter this command immediately after the remote add command that defines the remote router entry.
service Name of the PPPoE service to which this remote connects PPPoE users. The service provider
defines the name of its service. The name is case-sensitive.
Example:
The following commands define the remote router used to connect to the PPPoE service DialUpPPP.net. Note that
the remote setPPPoEservice command is entered immediately after the remote add command.
PPPOE CLOSE
Closes a currently active PPPoE session. To see the currently active PPPoE sessions, enter pppoe list.
ifsnumber Session to be closed. Specify the PPPoE/Ifs number for the session as shown in the ifs or pppoe
list command output.
Example:
The first command lists information about a PPPoE session, including its Ifs number (1); the second command
closes that session.
PPPOE LIST
Lists information about the currently active PPPoE sessions.
pppoe list
Output Fields:
PPPoE/Ifs number . . . . Number identifying the session. It is used on the pppoe close command.
Access Concentrator. . . Identification of the access concentrator to which the session is connected.
Session ID . . . . . . . . . . Identification of the session by the access concentrator. The service provider
needs this ID to find the access concentrator log for the session.
Flags . . . . . . . . . . . . . . . Internal flag. Currently, the only defined value is 1, indicating that this is a client
PPPoE session.
Example:
# pppoe list
PPPoE Client Session ...... DialUpPPP.net
PPPoE/Ifs number..... 1
Access Concentrator.. 15021109931568-efficient
Peer MAC Address .... 00:10:67:00:66:E2
Session ID .......... 2
State ............... 2
Flags ............... 1
The IKE software option and the IKE commands are described in IPSec (Internet Protocol Security), on page 134.
IKE FLUSH
Clears all IKE configuration information from the router. For more information about IKE, see IPSec (Internet
Protocol Security), on page 134.
ike flush
PolicyName New name for an IPsec policy. To see the policy names in use, use the ike ipsec policies list
command.
PolicyName Name of an existing IPsec policy. To see the policy names, use the ike ipsec policies list
command.
PolicyName Name of an existing IPsec policy. To see the policy names, use the ike ipsec policies list
command.
PolicyName Name of the IPsec policy. To see the policy names, use the ike ipsec policies list command.
Example:
IPaddress IP address allowed to be the destination of the data (4 decimals separated by periods).
PolicyName Name of the IPsec policy to which the destination parameter value is added. To see the policy
names, use the ike ipsec policies list command.
ike ipsec policies set destport <PortNumber | TELNET | HTTP | SMTP | TFTP | *> <PolicyName>
PortNumber Destination port whose data is allowed by the policy. The port can be specified by one of
TELNET the listed names or by its number. To allow data through for any destination port, specify an
HTTP asterisk (*).
SMTP
TFTP
*
PolicyName Name of the IPsec policy to which the destination port parameter value is added. To see the
policy names, use the ike ipsec policies list command.
Note: The specified interface must be the interface to the IKE peer.
Otherwise, if the policy can be used regardless of the connected interface, specify the string none.
This command is intended to allow the user to choose when to apply IPSec/IKE filters and incur the resulting
encryption and authentication costs. With this command, you can limit a policy to a specific interface.
interface Interface that must be connected when the policy is used. This is usually referenced by a
remote name, although it could be another interface such as Òethernet/0Ó. If no interface
restriction is to be set for this policy, specify the string all.
PolicyName Name of the IPsec policy to which the interface parameter value is added. To see the policies,
use the ike ipsec policies list command.
Examples:
This command requires that, when the remote interface backup comes up, IKE is enabled for packets
described by policy corporate. The specified interface (backup) must be the interface to the IKE peer.
This command specifies that IKE is enabled for packets described by policy mypolicy regardless of the
interface the peer is on.
TUNNEL Encapsulation method required for the connection. The default is TUNNEL.
TRANSPORT
PolicyName Name of the IPsec policy to which the encapsulation mode parameter value is added. To see
the policy names, use the ike ipsec policies list command.
PeerName Name of an IKE peer. To see the IKE peer names, use the ike peers list command.
PolicyName Name of the IPsec policy to which the peer parameter value is added. To see the policy
names, use the ike ipsec policies list command.
If you specify 1 or 2, Perfect Forward Secrecy is performed using the specified Diffie-Hellman group (1 or 2). If
you specify none, then Perfect Forward Secrecy is not required for this connection and no Diffie-Hellman group
is used to encrypt the keys during rekey. To read more about PFS, see IKE Management, on page 136
PolicyName Name of the IPsec policy to which the pfs parameter value is added. To see the policy names,
use the ike ipsec policies list command.
Unlike the other filtering parameters, the policy may allow more than one value for the proposal parameter. For
example, two set proposal commands could specify two proposals, either of which could be used by the
connection. See IKE IPSec Policy Commands, on page 142.
ProposalName Name of an IKE proposal. To see the IKE proposal names, use the ike proposals list
command.
PolicyName Name of the IPsec policy to which the proposal parameter value is added. To see the policy
names, use the ike ipsec policies list command.
ike ipsec policies set protocol <ProtocolNumber | TCP | UDP | *> <PolicyName>
ProtocolNumber Protocol required by the policy. The protocol can be specified by number or by name
TCP (TCP or UDP). To allow data through for any protocol, specify an asterisk (*).
UDP
*
PolicyName Name of the IPsec policy to which the protocol parameter value is added. To see the
policy names, use the ike ipsec policies list command.
IPaddress IP address allowed to be the source of the data (4 decimals separated by periods).
PolicyName Name of the IPsec policy to which the source parameter value is added. To see the policy
names, use the ike ipsec policies list command.
ike ipsec policies set sourceport <PortNumber | TELNET | HTTP | SMTP | TFTP | *> <PolicyName>
PortNumber Source port whose data is allowed by the policy. The port can be specified by one of
TELNET the listed names or by its number. To allow data through for any source port, specify an
HTTP asterisk (*).
SMTP
TFTP
*
PolicyName Name of the IPsec policy to which the source port parameter value is added. To see the
policy names, use the ike ipsec policies list command.
Note: The remote must have IP address translation enabled (see NAT on page 91 and the remote setIpTranslate
command on page 279).
Note: The address that NAT translates to should be the source or destination address for the policy (use the set
source or set dest commands).
Use this option when several remote sites have the same IP subnet, making it impossible to tunnel those sites
unchanged to the corporate network.
When the routerÕs public IP address is not the desired choice for the network address translation, you can define a
virtual Ethernet interface. A virtual Ethernet interface can be created to translate to an arbitrary IP address (see
Multiple IP Subnets, on page 77). Again, be sure that the virtual Ethernet interface has IP address translation
enabled (eth ip translate, page 245), and use the virtual Ethernet interface as the gateway to the other end of the
on | off Sets the translate option on or off. If translate is set to on, translation is applied before
encryption, and the packets are sent using the host routerÕs public IP address.
PolicyName Name of the IPsec policy to which the source port parameter value is added. To see the
policy names, use the ike ipsec policies list command.
Example:
The following commands suggest how a virtual interface could be defined for use with Network Address
Translation and an IPSec tunnel.
# Later, when you set up the IKE tunnel, include these commands
# when defining a policy. (The policy name is corporate.)
# The source address must be the virtual interface address.
# The destination address must be the corporate backbone address.
# ike ipsec policies set source 10.0.0.1 255.255.255.255 corporate
# ike ipsec policies set dest 192.168.0.0 255.255.0.0 corporate
# ike ipsec policies set translate on corporate
ProposalName New name for an IPsec proposal. To see the proposal names in use, use the ike ipsec
proposals list command.
ProposalName Name of the IPsec proposal to be deleted. To see the proposal names in use, use the ike
ipsec proposals list command.
Example:
Note: The proposal must select either the AH or ESP encapsulation methods. It cannot request AH authentication
if it requests ESP encryption and/or ESP authentication.
For more information, see ESP and AH Security Protocols, on page 135 or IKE IPSec Proposal Commands, on
page 141.
NONE No AH encapsulation and no AH message authentication. (If you select this option, ESP
encapsulation must be requested by a set espenc or set espauth command.)
For more information, see ESP and AH Security Protocols, on page 135 or IKE IPSec Proposal Commands, on
page 141.
NONE No ESP encapsulation and no ESP message authentication. (If you select this option, the
encapsulation method must be requested by a set espenc or set ahauth command.)
ProposalName Name of the IPsec proposal to which the ESP authentication parameter is added. To see the
proposal names in use, use the ike ipsec proposals list command.
For more information, see ESP and AH Security Protocols, on page 135 or IKE IPSec Proposal Commands, on
page 141.
ike ipsec proposals set espenc <DES | 3DES | NULL | NONE> <ProposalName>
NULL No encryption, but use ESP encapsulation. Headers are inserted as though the data was
encrypted. This allows veriÞcation of the source, but sends the data in the clear, increasing
throughput.
NONE No encryption and no ESP encapsulation. (If you select this option, the encapsulation
method must be requested by a set espauth or set ahauth command.)
ProposalName Name of the IPsec proposal to which the ESP encryption parameter is added. To see the
proposal names in use, use the ike ipsec proposals list command.
For more information on proposal parameters, see IKE IPSec Proposal Commands, on page 141.
ProposalName Name of the IPsec proposal to which the lifedata parameter is added. To see the proposal
names in use, use the ike ipsec proposals list command.
For more information on proposal parameters, see IKE IPSec Proposal Commands, on page 141.
ProposalName Name of the IPsec proposal to which the lifetime parameter is added. To see the proposal
names in use, use the ike ipsec proposals list command.
PeerName New name for an IKE peer. To see the peer names in use, use the ike peers list command.
PeerName Name of the IKE peer to be deleted. To see the peer names in use, use the ike peers list
command.
Example:
If the mode is main mode, the other endpoint of the peer connection is constant, and you specify its IP address.
If the mode is aggressive mode, one end of the connection, the gateway, has a fixed IP address. The other end, the
client, has a changing address. When configuring the client, set the peer IP address to the fixed gateway address.
When configuring the gateway for an aggressive mode connection, set the peer IP address to 0.0.0.0.
IPaddress IP address (4 decimals separated by periods). When configuring a gateway for an aggressive
mode connection, set the IP address to 0.0.0.0.
PeerName Name of the IKE peer whose address is specified. To see the peer names, use the ike peers list
command.
The local ID must match the peer ID on the other end of the connection. The local ID can be an IP address,
domain name, or e-mail address as specified by the set localidtype command. For more information, see IKE Peer
Commands, on page 139.
PeerName Name of the IKE peer whose local ID is specified. To see the peer names, use the ike
peers list command.
The local ID type must match the peer ID type on the other end of the connection. The possible ID types are IP
address, domain name, or e-mail address. For more information, see IKE Peer Commands, on page 139.
The peer ID must match the local ID on the other end of the connection. The peer ID can be an IP address, domain
name, or e-mail address as specified by the set peeridtype command. For more information, see IKE Peer
Commands, on page 139.
PeerName Name of the IKE peer whose peer ID is specified. To see the peer names, use the ike
peers list command.
PeerName Name of the IKE peer whose peer ID type is specified. To see the peer names, use the
ike peers list command.
secret Secret (up to 256 characters; do not use spaces or non-printable characters).
PeerName Name of the IKE peer whose secret is specified. To see the peer names, use the ike peers list
command.
ProposalName Name for the new IKE proposal. To see the proposal names in use, use the ike proposals
list command.
Example:
3DES Use 3DES (168-bit) encryption (if 3DES is enabled in the router; see Software Option Keys,
on page 114).
ProposalName Name of the IKE proposal to which the encryption parameter is added. To see the proposal
names in use, use the ike proposals list command.
ProposalName Name of the IKE proposal to which the lifetime parameter is added. To see the proposal
names in use, use the ike proposals list command.
ProposalName Name of the IKE proposal to which the session authentication parameter is added. To see
the proposal names in use, use the ike proposals list command.
IPSec Commands
The following commands allow you to define an IPSec connection without IKE. To read about IPSec Security,
see IPSec (Internet Protocol Security), on page 134.
Note: If you define a tunnel using IPSec commands, the keys will remain static. This could pose a security risk
and is not recommended. Use of IKE for key management is recommended.
IPSEC ADD
Defines an IPSec security association (SA) name.
SAname Name for the new IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
IPSEC DEL
Deletes an existing IPSec security association (SA) name.
SAname Name for the IPSec SA to be deleted.To see the IPSec SA names in use, use the ipsec list
command.
IPSEC DISABLE
Disables a defined IPSec SA entry.
SAname Name for the IPSec SA to be disabled.To see the IPSec SA names in use, use the ipsec list
command.
SAname Name for the IPSec SA to be enabled.To see the IPSec SA names in use, use the ipsec list
command.
IPSEC FLUSH
Clears all IPSec definitions.
ipsec flush
IPSEC LIST
Lists one or all IPSec SA entries.
Example:
# ipsec list
IPSec security associations:
show_rx
Gateway: 207.135.89.233
Inbound
Tunnel
BOTH
3DES
key=111111111122222222223333333333444444444455555555
SHA1
key=aaaaaaaaaabbbbbbbbbbccccccccccdddddddddd (20)
No compression
id =424242
seq=1, bitmap=ffffffff
show_tx
Gateway: 207.135.89.233
Outbound
Tunnel
BOTH
3DES
SAname Name of the IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
SAname Name of the IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
key Hexadecimal encryption key (64 bits for DES or 192 bits for 3DES).
SAname Name of the IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
SAname Name of the IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
SAname Name of the IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
SAname Name of the IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
SAname Name of the IPSec SA.To see the IPSec SA names in use, use the ipsec list command.
To configure the target (local) router, fill out the blank worksheet(s) that corresponds to the desired Link Protocol
and Network Protocol:
Fill out one set of information for each remote router in the Remote Routers section of the worksheet.
Use a mirror image of the information listed in your target router worksheet to configure the router on the other
end of the WAN link.
Note: You may want to review the Sample Configurations, on page 61.
To establish IPX Routing, you will need to enter all remote routers in the remote router database to which your
router will connect.
1. For each remote router, enter the network addresses and services that may be accessed beyond the remote
router.
3. After you have specified the route addressing and services, you can then enable IPX routing across the
Ethernet LAN.
Static Seeding: When IPX traffic is destined for network segments and servers beyond the remote router, the
target routerÕs routing information table must be statically seeded. Static seeding ensures that the target router
connects to the appropriate remote router. After the link is established, RIP broadcast packets will dynamically
add to the target routerÕs routing table. Seeding the routing table is not necessary for target routers that never
connect; they will discover remote networks beyond the calling router as soon as RIP updates arrive (provided the
remote router supports RIP). However, for watchdog spoofing to work, you will need to define the remote IPX
routes for network segments and servers.
Configuring your router for IPX routing can be rather complex. The following section will guide you through the
configuration process. Remember that PPP authentication configuration must be completed before you attempt
IPX routing configuration. The full router configuration for simple IPX routing includes the following:
¥ PPP authentication
The following section, Step 1: Collect Your Network Information for the Target (Local) Router, on page 367,
provides a configuration diagram and a command table to assist you with the configuration of the target router.
Step 2: Review your Settings, on page 368 lists the commands used to review the IPX configuration and provides
a configuration example.
6
Node #
Ex: 00:00:00:00:00:01
Novell Client
Workstation
ISDN or DSL Internal Network #
IPX router IPX Router Ex: 2002
Novell Client Novell file
(Target Router) (Remote Router)
Workstation server
Name: "ipx_client" Name: "ipx_server"
Novell Client
Workstation
WAN Network # Route to server
Ex: 456 7 through the remote
5 router
Ref
IPX Commands with examples Comments
#
eth ipx enable 1 Enable IPX Routing
eth ipx addr 123 2 Set the local ÔwireÕ address
eth ipx frame 802.2 3 Set the Frame Type
remote add ipx_server 4 Add a connection name
remote setIpxaddr 456 ipx_server 5 Set the WAN network # (common to both
sides)
remote addIpxsap SERVER2 2002 00:00:00:00:00:01 0451 4 1 6 Add a Þle server (SAP)
ipx_server
remote addIpxroute 2002 1 4 ipx_server 7 Add a route to the server
save 8 Save your settings
reboot 9 Reboot for changes to take effect
> eth list Commands used to set and modify your IPX
ETHERNET INFORMATION FOR <ETHERNET/0> settings:
Hardware MAC address................. 00:20:6F:02:4C:35
Bridging enabled..................... no
IP Routing enabled................... no
Firewall filter enabled ........... yes
Process IP RIP packets received.... yes
Send IP RIP to the LAN............. yes
Advertise me as the default router. Yes
Receive default route using RIP.... yes 1 eth ipx enable
IP address/subnet mask............... 192.84.210.123/255.255.255.0
IP static default gateway............ none
IPX Routing enabled.................. yes
eth ipx addr <ipxnet> [port#]
External network number............ 00000123 2 Ex: eth ipx addr 123
Frame type......................... 802.2
SERVER2 4 000000000001:00002002:0451 1
B E
bi, 189 erase, 197
bi list, 189 eth ?, 229
eth add, 229
C eth br disable, 296
eth br enable, 296
call, 190
eth br options, 296
copy, 200
eth delete, 230
eth ip addHostMapping, 230
D eth ip addr, 231
delete, 201 eth ip addRoute, 231
dhcp ?, 309 eth ip addServer, 232
dhcp add, 309 eth ip bindRoute, 233
dhcp addRelay, 310 eth ip defGateway, 234
dhcp bootp allow, 310 eth ip delHostMapping, 234
369
eth ip delRoute, 235 H
eth ip delServer, 235 hdsl ?, 299
eth ip directedBcast, 236 hdsl save, 299
eth ip disable, 237 hdsl speed, 299
eth ip enable, 237 hdsl terminal, 300
eth ip filter, 237 help, 187
eth ip firewall, 241
eth ip mgmt, 241
eth ip mtu, 242 I
eth ip options, 243 idsl list, 301
eth ip restart, 244 idsl save, 301
eth ip ripMulticast, 244 idsl set speed, 301
eth ip start, 244 idsl set switch, 302
eth ip stop, 245 ifs, 190
eth ip translate, 245 ike flush, 335
eth ip unbindRoute, 246 ike ipsec policies add, 335
eth ip vrid, 246 ike ipsec policies delete, 335
eth ipx addr, 247 ike ipsec policies disable, 335
eth ipx disable, 247 ike ipsec policies enable, 336
eth ipx enable, 247 ike ipsec policies list, 336
eth ipx frame, 248 ike ipsec policies set dest, 336
eth list, 248 ike ipsec policies set destport, 337
eth vrrp add, 249 ike ipsec policies set interface, 337
eth vrrp clear password, 249 ike ipsec policies set mode, 338
eth vrrp delete, 250 ike ipsec policies set peer, 338
eth vrrp list, 250 ike ipsec policies set pfs, 338
eth vrrp set multicast, 251 ike ipsec policies set proposal, 339
eth vrrp set option, 251 ike ipsec policies set protocol, 339
eth vrrp set password, 252 ike ipsec policies set source, 339
eth vrrp set priority, 253 ike ipsec policies set sourceport, 340
eth vrrp set timeinterval, 253 ike ipsec policies set translate, 340
execute, 201 ike ipsec proposals add, 341
exit, 190 ike ipsec proposals delete, 342
ike ipsec proposals list, 342
F ike ipsec proposals set AHauth, 342
ike ipsec proposals set ESPauth, 343
filter br ?, 331 ike ipsec proposals set ESPenc, 343
filter br add, 331 ike ipsec proposals set IPcomp, 344
filter br del, 331 ike ipsec proposals set lifedata, 344
filter br list, 332 ike ipsec proposals set lifetime, 344
filter br use, 332 ike peers add, 345
format disk, 202 ike peers delete, 345
frame, 203 ike peers list, 345
frame lmi, 204 ike peers set address, 346
frame stats, 204 ike peers set localID, 346
frame voice, 175, 204 ike peers set localIDtype, 346
370
ike peers set mode, 347 l2tp set address, 324
ike peers set peerID, 347 l2tp set authen, 325
ike peers set peerIDtype, 347 l2tp set chapSecret, 325
ike peers set secret, 348 l2tp set dialout, 326
ike proposals add, 348 l2tp set hiddenAVP, 326
ike proposals delete, 348 l2tp set ourAddress, 326
ike proposals list, 349 l2tp set ourPassword, 326
ike proposals set dh_group, 349 l2tp set ourSysName, 327
ike proposals set encryption, 349 l2tp set ourTunnelName, 327
ike proposals set lifetime, 350 l2tp set remoteName, 327
ike proposals set message_auth, 350 l2tp set type, 328
ike proposals set session_auth, 350 l2tp set wanif, 328
ipdebug, 180 l2tp set window, 329
ipifs, 191 logout, 193
ipRoutes, 191
ipsec add, 351 M
ipsec del, 351
mem, 193
ipsec disable, 351
mlp, 180
ipsec enable, 352
mlp show, 282
ipsec flush, 352
mlp summary, 193
ipsec list, 352
msfs, 202
ipsec set authentication, 353
ipsec set authKey, 353
ipsec set compression, 353 P
ipsec set direction, 353 password command
ipsec set encKey, 354 for local router when connecting to re-
ipsec set encryption, 354 mote, 282
ipsec set gateway, 354 for remote, 283
ipsec set ident, 355 for the target router, 225
ipsec set mode, 355 ping, 194
ipsec set service, 355 pppoe close, 333
ipxRoutes, 192 pppoe list, 334
ipxSaps, 192 ps, 195
K R
key add, 115 reboot, 195
reboot bridgeonly, 115
L remote ?, 256
l2tp ?, 322 remote add, 256
l2tp add, 322 remote addBridge, 257
l2tp call, 322 remote addHostMapping, 257
l2tp close, 326 remote addIpRoute, 258
l2tp del, 323 remote addIpxRoute, 258
l2tp forward, 323 remote addIpxSap, 259
l2tp list, 324 remote addServer, 259
371
remote bindIPVirtualRoute, 260 remote setMgmtIpAddr, 280, 281
remote blockNetBios, 261 remote setMinLine, 281
remote del, 261 remote setmtu, 282
remote delATMnsap, 261 remote setOurPasswd, 282
remote delBridge, 261 remote setOurSysName, 283
remote delEncryption, 262 remote setPasswd, 283
remote delHostMapping, 262 remote setPhone, 283
remote delIpRoute, 262 remote setPPPoEservice, 333
remote delIpxRoute, 263 remote setPPPopt, 284
remote delIpxSap, 263 remote setProtocol, 284
remote delOurPasswd, 264 remote setProtocol (for IDSL), 303
remote delOurSysName, 264 remote setPVC, 285
remote delPhone, 264 remote setRmtIpAddr, 285
remote delServer, 265 remote setSpeed, 285
remote disable, 265 remote setSrcIpAddr, 286
remote disAuthen, 266 remote setTimer, 286
remote disBridge, 266 remote start, 287
remote enaAuthen, 266 remote stats, 287
remote enable, 266 remote statsClear, 288
remote enaBridge, 267 remote stop, 288
remote ipFilter, 267 remote unbindIPVirtualRoute, 289
remote list, 271 rename, 203
remote listBridge, 272
remote listIpRoutes, 272 S
remote listIpxRoutes, 273
save, 196
remote listIpxSaps, 273
sdsl ?, 305
remote listPhones, 273
sdsl btstat, 182
remote restart, 274
sdsl huh, 183
remote setATMnsap, 274
sdsl preact, 305
remote setATMtraffic, 293
sdsl save, 306
remote setAuthen, 275
sdsl speed, 306
remote setBOD, 275
sdsl states trace, 183
remote setBrOptions, 276
sdsl stats, 307
remote setBWthresh, 276
sdsl terminal, 307
remote setCompression, 277
sync, 203
remote setDLCI, 302
system ?, 207
remote setEncryption (Diffie-Hellman), 278
system addBootpServer, 208
remote setEncryption (PPP DES), 277
system addHostMapping, 208
remote setIpOptions, 278
system addHTTPfilter, 208
remote setIpSlavePPP, 279
system addIpRoutingTable, 209
remote setIPTranslate, 279
system addServer, 209
remote setIpxAddr, 280
system addSNMPfilter, 210
remote setIPXoptions, 280
system addSysLogFilter, 210
remote setL2tpClient, 329
system addSyslogServer, 211
remote setLNS, 330
system addTelnetFilter, 211
remote setmaxline, 280
372
system addUdpRelay, 212 V
system admin, 212 vers, 199
system authen, 212 voice, 183
system backup add, 213 voice l2clear, 175
system backup delete, 213 voice l2stats, 175
system backup disable, 214 voice lestrace, 175
system backup enable, 214 voice profile, 21
system backup pinginterval, 215
system backup pingsamples, 215
system backup retry, 216
system backup stability, 216
system backup successrate, 216
system blockNetBios, 217
system community, 217
system defaultmodem, 217
system delBootpServer, 218
system delHostMapping, 218
system delHTTPfilter, 218
system delIpRoutingTable, 219
system delServer, 219
system delSNMPfilter, 220
system delSysLogFilter, 220
system delSysLogServer, 221
system delTelnetFilter, 221
system delUdpRelay, 221
system history, 222
system httpPort, 222
system list, 222
system log, 223
system modem, 217, 223
system moveIpRoutingTable, 223
system msg, 224
system name, 224
system oneWanDialup, 225
system passwd, 225
system securityTimer, 226
system snmpPort, 226
system supportTrace, 226
system syslogPort, 227
system telnetPort, 227
system wan2wanForwarding, 228
T
tcp stats, 198
traceroute, 198
373
Topic Index
Numerics extended diagnostics, 157
3DES encryption, 135 manual boot mode, 154
IKE proposal command, 141 time and date, 156
BootP service, 152
A bridge filtering, 79
address translation, 91 commands, 331
ADPCM voice encoding, 20 bridging
ADSL DMT router commands, 295 bridge-only units, 17
debug commands, 184 configuration information (for dual-
AH IPSec protocol, 134, 135 Ethernet router), 45
ASIC.AIC file, 164 configuration information (with RFC
ATM 1483), 41
configuration commands, 292 configuration information (with RFC
debug commands, 181 1490), 41
tracing commands, 185 configuration table (with PPP), 51
authentication configuration table (with RFC 1483/RFC
ESP message, 141, 142, 342, 343 1490), 54
ESP protocol, 135 general information, 17
IKE, 138 test, 59
IKE message, 140 bridging loops
IKE session, 140 Ethernet interface, 297
Authentication Header protocol, 134 remote router entry, 276
autobaud pre-activation, 305 bridging options
Ethernet interface, 296
remote router entry, 276
B
backing up configuration files, 162
C
backup router for a static default gateway,
clearing the configuration, 197
107
clock setting, 156
backup V.90 modem capability, 103
command index, 369
batch file execution, 166
command line access, 12
binding a virtual route
Command Line Interface conventions, 187
for a remote interface, 260
commands
for an Ethernet interface, 233
debugging
boot code
See also Command Index, 180
manual boot mode (for models with a re-
communication interface status command,
set button), 164
190
manual boot mode (for models with con-
configuration examples
figuration switches), 154
dual-Ethernet router with IP, 75
boot code maintenance options, 154
IKE aggressive mode, 147
boot failures, 158
IKE main mode, 144
boot options
PPP with IP and IPX, 61
baud rate for console, 157
RFC 1483 with IP and Bridging, 69
booting from the network, 155
374
VRRP, 112 group used for IKE key exchange, 141
configuration files, backup/restore, 162 DLCI
configuration information for an IDSL Frame Relay connection,
Dual-Ethernet router, 45 302
FRF8 + IP, 44 DMT commands, 295
PPP + IP, 34, 36, 38 dmt commands, 184
RFC 1483 + bridging, 41 dmt link command, 295
RFC 1483 + IP, 39 dmt mode command, 295
RFC 1483 + IPX, 40 dod command, 180
RFC 1483MER + IP, 42 dual-Ethernet router, 45
RFC 1490 + bridging, 41 commands, 296
RFC 1490 + IP, 34, 36, 38, 39 sample configuration, 75
RFC 1490 + IPX, 40
RFC 1490MER + IP, 42 E
configuration tables Encapsulated Security Payload, 134
dual-Ethernet router +IP routing, 58 encapsulation methods, IPSec, 135
FRF8 + IP routing, 56 encapsulation modes, IPSec, 134
mixed network protocols, 57 encapsulation options, 26
PPP + bridging, 51 encryption
PPP + IP routing, 49 Diffie-Hellman, 117
PPP + IPX routing, 50 ESP protocol for IPSec, 135
RFC 1483/RFC 1490 + bridging, 54 PPP DES (RFC 1969), 116
RFC 1483/RFC 1490 + IP routing, 52 erasing the configuration, 197
RFC 1483/RFC1 490 + IPX routing, 53 error messages, 176
RFC 1483MER/RFC 1490MER + IP ESP IPSec protocol, 134
routing, 55 Ethernet commands, 229, 296
contacting technical support, 186 Ethernet IP address assignment, 231
conventions for commands, 187 Ethernet subnets, 77
export restriction, 135
D
date and time setting, 156 F
debugging commands, 180 fatal boot failures, 158
DES encryption, 135 file system commands, 200
DH. See Diffie-Hellman files, 29
DHCP filtering parameters for IKE IPSec policies,
BootP management, 87 142
clearing, 90 firewall
commands, 308, 309 IP filtering, 119
concepts, 82 IP Internet firewall filtering, 80
configuration, 82 flash memory
relays, 89 copying, 181
TFTP server, 88 recovery procedures, 163
dial backup, 103 FPGA file, 164
Diffie-Hellman encryption, 117 Frame commands, 203
for IKE key exchange, 136 frame relay debug commands, 185
for IKE Perfect Forward Secrecy, 338 Frame relay statistics command, 204
375
FRF8, 44 configuration information (with RFC
1483), 39
G configuration information (with RFC
G.Lite DMT link type, 295 1483MER), 42
G_DMT mode setting, 184 configuration information (with RFC
G_LITE mode setting, 184 1490), 34, 36, 38, 39
GUI debug commands, 182 configuration information (with RFC
1490MER), 42
H configuration table (with FRF8), 56
history log, 168 configuration table (with MAC Encapsu-
host mapping, 95 lated Routing), 55
HTTP access control, 101 configuration table (with RFC 1483/RFC
HTTP port access, 222 1490), 52
HyperTerminal, 13 configuration table (with RFC
1483MER/RFC 1490MER), 55
configuration tables (with PPP), 49
I test, 59
IAD, 19 IP routing table, 78
IDSL router commands, 301 defining, 209
IKE deleting, 219
command formats, 335 moving, 223
IPSec policy commands, 142 IP subnets, 77
IPSec proposal commands, 141 IP virtual router support, 78
peer commands, 139 IP virtual routing, 233, 246, 260, 289
proposal commands, 140 IPCP, 4, 279
proposal exchange, 138 ipdebug command, 180
protocol, 134 IPSec
IKE configuration examples command formats, 351
aggressive mode, 147 connection without IKE, 148
main mode, 144 RFCs, 26
Integrated Access Device, 19 security, 134
interface status command, 190 IPX routing
Internet Key Exchange protocol, 134 concepts, 366
IP address assignment, 231 configuration information (with RFC
IP filtering, 119 1483), 40
debug commands, 185 configuration information (with RFC
Ethernet interface command, 237 1490), 40
WAN interface command, 267 configuration table (with PPP), 50
IP firewall configuration, 80 configuration table (with RFC 1483/RFC
IP interface list command, 191 1490), 53
IP RIP packets, 81 test, 60
IP routing ISDN, 301
configuration information (for dual-
Ethernet router), 46
J
configuration information (with FRF8),
jitter buffer adjustment, 175
44
376
K example, 71
kernel sample worksheets, 71
upgrade from the LAN, 159 non-fatal errors, 158
upgrade from the WAN line, 160
keyfile.dat, 115 P
PAP, 22
L PAP/CHAP, 22
L2TP, 122 password command
commands, 322 for the administration password, 212
configurations, 124 password example, 68
over IPSec, 135 password recovery, 165
LED fatal boot patterns, 158 password reset, 165
LED sequence, 167 passwords for sample configuration, 68
LMI command, 204 PCM voice encoding, 20
logical Ethernet interfaces, 77 peer commands, IKE, 139
for VRRP, 108 Perfect Forward Secrecy, 136
login procedure, 12 PFS, 136
ping command, 169, 194
M policy commands, IKE, 139
MAC Encapsulated Routing, 42 port translation, 91
management IP address PPP Link Protocol, 34
for a remote router, 281 PPPoE, 97
for Ethernet interface, 241 bridge entry, 97
management security, 101 client, 98
MER, 42 close session command, 333
MIBs, 150 commands, 333
mlp debug command, 180 domain name, 98
MTU command list command, 334
for Ethernet interface, 242 sample configuration script, 99
for WAN interface, 282 session management, 100
multicast address timeout, 98
for RIP, 244 pre-activation, 305
for VRRP, 251 proposal commands, IKE, 139
multiple Ethernet subnets, 77 protocol standards, 25
multiple IP subnets, 77 pulse dialing, 106
multiple routing tables, 78
R
N RARP server, 155
NAT, 91 RAW-IMAGE special file name, 181
Network Address Translation, 91 reboot command, 195
classic NAT, 95 remote routers, 31
configuration, 91 commands, 255
IP filtering, 120 replay detection, 135
masquerading, 91 reset button, 164
network information restarting a remote, 32
restoring configuration files, 162
377
RFC 1483, 34, 39 software option keys, 114
RFC 1483MER, 42 software options
RFC 1490, 34, 39 encryption, 116
RFC 1490MER, 42 IP filtering, 119
RFCs supported, 25 keys, 114
RIP packet controls, 81 L2TP tunneling, 122
route tracing command, 198 source routing, 78
router configuration commands, 206 Spanning Tree Protocol
Ethernet interface, 297
S remote router entry, 276
sample configurations standards conformance, 25
dual-Ethernet router with IP, 75 STP protocol
IKE, 144 Ethernet interface, 297
PPP with IP and IPX, 61 remote router entry, 276
RFC 1483 with IP and bridging, 69 subnets, 77
VRRP, 112 support, contacting, 185
SAs, 134 Symmetric Digital Subscriber Line, 304
save dod, 196 Syslog client, 153
saving configuration files, 162 system commands, 207
saving the configuration, 196 system files, 29
script execution, 166 system level commands, 188
SDSL commands, 304 system messages, 176
autobaud pre-activation, 305
autospeed detection, 304 T
debug commands, 182 T1.413 mode setting, 184
secure VPN target router, 31
IPSec tunnels, 134 TCP/IP routing
L2TP tunnels, 122 control, 65, 72
security source and remote addresses, 40
general information, 23 technical support, contacting, 185
IKE, 134 telephony services, 19
IPSec, 134 trouble-shooting, 174
Security Associations, 134 Telnet, 151
Setting a management address command line access, 14
for a remote router, 281 controlling router access, 101
setting a management address Telnet client validation, 101
for a remote router, 281 terminal access to the command line, 12
for Ethernet interface, 241 TFTP
signaling cells, 175 client facility, 151
SNMP server, 151
access control, 101 time and date setting, 156
client validation, 101 timeout period for a dial-up connection, 286
support, 150 time-stamped messages, 176
supported MIBs, 150 tone dialing, 106
software kernel, 29 traceroute command, 198
upgrades, 159 tracing signaling cells, 175
378
transport mode, 134 frame voice command, 204
troubleshooting trouble-shooting, 174
bridging, 172 VPI/VCI
console, 170 find value, 174
factory configuration, 170 VPN, 122
hardware problems, 170 security, 134
history log, 168 VRID, 109
IP routing, 172 VRRP, 107
IPX routing, 173 clearing the VRRP interface designation,
login password, 171 246
normal LED sequence, 168
PC connection, 171 W
power light off, 167 web GUI debug commands, 182
remote network access, 172
terminal window display, 170 Y
using LEDs, 167 Y2K compliance, 156
using ping, 169
troubleshooting voice routing, 174
tunneling
IPSec, 134
L2TP, 122
L2TP configurations, 124
with Dial Backup, 103
U
unbind IP virtual route command
for a remote interface, 289
for an Ethernet interface, 246
upgradable bridges, 17
upgrading the software kernel, 159
V
V.90 backup modem, 103
virtual Ethernet interface, 77
Virtual Private Network security, 134
virtual route binding, 233
virtual router ID, 109
virtual routing table, 78
adding, 209
deleting, 219
moving, 223
VoDSL router, 19
voice gateways, 20
voice profile, 21
voice routing, 19
debug commands, 183
379