EN
Panasonic logo
Official user manual

Panasonic 8000

156 pages·923 KB·Router·PDF·ENDEFRITNLJA
Panasonic 8000
Table of Contents 87 sections Title Page · Contents · About this document · AAA Troubleshooting · … ShowHide
Title Pagep.1Contentsp.3About this documentp.9AAA Troubleshootingp.151 AAA troubleshootingp.191.1 AAA overviewp.191.1.1 AAA and RADIUSp.201.1.2 Domains and address poolp.221.1.3 Schemes and modesp.221.1.4 Server templatesp.231.2 Troubleshooting local user authenticationp.241.2.1 Typical networkingp.241.2.2 Configuration notesp.251.2.3 Troubleshooting flowchartp.271.3 Troubleshooting RADIUS authenticationp.281.3.1 Typical networkingp.291.3.2 Configuration notesp.291.3.3 Troubleshooting flowchartp.321.3.4 Troubleshooting procedurep.331.4 Troubleshooting casesp.351.4.1 FTP user fails to pass through RADIUS authenticationp.351.5 FAQsp.371.6 Diagnostic toolsp.401.6.1 Display commandsp.401.6.2 Debugging commandsp.43IPSec and IKE Troubleshootingp.442 IPSec and IKE troubleshootingp.482.1 IPSec and IKE overviewp.502.2 Troubleshooting manual IPSec SA setupp.532.2.1 Typical networkingp.532.2.2 Configuration notesp.532.2.3 Troubleshooting flowchartp.582.2.4 Troubleshooting procedurep.592.3 Troubleshooting ISAKMP SAp.612.3.1 Typical networkingp.612.3.2 Configuration notesp.622.3.3 Troubleshooting flowchartp.662.3.4 Troubleshooting procedurep.682.4 Troubleshooting SA setup using an IPSec policy templatep.712.4.1 Typical networkingp.712.4.2 Configuration notesp.722.4.3 Troubleshooting flowchartp.772.4.4 Troubleshooting procedurep.782.5 Troubleshooting NAT traversal in the IPSec tunnelp.792.5.1 Typical networkingp.802.5.2 Configuration notesp.802.5.3 Troubleshooting flowchartp.872.5.4 Troubleshooting procedurep.882.6 Troubleshooting GRE over IPSec or L2TP over IPSecp.892.6.1 Typical networkingp.892.6.2 Configuration notesp.902.6.3 Troubleshooting flowchartp.932.6.4 Troubleshooting procedurep.942.7 Troubleshooting casesp.952.8 FAQsp.962.9 Diagnostic toolsp.972.9.1 Display commandsp.972.9.2 Debugging commandsp.106Firewall Troubleshootingp.1093 Firewall troubleshootingp.1153.1 Firewallp.1163.2 Troubleshooting the firewallp.1163.2.1 Networking environmentp.1173.2.2 Configuration notesp.1173.2.3 Diagnostic flowchartp.1173.2.4 Troubleshooting proceduresp.1193.3 FAQsp.1203.4 Diagnostic toolsp.120NAT Troubleshootingp.1254 NAT troubleshootingp.1314.1 NATp.1324.1.1 NAT attributesp.1324.1.2 NAT modesp.1334.1.3 Special protocols supported by the address translationp.1334.2 Troubleshooting NAT Troubleshootingp.1344.2.1 Typical Networkingp.1344.2.2 Configuration notesp.1354.2.3 Troubleshooting flowchartp.1364.2.4 Troubleshooting proceduresp.1384.3 Troubleshooting casesp.1394.3.1 Internal Network Cannot Successfully Ping the External Network After NAT Is Configured on the Routerp.1394.4 FAQsp.1404.5 Diagnostic toolsp.1414.5.1 Display commandsp.1414.5.2 Debugging commandsp.149Indexp.152Cover & Spinep.156
Page 1 of the Panasonic 8000 user manual — Release: Document Revision:
Page 1 · click to enlarge
Page 1
Panasonic 8000 — Title Page diagram (page 1)
Fig. 1 · Title Page

Nortel Secure Router 8000 Series Troubleshooting - VAS

Release: Document Revision:

5.3 01.01

www.nortel.com

NN46240-709 324767-A

Page 2 of the Panasonic 8000 user manual — Title Page
Page 2 · click to enlarge
Page 2

Nortel Secure Router 8000 Series Release: 5.3 Publication: NN46240-709 Document status: Standard Document release date: 30 March 2009 Copyright © 2009 Nortel Networks All Rights Reserved. Printed in Canada, India, and the United States of America LEGAL NOTICE While the information in this document is believed to be accurate and reliable, except as otherwise expressly agreed to in writing NORTEL PROVIDES THIS DOCUMENT "AS IS" WITHOUT WARRANTY OR CONDITION OF ANY KIND, EITHER EXPRESS OR IMPLIED. The information and/or products described in this document are subject to change without notice. Nortel, the Nortel logo, and the Globemark are trademarks of Nortel Networks. All other trademarks are the property of their respective owners.

For information about the software license, read "Software license" in this guide.

Page 3 of the Panasonic 8000 user manual — Table of Contents
Page 3 · Contents
Contents

Contents

Title Pagep.1Contentsp.3About this documentp.9AAA Troubleshootingp.151 AAA troubleshootingp.191.1 AAA overviewp.191.1.1 AAA and RADIUSp.201.1.2 Domains and address poolp.221.1.3 Schemes and modesp.221.1.4 Server templatesp.231.2 Troubleshooting local user authenticationp.241.2.1 Typical networkingp.241.2.2 Configuration notesp.251.2.3 Troubleshooting flowchartp.271.3 Troubleshooting RADIUS authenticationp.281.3.1 Typical networkingp.291.3.2 Configuration notesp.291.3.3 Troubleshooting flowchartp.321.3.4 Troubleshooting procedurep.331.4 Troubleshooting casesp.351.4.1 FTP user fails to pass through RADIUS authenticationp.351.5 FAQsp.371.6 Diagnostic toolsp.401.6.1 Display commandsp.401.6.2 Debugging commandsp.43IPSec and IKE Troubleshootingp.442 IPSec and IKE troubleshootingp.482.1 IPSec and IKE overviewp.502.2 Troubleshooting manual IPSec SA setupp.532.2.1 Typical networkingp.532.2.2 Configuration notesp.532.2.3 Troubleshooting flowchartp.582.2.4 Troubleshooting procedurep.592.3 Troubleshooting ISAKMP SAp.612.3.1 Typical networkingp.612.3.2 Configuration notesp.622.3.3 Troubleshooting flowchartp.662.3.4 Troubleshooting procedurep.682.4 Troubleshooting SA setup using an IPSec policy templatep.712.4.1 Typical networkingp.712.4.2 Configuration notesp.722.4.3 Troubleshooting flowchartp.772.4.4 Troubleshooting procedurep.782.5 Troubleshooting NAT traversal in the IPSec tunnelp.792.5.1 Typical networkingp.802.5.2 Configuration notesp.802.5.3 Troubleshooting flowchartp.872.5.4 Troubleshooting procedurep.882.6 Troubleshooting GRE over IPSec or L2TP over IPSecp.892.6.1 Typical networkingp.892.6.2 Configuration notesp.902.6.3 Troubleshooting flowchartp.932.6.4 Troubleshooting procedurep.942.7 Troubleshooting casesp.952.8 FAQsp.962.9 Diagnostic toolsp.972.9.1 Display commandsp.972.9.2 Debugging commandsp.106Firewall Troubleshootingp.1093 Firewall troubleshootingp.1153.1 Firewallp.1163.2 Troubleshooting the firewallp.1163.2.1 Networking environmentp.1173.2.2 Configuration notesp.1173.2.3 Diagnostic flowchartp.1173.2.4 Troubleshooting proceduresp.1193.3 FAQsp.1203.4 Diagnostic toolsp.120NAT Troubleshootingp.1254 NAT troubleshootingp.1314.1 NATp.1324.1.1 NAT attributesp.1324.1.2 NAT modesp.1334.1.3 Special protocols supported by the address translationp.1334.2 Troubleshooting NAT Troubleshootingp.1344.2.1 Typical Networkingp.1344.2.2 Configuration notesp.1354.2.3 Troubleshooting flowchartp.1364.2.4 Troubleshooting proceduresp.1384.3 Troubleshooting casesp.1394.3.1 Internal Network Cannot Successfully Ping the External Network After NAT Is Configured on the Routerp.1394.4 FAQsp.1404.5 Diagnostic toolsp.1414.5.1 Display commandsp.1414.5.2 Debugging commandsp.149Indexp.152Cover & Spinep.156
Page 9 of the Panasonic 8000 user manual — Contents
Page 9 · click to enlarge
Page 9

Nortel Secure Router 8000 Series Troubleshooting - VAS Contents

Contents

About this document 1

Issue 01.01 (30 March 2009) Nortel Networks Inc. i

Page 10 of the Panasonic 8000 user manual — About this document
Page 10 · click to enlarge
Page 10
Page 10 of the Panasonic 8000 user manual — About this document
Page 11 of the Panasonic 8000 user manual — Organization
Page 11 · click to enlarge
Page 11

Nortel Secure Router 8000 Series Troubleshooting - VAS About this document

About this document

Overview

This section describes the organization of this document, product version, intended audience, conventions, and update history.

Related versions

The following table lists the product versions related to this document.

Nortel Secure Router 8000 Series V200R005

Intended audience

This document is intended for the following audience:

z network maintenance engineers

Organization

This document consists of three chapters related to Value Added Service (VAS) troubleshooting and is organized as follows.

1 AAA troubleshooting This chapter describes the troubleshooting procedure for the Authentication, Authorization, and Accounting (AAA) protocol; frequently asked questions (FAQ); and diagnostic tools.

Show 4 more labels / short text on this page
Product Name Version · z network operators · z network administrators · Chapter Description
Page 12 of the Panasonic 8000 user manual — General conventions
Page 12 · click to enlarge
Page 12

Nortel Secure Router 8000 Series

Panasonic 8000 — About this document diagram (page 12)
Fig. 2 · About this document

This chapter describes troubleshooting procedures for IP Security (IPSec) and Internet Key Exchange (IKE), FAQs, and diagnostic tools.

This chapter describes the troubleshooting procedure for Firewall, FAQs, and diagnostic tools.

4 NAT troubleshooting This chapter describes the troubleshooting procedure for Network Address Translation (NAT), FAQs, and diagnostic tools.

Conventions

This section describes the symbol and text conventions used in this document

Symbol conventions

Panasonic 8000 — Symbol conventions diagram (page 12)
Fig. 3 · Symbol conventions

Indicates a hazard with a high level of risk that, if not avoided, can result in death or serious injury.

Indicates a hazard with a medium or low level of risk that, if not avoided, can result in minor or moderate injury.

Indicates a potentially hazardous situation that, if not avoided, can cause equipment damage, data loss, and performance degradation, or unexpected results.

Indicates a tip that may help you solve a problem or save time.

Provides additional information to emphasize or supplement important points of the main text.

General conventions

Panasonic 8000 — General conventions diagram (page 12)
Fig. 4 · General conventions

Times New Roman Normal paragraphs are in Times New Roman font.

Boldface Names of files, directories, folders, and users are in boldface. For example, log on as the user root.

Courier New Terminal display is in Courier New font.

About this document

Page 13 of the Panasonic 8000 user manual — Keyboard operation
Page 13 · click to enlarge
Page 13

Nortel Secure Router 8000 Series Troubleshooting - VAS About this document

Command conventions

Boldface The keywords of a command line are in boldface.

Italic Command arguments are in italics.

[ ] Items (keywords or arguments) in square brackets [ ] are optional.

{ x | y | ... } Alternative items are grouped in braces and separated by vertical bars. You can select one item.

[ x | y | ... ] Optional alternative items are grouped in square brackets and separated by vertical bars. You can select one item or no item.

{ x | y | ... } * Alternative items are grouped in braces and separated by vertical bars. You can select a minimum of one item or a maximum of all items.

Optional alternative items are grouped in square brackets and separated by vertical bars. You can select no item or multiple items.

[ x | y | ... ] *

& The parameter before the ampersand sign (&) can be repeated 1 to n times.

# A line starting with the number sign (#) contains comments.

GUI conventions

Panasonic 8000 — GUI conventions diagram (page 13)
Fig. 5 · GUI conventions

Boldface Buttons, menus, parameters, tabs, windows, and dialog box titles are in boldface. For example, click OK.

> Multilevel menus are in boldface and separated by the right-angled bracket sign (>). For example, choose File > Create > Folder.

Keyboard operation

Panasonic 8000 — Keyboard operation diagram (page 13)
Fig. 6 · Keyboard operation

Key Press the key. For example, press Enter and press Tab.

Key 1+Key 2 Press the keys concurrently. For example, Ctrl+Alt+A means press the three keys concurrently.

Key 1, Key 2 Press the keys in sequence. For example, Alt, A means press the two keys in sequence.

Convention Description

Page 14 of the Panasonic 8000 user manual — Updates in Issue 1.0 ( 6 June 2008 )
Page 14 · click to enlarge
Page 14

Nortel Secure Router 8000 Series

Mouse operation

Click Select and release the primary mouse button without moving the pointer.

Double-click Press the primary mouse button twice quickly without moving the pointer.

Drag Press and hold the primary mouse button and move the pointer to a new position.

Update history

Updates between document versions are cumulative. Therefore, the latest document version contains all updates made to previous versions.

Updates in Issue 1.0 ( 6 June 2008 )

This is the first commercial release of this document.

About this document · Action Description

Page 15 of the Panasonic 8000 user manual — Contents
Page 15 · click to enlarge
Page 15

Nortel Secure Router 8000 Series Troubleshooting - VAS Contents

Contents

1 AAA troubleshooting 1-1

1.1 AAA overview 1-1

1.1.1 AAA, RADIUS, and HWTACACS 1-2

1.1.2 Domains and address pool 1-4

1.1.3 Schemes and modes 1-4

1.1.4 Server templates 1-5

1.2 Troubleshooting local user authentication 1-6

1.2.1 Typical networking 1-6

1.2.2 Configuration notes 1-7

1.2.3 Troubleshooting flowchart 1-9

1.3 Troubleshooting RADIUS authentication 1-10

1.3.1 Typical networking 1-11

1.3.2 Configuration notes 1-11

1.3.3 Troubleshooting flowchart 1-14

1.3.4 Troubleshooting procedure 1-15

1.4 Troubleshooting cases 1-17

1.4.1 FTP user fails to pass through RADIUS authentication 1-17

1.4.2 HWTACACS user fails to get the delivered address 1-17

1.5 FAQs 1-19

1.6 Diagnostic tools 1-22

1.6.1 Display commands 1-22

1.6.2 Debugging commands 1-25

Issue 01.01 (30 March 2009) Nortel Networks Inc. i

Page 16 of the Panasonic 8000 user manual — AAA Troubleshooting
Page 16 · click to enlarge
Page 16
Page 16 of the Panasonic 8000 user manual — AAA Troubleshooting
Page 17 of the Panasonic 8000 user manual — Figures
Page 17 · click to enlarge
Page 17

Nortel Secure Router 8000 Series Troubleshooting - VAS Figures

Figures

Figure 1-1 RADIUS message structure 1-2

Figure 1-2 Attribute format 1-3

Figure 1-3 Networking diagram of local authentication 1-6

Figure 1-4 Troubleshooting flowchart of local user authentication 1-9

Figure 1-5 Networking diagram of RADIUS authentication 1-11

Figure 1-6 Troubleshooting flowchart of RADIUS authentication 1-14

Figure 1-7 Networking diagram of HWTACAS authentication 1-15

Figure 1-8 Troubleshooting flowchart of HWTACACS authentication 1-16

Figure 1-9 Networking diagram of RADIUS authentication 1-17

Figure 1-10 Networking diagram of HWTACAS authentication 1-19

Issue 01.01 (30 March 2009) Nortel Networks Inc. iii

Page 18 of the Panasonic 8000 user manual — AAA Troubleshooting
Page 18 · click to enlarge
Page 18
Page 18 of the Panasonic 8000 user manual — AAA Troubleshooting
Page 19 of the Panasonic 8000 user manual — 1.1 AAA overview
Page 19 · click to enlarge
Page 19

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

1 AAA troubleshooting

About this chapter

The following table shows the contents of this chapter.

1.1 AAA overview This section describes the concepts you need to know before troubleshooting Authentication, Authorization, and Accounting (AAA).

1.2 Troubleshooting local user authentication

This section contains configuration notes for local user authentication, and provides the local user authentication troubleshooting flowchart and procedure for a typical local user authentication network.

1.3 Troubleshooting RADIUS authentication

This section contains configuration notes for RADIUS authentication, and provides the RADIUS authentication troubleshooting flowchart and procedure for a typical RADIUS authentication network.

1.4 Troubleshooting cases This section presents several troubleshooting cases.

1.5 FAQs This section lists frequently asked questions (FAQs) and their answers.

1.6 Diagnostic tools This section describes common diagnostic tools: display commands and debugging commands.

1.1 AAA overview

This section describes the basic concepts of AAA, RADIUS, and HWTACACS.

Section Description

Page 20 of the Panasonic 8000 user manual — RADIUS
Page 20 · click to enlarge
Page 20

1 AAA troubleshooting Nortel Secure Router 8000 Series

1.1.1 AAA and RADIUS

AAA

Authentication, Authorization, and Accounting (AAA) contains the following three types of security services.

z Authentication: specifies what type of user can access the network.

z Authorization: specifies what type of service the user can use.

z Accounting: records the network resource utilization of the user.

AAA adopts the client/server model, in which the client runs on the resource side and the server stores information about the user. This model is extensible and provides an effective way to manage users.

The two communication protocols used between the client and the server are as follows:

z Remote Authentication Dial-In User Service (RADIUS) protocol

z Huawei Terminal Access Controller Access Control System (HWTACACS) protocol (HWTACACS is an enhancement of TACACS)

RADIUS

RADIUS is used for communication between the Network Access Server (NAS) and the RADIUS server on the application layer.

RADIUS adopts the client/server model in which the client runs on the resource side and the server stores information about the user.

To ensure reliability, RADIUS supports User Datagram Protocol (UDP) packets and a retransmission and backup server mechanism. The authentication and accounting ports used by RADIUS are 1645/1646 or 1812/1813.

Figure 1-1 shows the RADIUS packet format.

Figure 1-1 RADIUS message structure

0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 70 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7

Attribute

The following list describes the RADIUS message structure:

z Code—contains 1 byte, indicating the RADIUS message type. The common code values are as follows.

Code Identifier Length · Authenticator

Page 21 of the Panasonic 8000 user manual — RFC2866
Page 21 · click to enlarge
Page 21

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

Value Packet type Indication Description

1 Access-request Sending an authentication request

NAS sends an authentication request to a RADIUS server.

2 Access-accept Accepting the authentication request

A RADIUS server sends a response packet to accept the authentication request.

3 Access-request Rejecting the authentication request

A RADIUS server sends a response packet to reject the authentication request.

4 Accounting-request Sending an accounting request

NAS sends an accounting request to a RADIUS server.

5 Accounting-response Responding to the accounting request

A RADIUS server responds to an accounting request packet.

The three types of accounting packets are as follows. They are distinguished by the No.40 attributes area.

z value of No.40 attributes area is 1: accounting start packets

z value of No.40 attributes area is 2: hot billing packets

z value of No.40 attributes area is 3: accounting stop packets

z Identifier—contains 1 byte, used to match request packets or response packets.

z Length—contains 2 bytes, indicating the total length of all fields.

z Authenticator—contains 16 bytes. This value is used to authenticate the reply from the RADIUS server, and is used in the password hiding algorithm.

z Attribute—has a flexible length and consists of various attributes. Figure 1-2 shows the attribute format.

Figure 1-2 Attribute format

0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 70 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7

− Type—indicates the attribute type.

− Length—indicates the length of every attribute and contains 1 byte.

− Value—indicates the attribute value and is flexible.

The NAS works as the RADIUS client and supports the following:

− standard RADIUS protocol and extended attributes, including RFC2865 and

RFC2866

− Nortel extended RADIUS+1.1 protocol

− active detection on the RADIUS server state

Type Length Value

Page 22 of the Panasonic 8000 user manual — Authentication schemes and modes
Page 22 · click to enlarge
Page 22

1 AAA troubleshooting Nortel Secure Router 8000 Series

After receiving an AAA authentication or accounting message, the NAS enables server detection if the status of the server is Down. It then transforms the message into a packet and sends the packet to the current server. The NAS regards the server as normal only after receiving a response packet from the current server.

− local buffer retransmission of Accounting Stop packets

If the number of retransmission events exceeds the value configured, packets are saved to the buffer queue. The system timer periodically scans the queue, extracts the packets, sends them to the specific server, and enables the waiting timer. If the transmission fails or no response packet is received from the server within the timeout period, the packet is again put back into the buffer queue.

− autoswitch of the RADIUS server

If the waiting timer expires and the current server is Down or the number of retransmission events exceeds the maximum, another server in the server group assumes the role of the current server to transmit packets.

1.1.2 Domains and address pool

Domains

Most AAA configurations are related to domains. NAS divides users into different groups based on the character string that follows the @ symbol in user names. For example, user0001@isp1 belongs to the domain isp1 and user0002@isp2 belongs to isp2.

If no @ symbol appears in the user name, the user belongs to the default domain.

Users in the same domain have similar attributes. Configuration in a domain view can affect all users in the domain, and domain resources can be used by all the users in the domain.

You can configure AAA schemes in a domain view. For the default domain, AAA uses the default schemes for the domain. You can also configure a RADIUS or HWTACACS server template.

Address pool

Point-to-Point Protocol (PPP) users can use PPP address negotiation to obtain the IP address of the local interface from the NAS. The methods are as follows:

z Use the remote address command in the interface view to allocate an IP address to the peer.

z Configure an address pool in the AAA view and then use the remote address pool command to allocate the address from the address pool to the peer.

Allocating the address from the address pool is the more flexible approach. In addition, the address pool can be used together with the domain. Configure a global address pool in the AAA view and a domain address pool in the domain view. Users in the domain can use the domain address pool preferentially.

1.1.3 Schemes and modes

Authentication schemes and modes

AAA supports four authentication modes:

z local authentication

Page 23 of the Panasonic 8000 user manual — RADIUS server template
Page 23 · click to enlarge
Page 23

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

AAA also allows a random combination of the four modes.

Configure the authentication mode in the authentication scheme view. By default, local authentication is used. Use non-authentication mode only as a last option.

The authentication-mode radius local command uses the RADIUS authentication mode first. If that fails, it uses the local authentication mode.

Authorization schemes and modes

AAA supports four authorization modes:

AAA also allows a random combination of the four modes.

The authorization-mode hwtacacs local command indicates to use the HWTACACS authorization mode first. When that fails, it uses the local authorization mode.

In a combination containing the direct authentication mode, direct authentication should be last, such as authorization-mode hwtacacs local none.

By default, use the local authentication mode. RADIUS performs authentication together with authorization. RADIUS authorization does not exist.

Accounting schemes and modes

AAA supports six accounting modes:

z combination of RADIUS and local accounting

z combination of HWTACACS and local accounting

By default, the non-accounting mode is used.

Configure the hot billing interval in the accounting scheme. By default, the interval is 5 minutes.

1.1.4 Server templates

RADIUS server template

The RADIUS server template describes details of the RADIUS server. On the RADIUS server template, you can configure authentication and accounting servers or backup authentication and accounting servers as required.

Show 11 more labels / short text on this page
z non-authentication · z RADIUS authentication · z HWTACACS authentication · z local authorization · z direct authorization · z if-authenticated authorization · z HWTACACS authorization · z local accounting · z non-accounting · z RADIUS accounting · z HWTACACS accounting
Page 24 of the Panasonic 8000 user manual — 1.2.1 Typical networking
Page 24 · click to enlarge
Page 24

1 AAA troubleshooting Nortel Secure Router 8000 Series

Configure the shared key on the RADIUS server template. The shared key should be the same as that on the server side.

RADIUS supports a specified source address. You can configure the IP address of the specified loopback interface as the source address of RADIUS packets. You can then send the packets to a RADIUS server.

After configuring a RADIUS server template, associate the template name with a domain in the corresponding domain view.

HWTACACS server template

The HWTACACS server template is different from the RADIUS server template as follows:

z It contains an authorization server and a backup authorization server.

z It supports packets with the source address configured directly instead of the address of the loopback interface.

After configuring an HWTACACS template, associate the template name with a domain in the corresponding domain view.

1.2 Troubleshooting local user authentication

This section covers the following topics:

1.2.1 Typical networking

Figure 1-3 shows a typical networking diagram for local authentication.

Figure 1-3 Networking diagram of local authentication

Client PPP Serial 4/0/0

Host PPP Serial 1/1/0

9.1.1.1

9.1.1.2

Show 4 more labels / short text on this page
z Typical networking · z Configuration notes · z Troubleshooting flowchart · z Troubleshooting procedure
Page 25 of the Panasonic 8000 user manual — Configuring AAA on the host side
Page 25 · click to enlarge
Page 25

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

1.2.2 Configuration notes

The IP address on the client side must be the same as that on the host side. Configuring serial

Configure the IP address

interfaces on the client side Configure PAP user authentication

The Password Authentication Protocol (PAP) user name and password configured on the client side must be consistent with those on the host side.

The IP address on the host side must be in the same network segment as that on the client side. Configuring serial interfaces on the host side

Configure the IP address

The PAP user name and password configured on the host side must be consistent with those on the client side.

Configure the domain to which a PAP user belongs. Configuring AAA on the host side

Configure the local user

Configure the local user in the AAA view.

The following sections cover part of the commands for configuring AAA, RADIUS, and HWTACACS . For more information, see Nortel Secure Router 8000 Series Configuration Guide - Security (NN46240-600).

Configuring the serial interface on the client side

Configure an IP address for the serial interface. In PPP/PAP mode, you need to configure the user name and password.

[Nortel] interface Serial 4/0/0

[Nortel-Serial4/0/0] ip address 9.1.1.1 255.255.255.0

[Nortel-Serial4/0/0] ppp pap local-user user001@nortel password simple abc123

Configuring the serial interface on the host side

Configure an IP address for the serial interface and set the PPP authentication mode to PAP.

[Nortel] interface Serial 1/1/0

[Nortel-Serial1/1/0] ip address 9.1.1.2 255.255.255.0

[Nortel-Serial1/1/0] ppp authentication-mode pap

Configuring AAA on the host side

Configure local authentication mode.

Show 8 more labels / short text on this page
Item Sub-item Description · Configure PPP authentication · Configure the domain · <Nortel> system-view · [Nortel-Serial4/0/0] quit · [Nortel-Serial1/1/0] quit · [Nortel] aaa · [Nortel-aaa] display this
Page 26 of the Panasonic 8000 user manual — 1.2.2 Configuration notes
Page 26 · click to enlarge
Page 26

1 AAA troubleshooting Nortel Secure Router 8000 Series

Configure the local user and the domain. Configure a PAP user user001@nortel on the client side as the local user.

[Nortel-aaa] local-user user001@nortel password simple abc123

By default, the newly configured domain is in local authentication mode, so the PAP user user001@nortel also uses this mode. After passing through local authentication, PPP link authentication succeeds.

Show 12 more labels / short text on this page
# · aaa · authentication-scheme default · # · authorization-scheme default · # · accounting-scheme default · # · domain default · # · # · [Nortel-aaa] domain nortel
Page 27 of the Panasonic 8000 user manual — Troubleshooting procedure
Page 27 · click to enlarge
Page 27

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

1.2.3 Troubleshooting flowchart

Figure 1-4 Troubleshooting flowchart of local user authentication

In PAP mode, the

local user authentication fails

Ensure the PPP in

up state when no authentication mode

The fault disappears? Modify PAP

Is the local authentication mode

Is the user domain

of the local user is

the same as that

Troubleshooting procedure

Step 1 Check the PPP link.

Show 26 more labels / short text on this page
No · The fault disappears? · Normal PPP link? · Yes · is configured · No · Yes · End · No · Correct PAP configuration? · Yes · Yes · No · Correct AAA configuration? · No · configured? · configured? · Yes · Ensure the password · used in PAP · Seek technical · The fault disappears? · support · No · Yes · End
Page 28 of the Panasonic 8000 user manual — 1.3 Troubleshooting RADIUS authentication
Page 28 · click to enlarge
Page 28

1 AAA troubleshooting Nortel Secure Router 8000 Series

If PAP mode is not used, check that the PPP link is Up.

# Configure the serial interface on the client side.

[Nortel] interface Serial 4/0/0

[Nortel-Serial4/0/0] ip address 9.1.1.1 255.255.255.0

# Configure the serial interface on the host side.

[Nortel] interface Serial 1/1/0

[Nortel-Serial1/1/0] ip address 9.1.1.2 255.255.255.0

In normal situations, the host can ping through 9.1.1.1. Use the display this interface command in the interface view to view that Link Control Protocol (LCP) and IP Control Protocol (IPCP) are “opened.” If the PPP link is Up, continue with the following steps.

Step 2 Check PAP.

Debug PAP on each interface. The following display indicates that PAP is not configured on the peer and LCP negotiation fails.

%Sep 16 14:01:54 2005 Nortel PPP/5/NEGOTIATEFAIL:Slot=3;Serial3/0/0:0: We want to

negotiate pap , but the peer doesn't have pap configuration. So LCP negotiate fail, PPP

session will be closed.

If the PAP link is Up, continue with the following step.

Step 3 Check AAA.

Based on the preceding two steps, you can determine that a problem may exist with AAA. In this case, check AAA as follows:

1. Use the display this command in the AAA view to check that the domain nortel exists.
2. Check if the user type is consistent with that configured in AAA. You can use the display local-user command in the user interface view.
3. Check if the authentication scheme of the domain nortel, the default authentication scheme, or the user-configured authentication scheme is in local authentication mode.
4. Check if user001@nortel is configured in the AAA view and the user001 password agrees with that of the PAP user.

If the fault persists, contact Nortel technical support.

1.3 Troubleshooting RADIUS authentication

This section covers the following topics:

Show 7 more labels / short text on this page
[Nortel-Serial4/0/0] quit · [Nortel-Serial1/1/0] quit · ----End · z Typical networking · z Configuration notes · z Troubleshooting flowchart · z Troubleshooting procedure
Page 29 of the Panasonic 8000 user manual — 1.3.2 Configuration notes
Page 29 · click to enlarge
Page 29

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

1.3.1 Typical networking

Figure 1-5 shows the networking of RADIUS authentication.

Figure 1-5 Networking diagram of RADIUS authentication

Panasonic 8000 — 1.3.1 Typical networking diagram (page 29)
Fig. 7 · 1.3.1 Typical networking

1.3.2 Configuration notes

Configure the authentication server

The IP address and port of the RADIUS authentication server are configured.

Configure the accounting server

The IP address and port for the RADIUS accounting server are configured.

Configure the shared key

The shared key of the RADIUS server template should be the same as that on the RADIUS server.

Configure the user name format

The user name can either contain a domain name or not contain a domain name.

In this example, the user name does not contain a domain name.

Show 5 more labels / short text on this page
Remote User · RADIUS Server · Item Sub-item Description · Configuring the RADIUS · server template
Page 30 of the Panasonic 8000 user manual — Creating a RADIUS server template
Page 30 · click to enlarge
Page 30

1 AAA troubleshooting Nortel Secure Router 8000 Series

Configure the authentication scheme

The RADIUS authentication mode is used.

Configure the accounting scheme

The RADIUS authentication mode is used.

Configure the domain nortel

A domain named nortel is created and is associated with the authentication scheme, accounting scheme, and RADIUS server template in the domain.

Enable the FTP server

None.

Configuring the RADIUS server

Configure authentication and accounting ports

For example, 1812 is the authentication port number and 1813 is the accounting port number.

Configure the IP address and shared key for the NAS

In this example, the domain name is not included in the user name. You need to configure the password for user001. In addition, you need to configure the delivery FTP directory on the RADIUS server.

z The following sections cover part of the commands for configuring AAA, RADIUS, and HWTACACS. For more information, see Nortel Secure Router 8000 Series Configuration Guide - Security (NN46240-600).

z RADIUS servers are configured differently, but they all support the preceding configurations.

Creating a RADIUS server template

Create a RAIDUS server template and configure the IP addresses and the port for the authentication server and accounting server. Note the following:

z IP addresses of RADIUS servers are routable.

z The port configuration on the NAS should be the same as the port configuration on the server.

z The shared key on the NAS should be the same as the shared key on the servers.

z In this example, the user name does not contain the domain name.

[Nortel] radius-server template rt_nortel

[Nortel-radius-rt_nortel] radius-server authentication 192.168.1.202 1812

[Nortel-radius-rt_nortel] radius-server accounting 192.168.1.202 1813

[Nortel-radius-rt_nortel] radius-server shared-key nortel

[Nortel-radius-rt_nortel] undo radius-server user-name domain-included

Show 5 more labels / short text on this page
Item Sub-item Description · Configuring AAA · Enabling FTP server · Configure user001 · <Nortel> system-view
Page 31 of the Panasonic 8000 user manual — Configuring the RADIUS server
Page 31 · click to enlarge
Page 31

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

Configuring AAA

z Create a RADIUS authentication scheme and a RADIUS accounting scheme.

z Create a domain named nortel.

z Configure the authentication scheme, the accounting scheme, and the RADIUS server template in the domain view.

Enabling the FTP server

Enable the FTP server in the system view of the NAS.

[Nortel] ftp server enable

Info:Start FTP server

Configuring the RADIUS server

Configure the RADIUS server based on the Help files.

Configure the following items:

z the authentication and accounting ports

z an IP address and the shared key for the NAS

z the user name, the password, and the authorization information

Check whether AAA takes effect on the RADIUS server by using the tool provided by the operating system.

Show 14 more labels / short text on this page
[Nortel-radius-rt_nortel] quit · [Nortel] aaa · [Nortel-aaa] authentication-scheme radius · [Nortel-aaa-authen-radius] authentication-mode radius · [Nortel-aaa-authen-radius] quit · [Nortel-aaa] accounting-scheme radius · [Nortel-aaa-accounting-radius] accounting-mode radius · [Nortel-aaa-accounting-radius] quit · [Nortel-aaa] domain nortel · [Nortel-aaa-domain-nortel] authentication-scheme radius · [Nortel-aaa-domain-nortel] accounting-scheme radius · [Nortel-aaa-domain-nortel] radius-server rt_nortel · [Nortel-aaa-domain-nortel] quit · [Nortel-aaa] quit
Page 32 of the Panasonic 8000 user manual — 1.3.3 Troubleshooting flowchart
Page 32 · click to enlarge
Page 32

1 AAA troubleshooting Nortel Secure Router 8000 Series

1.3.3 Troubleshooting flowchart

Figure 1-6 Troubleshooting flowchart of RADIUS authentication

The FTP user fails to

Can NAS transmit the authentication

information to the RADIUS server?

Remove the fault based on the failing

Configure the authentication mode

Can NAS receivethe authorized

on the RADIUS server correctly

Can the user log on to the NAS

Show 29 more labels / short text on this page
pass the RADIUS · authentication · No · Yes · Login record? · The fault disappears? · No · Yes · Failing authentication · No · Yes · information? · authentication · The fault disappears? · information · No · No · Yes · No · The fault disappears? · FTP directory? · No · Yes · Yes · End · FTP server? · No · Seek the technical · support
Page 33 of the Panasonic 8000 user manual — ID : 0
Page 33 · click to enlarge
Page 33

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

1.3.4 Troubleshooting procedure

Step 1 Check that the RADIUS server displays logon records.

In a normal situation, you can view the logon records by checking the display on the server.. When the user logs on to a RAIDUS server, the server records the user name and successful authentication. Otherwise, it records the faults and the possible causes.

If there is no records prompt on the server, the authentication relationship is not established between the NAS and RADIUS server. Check the link, the NAS, and the RADIUS server.

1. Check the link.

If the link is Down, remove the faults on the link.

2. On the NAS, check the following:

− The domain nortel is configured.

− The RADIUS authentication mode is configured in the domain view.

− The RADIUS server template is configured in the domain view.

− The IP addresses and ports of the server are configured.

Then, use the debugging radius packet command to view whether RADIUS packets are sent out.

debugging radius packet

If debugging is enabled but no display prompts, the fault is in the NAS. You need to check whether the domain is associated with the RADIUS server template.

If debugging information exists, you can see the sent RADIUS authentication packet.

*0.264194889 RT1 RDS/8/debug2:

Radius Sent a Packet

Server Template0
Server IP192.168.1.128
ProtocolStandard
Code1
Len210

ID : 0

[User-name(1) ] [5 ] [tao]

[Password(2) ] [18] [5220c68cbd7014d96a3c9c5a6750d67e]

[NAS-Port(5) ] [6 ] [0]

[Service-Type(6) ] [6 ] [6]

[Framed-Protocol(7) ] [6 ] [6]

[Framed-IP-Address(8) ] [6 ] [192.168.1.202]

[NAS-Identifier(32) ] [5 ] [RT1]

[NAS-Port-Type(61) ] [6 ] [5]

[NAS-Port-Id(87) ] [34] [slot=0;subslot=0;port=0;vlanid=0]

[Login-IP-Host(14) ] [6 ] [3232235978]

[NAS-Startup-Timestamp(26-59) ] [6 ] [952825733]

[Ip-Host-Addr(26-60) ] [33] [192.168.1.202 ff:ff:ff:ff:ff:ff]

[Connect_ID(26-26) ] [6 ] [6000]

*0.264196064 RT1 RDS/8/debug2:

[Version(26-254) ] [30] [Nortel VRP Software Version ]

[Product-ID(26-255) ] [5 ] [VRP]

[NAS-IP-Address(4) ] [6 ] [192.168.1.1]

terminal debugging · terminal monitor

Page 34 of the Panasonic 8000 user manual — 1.3.4 Troubleshooting procedure
Page 34 · click to enlarge
Page 34

1 AAA troubleshooting Nortel Secure Router 8000 Series

The preceding display indicates that the RADIUS authentication packet has been sent out. You must then check whether the response packet is received. If the following display prompts, the authentication server is not started. You then need to check the RADIUS authentication server.

#Mar 12 01:49:08 2000 RT1 RDS/5/RDAUTHDOWN:RADIUS authentication server(IP 192.168.1.128)

Step 2 Check the RADIUS authentication server.

Check whether the IP address and the port of the authentication server are configured correctly. If so, check whether the RADIUS server is running normally.

To check whether the related services are enabled on ports, use the diagnostic tool provided by the operating system.

If the RADIUS server and the NAS can receive packets from each other, continue to check the following.

Step 3 Check whether the RADIUS server displays failing authentication information.

Although the NAS and RADIUS server can communicate, the authentication fails. The cause is the RADIUS server. Check the following:

z The NAS address and the shared key are configured on the RADIUS server.

z The shared key configured on the RADIUS server is consistent with that on the NAS.

z The user is configured on the RADIUS server. Note that the server template configured on the NAS can strip the domain name from the logon user name.

z The password of the user configured on RADIUS server is consistent with that of the logon user.

If the authentication fails, the output or the logon record is displayed. You can view the records to determine the causes for the authentication failure. The possible causes are as follows:

z The user name does not exist.

z The password including the shared key on the server is not consistent with that on the NAS.

z The NAS address is not configured.

After the preceding check and modifications, most authentication faults disappear.

If FTP fails after the authentication succeeds, continue to check the following.

Step 4 Check that NAS can receive the authorized FTP directory.

If the FTP logon view displays “503 Logged fail, authentication directory is incorrect or Connection closed by remote host,” the FTP directory authorization is incorrect.

After RADIUS packet debugging is enabled, you can view that the NAS can receive the debugging information about authentication response packets sent by the RADIUS server.

Radius Received a Packet

Server Template0
Server IP192.168.1.202
Server Port1812
ProtocolStandard
Code2
Len33

is down!

Page 35 of the Panasonic 8000 user manual — Fault analysis
Page 35 · click to enlarge
Page 35

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

ID : 15

[Ftp-Directory ] [7 ] [hda1:]

The preceding display indicates that the RADIUS server delivers the attribute of the FTP directory. The value of the attribute is hda1. If no such display appears, you need to configure the list of the delivered attributes for the user.

If the fault persists, contact Nortel technical support.

1.4 Troubleshooting cases

This section provides the following troubleshooting cases:

z FTP user fails to pass through RADIUS authentication

z Error! Reference source not found.

1.4.1 FTP user fails to pass through RADIUS authentication

Fault symptom

Figure 1-7 Networking diagram of RADIUS authentication

NAS 192.168.1.6

ISDN/ PSDN

192.168.1.202

The legal remote user user001@nortel tries to log on to the NAS through FTP and fails to pass through RADIUS authentication.

Fault analysis

z Check whether the RADIUS server has records about the logon user. If not, the NAS and RADIUS sever cannot communicate. Then, check the NAS.

z Use the debugging radius packets command in the user view of NAS to view output prompts.

z If you check AAA, you may find that the domain nortel contains no RADIUS server template. After configuring a template, view the debugging information on the NAS to check whether any response packet is received.

Show 4 more labels / short text on this page
----End · Remote · RADIUS Server · User
Page 36 of the Panasonic 8000 user manual — Summary
Page 36 · click to enlarge
Page 36

1 AAA troubleshooting Nortel Secure Router 8000 Series

z Check that the authentication port number is the same as that configured on the NAS and the RADIUS server template.

z Check that the password configured on the RADIUS server is consistent with the shared key configured on the NAS.

z Check that the attributes of the FTP directory are delivered. Then, check that user001 adds the delivered attributes.

z After attributes of the FTP directory are delivered, the user can log on to the FTP server. The fault disappears.

Troubleshooting procedure

Step 1 Check whether the RADIUS server has records about the logon user.

Step 2 If there are no logon records, use the debugging radius packet command on the NAS to

check whether NAS has sent out authentication request packets.

Step 3 If the NAS fails to send out authentication request packets, check AAA and the RADIUS

server template on the NAS. Note that the user can view the sent RADIUS authentication request packets when logging on.

Step 4 If the RADIUS server still has no logon user records, check the IP address and the port

configuration. Note the following:

z The server and the NAS can ping through each other.

z Port configuration on the RADIUS server must be the same as that on the RADIUS server template.

Step 5 If the faulty authentication persists when the NAS and RADIUS server can communicate, the

possible causes are as follows:

z The NAS address is not added.

z The shared key on the NAS is incorrect.

z The user name and password are incorrect.

Step 6 If the authentication succeeds but the authorization fails after the NAS and RADIUS server

can communicate, check whether the user is authorized by the RADIUS server.

Summary

If RADIUS authentication fails, ensure the following:

z successful communication between the NAS and the RADIUS server

You can locate the fault through the debugging information on the NAS and RADIUS server.

End · z successful authentication · z successful authorization

Page 37 of the Panasonic 8000 user manual — Q: How does AAA allocate addresses to PPP users?
Page 37 · click to enlarge
Page 37

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

1.5 FAQs

Q: Nortel devices and non-Nortel devices use the same TACACS server but the authentication fails. Why?

A: The user class range set by the third party is different from that set by Nortel. The user class range set by Nortel is from 0 to 3 and any value that exceeds 3 is incorrect, so the authentication fails. To remove this fault, configure users for the products of the third party and Nortel accordingly.

Q: A Telnet user who passes RADIUS authentication cannot enter the system view? Why?

A: The user is not authorized by the RADIUS server.

z If shiva (RADIUS software) is used as the RADIUS server, configure exec-privilege for it; if another type of server is used, configure the extended exec-privilege for it. That is, add the extended attribute (29) contained in the standard attribute (26) to the related attribute dictionary.

z For FTP users, if shiva is used as the RADIUS server, configure ftp-directory for it; if another type of server is used, configure the extended ftp-directory. That is, add the extended attribute (29) contained in the standard attribute (26) to the related attribute dictionary.

Q: How does AAA allocate addresses to PPP users?

A: The address allocation rules are as follows:

z To the unauthenticated user: If the interface is configured with an IP address, the NAS allocates the address to the peer directly; if the interface is configured with an IP address pool, the NAS allocates the address in the address pool to the peer.

z To the authenticated default domain user: If the RADIUS server delivered the IP address, the NAS allocates this address to the peer directly; if the RADIUS server delivered the IP address pool ID, the NAS allocates the address in the global or domain address pool to the peer. If the RAIDUS server has not delivered the address pool ID but the interface is configured with an IP address pool, the NAS allocates the address in this global address pool to the peer.

z To the authenticated common domain user: If the RADIUS server delivered the IP address, the NAS allocates the address to the peer directly. If the RADIUS server delivered the IP address pool ID, the NAS allocates the address in the specified domain address pool to the peer. If the RAIDUS server has not delivered the address pool ID but the interface is configured with an IP address, the NAS allocates this address to the peer. If the interface is configured with an IP address pool, the NAS allocates the address in the domain address pool to the peer.

In the preceding three cases:

z If all the addresses in the specified global address pool have been used, the NAS traverses the entire address pool, starting from the first address pool configured.

z If all the addresses in the specified domain address pool have been used, the NAS traverses from the first domain address pool configured. Users in a domain prefer addresses in the address pool of the domain in which they reside.

Page 38 of the Panasonic 8000 user manual — Q: What are the common RADIUS attributes?
Page 38 · click to enlarge
Page 38

1 AAA troubleshooting Nortel Secure Router 8000 Series

z If all the domain address pools have no address to allocate, the NAS traverses from the global address pool.

Q: What are the common RADIUS attributes?

A: The following table describes the common RADIUS attributes.

Value Attributes Field format Usage

1 User-name String (1 to 32) Configure the user name by using commands. A user name can either contain a domain name or not contain a domain name, for example, user0001@isp or user0001.

2 Password String (16 to 128) The encrypted password is valid in PAP.

3 Challenge-Password String (17) The password (MD5 encrypted authenticator) is valid in CHAP authentication.

4 NAS-IP-Address IP address If a RADIUS server is bound with a specific interface address, use this address as the IP address of the NAS. You can also use the address of the interface from which the packets are sent.

5 NAS-Port Integer The user access port is in the format of 4 slot numbers + 2 card numbers + 5 port numbers + 21 VLAN numbers.

6 Service-Type Integer Types of users are as follows:

2 indicates the access user.

6 indicates the administrative user.

7 Framed-Protocol Integer The value is fixed to be 1, indicating PPP type.

8 Framed-IP-Address Address The IP address allocated to the user by a RADIUS server. If the value is 0xFFFFFFFE, the IP address of the user should be allocated by a NAS.

9 Framed-Netmask Address The IP address masks allocated to the user by a RADIUS server.

11 Filter-ID String (1) Indicates the User Control List (UCL) group and interworking group, which are in the format UCL-Group@Inter-Group.

14 Login-IP-Host Address The IP address of the logon user.

Page 39 of the Panasonic 8000 user manual — 1.5 FAQs
Page 39 · click to enlarge
Page 39

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

Value Attributes Field format Usage

15 Login-Service Integer Indicates the logon user type, such as Telnet, Rlogin, TCP Cear, PortMaster (proprietary), and LAT.

18 Reply-Message String (1 to 128)

z In the authentication acceptance

packet, this indicates successful authentication.

z In the authentication rejection

packet, this indicates the failed authentication.

25 Class String A RADIUS server sends the authentication acceptance packet together with the class attributes to a NAS. The NAS then sends back the class attributes together with accounting request packets. On the standard RADIUS server, the class attributes also contain the Committed Access Rate (CAR).

27 Session-TimeOut Integer The timeout period of the user, in seconds. In the Extensible Authentication Protocol (EAP) challenge packets, this indicates the reauthenticated time for the user.

28 Idle-TimeOut Integer The idle timeout period, in seconds.

31 Calling-Station-Id String Indicates the MAC address.

32 NAS-Identifier String If the NAS ID is configured, the NAS identifier should be the NAS ID. Otherwise, the NAS identifier can be the host name.

40 Acct-Status-Type Integer Indicates the type of accounting request packets.

z 1 indicates the accounting start

packet.

z 2 indicates the accounting stop

packet.

z 3 indicates the hot billing packet.

z 4 indicates the accounting packet

resetting.

41 Acct-Delay-Time Integer Indicates the time taken to send accounting packets, in seconds. The network transmission time is excluded.

42 Acct-Input-Octets Integer Indicates the number of received bytes, in bytes, Kbytes, Mbytes, or Gbytes.

Page 40 of the Panasonic 8000 user manual — 1.6.1 Display commands
Page 40 · click to enlarge
Page 40

1 AAA troubleshooting Nortel Secure Router 8000 Series

Value Attributes Field format Usage

43 Acct-Output-Octets Integer Indicates the number of sent bytes, in bytes, Kbytes, Mbytes, or Gbytes.

44 Acct-Session-Id String The accounting access ID.

45 Acct-Authentic Integer The user authentication mode.

z 1 indicates RADIUS authentication.

z 2 indicates local authentication.

46 Acct-Session-Time Integer The online time of the user, in seconds.

47 Acct-Input-Packets Integer The number of received packets.

48 Acct-Output-Packets Integer The number of packets sent by users.

49 Terminate-Cause Integer The cause for session interruption.

52 Acct-Input-Gigawords Integer Indicates the number of received bytes is a multiple of 4 G (232).

Integer Indicates the number of sent bytes is a multiple of 4 G (232).

55 Event-Timestamp Integer Indicates the generating time of accounting request packets, in seconds. This is the absolute second since 00:00:00, January 1st, 1970.

60 CHAP-Challenge String (16) Indicates the CHAP challenge field.

61 NAS-Port-Type Integer Indicates the type of the NAS port.

87 NAS-Port-Id String Indicates the port ID of the access user in the format slot=XX; subslot=XX; port=XXX; VLANID=XXXX; or slot=XX; subslot=XX; port=XXX; VPI=XXX; VCI=XXXX.

1.6 Diagnostic tools

1.6.1 Display commands

Panasonic 8000 — 1.6.1 Display commands diagram (page 40)
Fig. 8 · 1.6.1 Display commands

display radius-server configuration template Displays the RADIUS server template.

53 Acct-Output-Gigawor ds

Page 41 of the Panasonic 8000 user manual — display accounting-scheme
Page 41 · click to enlarge
Page 41

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

display domain Displays the domain.

display radius-server configuration template Displays the RADIUS server template.

display hwtacacs-server template Displays the HWTACACS server template.

display radius-server configuration template

display radius-server configuration template rt_1

Server-template-namert_1
Protocol-versionstandard
Traffic-unitB
Shared-secret-keynortel
Timeout-interval(in second)5
Primary-authentication-server192.168.1.202:1812:LoopBack-1
Primary-accounting-server192.168.1.202:1813:LoopBack-1
Secondary-authentication-server0.0.0.0:0:LoopBack0
Secondary-accounting-server0.0.0.0:0:LoopBack0
Retransmission3
Domain-includedNO

display authentication-scheme hwtacacs

[Nortel-aaa] display authentication-scheme hwtacacs

Authentication-scheme-namehwtacacs
Authentication-methodHWTACACS authentication

display authorization-scheme

[Nortel-aaa] display authorization-scheme hwtacacs

Authorization-scheme-namehwtacacs
Authorization-methodHWTACACS authorization

display accounting-scheme

[Nortel-aaa] display accounting-scheme hwtacacs

Accounting-scheme-namehwtacacs
Accounting-methodHWTACACS accounting
Realtime-accounting-switchOpen
Realtime-accounting-interval(min)5
Start-accounting-fail-policyCut user
Realtime-accounting-fail-policyCut user
Realtime-accounting-failure-retries3
Show 9 more labels / short text on this page
Command Description · ------------------------------------------------------------------- · ------------------------------------------------------------------- · -------------------------------------------------------------------------- · ------------------------------------------------------------------------- · -------------------------------------------------------------------------- · -------------------------------------------------------------------------- · -------------------------------------------------------------------------- · --------------------------------------------------------------------------
Page 42 of the Panasonic 8000 user manual — display hwtacacs-server template
Page 42 · click to enlarge
Page 42

1 AAA troubleshooting Nortel Secure Router 8000 Series

display domain

display domain nortel

Domain-namenortel
Domain-stateActive
Authentication-scheme-namehwtacacs
Accounting-scheme-namehwtacacs
Authorization-scheme-namehwtacacs
User-CAR-
Web-IP-address-
Next-hop-
Primary-DNS-IP-address-
Second-DNS-IP-address-
Primary-NBNS-IP-address-
Second-NBNS-IP-address-
Acl-number-
Idle-data-attribute (time,flow)0, 60
User-priority-
User-access-limit256
Online-number0
RADIUS-server-templatert_1
HWTACACS-server-template-

display radius-server configuration template

display radius-server configuration template rt_1

Server-template-namert_1
Protocol-versionstandard
Traffic-unitB
Shared-secret-keynortel
Timeout-interval(in second)5
Primary-authentication-server192.168.1.202:1812:LoopBack-1
Primary-accounting-server192.168.1.202:1813:LoopBack-1
Secondary-authentication-server0.0.0.0:0:LoopBack0
Secondary-accounting-server0.0.0.0:0:LoopBack0
Retransmission3
Domain-includedNO

display hwtacacs-server template

display hwtacacs-server template ht_1

HWTACACS-server template nameht_1
Primary-authentication-server192.168.1.60:49
Primary-authorization-server192.168.1.60:49
Primary-accounting-server192.168.1.60:49
Secondary-authentication-server0.0.0.0:0
Secondary-authorization-server0.0.0.0:0
Secondary-accounting-server0.0.0.0:0
Current-authentication-server192.168.1.60:49
Current-authorization-server192.168.1.60:49
Current-accounting-server192.168.1.60:49
Show 5 more labels / short text on this page
------------------------------------------------------------------- · ------------------------------------------------------------------- · ------------------------------------------------------------------- · ------------------------------------------------------------------- · --------------------------------------------------------------------------
Page 43 of the Panasonic 8000 user manual — 1.6.2 Debugging commands
Page 43 · click to enlarge
Page 43

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting

Source-IP-address0.0.0.0
Shared-keynortel
Quiet-interval(min)5
Response-timeout-Interval(sec)5
Domain-includedNo
Traffic-unitB

1.6.2 Debugging commands

debugging radius packet Debugs the RADIUS packet.

debugging hwtacacs all Debugs the HWTACACS packet.

· Command Description

Page 44 of the Panasonic 8000 user manual — Contents
Page 44 · click to enlarge
Page 44

Nortel Secure Router 8000 Series Troubleshooting - VAS Contents

Contents

2 IPSec and IKE troubleshooting 2-1

2.1 IPSec and IKE overview 2-3

2.2 Troubleshooting manual IPSec SA setup 2-6

2.2.1 Typical networking 2-6

2.2.2 Configuration notes 2-6

2.2.3 Troubleshooting flowchart 2-11

2.2.4 Troubleshooting procedure 2-12

2.3 Troubleshooting ISAKMP SA 2-14

2.3.1 Typical networking 2-14

2.3.2 Configuration notes 2-15

2.3.3 Troubleshooting flowchart 2-19

2.3.4 Troubleshooting procedure 2-21

2.4 Troubleshooting SA setup using an IPSec policy template 2-24

2.4.1 Typical networking 2-24

2.4.2 Configuration notes 2-25

2.4.3 Troubleshooting flowchart 2-30

2.4.4 Troubleshooting procedure 2-31

2.5 Troubleshooting NAT traversal in the IPSec tunnel 2-32

2.5.1 Typical networking 2-33

2.5.2 Configuration notes 2-33

2.5.3 Troubleshooting flowchart 2-40

2.5.4 Troubleshooting procedure 2-41

2.6 Troubleshooting GRE over IPSec or L2TP over IPSec 2-42

2.6.1 Typical networking 2-42

2.6.2 Configuration notes 2-43

2.6.3 Troubleshooting flowchart 2-46

2.6.4 Troubleshooting procedure 2-47

2.7 Troubleshooting cases 2-48

2.8 FAQs 2-49

2.9 Diagnostic tools 2-50

2.9.1 Display commands 2-50

2.9.2 Debugging commands 2-59

Issue 01.01 (30 March 2009) Nortel Networks Inc. i

Page 45 of the Panasonic 8000 user manual — IPSec and IKE Troubleshooting
Page 45 · click to enlarge
Page 45
Page 45 of the Panasonic 8000 user manual — IPSec and IKE Troubleshooting
Page 46 of the Panasonic 8000 user manual — Figures
Page 46 · click to enlarge
Page 46

Nortel Secure Router 8000 Series Troubleshooting - VAS Figures

Figures

Figure 2-1 Format of the transport mode packets 2-4

Figure 2-2 Format of the tunnel mode packets 2-4

Figure 2-3 Networking diagram of the manual IPSec SA setup 2-6

Figure 2-4 Troubleshooting flowchart of IPSec SA manual setup 2-11

Figure 2-5 Networking diagram of setting up ISAKMP IPSec 2-15

Figure 2-6 Troubleshooting flowchart of SA setup in Phase 1 2-20

Figure 2-7 Troubleshooting flowchart of SA setup in Phase 2 2-21

Figure 2-8 Networking diagram of setting up SA using an IPSec policy template 2-25

Figure 2-9 Troubleshooting flowchart of setting up IPSec SA using an IPSec policy template 2-30

Figure 2-10 Networking diagram of IPSec NAT 2-33

Figure 2-11 Troubleshooting flowchart of NAT traversal in IPSec 2-40

Figure 2-12 Networking diagram of configuring IPSec 2-43

Figure 2-13 Troubleshooting flowchart of GRE over IPSec 2-46

Figure 2-14 Networking diagram of IPSec setup 2-48

Issue 01.01 (30 March 2009) Nortel Networks Inc. iii

Page 47 of the Panasonic 8000 user manual — IPSec and IKE Troubleshooting
Page 47 · click to enlarge
Page 47
Page 47 of the Panasonic 8000 user manual — IPSec and IKE Troubleshooting
Page 48 of the Panasonic 8000 user manual — 2 IPSec and IKE troubleshooting
Page 48 · click to enlarge
Page 48

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

2 IPSec and IKE troubleshooting

About this chapter

The following table shows the contents of this chapter.

2.1 IPSec and IKE overview This section describes the concepts you need to know before troubleshooting IP Security (IPSec) and Internet Key Exchange (IKE).

2.2 Troubleshooting manual IPSec SA setup

This section contains configuration notes for manually setting up IPSec Security Association (SA) and provides the troubleshooting flowchart and procedure for a typical IPSec SA network.

2.3 Troubleshooting ISAKMP SA

This section contains configuration notes for Internet Security Association and Key Management Protocol (ISAKMP) and provides the troubleshooting flowchart and procedure for a typical ISAKMP network.

2.4 Troubleshooting SA setup using an IPSec policy template

This section contains notes about configuring SA setup using an IPSec policy template and provides the troubleshooting flowchart and procedure for a typical network. environment

2.5 Troubleshooting NAT traversal in the IPSec tunnel

This section contains notes about configuring Network Address Translation (NAT) traversal in the IPSec tunnel and provides the troubleshooting flowchart and procedure for a typical network environment.

2.6 Troubleshooting GRE over IPSec or L2TP over IPSec

This section contains configuration notes for Generic Routing Encapsulation (GRE) over IPSec or Layer Two Tunneling Protocol (L2TP) over IPSec. It provides the troubleshooting flowchart and procedure for a typical network of GRE over IPSec or L2TP over IPSec.

2.7 Troubleshooting cases This section presents several troubleshooting cases.

Section Description

Page 49 of the Panasonic 8000 user manual — 2 IPSec and IKE troubleshooting
Page 49 · click to enlarge
Page 49

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

2.8 FAQs This section lists frequently asked questions (FAQs) and their answers.

2.9 Diagnostic tools This section describes common diagnostic tools: display commands and debugging commands.

Section Description

Page 50 of the Panasonic 8000 user manual — Security Association
Page 50 · click to enlarge
Page 50

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

2.1 IPSec and IKE overview

The IP Security (IPSec) protocol suite is a series of protocols defined by the Internet Engineering Task Force (IETF). It provides high-quality, interoperable, and cryptology-based security for IP packets.

IPSec consists of two protocols:

z Authentication Header (AH) protocol

z Encapsulating Security Payload (ESP) protocol

Internet Key Exchange (IKE) supports autonegotiation of keys. It sets up and maintains the Security Association (SA) to simplify IPSec application and management.

The IKE protocol is based on the Internet Security Association and Key Management Protocol (ISAKMP). It provides automatic protection, through which the following tasks can be performed in an unsafe network:

z distributing shared keys

z authenticating the user

z setting up an IPSec SA

Security Association

IPSec provides secure communication between two ends, called IPSec peers. It allows users or administrators to control the granularity of security services between peers.

An SA is standard for some elements of communication peers and is the basis of IPSec. It determines the following:

z which protocol to apply (AH, ESP or both)

z which encapsulation mode to apply (transport mode or tunnel mode)

z which cryptographic algorithm to apply (DES or 3DES)

z the shared key in the specified protected data flow and its duration

An SA is unidirectional, so you need at least two SAs to protect data flow in bidirectional communication.

An SA is uniquely identified by the following three parameters:

z Security Parameter Index (SPI)

The SPI is a 32-bit number generated to uniquely identify an SA. It is contained in the AH/ESP header during transmission.

z destination IP address

z security protocol ID (AH or ESP)

The SA duration is calculated as follows:

z Time-based duration: updates the SA at a specific interval.

z Traffic-based duration: updates the SA after transmission of certain data (bytes).

Regardless of the type of duration, when it expires, the SA becomes invalid. Before this occurs, IKE negotiates to set up a new SA for IPSec. The new SA is available when the old SA becomes invalid.

Page 51 of the Panasonic 8000 user manual — Authentication algorithms and encryption algorithms
Page 51 · click to enlarge
Page 51

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

IPSec encapsulation modes

The SA specifies the protocol encapsulation modes. IPSec has two encapsulation modes:

z Transport mode: AH/ESP is inserted following the IP header but before all transport layer protocols or all other IPSec protocols. Figure 2-1 shows the format of transport mode packets.

z Tunnel mode: AH/ESP is inserted before the original IP header but after the new IP header. Figure 2-2 shows the format of tunnel mode packets.

Figure 2-1 Format of the transport mode packets

AH

IP Header AH data TCP Header

ESP

IP Header TCP Header

ESP data ESP Tail ESP Auth data

AH-ESP

ESP data ESP Tail ESP Auth data IP Header TCP Header AH

Figure 2-2 Format of the tunnel mode packets

AH

new IP Header AH data TCP Header

ESP

new IP Header ESP data TCP Header raw IP Header ESP Tail ESP Auth data

AH-ESP

ESP data ESP Tail ESP Auth data new IP Header TCP Header AH

Transport mode is suitable for communication between two hosts or between a host and a security gateway. In this mode, the two devices that encrypt or decrypt packets must be the original packet sender and the final receiver respectively.

Tunnel mode is suitable for communication between two security gateways.

Authentication algorithms and encryption algorithms

AH and ESP can authenticate the integrity of an IP packet to determine whether the packet is modified during transmission. Authentication is implemented based on the hash function. IPSec peers calculate the message summary. If they get the same summaries, it indicates the packet is integrated and unmodified. The two types of IPSec authentication algorithms are as follows:

Show 9 more labels / short text on this page
Mode · Transport · Protocol · Mode · Tunnel · Protocol · raw IP Header · raw IP Header · z Authentication algorithms
Page 52 of the Panasonic 8000 user manual — IKE negotiation modes
Page 52 · click to enlarge
Page 52

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

− Message Digest 5 (MD5) enters a message of any length and generates a 128-bit

message summary.

− Secure Hash Algorithm (SHA-1) enters a message less than 264 bits and generates a

160-bit message summary.

The SHA-1 summary is longer than that of MD5; therefore, using SHA-1 is safer than using MD5.

ESP can encrypt an IP packet to prevent disclosure of the packet contents during transmission. The encryption algorithm is implemented through a symmetric key system. Data is encrypted or decrypted with the same key. IPSec uses two types of encryption algorithms:

− DES encrypts 64-bit clear text by using a 56-bit key.

− 3DES encrypts clear text by using three 56-bit DES keys (168-bit key).

The 3DES encryption algorithm is safer than DES; however, 3DES data encryption speed is slower.

Negotiation modes

There are two negotiation modes for setting up an SA:

z Manual mode (manual): All information about the SA must be configured manually. This mode does not support some advanced IPSec features, such as updating shared keys at specific intervals. Manual mode can, however, implement IPSec independent of IKE.

z IKE autonegotiation mode (isakmp): This mode is easier because the SA can be set up and maintained through the IKE security policies.

IKE security mechanism

The IKE security mechanisms are as follows:

z Diffie-Hellman (DH) exchange and shared key distribution: DH is a public shared key algorithm. The two parties can exchange some data and then calculate the shared key instead of exchanging shared keys directly.

z Perfect Forward Secrecy (PFS): Indicates that one breached password does not affect other keys because they have no derivation relationship. This feature is implemented by adding shared key exchange to Phase 2 IKE negotiation.

z Authentication: Identifies two communication parties.

z Protection: Protects authentication data by encrypting them with shared keys.

IKE exchange phases

IKE implements IPSec shared key negotiation and sets up an SA in two phases:

z Phase 1: Create a security tunnel that passes the authentication between two communication parties. In addition, set up an ISAKMP SA, also called an IKE SA.

z Phase 2: Set up IPSec SA setup negotiation on the created security tunnel to ensure secure IP data transmission.

IKE negotiation modes

In Phase 1, IKE has two negotiation modes:

z Encryption algorithms

Page 53 of the Panasonic 8000 user manual — 2.2.2 Configuration notes
Page 53 · click to enlarge
Page 53

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

z Main mode: Isolates the shared key exchange from the authentication information to ensure the user’s identity.

z Aggressive mode: Allows transmitting payloads related to the SA, shared key, and authentication.

2.2 Troubleshooting manual IPSec SA setup

This section covers the following topics:

2.2.1 Typical networking

Based on Figure 2-3, you can set up an IPSec SA manually.

Figure 2-3 Networking diagram of the manual IPSec SA setup

Panasonic 8000 — 2.2.1 Typical networking diagram (page 53)
Fig. 9 · 2.2.1 Typical networking

10.1.1. 1

The networking environment is as follows:

z Set up the IPSec SA manually.

z Create a security tunnel between Router A and Router B.

z Provide security protection to the data flow between the two network segments 10.1.1 x and 10.1.2.x.

z Specify the security protocol, the encryption algorithm, and the authentication algorithm.

2.2.2 Configuration notes

Panasonic 8000 — 2.2.2 Configuration notes diagram (page 53)
Fig. 10 · 2.2.2 Configuration notes

Use the advanced Access Control List (ACL), ranging from 3000 to 3999. Configuring the ACL

Configure the source and destination address specified in ACL rules

Specify the source and destination IP address of the data flow to protect. Nortel recommends that you avoid using the keyword any.

Show 4 more labels / short text on this page
z Typical networking · z Configuration notes · z Troubleshooting flowchart · z Troubleshooting procedure
Page 54 of the Panasonic 8000 user manual — 2.2 Troubleshooting manual IPSec SA setup
Page 54 · click to enlarge
Page 54

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Configure the source and destination port specified in ACL rules

Optional.

Configure the other items in ACL rules

Not required.

Configure only one rule.

Configure the number of ACL rules

Configuring the IPSec proposal

Configure the name of the IPSec proposal

The name is a string of 1 to 15 characters.

Configure the encapsulation mode

Transport mode or tunnel mode.

Configure the security protocol

AH, ESP, or AH-ESP.

MD5 or SHA-1.

Configure the authentication algorithm

Configure the encryption algorithm

DES or 3DES.

Configuring the IPSec policy

Configure the name of the IPSec policy

The name is a string of 1 to 15 characters.

Policies with the same name are in a policy group. The name and sequence number define one policy; each policy group has a maximum of 10000 policies.

Configure the sequence number of the IPSec policy

The sequence number ranges from 1 to 10000. The lower the value, the higher the priority.

Configure the negotiation mode

Set up SAs manually.

Configure the ACL Each security policy can use only one ACL rule. If there are several ACL rules, the last configured ACL takes effect.

Configure the IPSec protocol used

In IPSec SA manual setup, each policy can use only one proposal.

Remove the previously configured proposal before you establish a new one.

The security protocol, the algorithm, and the encapsulation type must be the same on the two ends of the tunnel.

Configure the IP address of the peer

The IP address for the peer.

Item Sub-item Description

Page 55 of the Panasonic 8000 user manual — 2.2 Troubleshooting manual IPSec SA setup
Page 55 · click to enlarge
Page 55

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Configure the SPIs of SAs

Configure SAs on inbound and outbound directions.

z SA parameters on both ends should

match.

z The SPI on the local inbound direction

should be the same as that on the outbound direction of the peer.

z The SPI on the local outbound direction

should be the same as that on the inbound direction of the peer.

Configure the authentication shared keys for SAs

Configure the authentication shared keys both on inbound and outbound directions. Note the following:

z SA parameters on the two ends should

match.

z The authentication shared key on the local

inbound should be the same as that on the outbound of the peer.

z The authentication shared key on the local

outbound direction should be the same as that on the inbound direction of the peer.

The shared key has two formats:

Use the sa string-key command to enter a character string or use the sa authentication-hex command to enter hexadecimal numerals.

If both formats are used, the format used last takes effect.

Configure the encryption shared keys for SAs

If the ESP protocol is used, configure the encryption shared key.

Item Sub-item Description · z hexadecimal numerals · z character string

Page 56 of the Panasonic 8000 user manual — Configuring an IPSec proposal
Page 56 · click to enlarge
Page 56

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Configuring the IPSec policy group application

Configure the interface type and ID

The Secure Router 8000 Series implements IPSec not only on physical interfaces, such as the serial interface and the Ethernet interface, but also on virtual interfaces, such as the tunnel interface and the virtual template interface. That is, IPSec is also applicable on the GRE or L2TP tunnel.

Configure the name of the IPSec policy group

Applying an IPSec group means using all IPSec policies so that different data flow can be protected by different IPSec policies.

Sent packets search IPSec policies and select the one with the lowest sequence number. If the packets match an ACL rule, the policy using this ACL is applied. If they do not match an ACL rule, they continue to search the following policies. Finally, if no matching ACL rules are configured, packets are sent directly without security protection.

Router A serves as an example for the configuration notes for setting up SAs manually. Router B and Router A are mutually mirroring.

The following sections cover part of the commands for configuring IPSec SA. For more information, see Nortel Secure Router 8000 Series Configuration Guide - Security (NN46240-600).

Configuring an ACL

# Configure an ACL, permitting the data flow from 10.1.1.x to 10.1.2.x.

[RouterA] acl number 3101

[RouterA-acl-adv-3101] rule permit ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0

0.0.0.255

Configuring an IPSec proposal

# Configure the name of the IPSec proposal to tran 1, the encapsulation mode to tunnel mode, the protocol to ESP, the authentication algorithm to SHA-1, and the encryption algorithm to DES.

[RouterA-ipsec-proposal-tran1] esp authentication-algorithm sha1

[RouterA-ipsec-proposal-tran1] esp encryption-algorithm des

Item Sub-item Description · [RouterA-ipsec-proposal-tran1] encapsulation-mode tunnel · [RouterA-ipsec-proposal-tran1] transform esp

Page 57 of the Panasonic 8000 user manual — Applying the IPSec policy
Page 57 · click to enlarge
Page 57

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Configuring an IPSec policy

# Configure the name of the IPSec policy to map1. In this policy, set the sequence number to 10 and the negotiation mode to manual; use the ACL and the IPSec proposal; and configure an IP address, SPI, and the shared key for the remote tunnel end.

[RouterA] ipsec policy map1 10 manual

[RouterA-ipsec-policy-manual-map1-10] security acl 3101

[RouterA-ipsec-policy-manual-map1-10] tunnel remote 202.38.162.1

[RouterA-ipsec-policy-manual-map1-10] sa spi outbound esp 12345

[RouterA-ipsec-policy-manual-map1-10] sa spi inbound esp 54321

[RouterA-ipsec-policy-manual-map1-10] sa string-key outbound esp abcdefg

[RouterA-ipsec-policy-manual-map1-10] sa string-key inbound esp gfedcba

Applying the IPSec policy

# Apply the IPSec policy map1 on the serial interface.

[RouterA] interface Pos 5/1/0

[RouterA-Pos5/1/0] ipsec policy map1

[RouterA-ipsec-policy-manual-map1-10] proposal tran1

Page 58 of the Panasonic 8000 user manual — 2.2.3 Troubleshooting flowchart
Page 58 · click to enlarge
Page 58

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

2.2.3 Troubleshooting flowchart

Figure 2-4 Troubleshooting flowchart of IPSec SA manual setup

Check the route and the physical

Can two ends of the tunnel with no IPSec policy ping

through each other ?

Are adopted ACLs on two ends

Are adopted IPSec proposals on two

Modify the adopted IPSec

The start and the end points defined on two ends

Are the manually configured SPIs on two ends

Are manually configured authentication and encryptionshared keys

Modify the authentication and encryption

Show 53 more labels / short text on this page
IPSec tunnel · fails · No · Yes · The fault disappears? · link between · them · No · Yes · No · Yes · Modify ACLs · The fault disappears? · mutual-mirroring? · Yes · No · No · Yes · The fault disappears? · ends consistent? · proposals · No · Yes · No · Modify the start · The fault disappears? · Yes · and the end · are the same · points · Yes · No · No · The fault disappears? · Yes · Modify SPIs · inretroactive agreement? · No · Yes · No · Yes · The fault disappears? · in retroactive · shared keys · agreement? · No · Yes · Seek technical · No · The fault disappears? · support · Yes · End
Page 59 of the Panasonic 8000 user manual — 2.2.4 Troubleshooting procedure
Page 59 · click to enlarge
Page 59

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

2.2.4 Troubleshooting procedure

Step 1 Check whether two ends of the tunnel are reachable with no IPSec policy applied.

Use the undo ipsec policy command on interfaces at the IPSec tunnel ends.

On PC A, ping PC B.

A failed ping indicates a faulty route or link between PC A and PC B. For information about removing the fault, see Nortel Secure Router 8000 Series Troubleshooting - IP Routing (NN46240-706).

If the ping succeeds, the fault may be related to IPSec. Continue with the following steps.

Step 2 Check that ACLs used in IPSec policies at two ends are mutually mirroring.

Use the display acl 3101 command on Router A and Router B to check that the source and destination addresses defined in the ACL rules are mutually mirroring.

# View the ACL on Router A.

display acl 3101

Advanced ACL 3101, 1 rule

Acl's step is 5

rule 5 permit ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0 0.0.0.255 (0 ti

# View the ACL on Router B.

display acl 3101

Advanced ACL 3101, 1 rule

Acl's step is 5

rule 5 permit ip source 10.1.2.0 0.0.0.255 destination 10.1.1.0 0.0.0.255 (0 ti

If the source and destination addresses are not mutually mirroring, modify the ACL rules. If they are mutually mirroring, continue with the following steps.

Step 3 Check that IPSec proposals applied on the tunnel ends are consistent.

Use the display ipsec proposal name command on Router A and Router B to view whether the configured IPSec proposals are consistent.

display ipsec proposal name tran1

IPsec proposal nametran1
encapsulation modetunnel
transformesp-new
ESP protocolauthentication sha1-hmac-96, encryption des

If the IPSec proposals are different, modify them. Otherwise, continue with the following steps.

Step 4 Check that IPSec policies are configured correctly.

Check whether IPSec policies are configured correctly and whether they are applied to the specified interfaces.

Use the display ipsec policy name command to view the specified IPSec policy.

display ipsec policy name map1

mes matched) · mes matched) · ===========================================

Page 60 of the Panasonic 8000 user manual — 2.2.4 Troubleshooting procedure
Page 60 · click to enlarge
Page 60

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

IPsec Policy Group"map1"
Using local-address{}
Using interface{Ethernet0/2/0}
IPsec policy name"map1"
sequence number10
modemanual
security data flow3101
tunnel local address202.38.163.1
tunnel remote address202.38.162.1

proposal name:tran1

inbound AH setting:

AH spi:

AH string-key:

AH authentication hex key:

inbound ESP setting:

ESP spi54321 (0xd431)
ESP string-keygfedcba

ESP encryption hex key:

ESP authentication hex key:

outbound AH setting:

AH spi:

AH string-key:

AH authentication hex key:

outbound ESP setting:

ESP spi12345 (0x3039)
ESP string-keyabcdefg

ESP encryption hex key:

ESP authentication hex key:

The preceding display indicates that the IPSec policy is applied to the interfaces. If it is not, the following two items are null.

Using interface{ }
tunnel local address0.0.0.0

z The IPSec tunnel is bidirectional. For one data flow, you must configure SAs on the inbound direction and the outbound direction. Therefore, SPIs, authentication shared keys, and encryption shared keys on the outbound of Router A should be the same as those on the inbound of Router B, while SPIs, authentication shared keys, and encryption shared keys on the inbound of Router A should be the same as those on the outbound of Router B.

z The local and remote addresses of the two tunnel ends on Router A and Router B should be in retroactive agreement. That is, the tunnel local address of Router A is in agreement with the tunnel remote address on Router B, and the tunnel remote address on Router A is in agreement with tunnel local address on Router B.

If the configuration on the two ends is consistent, continue with the following steps.

Step 5 Check whether SAs are generated.

SAs are generated when some matched data passes the interface after IPSec policies are applied. Use the display ipsec sa policy command to view the SA setup.

=========================================== · ·

Page 61 of the Panasonic 8000 user manual — 2.3.1 Typical networking
Page 61 · click to enlarge
Page 61

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

display ipsec sa policy map1

InterfaceEthernet0/2/0
path MTU1500
IPsec policy name"map1"
sequence number10
modemanual
encapsulation modetunnel
tunnel local202.38.163.1 tunnel remote: 202.38.162.1
spi54321 (0xd431)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1

No duration limit for this sa

spi12345 (0x3039)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1

No duration limit for this sa

Use the display ipsec sa brief command to view brief information about IPSec SAs.

display ipsec sa brief

Src Address Dst Address SPI VPN Protocol Algorithm

202.38.162.1 202.38.163.1 54321 0 ESP E:DES; A:HMAC-SHA1-96;

202.38.163.1 202.38.162.1 12345 0 ESP E:DES; A:HMAC-SHA1-96;

Compare the SA setup on Router A and Router B. If the SAs are not in retroactive agreement, modify the incorrect SA configuration.

If the fault persists, contact Nortel technical support.

2.3 Troubleshooting ISAKMP SA

This section covers the following topics:

2.3.1 Typical networking

Figure 2-5 shows the IPSec SA setup in ISAKMP mode.

Show 12 more labels / short text on this page
=============================== · =============================== · ----------------------------- · ----------------------------- · [inbound ESP SAs] · [outbound ESP SAs] · ------------------------------------------------------------------- · ----End · z Typical networking · z Configuration notes · z Troubleshooting flowchart · z Troubleshooting procedure
Page 62 of the Panasonic 8000 user manual — 2.3.2 Configuration notes
Page 62 · click to enlarge
Page 62

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Figure 2-5 Networking diagram of setting up ISAKMP IPSec

Panasonic 8000 — 2.3.2 Configuration notes diagram (page 62)
Fig. 11 · 2.3.2 Configuration notes

10.1.1. 1

The networking environment is as follows:

z Set up IPSec SA in IKE negotiation mode.

z Create a security tunnel between Router A and Router B.

z Provide security protection to the data flow between the two network segments 10.1.1.x and 10.1.2.x.

z Specify the security protocol, the encryption algorithm, and the authentication algorithm.

2.3.2 Configuration notes

Panasonic 8000 — 2.3.2 Configuration notes diagram (page 62)
Fig. 12 · 2.3.2 Configuration notes

Use the advanced ACL, ranging from 3000 to 3999.

Configure the source and destination addresses specified in ACL rules

Specify the source and destination IP address of the data flow to protect. Nortel recommends that you avoid using the keyword any.

Configure the source and destination ports specified in ACL rules

The name of an IPSec proposal has 1 to 15 characters.

Page 63 of the Panasonic 8000 user manual — 2.3.2 Configuration notes
Page 63 · click to enlarge
Page 63

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

DES or 3DES.

Configure the encryption algorithm

Configure the local ID for IKE

In the aggressive negotiation mode, if name is used as the local authentication type, configure the local ID.

In the main mode, the local ID is not necessary.

Configure the priority of the IKE proposal

This is an integer from 1 to 100, indicating the priority of a specified IKE proposal.

The lower the value, the higher the priority.

Configure the authentication mode

Specify pre-shared key as the IKE proposal authentication mode. You need to configure the authenticator for pre-shared key.

By default, the authentication mode is pre-shared key.

Configure the authentication algorithm

MD5 or SHA-1.

By default, the authentication algorithm is SHA-1.

Configure the encryption algorithm

DES or 3DES.

By default, the encryption algorithm is DES.

Configure the Diffie-Hellman group flag

The Diffie-Hellman group flag can be group1 (768 bits) or group2 (1024 bits).

By default, use group1 (768 bits) as the Diffie-Hellman group.

Configure the ISAKMP SA duration

Specify the ISAKMP SA duration, ranging from 60 to 604800 seconds. The default is 86400 seconds per day.

Before the duration expires, a new SA negotiation is set up to replace the old SA. Use the old SA until the new SA negotiation is complete. When the new SA is set up, the old one is removed.

In IKE negotiation, the DH algorithm is required. To ensure secure communication in ISAKMP SA updates, configure the duration to more than 10 minutes.

The name is a string of 1 to 15 characters. Configuring the IKE peer

Configure the name of the IKE peer

Configure the IKE negotiation mode

Main mode or aggressive mode.

By default, main mode is used.

Item Sub-item Description

Page 64 of the Panasonic 8000 user manual — 2.3.2 Configuration notes
Page 64 · click to enlarge
Page 64

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Configure the IKE proposal ID

In main mode, use the configured IKE proposal.

In aggressive mode, use the default IKE proposal.

Configure the local ID type

Specify the IKE ID. This can be an IP address or the name of the IKE peer.

In main mode, only the IP address can be the local ID. By default, the IP address is the IKE ID.

Currently, only the pre-shared key authentication type is applicable.

You need to configure shared keys on the peer. The shared keys at two ends must be the same.

Configure the IP addresses or address segments of the peer

Configure the IP addresses or address segments for the IKE peer. If high-ip-address is not specified, configure only one IP address for the IKE peer.

Here, the peer should be configured as an IP address, but not an IP address segment

Configure the peer name

The name is a string of 1 to 15 characters.

If “name” is used as the local authentication mode, specify the peer name.

Enable NAT By default, NAT is disabled.

Before configuring the IKE peer, disable NAT

Configure the name of the IPSec policy

The name is a string of 1 to 15 characters.

Policies with the same name are in a policy group. The name and sequence number define one policy; each policy group has a maximum of 100 policies.

Configure the sequence number of the IPSec policy

The sequence number ranges from 1 to 10000. The lower the value, the higher the priority.

Configure the negotiation mode

Set up SAs in ISAKMP mode.

Configure the ACL Each IPSec policy can use only one ACL.

Configure the IPSec protocol

The security protocol, algorithm, and encapsulation type must be the same on the two ends of the tunnel.

Configure the IKE peer The IPSec policy uses the IKE peer.

Item Sub-item Description · Configure the authenticator · Configuring IPSec policies

Page 65 of the Panasonic 8000 user manual — Configuring the IKE peer
Page 65 · click to enlarge
Page 65

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Configure PFS PFS is enabled in IPSec negotiation.

By default, PFS is disabled.

Perform a PFS exchange in the IPSec negotiation. If you are specifying PFS on the local end, you need to enable PFS exchange when the peer initiates the negotiation; that is, in Phase 2, add an additional shared key exchange to ensure high security. The Diffie-Hellman group specified on the two ends must be the same or the negotiation fails.

Configuring the IPSec policy group application

Configure the interface type and ID

Indicates the interface on which the IPSec policy is applied..

For configuration notes, see the notes for “Troubleshooting manual IPSec SA setup .”

Configure the name of IPSec policy group

Apply only one IPSec policy group on one interface.

For configuration notes, see the notes for “Troubleshooting manual IPSec SA setup .”

Router A serves as an example of the configuration notes for setting up ISAKMP SAs. The configurations on Router B are the same as the configurations on Router A.

The following sections cover part of the commands for configuring ISAKMP SA. For more information, see Nortel Secure Router 8000 Series Configuration Guide - Security (NN46240-600).

Configuring the local ID for IKE

# Configure the host local ID in aggressive IKE negotiation mode.

[RouterA] ike local-name routera

Configuring an IKE proposal

Use the default IKE proposal between the IKE peers.

Configuring the IKE peer

# Configure the name of the IKE peer to routerb, use aggressive negotiation mode, use “name” as the ID authentication type, preset the shared key to nortel, and set the remote IP address to 202.38.162.1. Note that shared keys configured on the peers must be consistent.

[RouterA] ike peer routerb

Show 6 more labels / short text on this page
Item Sub-item Description · <RouterA> system-view · [RouterA-ike-peer-routerb] exchange-mode aggressive · [RouterA-ike-peer-routerb] local-id-type name · [RouterA-ike-peer-routerb] pre-shared-key nortel · [RouterA-ike-peer-routerb] remote-name routerb
Page 66 of the Panasonic 8000 user manual — 2.3.3 Troubleshooting flowchart
Page 66 · click to enlarge
Page 66

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

[RouterA-ike-peer-routerb] remote-address 202.38.162.1

1. Configure an ACL.

# Configure an ACL, specifying the data flow from 10.1.1.x to 10.1.2.x.

[RouterA] acl number 3101

[RouterA-acl-adv-3101] rule permit ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0

0.0.0.255

2. Configure an IPSec proposal.

# Specify the name of the IPSec proposal as tran1. In this proposal, set the protocol encapsulation mode to tunnel mode, the security protocol to ESP, the authentication algorithm to SHA1, and the encryption algorithm to DES.

[RouterA] ipsec proposal tran1

[RouterA-ipsec-proposal-tran1] esp authentication-algorithm sha1

[RouterA-ipsec-proposal-tran1] esp encryption-algorithm des

3. Configure an IPSec policy.

# Specify an IPSec policy named map1. The sequence number is 10 and the negotiation mode is ISAKMP. In this policy, use the configured ACL and the security proposal and specify the IKE peer.

[RouterA] ipsec policy map1 10 isakmp

[RouterA-ipsec-policy-isakmp-map1-10] security acl 3101

4. Apply the IPSec policy group.

# Apply the IPSec policy map1 on the serial interface.

[RouterA] interface Pos 1/0/1

[RouterA-Pos1/0/1] ipsec policy map1

2.3.3 Troubleshooting flowchart

Figure 2-6 and Figure 2-7 show the troubleshooting flows both in Phase 1 and in Phase 2.

Show 4 more labels / short text on this page
[RouterA-ipsec-proposal-tran1] encapsulation-mode tunnel · [RouterA-ipsec-proposal-tran1] transform esp · [RouterA-ipsec-policy-isakmp-map1-10] proposal tran1 · [RouterA-ipsec-policy-isakmp-map1-10] ike-peer routerb
Page 67 of the Panasonic 8000 user manual — ID
Page 67 · click to enlarge
Page 67

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Figure 2-6 Troubleshooting flowchart of SA setup in Phase 1

Fail to set up SAs in

Are IKE proposals on two

configurations.

The two ends have the

Correct peer addresses specified on each

Modify the IKE peers

Is the negotiation mode

Configure name to be local

ID

ID?

Show 49 more labels / short text on this page
Phase 1 · Yes · No · Modify IKE proposal · The fault disappears? · End · ends the · same? · No · Yes · Yes · No · Modify the shared · The fault disappears? · End · same shared · keys · key · No · Yes · No · Yes · The fault disappears? · End · end? · No · Yes · No · Seek technical · in aggressive · support · mode? · Yes · No · Seek technical · authentication · support · Yes · No · Yes · correct IKE local · Modify local ID · The fault disappears? · configuration · End · Yes · No · Seek technical · support
Page 68 of the Panasonic 8000 user manual — 2.3.4 Troubleshooting procedure
Page 68 · click to enlarge
Page 68

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Figure 2-7 Troubleshooting flowchart of SA setup in Phase 2

Fail to set up SAs in

Remove faults based on the Phase 1 SA troubleshooting flow

Succeed to set up SAs in

The fault disappears? End

The fault disappears? End

Are adopted ACLs on two ends

Modify ACLs The fault disappears? End

2.3.4 Troubleshooting procedure

Step 1 Check whether two ends of the tunnel are reachable with no IPSec policy applied.

Use the undo ipsec policy command on two ends of the IPSec tunnel.

On PC A, ping PC B.

A failed ping indicates a faulty route or link between PC A and PC B. For information about removing the fault, see Nortel Secure Router 8000 Series Troubleshooting - IP Routing (NN46240-706).

If the ping succeeds, continue with the following steps.

Step 2 Check whether the SA is set up in Phase 1.

Show 26 more labels / short text on this page
Phase 2 · Yes · No · Phase 1 · No · Yes · Are proposals · Modify IKE · Yes · No · on two ends · proposal configurations · consistent? · No · Yes · Yes · No · mutual-mirroring? · Yes · No · No · The fault disappears? · Seek technical · support · Yes · End
Page 69 of the Panasonic 8000 user manual — 15 202.38.162.1 RD|ST 0 2 IPSEC
Page 69 · click to enlarge
Page 69

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Use the display ike sa command to view SAs in Phase 1.

display ike sa

connection-id peer VPN flag phase doi

14 202.38.162.1 RD|ST 1 IPSEC

The display indicates that in Phase 1, the SA on the peer 202.38.162.1 has been set up. If no SA is displayed or the flag is not RD, it indicates that SA setup in Phase 1 fails.

You then need to check the IKE proposals and the IKE peer on the two ends.

1. Check the IKE proposals configured on the tunnel ends.

Users can apply the default IKE proposal or specify flexible proposals. Use the display ike proposal command to check whether configurations on both ends are the same.

display ike proposal

priority authentication authentication encryption Diffie-Hellman duration

method algorithm algorithm group (seconds)

default PRE_SHARED SHA DES_CBC MODP_768 86400

2. Check the IKE peer on the tunnel ends.

Use the display ike peer name command to view the IKE peer.

display ike peer name routerb

IKE Peerrouterb
exchange modeaggressive on phase 1
pre-shared-keynortel

proposal:

local id typename
peer ip address202.38.162.1
peer namerouterb
nat traversaldisable

If the SA is set up successfully in Phase 1, continue with the following steps.

Step 3 Check whether the SA is set up in Phase 2

Use the display ike sa command to view SAs in Phase 2.

display ike sa

connection-id peer flag VPN phase doi

15 202.38.162.1 RD|ST 0 2 IPSEC

14 202.38.162.1 RD|ST 0 1 IPSEC

The preceding display indicates that in Phase 1 and Phase 2, SAs on the peer 202.38.162.1 have both been set up. If no SA is displayed or the flag is not RD, it indicates that SA setup in Phase 2 fails.

After IKE SA setup in Phase 2 is complete, an IPSec SA is generated based on the Phase 2 IKE SA and then delivered to IPSec.

An IPSec SA has an inbound and an outbound. You can use the display ipsec sa policy command to view IPSec SAs specified with IPSec policies.

Show 5 more labels / short text on this page
---------------------------------------------------------- · ------------------------------------------------------------------------- · --------------------------- · --------------------------- · ----------------------------------------------------------
Page 70 of the Panasonic 8000 user manual — 202.38.162.1 202.38.163.1 1918468181 ESP E:DES; A:HMAC-SHA1-96;
Page 70 · click to enlarge
Page 70

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

display ipsec sa policy map1

InterfaceEthernet4/2/0
path MTU1500
IPsec policy name"map1"
sequence number10
modeisakmp
connection id37
encapsulation modetransport
tunnel local202.38.163.1 tunnel remote: 202.38.162.1
spi2940433602 (0xaf4374c2)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1
sa remaining key duration (bytes/sec)1887436496/708
max received sequence-number4

udp encapsulation used for nat traversal: N

spi3424984209 (0xcc251c91)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1
sa remaining key duration (bytes/sec)1887436448/708
max sent sequence-number5

udp encapsulation used for nat traversal: N

You can also use the display ipsec sa brief command to display brief information about IPSec SAs.

display ipsec sa brief

Src Address Dst Address SPI Protocol Algorithm

202.38.162.1 202.38.163.1 1918468181 ESP E:DES; A:HMAC-SHA1-96;

202.38.163.1 202.38.162.1 1156810487 ESP E:DES; A:HMAC-SHA1-96;

If SA setup in Phase 2 fails, the reasons are as follows:

z IPSec proposals or IPSec policies configured on the peer are mismatched.

z ACLs at two ends are not mutually mirroring.

You can use the display ipsec proposal name command and the display ipsec policy name command on two ends to view IPSec proposals and policies and check whether ALCs are mutually mirroring.

For more information, see “Troubleshooting manual IPSec SA setup .”

If the SA is set up successfully in Phase 2, continue with the following steps.

Step 4 Check whether IPSec can encapsulate or decapsulate packets based on the SA.

Use the debugging ipsec packet command to view IPSec packet encapsulation and decapsulation. You can also use the display ipsec statistics command to view IPSec statistics.

display ipsec statistics

the security packet statistics:

input/output security packets56/56
input/output security bytes4816/5600
input/output dropped security packets0/2
Show 7 more labels / short text on this page
=============================== · =============================== · ----------------------------- · ----------------------------- · [inbound ESP SAs] · [outbound ESP SAs] · --------------------------------------------------------------
Page 71 of the Panasonic 8000 user manual — 2.4.1 Typical networking
Page 71 · click to enlarge
Page 71

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

dropped security packet detail:

no enough memory0
can't find SA2
queue is full0
authentication is failed0
wrong length0
replay packet0
too long packet0
wrong SA0

with secp,process packets failure statistics:

m2cqueue full0 m2csend: 0 m2ctimer: 0
c2mid0 c2msequence: 0 secpprocess: 0

Yon can view the sent and received IPSec packets. Routers can classify lost packets based on packet loss causes.

If the fault persists, contact Nortel technical support.

2.4 Troubleshooting SA setup using an IPSec policy template

This section covers the following topics:

2.4.1 Typical networking

Some uncertain factors exist in the network, such as the IP addresses of mobile users. IP addresses assigned to mobile users differ each time they dial in. In this way, the IP addresses of IPSec tunnel ends and the protected data flow are not specified and problems occur with IPSec deployment. In this case, configure an IPSec policy template on the receiver.

Figure 2-8 shows the networking diagram for setting up SAs using an IPSec policy template. Based on this diagram, you can also remove faults occurring in SA setup.

Show 5 more labels / short text on this page
----End · z Typical networking · z Configuration notes · z Troubleshooting flowchart · z Troubleshooting procedure
Page 72 of the Panasonic 8000 user manual — 2.4.2 Configuration notes
Page 72 · click to enlarge
Page 72

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Figure 2-8 Networking diagram of setting up SA using an IPSec policy template

Panasonic 8000 — 2.4.2 Configuration notes diagram (page 72)
Fig. 13 · 2.4.2 Configuration notes

10.1.1.2 PC A

The networking environment is as follows:

z Set up an IPSec tunnel between Router A and PC C. The IP address of PC C is uncertain.

z Set up an SA using an IPSec policy template on Router A.

z Provide security protection to the data flow between PC A (at 10.1.1.x) and PC C.

z Specify the security protocol, the encryption algorithm, and the authentication algorithm.

2.4.2 Configuration notes

Panasonic 8000 — 2.4.2 Configuration notes diagram (page 72)
Fig. 14 · 2.4.2 Configuration notes

The name is a string of 1 to 15 characters.

This is an integer from 1 to 100, indicating the priority of a specified IKE proposal.

Page 73 of the Panasonic 8000 user manual — 2.4.2 Configuration notes
Page 73 · click to enlarge
Page 73

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Configure the authentication mode

Specify pre-shared key for the IKE proposal authentication mode. You need to configure the authenticator for pre-shared key.

By default, the authentication mode is pre-shared key.

Configure the authentication algorithm

MD5 or SHA-1.

By default, the authentication algorithm is SHA-1.

Configure the encryption algorithm

DES or 3DES.

By default, the encryption algorithm is DES.

Configure the Diffie-Hellman group flag

The Diffie-Hellman group flag can be group1 (768 bits) or group2 (1024 bits).

By default, use group1 (768 bits) as the Diffie-Hellman group.

Configure the ISAKMP SA duration

Specify an ISAKMP SA duration.

For configuration notes, see the notes for “Troubleshooting ISAKMP SA.”

Configuring the IKE peer

Configure the name of the IKE peer

The name is a string of 1 to 15 characters.

Configure the IKE negotiation mode

Main mode or aggressive mode. By default, main mode is used.

Configure the IKE proposal number

In main mode, use the configured IKE proposals.

In aggressive mode, use the default IKE proposals.

Configure the local ID type

Specify an IKE ID. This can be the IP address or the name of the IKE peer. In main mode, the IP address is configured as the local ID.

By default, the IP address is used.

Currently, only the pre-shared key authentication type is applicable.

You must configure shared keys on all peers. The shared key of two ends in the same SA must be the same.

Configure the IP addresses or address segments of peers

Configure the IP addresses or address segments for an IKE peer.

Nortel recommends that you configure an IP address range for the remote end rather than specify the IP address.

Item Sub-item Description · Configure the authenticator

Page 74 of the Panasonic 8000 user manual — 2.4.2 Configuration notes
Page 74 · click to enlarge
Page 74

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Configure the peer name

The name is a string of 1 to 15 characters.

If the local authentication mode is name, you need to specify the peer name.

Enable NAT By default, NAT is disabled.

Configuring the IPSec policy template

Configure the name of the IPSec policy template

The name is a string of 1 to 15 characters.

Policies with the same name are in a policy group. The name and sequence number define one policy; each policy group has a maximum of 100 policies.

Parameters of the IPSec policy template must be the same as those of IPSec ISAKMP.

In IKE negotiation, if the IPSec policy template is used, all configured parameters on the two ends must match. If no parameters are configured for an IPSec policy template, the parameters of the IPSec policy are the same as those of the initiator.

Configure the sequence number of the IPSec policy template

The sequence number of the IPSec policy template ranges from 1 to 10000.

The lower the sequence number, the higher the priority.

Configure the negotiation mode

This is null because you can only use ISAKMP mode.

Configure the ACL This can be unspecified.

Configure the IPSec protocol

The security protocol, algorithm, and encapsulation type must be the same on two ends of the tunnel.

Configure the IKE peer

Configure the IKE peer to the policy.

Configure PFS For configuration precautions, see the configuration notes for “Troubleshooting ISAKMP SA.”

Configuring the IPSec policies and using the IPSec policy template

Configure the name of the IPSec policy

The name is a string of 1 to 15 characters.

Policies with the same name are in a policy group. The name and sequence number define one policy; each policy group has a maximum of 100 policies.

Item Sub-item Description

Page 75 of the Panasonic 8000 user manual — Configuring an IKE peer
Page 75 · click to enlarge
Page 75

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Configure the sequence number of the IPSec policy

The sequence number ranges from 1 to 10000. The lower the value, the higher the priority.

Configure the negotiation mode

Set up SAs in ISAKMP mode.

Use the IPSec policy template

Use the previously configured IPSec policy template. The SA set up by a referential policy template can be the responder, but not the negotiation initiator.

Applying the IPSec policy group

Configure the interface type and ID

Enable the IPSec policy group on the specified group.

For configuration notes, see the notes for “Troubleshooting manual IPSec SA setup .”

Configure the name of the IPSec policy group

Apply one IPSec policy group on one interface.

For configuration notes, see the notes for “Troubleshooting manual IPSec SA setup .”

The peer PC C with an uncertain IP address must have IPSec capability and must have related software installed. If the peer is a router, ISAKMP SA should be configured. For details, see the configuration notes for “Troubleshooting ISAKMP SA.”

The following sections cover part of the commands for setting up SA using the IPSec policy template. For more information, see Nortel Secure Router 8000 Series Configuration Guide - Security (NN46240-600).

Configuring an IKE proposal

Use the default IKE proposal.

Configuring an IKE peer

# Configure the name of the IKE peer to routerb, the negotiation mode to main mode, and the shared key to nortel. Note that shared keys on two ends must be consistent.

[RouterA] ike peer routerb

The peer can be without ACL rules. The data to protect is specified in ACL rules on the negotiation initiator.

Show 4 more labels / short text on this page
Item Sub-item Description · <RouterA> system-view · [RouterA-ike-peer-routerb] exchange-mode main · [RouterA-ike-peer-routerb] pre-shared-key nortel
Page 76 of the Panasonic 8000 user manual — Applying an IPSec policy group
Page 76 · click to enlarge
Page 76

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Configuring an IPSec proposal

# Configure the name of the IPSec proposal to tran1 and the encapsulation type to transport mode to save bandwidth. Configure the proposal to use the security protocol ESP, the algorithm SHA-1, and the encryption algorithm DES.

[RouterA] ipsec proposal tran1

[RouterA-ipsec-proposal-tran1] esp authentication-algorithm sha1

[RouterA-ipsec-proposal-tran1] esp encryption-algorithm des

Configuring an IPSec policy template

# Configure the name of the IPSec policy template to maptemp and the sequence number to 10. The ACL is not required. Apply the configured IPSec proposal to the policy and specify the IKE peer.

[RouterA] ipsec policy-template maptemp 10

Configuring an IPSec policy

# Configure the name of IPSec policy to map1, the sequence number to 100, and the negotiation mode to ISAKMP, and use the IPSec policy template maptemp.

[RouterA] ipsec policy map1 100 isakmp template maptemp

Applying an IPSec policy group

# Apply the IPSec policy map1 on the GE interface.

[RouterA] interface GigabitEthernet 1/0/1

[RouterA-GigabitEthernet1/0/1] ipsec policy map1

Show 4 more labels / short text on this page
[RouterA-ipsec-proposal-tran1] encapsulation-mode transport · [RouterA-ipsec-proposal-tran1] transform esp · [RouterA-ipsec-policy-templet-maptemp-10] proposal tran1 · [RouterA-ipsec-policy-templet-maptemp-10] ike-peer C
Page 77 of the Panasonic 8000 user manual — 置
Page 77 · click to enlarge
Page 77

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

2.4.3 Troubleshooting flowchart

Figure 2-9 Troubleshooting flowchart of setting up IPSec SA using an IPSec policy template

No Can two ends of the tunnel with no IPSec

Check the route and the physical

检查之间的

路 GRE 相关配

policy applied ping through

置

Does the configured parameters in the policy module

Configure the peer to initiate

Does the end adopting IPSec policy

Is the ACL referred by the peer IPSec

Is the policy adopting the IPSec policy

Modify the policy's priority.

module of a lowest priority?

support The fault disappears?

Show 38 more labels / short text on this page
IPSec tunnel fails · The fault disappears? · Yes · link · each other ? · No · Yes · No · Yes · Ignore or modify · The fault disappears? · configured parameters · match with those · on the peer? · No · Yes · Yes · No · The fault disappears? · the SA negotiation · module initiate the · negotiation? · No · Yes · Yes · No · The fault disappears? · Modify the ACL · policy of single · rule? · No · Yes · No · Yes · No · Seek technical · Yes · End
Page 78 of the Panasonic 8000 user manual — 2.4.4 Troubleshooting procedure
Page 78 · click to enlarge
Page 78

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

2.4.4 Troubleshooting procedure

Step 1 Check whether two ends of the tunnel are reachable with no IPSec policy applied.

Use the undo ipsec policy command on the IPSec tunnel ends.

Close the IPSec client on PC C. Ping PC A from PC C.

A failed ping indicates a faulty route or link between PC A and PC C. For information about removing the fault, see Nortel Secure Router 8000 Series Troubleshooting - IP Routing (NN46240-706).

If the ping succeeds, the fault may be related to IPSec. Continue with the following steps.

Step 2 Check that IPSec tunnel setup is not triggered by the communication party applying the IPSec

policy template.

Ping PC A from PC C.

The IP address of PC C is uncertain, so on Router A, the IPSec template specifies no policy rules. Router A should operate as the negotiation responsor.

Step 3 Check that SAs are set up in Phase 1 and Phase 2.

Refer to the troubleshooting procedure in “Troubleshooting ISAKMP SA.”

After SA setup succeeds in Phase 1 and Phase 2, continue with the following steps.

Step 4 Check IPSec policies:

z Check whether the ACL used by the IPSec policy on the negotiation responder contains a single rule.

If the peer is a PC with an uncertain IP address, the PC should have IPSec capability and should have the related software installed. The details vary based on the applied software and are not described here.

If the peer is a router with an uncertain IP address, ensure that the ACL contains a single rule.

z The ACL can be unspecified on the end using the IPSec policy template.

On the end using the IPSec policy template, if the peer has an unspecified IP address, you need not configure the ACL used in the IPSec policy template.

z The IP address can be unspecified on the end using the IPSec policy template.

On the end that uses the IPSec policy template, if the peer has an unspecified IP address, you need not configure the IP address or address segment used in the IPSec policy template.

z Check whether the priority of the policy that uses the IPSec policy template is the lowest.

Within the same IPSec policy group, check whether the priority of the policy is the lowest.

You can use the display ipsec policy name command to view details about IPSec policy groups or the display ipsec policy brief command to view brief information.

display ipsec policy name map1

IPsec Policy Group"map1"
Using local-address{}
Using interface{GigabitEthernet1/0/1}

=========================================== · ===========================================

Page 79 of the Panasonic 8000 user manual — 2.5 Troubleshooting NAT traversal in the IPSec tunnel
Page 79 · click to enlarge
Page 79

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

IPsec policy name"map1"
sequence number10
modeisakmp
security data flow3101
ike-peer namerouterc
perfect forward secrecyNone
proposal nametran2
IPsec sa local duration(time based)3600 seconds
IPsec sa local duration(traffic based)1843200 kilobytes
IPsec policy name"map1"
sequence number100
modetemplate
policy template namemaptemp <RouterA> display ipsec policy brief

IPsec-Policy-Name Mode acl ike-peer Local-Address Remote-Address

map1-10 isakmp 3101 routerc

Based on the preceding display, view the priorities of the policies; that is, check whether the sequence number of the policy that uses the IPSec policy template is the highest.

For information about checking other items, see the troubleshooting procedure for “Troubleshooting ISAKMP SA.”

If IPSec policies are correct, continue with the following steps.

Step 5 Check whether IPSec can encapsulate or decapsulate packets based on SAs.

Use the debugging ipsec packet command to view IPSec packet encapsulation and decapsulation.

You can also use the display ipsec statistics command. For details, see the troubleshooting procedure for “Troubleshooting ISAKMP SA.”

If the fault remains, contact Nortel technical support.

2.5 Troubleshooting NAT traversal in the IPSec tunnel

This section covers the following topics:

Show 11 more labels / short text on this page
----------------------------- · ----------------------------- · ----------------------------- · ----------------------------- · ------------------------------------------------------------------------- · map1-100 template · ----End · z Typical networking · z Configuration notes · z Troubleshooting flowchart · z Troubleshooting procedure
Page 80 of the Panasonic 8000 user manual — 2.5.2 Configuration notes
Page 80 · click to enlarge
Page 80

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

2.5.1 Typical networking

Figure 2-10 shows the networking diagram of NAT traversal in the IPSec tunnel.

Figure 2-10 Networking diagram of IPSec NAT

Panasonic 8000 — 2.5.1 Typical networking diagram (page 80)
Fig. 15 · 2.5.1 Typical networking

10.1.2.1

PC A

PC B

The networking environment is as follows:

z A firewall (Firewall C) exists between Router A and Router B.

z Create a security tunnel between Router A and Router B.

z Set up SAs using an IPSec policy template.

z Provide security protection to the data flow between the subnetwork segments 10.1.1.x and 10.1.2.x.

z Specify the security protocol, the encryption algorithm, and the authentication algorithm.

2.5.2 Configuration notes

The internal NAT network uses the normal ISAKMP SA configurations. The following table lists the notes and constraints.

Panasonic 8000 — 2.5.2 Configuration notes diagram (page 80)
Fig. 16 · 2.5.2 Configuration notes

Use the advanced ACL, ranging from 3000 to 3999.

For configuring the internal NAT network, see “Troubleshooting ISAKMP SA.” You must configure the ACL.

The name is a string of 1 to 15 characters. Configuring the IPSec proposal

Page 81 of the Panasonic 8000 user manual — 2.5.1 Typical networking
Page 81 · click to enlarge
Page 81

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

See the configuration notes for “Troubleshooting ISAKMP SA.”

Configuring the local ID for IKE

Configure the local ID for IKE

You must configure a local ID for IKE because NAT traversal uses aggressive IKE negotiation and the local name is configured as the local authentication type.

Configuring the IPSec proposal

— See the configuration notes for “Troubleshooting ISAKMP SA.”

Configuring the IKE peer

Configure the IKE peer name

The name is a string of 1 to 15 characters.

Configure the IKE negotiation mode

Use aggressive negotiation mode.

Configure the sequence number of IKE proposals

Use the default IKE proposal in aggressive mode.

Configure the local ID type

Specify the local name as the local ID.

Currently, only the pre-shared key authentication type is applicable.

You must configure shared keys on the peer. The shared keys of two ends in the same SA must be the same.

Configure the IP address or address segments of the peer

Configure the IP addresses or address segments for the IKE peer. If high-ip-address is not specified, configure only one IP address for the IKE peer.

Here, the IP address of the peer must be a unique address because the IPSec policy template does not use the IKE peer.

To configure IP addresses or address segments for peers, run the remote-address [ vpn-instance vpn-instance-name ] low-ip-address [ high-ip-address ] command in the IKE proposal view.

Configure the peer name

The name is a string of 1 to 15 characters.

If the local authentication mode is “name,” you must specify the peer name.

Enable NAT Enable NAT.

— See the configuration notes for “Troubleshooting ISAKMP SA.”

Configuring the IPSec policy

Item Sub-item Description · Configure other items · Configure the authenticator

Page 82 of the Panasonic 8000 user manual — 2.5.1 Typical networking
Page 82 · click to enlarge
Page 82

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Panasonic 8000 — 2.5.1 Typical networking diagram (page 82)
Fig. 17 · 2.5.1 Typical networking

— See the configuration notes for “Troubleshooting ISAKMP SA.”

For configuring the external NAT network, see “Troubleshooting SA setup using an IPSec policy template.” The following table lists the notes and constraints.

Panasonic 8000 — 2.5.1 Typical networking diagram (page 82)
Fig. 18 · 2.5.1 Typical networking

— Configure the external NAT network using the template. ACL configuration is not required.

The name is a string of 1 to 15 characters.

You must configure the local ID because NAT traversal uses aggressive IKE negotiation and the local name is configured as the local authentication type.

— See the configuration notes for “Troubleshooting ISAKMP SA.”

The name is a string of 1 to 15 characters.

Currently, only the pre-shared key authentication type is applicable.

You must configure shared keys on the peer. The shared keys of two ends in the same SA must be the same.

Page 83 of the Panasonic 8000 user manual — Router A
Page 83 · click to enlarge
Page 83

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Configure the IP addresses or address segments of the peer

Configure the IP addresses or address segments for an IKE peer. If high-ip-address is not specified, configure only one IP address for an IKE peer.

Here, the IP address of the peer must be a unique address because the IPSec policy template does not use the IKE peer.

To configure IP addresses or address segments for peers, run the remote-address [ vpn-instance vpn-instance-name ] low-ip-address [ high-ip-address ] command in the IKE proposal view.

Configure the peer name

The name is a string of 1 to 15 characters.

If the local authentication mode is “name,” you must specify the peer name.

Enable NAT Enable NAT.

Configuring the IPSec policy template

— See the configuration notes for “Troubleshooting SA setup using an IPSec policy template.”

— See the configuration notes for “Troubleshooting SA setup using an IPSec policy template.”

Configuring the IPSec policies and applying the IPSec policy template

Applying the IPSec policy group

— See the configuration notes for “Troubleshooting SA setup using an IPSec policy template.”

Configure Router A, Firewall C, and Router B.

The commands listed in the following sections cover part of IPSec configuration. For more information, see Nortel Secure Router 8000 Series Configuration Guide - Security (NN46240-600).

Firewall C

Configure routes and an address pool with addresses from 202.38.162.11 to 202.38.162.20 on Firewall C. Enable NAT on the egress Ethernet 0/0/1.

For information about firewall configuration, see the related firewall configuration documentation.

Router A

For detailed configuration information and precautions, see the configuration notes for “Troubleshooting ISAKMP SA.”

1. Configure the IKE local ID.

Item Sub-item Description

Page 84 of the Panasonic 8000 user manual — 2.5.1 Typical networking
Page 84 · click to enlarge
Page 84

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

# Configure the host local ID in aggressive IKE negotiation mode.

[RouterA] ike local-name routera

2. Configure IKE proposals.

By default, use the default IKE proposals.

3. Configure the IKE peer.

# Configure the name of the IKE peer to routerb. Configure aggressive negotiation mode and set “name” as the local ID authentication type. Preset the shared key to nortel. Configure an IP address 202.38.162.1 for the peer and enable NAT on it.

z The shared keys configured on the connected peer must be consistent.

z “Name” is used as the ID authentication type. The remote name must be the same as the local IKE ID configured on the peer through the ike local-name command.

[RouterA] ike peer routerb

[RouterA-ike-peer-routerb] remote-address 202.38.162.1.

4. Configure an ACL.

# Configure an ACL, specifying the data flow from 10.1.1.x to 10.1.2.x..

[RouterA] acl number 3101

[RouterA-acl-adv-3101] rule permit ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0

0.0.0.255

5. Configure an IPSec proposal.

# Configure the name of IPSec proposal to tran1. The proposal uses the tunnel mode, SHA-1 authentication algorithm, and DES encryption algorithm.

[RouterA] ipsec proposal tran1

[RouterA-ipsec-proposal-tran1] esp authentication-algorithm sha1

[RouterA-ipsec-proposal-tran1] esp encryption-algorithm des

6. Configure an IPSec policy.

# Configure the name of IPSec policy to map1, the sequence number to 10, and the negotiation mode to ISAKMP. Apply the configured IPSec proposal tran1 to the policy, and configure the IKE peer to routerb.

[RouterA] ipsec policy map1 10 isakmp

[RouterA-ipsec-policy-isakmp-map1-10] security acl 3101

7. Apply the IPSec policy.

# Apply the IPSec policy map1 on the serial interface.

[RouterA] interface Ethernet 1/2/0

Show 10 more labels / short text on this page
<RouterA > system-view · [RouterA-ike-peer-routerb] exchange-mode aggressive · [RouterA-ike-peer-routerb] local-id-type name · [RouterA-ike-peer-routerb] pre-shared-key nortel · [RouterA-ike-peer-routerb] remote-name routerb · [RouterA-ike-peer-routerb] nat traversal · [RouterA-ipsec-proposal-tran1] encapsulation-mode tunnel · [RouterA-ipsec-proposal-tran1] transform esp · [RouterA-ipsec-policy-isakmp-map1-10] proposal tran1 · [RouterA-ipsec-policy-isakmp-map1-10] ike-peer routerb
Page 85 of the Panasonic 8000 user manual — Router B
Page 85 · click to enlarge
Page 85

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

[RouterA-Ethernet1/2/0] ipsec policy map1

Router B

For information about configuring Router B, see the configuration notes for “Troubleshooting SA setup using an IPSec policy template.”

1. Configure the local ID for IKE.

# Configure the local ID of the host in aggressive IKE negotiation mode.

[RouterB] ike local-name routerb

2. Configure IKE proposals.

If no proposal is configured, the remote IKE ends use the default IKE proposals.

3. Configure the IKE peer.

# Configure the name of the IKE peer to routera, use aggressive negotiation mode, set “name” as the local ID authentication type, and preset the shared key to nortel. Enable NAT on it.

z The shared keys configured on the connected peer must be consistent.

z “Name” is used as the ID authentication type. The remote name must be the same as the local IKE ID configured on the peer through the ike local-name command.

z You need not configure the remote IP address.

[RouterB] ike peer routera

4. Configure an ACL.

No ACL is configured; that is, the data to protect is unspecified but defined in the ACL rules of the negotiation initiator.

5. Configure an IPSec proposal.

# Configure the name of IPSec proposal to tran1. The proposal uses the tunnel mode, SHA-1 authentication algorithm, and DES encryption algorithm.

[RouterB] ipsec proposal tran1

[RouterB-ipsec-proposal-tran1] esp authentication-algorithm sha1

[RouterB-ipsec-proposal-tran1] esp encryption-algorithm des

6. Configure an IPSec policy template.

# Configure the name of the IPSec policy template to maptemp and the sequence number to 10. The ACL is not required. Use the configured IPSec proposal tran1 and configure the IKE peer to routerb.

[RouterB] ipsec policy-template maptemp 10

Show 9 more labels / short text on this page
<RouterB> system-view · [RouterB-ike-peer-routera] exchange-mode aggressive · [RouterB-ike-peer-routera] local-id-type name · [RouterB-ike-peer-routera] pre-shared-key nortel · [RouterB-ike-peer-routera] remote-name routera · [RouterB-ike-peer-routera] nat traversal · [RouterB-ipsec-proposal-tran1] encapsulation-mode tunnel · [RouterB-ipsec-proposal-tran1] transform esp · [RouterB-ipsec-policy-templet-maptemp-10] proposal tran1
Page 86 of the Panasonic 8000 user manual — Configuring routes
Page 86 · click to enlarge
Page 86

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

7. Configure an IPSec policy.

# Configure the name of the IPSec policy to map1, the sequence number to 100, and the negotiation mode to ISAKMP. Use the IPSec policy template maptemp.

[RouterB] ipsec policy map1 100 isakmp template maptemp

8. Apply the IPSec policy group.

# Apply the IPSec policy map1 on the Ethernet interface.

[RouterB] interface Ethernet 2/1/0

[RouterB-Ethernet1/2/0] ipsec policy map1

Configuring routes

On Router B, there should be a route to 10.1.1.0/24 with the egress as Ethernet 2/0/1.

After IPSec packets are decapsulated, the original IP packets are displayed. NAT fails because the original IP packets are encrypted through the ESP protocol. Packets still use the IP address that has not been translated by the firewall. When the response packets reach Router B and find no routes to the destination, they cannot be forwarded through the IPSec tunnel.

[RouterB-ipsec-policy-templet-maptemp-10] ike-peer routerb

Page 87 of the Panasonic 8000 user manual — 2.5.3 Troubleshooting flowchart
Page 87 · click to enlarge
Page 87

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

2.5.3 Troubleshooting flowchart

Figure 2-11 Troubleshooting flowchart of NAT traversal in IPSec

Can tunnel ends with no IPSec policy ping

Check the route and the physical link between them

through each other ?

Is IKE negotiation in Phase 1 in

Modify the negotiation mode

Is name configured as the peer ID

Modify the ID authentication

Is NAT enabled on IKE peers?

Modify the adopted protocol

Is ESP adopted in IPSec proposals?

Is the tunnel mode adopted in IPSec

Show 54 more labels / short text on this page
IPSec tunnel · fails · No · Yes · The fault disappears? · No · End · No · Yes · No · The fault disappears? · End · aggressive mode? · in Phase 1 · Yes · No · Yes · Yes · No · The fault disappears? · End · authentication type? · type · No · Yes · No · Yes · The fault disappears? · Enable NAT · End · No · Yes · Yes · No · The fault disappears? · End · type · Yes · No · Yes · No · Modify the · adopted encapsulation type · The fault disappears? · End · proposals? · No · Yes · No · Seek technical · The fault disappears? · support · Yes · End
Page 88 of the Panasonic 8000 user manual — 2.5.4 Troubleshooting procedure
Page 88 · click to enlarge
Page 88

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

2.5.4 Troubleshooting procedure

Step 1 Check whether two ends of the tunnel are reachable with no IPSec policy applied.

Use the undo ipsec policy command on both the ends of the IPSec tunnel.

On PC A, ping PC B.

A failed ping indicates a faulty link or route between PC A and PC B. For information about removing the fault, see Nortel Secure Router 8000 Series Troubleshooting - IP Routing (NN46240-706).

If the ping succeeds, the fault may be related to IPSec. Continue with the following steps.

Step 2 Ensure that IPSec tunnel setup is not triggered by the communication party applying the

IPSec policy template.

Ping PC B from PC A. The IPSec template used by Router B specifies no policy rules, so Router B can operate only as the negotiation responsor.

Continue with the following steps.

Step 3 Check that SAs are set up in Phase 1 and Phase 2.

See the troubleshooting procedure for “Troubleshooting ISAKMP SA.”

Continue with the following steps.

Step 4 Check that IKE peer configurations agree with the constraint conditions.

Check the following:

z whether the negotiation in Phase 1 is in aggressive mode

z whether the peer name is used as the local ID type

z whether NAT is enabled on the IKE peer

Use the display ike peer name command.

display ike peer name routerb

IKE Peerrouterb
exchange modeaggressive on phase 1
pre-shared-keynortel

proposal:

local id typename
peer ip address202.38.162.1
peer namerouterb
nat traversalenable

Use the preceding command on Router A and Router B to view the constraint conditions. If the IKE peer configurations are correct, continue with the following steps.

Step 5 Check that IPSec proposals agree with the constraint conditions.

Check the following:

z whether ESP is used in IPSec proposals

z whether the encapsulation type is transport mode

·

Page 89 of the Panasonic 8000 user manual — 2.6.1 Typical networking
Page 89 · click to enlarge
Page 89

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Use the display ipsec proposal name command to view if the specified IPSec proposals on two ends are the same.

display ipsec proposal name tran1

IPsec proposal nametran1
encapsulation modetunnel
transformesp-new
ESP protocolauthentication sha1-hmac-96, encryption des

Use the preceding command on Router A and Router B to view the constraint conditions. If the IPSec proposals are correct, continue with the following steps.

Step 6 Check that IPSec can encapsulate or decapsulate inbound and outbound packets.

Use the debugging ipsec packet command to view if IPSec can encapsulate or decapsulate packets.

You can also use the display ipsec statistics command to view IPSec statistics. See the troubleshooting procedure for “Troubleshooting ISAKMP SA.”

Step 7 Check that IPSec tunnel ends in the external and internal NAT network are routable.

If Router B has no route to 10.1.1.0/24, use the debugging ipsec packet and the display ipsec statistics commands to determine the following:

z Router A can send the encapsulated IPSec packets but cannot decapsulate packets.

z Router B can receive and decapsulate IPSec packets but cannot encapsulate packets.

In this case, you need to specify a route to 10.1.1.0/24 on Router B.

In the internal NAT network, Router A uses the private IP address. It is not advisable to configure a private route from Router B to Router A. In an actual application, PC A and PC B are configured with loopback addresses.

If the fault persists, contact Nortel technical support.

2.6 Troubleshooting GRE over IPSec or L2TP over IPSec

This section covers the following topics:

2.6.1 Typical networking

The basic concepts of GRE over IPSec and L2TP over IPSec are the same. That is, the tunnel is first encapsulated with GRE or L2TP and then with IPSec. The processing of IPSec packets and common IP packets is almost the same. In practice, IPSec packets are the data transmitted on two IPSec tunnel ends.

Figure 2-12 shows GRE over IPSec. The troubleshooting procedure is based on this diagram.

Show 5 more labels / short text on this page
----End · z Typical networking · z Configuration notes · z Troubleshooting flowchart · z Troubleshooting procedure
Page 90 of the Panasonic 8000 user manual — 2.6.2 Configuration notes
Page 90 · click to enlarge
Page 90

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Figure 2-12 Networking diagram of configuring IPSec

Panasonic 8000 — 2.6.2 Configuration notes diagram (page 90)
Fig. 19 · 2.6.2 Configuration notes

10.1.1.1

10.1.2.1

PC

PC

A

B

The networking environment is as follows:

z Create a GRE tunnel between Router A and Router B.

z Create an IPSec tunnel between Router A and Router B to protect packets forwarded through the GRE tunnel.

z Specify the data flow between subnetwork segments 10.1.1.x and 10.1.2.x to pass the GRE tunnel.

z Set up IPSec SAs in ISAKMP mode.

2.6.2 Configuration notes

Panasonic 8000 — 2.6.2 Configuration notes diagram (page 90)
Fig. 20 · 2.6.2 Configuration notes

For configuration notes, see the section about GRE troubleshooting in Nortel Secure Router 8000 Series Troubleshooting - VPN (NN46240-710).

For configuration notes, see the section about GRE troubleshooting in Nortel Secure Router 8000 Series Troubleshooting - VPN (NN46240-710).

Configure the ACL number Use the advanced ACL, ranging from 3000 to 3999.

Configure the source and destination addresses specified in ACL rules

The source and destination IP addresses of the GRE tunnel.

Page 91 of the Panasonic 8000 user manual — Configuring a GRE tunnel
Page 91 · click to enlarge
Page 91

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Panasonic 8000 — 2.6.2 Configuration notes diagram (page 91)
Fig. 21 · 2.6.2 Configuration notes

The name is a string of 1 to 15 characters.

Enable IPSec on the physical interfaces on a GRE tunnel. The source and the destination IP addresses of the tunnel must not be loopback addresses.

IPSec over GRE supports applying a policy group to GRE virtual interfaces.

Apply only one IPSec policy group on one interface.

Router A serves as an example of the configuration notes for GRE over IPSec. Router B and Router A are mutually mirroring.

The following sections cover part of the commands used to configure IPSec. For more information, see Nortel Secure Router 8000 Series Configuration Guide - Security (NN46240-600).

Configuring a GRE tunnel

# Encapsulate the tunnel with GRE. Configure the IP addresses for the source and destination tunnel ends. Note that the two addresses cannot be loopback addresses.

[RouterA] interface tunnel 1/0/1

[RouterA-Tunnel1/0/1] source 202.38.163.1

system-view · [RouterA-Tunnel1/0/1] tunnel-protocol gre

Page 92 of the Panasonic 8000 user manual — Applying the IPSec policy group
Page 92 · click to enlarge
Page 92

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

[RouterA-Tunnel1/0/1] destination 202.38.162.1

Configuring IKE proposals

If no IKE proposal is configured, the remote end uses default IKE proposals.

Configuring the IKE peer

# Configure the name of the IKE peer to routerb and use aggressive negotiation mode. Preset the shared key to nortel. Note that the shared keys configured on two ends must be consistent. Configure an IP address 202.38.162.1 for the remote end.

[RouterA] ike peer routerb

[RouterA-ike-peer-routerb] remote-address 202.38.162.1

Configuring an ACL

# Configure an ACL, defining the protected GRE packets.

[RouterA] acl number 3101

[RouterA-acl-adv-3101] rule permit gre source 202.38.163.1 0 destination 202.38.162.1

Configuring an IPSec proposal

# Configure the name of the IPSec proposal to tran1 and use transport mode to save bandwidth. The policy uses the ESP security protocol, the SHA-1 authentication algorithm, and the DES encryption algorithm.

[RouterA] ipsec proposal tran1

[RouterA-ipsec-proposal-tran1] esp authentication-algorithm sha1

[RouterA-ipsec-proposal-tran1] esp encryption-algorithm des

Configuring an IPSec policy

# Configure the name of IPSec policy to map1, the sequence number to 10, and the negotiation mode to ISAKMP. Apply the configured ACL and IPSec proposal tran1 to the policy. Configure the IKE peer to routerb.

[RouterA] ipsec policy map1 10 isakmp

[RouterA-ipsec-policy-isakmp-map1-10] security acl 3101

Applying the IPSec policy group

# Apply the IPSec policy group map1 on the specified interface.

[RouterA] interface Pos 1/0/1

[RouterA-Pos1/0/1] ipsec policy map1

Show 6 more labels / short text on this page
[RouterA-ike-peer-routerb] exchange-mode agressive · [RouterA-ike-peer-routerb] pre-shared-key nortel · [RouterA-ipsec-proposal-tran1] encapsulation-mode transport · [RouterA-ipsec-proposal-tran1] transform esp · [RouterA-ipsec-policy-isakmp-map1-10] proposal tran1 · [RouterA-ipsec-policy-isakmp-map1-10] ike-peer routerb
Page 93 of the Panasonic 8000 user manual — 2.6.3 Troubleshooting flowchart
Page 93 · click to enlarge
Page 93

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

2.6.3 Troubleshooting flowchart

Figure 2-13 Troubleshooting flowchart of GRE over IPSec

GRE over IPSec fails

Can tunnel endsapplying no IPSec policy ping through each

Check routes, physical links and GRE configurations

The fault disappears? End

Are the source and the destination IP addresses specified in the ACL just addresses of

Modify the source and the destination IP addresses in the

The fault disappears? End

ACL.

Modify the ports because GRE over

Are GRE tunnel ends loopback interfaces

The fault disappears? End

IPSec does not support loopback

Is the IPSec policy group applied on

The fault disappears? End

The fault disappears? End

Are SAs set up manually?

Are SAs set up in ISAKMP mode?

The fault disappears? End

IPSec SA troubleshooting.

Show 43 more labels / short text on this page
Yes · No · other ? · No · Yes · No · Yes · GRE tunnel ends? · No · Yes · No · Yes · No · or with loopback · addresses? · interfaces · No · No · No · Apply IPSec policy · Yes · to the specified · interface · GRE tunnel ends? · No · Yes · No · Refer to manual · Yes · IPSec SA troubleshooting · No · Yes · Yes · No · Refer to ISAKMP · Yes · No · No · The fault disappears? · Seek technical · support · Yes · End
Page 94 of the Panasonic 8000 user manual — 2.6.4 Troubleshooting procedure
Page 94 · click to enlarge
Page 94

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

2.6.4 Troubleshooting procedure

Step 1 Check whether the tunnel is reachable with no IPSec policy applied.

As shown in Figure 2-12, use the undo ipsec policy command to disable the IPSec policy on Router A and Router B. The packets are forwarded through the GRE tunnel.

On PC A, ping PC B.

If the ping succeeds, the route, the link, and the GRE tunnel between PC A and PC B are normal. The fault may be caused by the IPSec configuration. Proceed to Step 2.

If the ping fails, modify the configuration so the packets from PC A to PC B do not pass the GRE tunnel.

z If the ping still fails after the modification, it indicates that a fault occurs on the route or the link between PC A and PC B is incorrect.

z If the ping succeeds and the GRE tunnel is unused after the modification, the fault is caused by an incorrectly configured GRE tunnel. For information about removing the fault, see the section about GRE troubleshooting in Nortel Secure Router 8000 Series Troubleshooting - VPN (NN46240-710).

Step 2 Check whether SAs are set up in Phase 1 and Phase 2.

See the troubleshooting procedure for “Troubleshooting ISAKMP SA.”

If SAs are configured in Phase 1 and Phase 2, continue with the following steps.

Step 3 Check IPSec policies.

Check the following:

z whether GRE tunnel ends are loopback interfaces or whether they are configured with loopback addresses (GRE over IPSec does not support loopback interfaces)

z whether the source and destination IP addresses specified in the ACL agree with the addresses of GRE tunnel ends

z whether the IPSec policy group is applied on interfaces where GRE tunnel ends are located

For details, see the troubleshooting procedure for “Troubleshooting ISAKMP SA.”

If the IPSec policies are correct, continue with the following steps.

Step 4 Check whether IPSec can encapsulate or decapsulate packets.

Use the debugging ipsec packet command to view whether IPSec can encapsulate and decapsulate packets based on SAs.

You can also use the display ipsec statistics command to view IPSec statistics. For details, see the troubleshooting procedure “Troubleshooting ISAKMP SA.”

If the fault persists, contact Nortel technical support.

End

Page 95 of the Panasonic 8000 user manual — Troubleshooting procedure
Page 95 · click to enlarge
Page 95

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

2.7 Troubleshooting cases

Fault symptom

Figure 2-14 shows a diagram of IPSec SA setup in ISAKMP mode.

Figure 2-14 Networking diagram of IPSec setup

Router A Router B

Pos1/0/1 202.38.163.1 Pos2/0/1 202.38.162.1

10.1.1.1 I nt er net

10.1.2.1

10.1.2.2 10.1.1.2

After Router A is restarted, the IPSec tunnel fails.

Fault analysis

z Use the debugging ipsec packet command on Router B. IPSec packets sent from Router B to Router A can be encapsulated.

z Use the debugging ipsec packet command on Router A. Packet decapsulation on Router A fails.

z Use the display ipsec sa command on Router A and Router B. You cannot find the SA on Router A.

The cause for this fault may be that the default timeout period for the ISAKMP SA to wait for Keep Alive packets is not configured. After Router A is restarted, Router B is not notified to remove the corresponding SA. Router B continues to use the previous SA.

Enable the keep-alive function of ISAKMP SA to remove this fault. If the SA duration exceeds the keep-alive value, remove SAs on both ends and reinitiate a negotiation.

Troubleshooting procedure

Step 1 Use the reset ipsec sa command or the reset ike sa command in the system view to remove

the corresponding SA from Router B.

Step 2 Use the ike sa keepalive-timer interval second command in the system views of Router A

and Router B to specify the interval at which Keep Alive packets are sent.

Step 3 Use the ike sa keepalive-timer timeout seconds command in the system views of Router A

and Router B to specify the timeout period for waiting for Keep Alive packets sent from the peer of ISAKMP SA.

Step 4 Save the configuration.

After completing the previous steps, the IPSec tunnel can operate normally.

End

Page 96 of the Panasonic 8000 user manual — Q: What are guidelines for ACL used in IPSec?
Page 96 · click to enlarge
Page 96

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

Summary

If the keep-alive function of ISAKMP SA is disabled, you must remove the related SA manually after the device is restarted.

2.8 FAQs

Q: In an unstable network, SAs cannot be set up or SAs are set up but the communication between peers fails although the ACLs have matching security proposals. Why?

A: The possible cause is that the router on one end restarts after SAs are set up.

z Use the display ike sa command to check whether IKE SAs in Phase 1 are set up on peers.

z Use the display ipsec sa policy command to check whether IPSec SAs are set up on the interfaces.

z If the output shows that only one end is configured with an SA, use the reset ike sa command to remove the SA and initiate a new negotiation.

Q. During IPSec debugging, the message "Got NOTIFY of type NO_PROPOSAL_CHOSEN or drop message from A.B.C.D due to notification type NO_PROPOSAL_CHOSEN" is displayed. What does this indicate?

A: The possible cause is that the negotiation ends have no matched proposal.

z Check whether the IKE proposals on two ends are matched in Phase 1 negotiation.

z Check whether the IPSec policy parameters, the IPSec proposals, the encryption algorithm, and the authentication algorithm applied on two ends are matched in Phase 2 negotiation.

Q. How do I validate modified IPSec or IKE configurations?

A: If you modify IPSec or IKE parameters, such as parameters of IKE proposals, IKE peers, or IPSec proposals, reapply the IPSec policy to the interface and then use the reset ike sa command in the user view to validate the configuration.

Q: Is the IPSec tunnel the same as the SA?

A: The IPSec tunnel and SA are different. The IPSec tunnel is bidirectional while an SA is unidirectional. An IPsec tunnel consists of two SAs with reverse directions.

Q: What are guidelines for ACL used in IPSec?

A: The guidelines are as follows:

z Only the data flows matching ACL rules are protected.

z Configure an ACL as required to permit data flows.

z Avoid setting the keyword any randomly.

Page 97 of the Panasonic 8000 user manual — 2.9.1 Display commands
Page 97 · click to enlarge
Page 97

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

z The local and remote ACLs must be mutually mirrored. (When the IPSec policy template is used, this item can be ignored.)

Q: Can AH and ESP be used at the same time?

A: They can be used either separately or together. If they are used together, the user is authenticated twice. Nortel recommends that you do not use them at the same time.

Q: Can ESP perform only packet encryption but not authentication?

A: Nortel recommends that you do not send unauthenticated packets.

Q: Can transport mode be used when the communication port and IPSec tunnel port are different?

A: In transport mode, if the protected data flow is not on the IPSec tunnel port (that is, the protected flow is not on any end of the tunnel), it cannot be securely protected.

Q: What are the constraints on configuring encryption and authentication shared keys manually?

A: The constraints are as follows:

z The shared key on the local inbound should be the same as that on the outbound of the peer.

z The shared key on the local outbound should be the same as that on the inbound of the peer.

z The shared keys on the two ends should be in the same format. For example, if on one end, the shared key is a character string, it cannot be a hexadecimal numeral on the remote end. If they are not in the same format, the IPSec tunnel setup fails.

Q: Can an SA that is set up using an IPSec policy template initiate an SA negotiation?

A: The SA cannot be the negotiation initiator but it can be the responder.

Q: Why do I not need to specify the local IP address in the IPSec tunnel?

A: You can use the interface address as the local IP address after applying the IPSec policy on an interface.

2.9 Diagnostic tools

2.9.1 Display commands

display ipsec proposal name Displays the IPSec protocol.

display ipsec policy name Displays the IPSec policy.

Command Description

Page 98 of the Panasonic 8000 user manual — display ipsec policy name
Page 98 · click to enlarge
Page 98

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

display ipsec sa policy Displays the SA associated with the IPSec policy.

display ipsec sa brief Displays brief information about the IPSec SA.

display ike proposal Displays the IKE protocol.

display ike peer name Displays the IKE peer.

display ike sa Displays the IKE SA.

display ipsec statistics Displays IPSec statistics.

display ipsec proposal name

display ipsec proposal name tran1

IPsec proposal nametran1
encapsulation modetunnel
transformah-esp-new
AH protocolauthentication sha1-hmac-96
ESP protocolauthentication sha1-hmac-96, encryption 3des
encapsulation modetunnel

The display indicates two IPSec packet encapsulation types: transport mode and tunnel mode.

You can use the encapsulation-mode { transport | tunnel } command to modify the configuration.

transformah-esp-new

The display indicates the security protocols in the IPSec proposal: AH, ESP, and AH-ESP.

You can use the transform { ah | esp | ah-esp } command to modify the configuration.

AH protocolauthentication sha1-hmac-96

The display indicates the authentication algorithms in the AH protocol: SHA-1 (sha1-hmac-96) and MD5 (md5-hmac-96).

You can use the ah authentication-algorithm { md5 | sha1 } command to modify the configuration.

ESP protocolauthentication sha1-hmac-96, encryption 3des

The display indicates the authentication algorithms and encryption algorithms in ESP. The authentication algorithms are SHA-1 and MD5 and the encryption algorithms are DES and 3DES.

You can use the esp authentication-algorithm { md5 | sha1 } command and the esp encryption-algorithm { 3des | des } command to modify the configuration.

display ipsec policy name

z IPSec policies manually configured:

display ipsec policy name map1

IPsec Policy Group"map1"

Command Description · ===========================================

Page 99 of the Panasonic 8000 user manual — 2.9 Diagnostic tools
Page 99 · click to enlarge
Page 99

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Using local-address{}
Using interface{Ethernet0/2/0}
IPsec policy name"map1"
sequence number10
modemanual
security data flow3101
tunnel local address202.38.163.1
tunnel remote address202.38.162.1

proposal name:tran1

inbound AH setting:

AH spi:

AH string-key:

AH authentication hex key:

inbound ESP setting:

ESP spi54321 (0xd431)
ESP string-keygfedcba

ESP encryption hex key:

ESP authentication hex key:

outbound AH setting:

AH spi:

AH string-key:

AH authentication hex key:

outbound ESP setting:

ESP spi12345 (0x3039)
ESP string-keyabcdefg

ESP encryption hex key:

ESP authentication hex key:

Using interface{Ethernet0/2/0}

The display indicates the interface that uses the IPSec policy group.

You can use the ipsec policy command to change the interface that uses IPSec policies.

modemanual

The display indicates two IPSec policy modes: manual mode and ISAKMP mode.

You can use the ipsec policy policy-name seq-number { manual | isakmp } command to configure IPSec policies.

security data flow3101

The display indicates the ACL used in the IPSec policy.

You can use the security acl command to modify the configuration.

tunnel local address202.38.163.1

The display indicates the local address of IPSec tunnel. This address is the address of the interface that uses the IPSec policy group.

tunnel remote address202.38.162.1

The display indicates the IP address of the remote end on the IPSec tunnel. You need to configure this address only for the manually set up IPSec SA.

You can use the tunnel remote command to modify the configuration.

=========================================== · ·

Page 100 of the Panasonic 8000 user manual — 2.9 Diagnostic tools
Page 100 · click to enlarge
Page 100

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

proposal name:tran1

The display indicates the proposal in the IPSec policy.

You can use the proposal command to modify the configuration.

inbound AH setting:

AH spi:

AH string-key:

AH authentication hex key:

The display indicates the SPI and the AH shared keys both in character strings and in hexadecimal numerals on the inbound of the manually set up SA .

You can use the sa spi inbound ah command, the sa string-key inbound ah command, or the sa authentication-hex inbound ah command to modify the configuration.

inbound ESP setting:

ESP spi54321 (0xd431)
ESP string-keygfedcba

ESP encryption hex key:

ESP authentication hex key:

The display indicates the SPI and the ESP shared key in character strings and the ESP authentication and encryption shared keys in hexadecimal numerals on the inbound of the manually set up SA.

You can use the sa spi inbound esp command, the sa string-key inbound esp command, the sa encryption-hex inbound esp command, or the sa authentication-hex inbound esp command to modify the configuration.

outbound AH setting:

AH spi:

AH string-key:

AH authentication hex key:

The display indicates the SPI and AH authentication shared keys both in character strings and in hexadecimal numerals on the outbound of the manually set up SA.

You can use the sa spi outbound ah command, the sa string-key outbound ah command and the sa authentication-hex outbound ah command to modify the configuration.

outbound ESP setting:

ESP spi12345 (0x3039)
ESP string-keyabcdefg

ESP encryption hex key:

ESP authentication hex key:

The display indicates the SPI and the ESP shared key in character strings and the ESP authentication and encryption shared keys in hexadecimal numerals on the outbound of the manually set up SA.

You can use the sa spi outbound esp command, the sa string-key outbound esp command, the sa encryption-hex outbound esp command, or the sa authentication-hex outbound esp command to modify the configuration.

display ipsec policy name map1

IPsec Policy Group"map2"

z IKE policies · ===========================================

Page 101 of the Panasonic 8000 user manual — 2.9 Diagnostic tools
Page 101 · click to enlarge
Page 101

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

Using local-address{}
Using interface{Ethernet1/0/0}
IPsec policy name" map2"
sequence number10
modeisakmp
security data flow3102
ike-peer namerouterb
perfect forward secrecyNone
proposal nametran2
IPsec sa local duration(time based)3600 seconds
IPsec sa local duration(traffic based)1843200 kilobytes
Using interface{Ethernet1/0/0}

The display indicates the interface that uses the IPSec policy group.

You can use the ipsec policy command to change the interface.

modeisakmp

The display indicates two IPSec SA modes: manual mode and ISAKMP mode.

You can use the ipsec policy policy-name seq-number { manual | isakmp } command to configure IPSec policies.

security data flow3102

The display indicates the ACL used in the IPSec policy.

You can use the security acl command to modify the configuration.

ike-peer namerouterb

The display indicates the IKE peer specified in the IPSec policy.

You can use the ike-peer command to modify the configuration.

perfect forward secrecyDH group 1

The display indicates the used PFS feature in the negotiation. The PFS feature includes 768-bit Diffie-Hellman (DH group 1), 1024-bit Diffie-Hellman (DH group 2), and none PFS. By default, disable PFS.

You can use the pfs { dh-group1 | dh-group2 } command to modify the configuration and the undo pfs command to disable PFS in the negotiation.

proposal nametran2

The display indicates the proposals used in the IPSec policy. In ISAKMP mode, each policy can use up to six proposals. Proposals of the same configuration at two ends are used.

You can use the proposal command to modify the configuration.

IPsec sa local duration(time based)3600 seconds

The display indicates the time-based SA duration.

You can use the sa duration time-based command to modify the configuration. If no SA duration is configured in the policies, use the configured global SA duration.

=========================================== · ·

Page 102 of the Panasonic 8000 user manual — display ipsec sa policy
Page 102 · click to enlarge
Page 102

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

You can use the ipsec sa global-duration time-based command to modify the global SA duration.

IPsec sa local duration(traffic based)1843200 kilobytes

The display indicates the traffic-based SA duration.

You can use the sa duration traffic-based command to modify the configuration.

If no SA duration is configured in the policies, use the configured global traffic-based SA duration. You can use the ipsec sa global-duration traffic-based command to modify the global SA duration.

display ipsec sa policy

display ipsec sa policy map1

InterfaceEthernet0/2/0
path MTU1500
IPsec policy name"map1"
sequence number10
modemanual
encapsulation modetunnel
tunnel local202.38.163.1 tunnel remote: 202.38.162.1
spi54321 (0xd431)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1

No duration limit for this sa

spi12345 (0x3039)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1

No duration limit for this sa

IPsec policy name"map1"
sequence number10

The display indicates that the SA uses the matching policy with the name map1 and sequence number 10.

modemanual

The display indicates that the SA uses the matching policy manually configured.

encapsulation modetunnel

The display indicates that the SA uses the tunnel encapsulation mode.

tunnel local202.38.163.1 tunnel remote: 202.38.162.1

The display indicates that the start and end port protected by SA are 202.38.163.1 and 202.38.162.1 respectively.

spi54321 (0xd431)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1

No duration limit for this sa

Show 7 more labels / short text on this page
=============================== · =============================== · ----------------------------- · ----------------------------- · [inbound ESP SAs] · [outbound ESP SAs] · [inbound ESP SAs]
Page 103 of the Panasonic 8000 user manual — display ike proposal
Page 103 · click to enlarge
Page 103

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

The display indicates that the SPI on the inbound of SA is 54321, the protocol is ESP, the encryption algorithm is DES (ESP-ENCRYPT-DES), and the authentication algorithm is SHA-1 (ESP-AUTH-SHA1).

spi12345 (0x3039)
proposalESP-ENCRYPT-DES ESP-AUTH-SHA1

No duration limit for this sa

The display indicates that the SPI on the outbound of SA is 12345, the protocol is ESP, the encryption algorithm is DES, and the authentication algorithm is SHA-1.

display ipsec sa brief

display ipsec sa brief

Src Address Dst Address SPI Protocol Algorithm

202.38.162.1 202.38.163.1 54321 ESP E:DES; A:HMAC-SHA1-96;

202.38.163.1 202.38.162.1 12345 ESP E:DES; A:HMAC-SHA1-96;

Use the display ipsec sa command to view brief IPSec SA information.

For a detailed explanation of each field in the display lines, see “display ipsec sa policy.”

display ike proposal

display ike proposal

priority authentication authentication encryption Diffie-Hellman duration

method algorithm algorithm group (seconds)

default PRE_SHARED SHA DES_CBC MODP_768 86400

The following section explains each field in the display lines:

Priority indicates the priority of IKE proposals. The value can be any integer from 1 to 100. The higher the value, the lower the priority. Default indicates that the default IKE proposal priority is used.

Currently, only pre-shared key authentication mode is applicable.

The authentication algorithms in IKE proposals contain SHA-1 and MD5. You can use the authentication-algorithm { md5 | sha1 } command to modify the configuration.

The encryption algorithms in IKE proposals contain DES (DES_CBC), 3DES (3DES_CBC), and AES (AES_CBC).

You can use the encryption-algorithm { des-cbc | 3des-cbc | aes-cbc } command to modify the configuration.

Diffie-Hellman group flags used in IKE proposals contain 768-bit Diffie-Hellman (MODP_768) and 1024-bit Diffie-Hellman (MODP_1024).

Show 8 more labels / short text on this page
[outbound ESP SAs] · -------------------------------------------------------------- · ------------------------------------------------------------------------- · priority · Authentication method · Authentication algorithm · encryption algorithm · Diffie-Hellman group
Page 104 of the Panasonic 8000 user manual — display ike peer name
Page 104 · click to enlarge
Page 104

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

You can use the dh { group1 | group2 } command to modify the configuration.

This indicates the ISAKMP SA duration in IKE proposals.

You can use the sa duration command to modify the configuration. To ensure secure communication in ISAKMP SA updates, set the duration to more than 10 minutes.

display ike peer name

display ike peer name routerb

IKE Peerrouterb
exchange modeaggressive on phase 1
pre-shared-keynortel

proposal:

local id typename
peer ip address202.38.162.1
peer namerouterb
nat traversaldisable
exchange modeaggressive on phase 1

The preceding configuration displays two IKE negotiation modes: aggressive mode (aggressive on phase 1) and main mode (main on phase 1).

You can use the exchange-mode { main | aggressive } command to modify the configuration.

pre-shared-keynortel

The preceding configuration displays the identity authenticator of the pre-shared key.

You can use the pre-shared-key command to modify the configuration.

proposal:

The preceding configuration displays the IKE proposals. Here, the null display indicates using default IKE proposals.

You can use the ike-proposal command to modify the configuration.

local id typename

The preceding configuration displays the local ID type, which can be the IP address or the name. In main mode, use only the IP address as the local ID.

You can use the local-id-type { ip | name } command to modify the configuration.

peer ip address202.38.162.1

The preceding configuration displays the peer IP address.

You can use the remote-address command to modify the configuration.

peer namerouterb

The preceding configuration displays the peer name, which is also the peer ID.

You can use the remote-name command to modify the configuration.

duration(seconds) · ·

Page 105 of the Panasonic 8000 user manual — display ipsec statistics
Page 105 · click to enlarge
Page 105

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

nat traversaldisable

The preceding configuration displays the status of NAT: enable or disable.

You can use the nat traversal command to modify the configuration.

display ike sa

display ike sa

connection-id peer VPN flag phase doi

15 202.38.162.1 0 RD|ST 2 IPSEC

14 202.38.162.1 0 RD|ST 1 IPSEC

flag meaning:

RD--READY ST--STAYALIVE RL--REPLACED FD—FADING TO--TIMEOUT

The following section explains each field in the display lines:

This indicates the SA ID automatically generated in IKE negotiation.

This indicates the IP address of the peer .

This indicates the present SA status:

z RD (READY): SA setup succeeds.

z ST (STAYALIVE): The present end is the SA negotiation initiator.

z RL (REPLACED): The present SA is replaced with a new SA and should be removed immediately.

z FD (FADING): The SA has still been used after the soft timeout. Remove the SA before the hard timeout.

z TO (TIMEOUT): The SA has not received the Keep Alive packet after the last keep-alive timeout. If it will receive no Keep Alive packets after the next time keep-alive timeout, remove this SA.

The present SA can display a combined status. For example, RD|ST indicates that the SA negotiation is initiated by the local end and is set up.

This indicates the SA phases:

z Phase 1: indicates ISAKMP SA.

z Phase 2: indicates IPSec SA.

This indicates the Domain of Interpretation (DOI) of the SA. Nortel Secure Router 8000 Series supports IPSec DOI.

display ipsec statistics

display ipsec statistics

the security packet statistics:

input/output security packets56/56
Show 6 more labels / short text on this page
--------------------------------------------------------------------- · connection-id · peer · Flag · phase · doi
Page 106 of the Panasonic 8000 user manual — debugging ipsec packet
Page 106 · click to enlarge
Page 106

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

input/output security bytes4816/5600
input/output dropped security packets0/2

dropped security packet detail:

no enough memory0
can't find SA2
queue is full0
authentication is failed0
wrong length0
replay packet0
too long packet0
wrong SA0
input/output security packets56/56

The preceding display indicates the statistics of the number of input and output IPSec packets.

input/output security bytes4816/5600

The preceding display indicates the statistics of the number of input and output IPSec bytes.

input/output dropped security packets0/2

The preceding display indicates the statistics of the lost input and output packets under no protection. The following information indicates the reasons for packet loss:

no enough memory0

The preceding display indicates the statistics of packets lost due to memory shortage. This situation rarely occurs.

can't find SA2

The preceding display shows the statistics of the packets dropped because no IPSec SA is found.. To remove the fault, see “Troubleshooting ISAKMP SA.”

queue is full0

The preceding display indicates that the full IPSec queue results in packet loss. That is, the traffic is beyond the maximum IPSec transaction capability. When the traffic recovers, the fault disappears.

2.9.2 Debugging commands

debugging ipsec packet Debugs the IPSec packet.

debugging ike error Debugs IKE errors.

debugging ipsec packet

IPSec drop packet! Notify IKE to negotiate SA for IPsec policy: map2-10

The packets are sent from the interface that uses the IPSec policy group. The packets match the ACL used in policy map2-10, and the packets should be protected by IPSec. However, no SA is set up. An IKE negotiation is then initiated to set up SAs based on the IPSec policy map 2-10 and packets that trigger the negotiation are dropped.

IPSec drop packet! IKE is negotiating SA for IPsec policy: map2-10

Command Description

Page 107 of the Panasonic 8000 user manual — debugging ike error
Page 107 · click to enlarge
Page 107

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

The packets are sent from the interface that uses the IPSec policy group. The packets match the ACL used in policy map2-10, and the packets should be protected by IPSec. The corresponding SA, however, is performing IKE negotiation. The packets are then dropped.

--- Send IPSec packet ---

Tunnel mode. Adding outer IP header succeed!

Src202.38.163.1 Dst: 202.38.162.1 SPI:1156810487(0x44f386f7)

New ESP(RFC2406) Enc Alg:DES Auth Alg:HMAC-MD5-96

Authentication finished! New ESP(RFC2406)

Encryption finished! New ESP(RFC2406) SN:1

Now send it to IP output process...

The display indicates:

z IPSec encapsulation typetunnel mode

z Source address and destination address of the encapsulated IP header: 202.38.163.1 and 202.38.162.1

z SPI0x44f386f7

z ESP protocol, DES encryption algorithm, and MD5 authentication algorithm

z After encryption and the authentication are complete, the encapsulated packets are sent in an IP datagram.

--- Receive IPSec(ESP) packet ---

Src202.38.162.1 Dst: 202.38.163.1 SPI:1918468181(0x72598055

New ESP(RFC2406) Enc Alg:DES Auth Alg:HMAC-MD5-96

Replay Checking Enabled! SN:1

ESP new input: Authentication succeed!

Tunnel mode. Org Src10.1.2.2 Org Dst: 10.1.1.2

Now send it to IP input process

The preceding display indicates:

z Source address and destination address of the encapsulated ESP packets header: 202.38.162.1 and 202.38.163.1

z SPI0x72598055
z Anti-replay detectionSN:1
z Authentication algorithmDES
z Authentication algorithmMD5

z Decrypt ESP packets using DES after MD5 authentication succeeds

z After ESP packets are decapsulated, the original IP packets are displayed, with the source and destination addresses as 10.1.2.2 and 10.1.1.2.

debugging ike error

got NOTIFY of type INVALID_ID_INFORMATION

drop message from A.B.C.D due to notification type INVALID_ID_INFORMATION

The preceding display indicates an invalid ID. The ID is applied to mark the sent data. So, in actual applications, you need to set up different tunnels to protect different data from specified users.

Decryption succeed! · or

Page 108 of the Panasonic 8000 user manual — 2.9.2 Debugging commands
Page 108 · click to enlarge
Page 108

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting

To remove this fault, you need to check whether ACLs on two ends are mutually mirroring. If not, modify them.

got NOTIFY of type NO_PROPOSAL_CHOSEN

drop message from 202.38.162.1 due to notification type NO_PROPOSAL_CHOSEN

The preceding display indicates that proposals on two negotiation ends do not match each other. Check whether:

z There are IKE proposals matching each other in Phase 1 negotiation.

z IPSec parameters are configured.

z The encapsulation protocols and authentication and encryption algorithms match each other in Phase 2 negotiation.

or

Page 109 of the Panasonic 8000 user manual — Contents
Page 109 · click to enlarge
Page 109

Nortel Secure Router 8000 Series Troubleshooting - VAS Contents

Contents

3 Firewall troubleshooting 3-1

3.1 Firewall 3-2

3.2 Troubleshooting the firewall 3-2

3.2.1 Networking environment 3-3

3.2.2 Configuration notes 3-3

3.2.3 Diagnostic flowchart 3-3

3.2.4 Troubleshooting procedures 3-5

3.3 FAQs 3-6

3.4 Diagnostic tools 3-6

Issue 01.01 (30 March 2009) Nortel Networks Inc. i

Page 110 of the Panasonic 8000 user manual — Firewall Troubleshooting
Page 110 · click to enlarge
Page 110
Page 110 of the Panasonic 8000 user manual — Firewall Troubleshooting
Page 111 of the Panasonic 8000 user manual — Figures
Page 111 · click to enlarge
Page 111

Nortel Secure Router 8000 Series Troubleshooting - VAS Figures

Figures

Figure 3-1 Networking of the firewall 3-3

Figure 3-2 Diagnostic flowchart for faults on the firewall 3-4

Issue 01.01 (30 March 2009) Nortel Networks Inc. iii

Page 112 of the Panasonic 8000 user manual — Firewall Troubleshooting
Page 112 · click to enlarge
Page 112
Page 112 of the Panasonic 8000 user manual — Firewall Troubleshooting
Page 113 of the Panasonic 8000 user manual — Tables
Page 113 · click to enlarge
Page 113

Nortel Secure Router 8000 Series Troubleshooting - VAS Tables

Tables

Table 3-1 Description of the output information of the display traffic policy command 3-7

Table 3-2 Description of the output information of the display traffic behavior command 3-8

Table 3-3 Description of the output information of the display traffic classifier command 3-9

Table 3-4 Description of the output information of the display traffic policy interface command 3-10

Issue 01.01 (30 March 2009) Nortel Networks Inc. v

Page 114 of the Panasonic 8000 user manual — Firewall Troubleshooting
Page 114 · click to enlarge
Page 114
Page 114 of the Panasonic 8000 user manual — Firewall Troubleshooting
Page 115 of the Panasonic 8000 user manual — 3 Firewall troubleshooting
Page 115 · click to enlarge
Page 115

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting

3 Firewall troubleshooting

About this chapter

The following table lists the contents of this chapter.

3.1 Firewall This section introduces the concepts that you need to know before troubleshooting the firewall.

3.2 Troubleshooting the firewall

This section contains the firewall configuration notes, the troubleshooting flowchart and the detailed troubleshooting procedures for a typical firewall networking environment.

3.3 FAQs This section lists frequently asked questions (FAQs) and their answers.

3.4 Diagnostic tools This section lists the diagnostic tools, including the display command.

Section Describes

Page 116 of the Panasonic 8000 user manual — 3.2 Troubleshooting the firewall
Page 116 · click to enlarge
Page 116

3 Firewall troubleshooting Nortel Secure Router 8000 Series

3.1 Firewall

The firewall of the Secure Router 8000 Series filters packets and performs Network Address Translation (NAT) on the basis of the Access Control List (ACL).

This chapter describes troubleshooting of the packet filter firewall. For information about NAT troubleshooting, see Chapter 13, “NAT troubleshooting.”

Concepts

The process for filtering IP data packets is as follows:

1. Obtain the information about the header of the data packet, including the protocol number of the upper-layer protocol over the IP layer, the source address of the data packet, the destination address, the source interface, and the destination interface.
2. Compare the information with the ACL rule.
3. Determine whether to forward or discard the data packet.

The core filtering technology of the firewall is the ACL. The ACL provides a means of differentiating the data packets by the features of the IP packets.

Implementation

To filter packets, you need to complete the following steps:

1. Configure ACL rules to determine the type of data packet that is filtered and the type of data packet that can pass. The ACL is used to specify the source or destination address and the source or destination interface number of the data packet.
2. Define the class and the rule of traffic classification.
3. Define the behavior of the firewall.
4. Apply the configured rule on the specified interface.

After executing the preceding steps, configure the firewall filtering function on the interface.

3.2 Troubleshooting the firewall

The section describes the following topics:

Show 4 more labels / short text on this page
z Networking environment · z Configuration notes · z Diagnostic flowchart · z Troubleshooting procedure
Page 117 of the Panasonic 8000 user manual — 3.2.3 Diagnostic flowchart
Page 117 · click to enlarge
Page 117

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting

3.2.1 Networking environment

Figure 3-1 Networking of the firewall

Panasonic 8000 — 3.2.1 Networking environment diagram (page 117)
Fig. 22 · 3.2.1 Networking environment

Based on the networking diagram, you can perform the following actions:

z Use the Secure Router 8008 as the egress.

z Connect the egress with the Internet through the interface ATM 1/0/0.

z Connect the egress with the internal network through the interface Ethernet 2/0/0.

The Secure Router 8008 provides the firewall filtering function. Only the specified hosts are permitted to access the external network.

3.2.2 Configuration notes

Panasonic 8000 — 3.2.2 Configuration notes diagram (page 117)
Fig. 23 · 3.2.2 Configuration notes

The system has no predefined policy. Configure the firewall policy

Each class in the policy view can be associated with only one behavior.

If you need to specify several behaviors for one class, you can add multiple actions to one behavior.

A policy that is applied on an interface cannot be deleted.

Stop the application of the policy on the interface. Use the undo traffic policy command to delete the policy.

3.2.3 Diagnostic flowchart

Figure 3-1 shows that the hosts that are prohibited from accessing the external network can still access the network after the Secure Router 8000 Series router is configured.

Figure 3-2 shows the diagnostic flowchart for firewall faults.

Page 118 of the Panasonic 8000 user manual — 3.2.1 Networking environment
Page 118 · click to enlarge
Page 118

3 Firewall troubleshooting Nortel Secure Router 8000 Series

Figure 3-2 Diagnostic flowchart for faults on the firewall

Check the status of

the interface and exclude the fualts

at the link layer

Is the ACL rule correct?

Reconfigure the ACL rule

Is the traffic classification

Reconfigure the traffic classification

Is the traffic policy correct?

Is a correct trafffic policy applied on the

Show 33 more labels / short text on this page
Firewall is invalid · Is network connectivity · No · normal? · Yes · No · Yes · No · correct? · Yes · Is the traffic · No · Reconfigure the · behavior · traffic behavior · correct? · Yes · No · Reconfigure the · traffic policy · Yes · No · Apply a correct · traffic policy · interface? · Yes · Is the problem · Seek technology · No · solved? · support · Yes · End
Page 119 of the Panasonic 8000 user manual — Checking that the traffic classification rule is correct
Page 119 · click to enlarge
Page 119

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting

3.2.4 Troubleshooting procedures

The troubleshooting procedures are as follows.

Step 1 Checking the connectivity of the network

Step 2 Checking that the ACL rule is correct

Step 3 Checking that the traffic classification rule is correct

Step 4 Checking that the traffic behavior is correct

Step 5 Checking that the traffic policy is correct

Step 6 Checking that the correct policy is applied on the interface

The following sections describe the detailed troubleshooting steps.

Checking the connectivity of the network

Use the display ip interface brief command to check the status of each interface. Up indicates that the interface is available. Down indicates that the interface is not available.

The status of the network connectivity is based on the following four cases:

1. Ethernet4/0/0 is up, the line protocol is up.

Each interface works normally.

2. Ethernet4/0/0 is up, the line protocol is down.

The status of the link is down. The possible cause is that the IP address is not configured.

3. Ethernet4/0/0 is down, the line protocol is down.

The interface and the link are down. The possible causes are as follows:

− The Ethernet interface has faults.

− The Ethernet interface is not connected with the cable.

− The cable connected to the Ethernet interface is damaged.

− The type of the cable is improper.

4. Ethernet4/0/0 is administratively down, the line protocol is down.

The interface is shut down. Run the undo shutdown command to enable the interface.

Checking that the ACL rule is correct

Run the display acl command in any view to check that the filtering rule of the correct ACL is configured.

Checking that the traffic classification rule is correct

Run the display traffic classifier user-defined command in any view to check whether the class and the proper ACL rule are configured.

End

Page 120 of the Panasonic 8000 user manual — 3.4 Diagnostic tools
Page 120 · click to enlarge
Page 120

3 Firewall troubleshooting Nortel Secure Router 8000 Series

Checking that the traffic behavior is correct

Run the display traffic behavior user-defined command in any view to check whether the traffic behavior and the proper firewall action are configured.

Checking that the traffic policy is correct

Run the display traffic policy command in any view to check whether the correct action is specified in the traffic classification.

Checking that the correct policy is applied on the interface

Run the display this command in the interface view to check that the correct traffic policy is configured.

If you cannot resolve the problem, contact Nortel technical support.

3.3 FAQs

Q: Where can I apply the firewall?

A: The firewall can be applied to the HIC and the FIC, as well as the ingress and the egress.

3.4 Diagnostic tools

display this Displays the interface settings.

Used in the related interface view.

display this interface Displays the detailed information about the interface.

Used in the related interface view.

display traffic policy user-defined [ policy-name [ classifier class-name ] ]

Displays the policy.

display traffic behavior user-defined [ behavior-name ]

Displays the action.

display traffic classifier user-defined [ class-name ]

Displays the class.

display acl Displays the ACL.

display traffic policy interface [ interface-type interface-number ] [ inbound | outbound | pvc pvc-name ]

Displays all policies applied on the interface.

display traffic policy interface [ interface-type interface-number ] [ inbound | outbound | pvc pvc-name ]

Displays all policies applied on the ATM interface.

Command Description

Page 121 of the Panasonic 8000 user manual — display traffic policy user-defined
Page 121 · click to enlarge
Page 121

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting

display traffic policy interface [ { interface-type interface-number } [ inbound | outbound | dlci dlcinumber ]

Displays all policies applied on the synchronous interfaces with FR (Frame Relay) as the link layer protocol.

display this

Check that the policy is applied on the interface.

display this interface

[Nortel-Ethernet2/0/0] display this interface

Ethernet2/0/0 current stateUP
Line protocol current stateUP
DescriptionNORTEL, Nortel Series, Ethernet2/0/0 Interface

The Maximum Transmit Unit is 1500 bytes, Hold timer is 10(sec)

Internet Address is 4.1.1.1/24

IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc39-1ffe

Output queue(Urgent queue : Size/Length/Discards) 0/50/0
Output queue(Protocol queue : Size/Length/Discards) 0/1000/0
Output queue(FIFO queuing : Size/Length/Discards) 0/75/0

negotiation auto , speed 100M , duplex full, loopback not set

display traffic policy user-defined

[Nortel] display traffic policy user-defined mypolicy1

User Defined Traffic Policy Information:

Policymypolicy1
Classifierclass1
Behaviorbehavior1

Table 3-1 Description of the output information of the display traffic policy command

User Defined Traffic Policy Information Information about the policy defined by the user

Policy The name of the policy

Classifier The class of the policy

Show 10 more labels / short text on this page
Command Description · [Nortel-Ethernet2/0/0] display this · # · interface Ethernet2/0/0 · traffic-policy mypolicy1 inbound · # · return · …… · Firewall · Main field Description
Page 122 of the Panasonic 8000 user manual — display traffic classifier user-defined
Page 122 · click to enlarge
Page 122

3 Firewall troubleshooting Nortel Secure Router 8000 Series

Behavior The behavior associated with the class in the policy

display traffic behavior user-defined

[Nortel] display traffic behavior user-defined

User Defined Behavior Information:

Behaviortest

Assured Forwarding:

Discard MethodTail
Queue Length64 (Packets)

General Traffic Shape:

CIR 30000 (bps), CBS 15000 (bit), EBS 0 (bit)

Queue length 50 (Packets)

Marking:

Remark MPLS EXP 3

BehaviorNORTEL

Marking:

Remark IP Precedence 3

Committed Access Rate:

CIR 20000 (bps), CBS 15000 (bit), EBS 0 (bit)

Conform Actionpass
Exceed Actiondiscard

Expedited Forwarding:

Bandwidth 50 (Kbps) CBS 1500 (Bytes)

Table 3-2 Description of the output information of the display traffic behavior command

User Defined Behavior Information Information about the behavior defined by the user

Behavior The name of the behavior

Assured Forwarding The Assured Forwarding (AF) information

General Traffic Shape Information about the traffic shaping behavior

Marking Marking of the behavior

Committed Access Rate Information about the traffic policing behavior

Expedited Forwarding The Expedited Forwarding (EF) information

display traffic classifier user-defined

[Nortel] display traffic classifier user-defined class1

User Defined Classifier Information:

Classifierclass1
OperatorAND

Main field Description · Bandwidth 30 (Kbps) · Main field Description

Page 123 of the Panasonic 8000 user manual — display traffic policy interface
Page 123 · click to enlarge
Page 123

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting

Rule(s)if-match acl 3001

Table 3-3 Description of the output information of the display traffic classifier command

User Defined Classifier Information

Information about the traffic classification defined by the user

Classifier The name of the traffic classification

Operator The relationship of rules for matching the classes

Rule(s) The matching rules

display acl

[Nortel] display acl 3001

Advanced ACL 3001, 3 rules

Acl's step is 5

rule 5 permit ip source 10.1.1.1 0

rule 10 permit ip source 10.1.1.2 0

rule 15 deny ip

The preceding display shows the ACL settings as follows:

z The default step length is 5.

z Rule 5 allows the access of the device with the source IP address 10.1.1.1.

z Rule 10 allows the access of the device with the source IP address 10.1.1.2.

z Rule 15 refuses all device access.

From the preceding configuration information, you can conclude that the ACL rule 3001 allows only the access of the devices with the source IP addresses 10.1.1.1 and 10.1.1.2

display traffic policy interface

[Nortel] display traffic policy interface Ethernet 1/0/0

DirectionInbound
InterfaceEthernet1/0/0
policycarrem
Classifiercarrem2
Behaviorcarrem2

Committed Access Rate:

CIR 6000 (kbps), CBS 98304 (bit), PIR 0 (kbps), PBS 0 (bit)

Green Action:pass

Yellow Actionremark
Red Actiondiscard
Conformed310047196/19843037864 (Packets/Bytes)
Exceeded2798/179072 (Packets/Bytes)

Main field Description

Page 124 of the Panasonic 8000 user manual — 3.3 FAQs
Page 124 · click to enlarge
Page 124

3 Firewall troubleshooting Nortel Secure Router 8000 Series

Table 3-4 Description of the output information of the display traffic policy interface command

Panasonic 8000 — 3.3 FAQs diagram (page 124)
Fig. 24 · 3.3 FAQs

Interface The interface on which the policy is applied

Behavior The behavior associated with the class in the policy

Page 125 of the Panasonic 8000 user manual — 4.1 NAT...............................................................................................................................................................4-2
Page 125 · click to enlarge
Page 125

Nortel Secure Router 8000 Series Troubleshooting - VAS Contents

Contents

4 NAT troubleshooting 4-1

4.1 NAT 4-2

4.1.1 NAT attributes 4-2

4.1.2 NAT modes 4-3

4.1.3 Special protocols supported by the address translation 4-3

4.2 Troubleshooting NAT Troubleshooting 4-4

4.2.1 Typical Networking 4-4

4.2.2 Configuration notes 4-5

4.2.3 Troubleshooting flowchart 4-6

4.2.4 Troubleshooting procedures 4-8

4.3 Troubleshooting cases 4-9

4.3.1 Internal Network Cannot Successfully Ping the External Network After NAT Is Configured on the Router 4-9

4.4 FAQs 4-10

4.5 Diagnostic tools 4-11

4.5.1 Display commands 4-11

4.5.2 Debugging commands 4-19

Issue 01.01 (30 March 2009) Nortel Networks Inc. i

Page 126 of the Panasonic 8000 user manual — NAT Troubleshooting
Page 126 · click to enlarge
Page 126
Page 126 of the Panasonic 8000 user manual — NAT Troubleshooting
Page 127 of the Panasonic 8000 user manual — Figures
Page 127 · click to enlarge
Page 127

Nortel Secure Router 8000 Series Troubleshooting - VAS Figures

Figures

Figure 4-1 NAT principles 4-2

Figure 4-2 NAPT working mode 4-3

Figure 4-3 NAT networking 4-4

Figure 4-4 Networking of the load balancing, flow control and BT speed control on the NAT server 4-5

Figure 4-5 troubleshooting flowchart 4-7

Figure 4-6 Internal network fails to ping the external network 4-9

Issue 01.01 (30 March 2009) Nortel Networks Inc. iii

Page 128 of the Panasonic 8000 user manual — NAT Troubleshooting
Page 128 · click to enlarge
Page 128
Page 128 of the Panasonic 8000 user manual — NAT Troubleshooting
Page 129 of the Panasonic 8000 user manual — Tables
Page 129 · click to enlarge
Page 129

Nortel Secure Router 8000 Series Troubleshooting - VAS Tables

Tables

Table 4-1 Description of the output information of the display firewall servermap command 4-13

Table 4-2 Description of the output information of the display firewall session statistic command 4-15

Table 4-3 Description of the output information of the display firewall session table command 4-15

Table 4-4 Description of the output information of the display nat inside-ip command 4-17

Table 4-5 Description of the output information of the display nat outbound command 4-17

Table 4-6 Description of the output information of the display nat server command 4-18

Table 4-7 Description of the output information of the debugging nat-alg server-map command 4-20

Issue 01.01 (30 March 2009) Nortel Networks Inc. v

Page 130 of the Panasonic 8000 user manual — NAT Troubleshooting
Page 130 · click to enlarge
Page 130
Page 130 of the Panasonic 8000 user manual — NAT Troubleshooting
Page 131 of the Panasonic 8000 user manual — 4 NAT troubleshooting
Page 131 · click to enlarge
Page 131

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

4 NAT troubleshooting

About This Chapter

The following table lists the contents of this chapter.

4.1 NAT This section describes the information you need to know before troubleshooting NAT.

4.2 Troubleshooting NAT Troubleshooting

This section describes the notes about configuring NAT, and provides the NAT troubleshooting flowchart and the troubleshooting procedure in a typical NAT networking.

4.3 Troubleshooting cases This section presents several troubleshooting cases.

4.4 FAQs This section lists the frequently asked questions and their answers.

4.5 Diagnostic tools This section describes common diagnostic tools: display commands and debugging commands.

Section Describes

Page 132 of the Panasonic 8000 user manual — 4.1.1 NAT attributes
Page 132 · click to enlarge
Page 132

4 NAT troubleshooting Nortel Secure Router 8000 Series

4.1 NAT

4.1.1 NAT attributes

Network Address Translation (NAT) allow hosts in a private network to share IP addresses for Internet access. With the rapid growth in Internet scales, the number of IPv4 addresses becomes insufficient. NAT is thus introduced to save IP addresses.

Using NAT, multiple users can access the Internet through a small number of IPv4 addresses at the same time. The access to the Internet is transparent for most application programs. You need not configure on clients.

Each host has only a private IP address. The private IP addresses are reserved by the Internet Assigned Numbers Authority (IANA) for private networks and used by hosts to access each other. When a host wants to access the Internet, its private IP address is replaced by a legal IP address on the egress of the private network. The mapping between a private IP address and a legal IP address is recorded so that the legal IP address of a returned packet can be changed back into the private IP address. The mapping remains till the end of the access.

Figure 4-1 NAT principles

10.1.1.200 211.100.7.34 162.105.178.65 211.100.7.34

10.1.1.200 211.100.7.34 162.105.178.65 211.100.7.34 10.1.1.200 211.100.7.34 NAT Server

162.105.178.65 162.105.178.66 162.105.178.67 162.105.178.68

Show 4 more labels / short text on this page
Internal network · External · network · Address pool
Page 133 of the Panasonic 8000 user manual — 4.1.3 Special protocols supported by the address translation
Page 133 · click to enlarge
Page 133

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

4.1.2 NAT modes

NAT has two modes. In one mode, NAT replaces only the IP address of the packet as shown in Figure 4-1. In the other mode, NAT replaces both the IP address of the packet and the number of the interface as shown in Figure 4-2, which is called Network Address Port Translation (NAPT). NAPT can implement IP address sharing with high efficiency. Therefore, NAPT is the most commonly used mode of NAT.

Figure 4-2 NAPT working mode

Panasonic 8000 — 4.1.2 NAT modes diagram (page 133)
Fig. 25 · 4.1.2 NAT modes

4.1.3 Special protocols supported by the address translation

The NAT platform module not only executes address translation, but also provides a NAT application level gateway mechanism.

In this manner, it can support various application protocols in the flow without any changes in the NAT platform. Therefore, NAT provides high scalability.

NAT supports address translation of the following protocols and application programs:

z Internet Control Message Protocol (ICMP)

z Domain Name System (DNS)

z Internet Locator Service (ILS)

z NetBIOS over TCP/IP (NBT)

External · Address pool

Page 134 of the Panasonic 8000 user manual — SR8000
Page 134 · click to enlarge
Page 134

4 NAT troubleshooting Nortel Secure Router 8000 Series

4.2 Troubleshooting NAT Troubleshooting

4.2.1 Typical Networking

NAT

As shown in Figure 4-3, an enterprise is connected to the Wide Area Network (WAN) by using NAT of the Secure Router 8000 Series router.

It is required that the enterprise network be connected to the Internet through the serial port 3/0/0 on the router and the enterprise network provide Web and FTP services to Internet users.

Figure 4-3 NAT networking

10.110.10.1/24 10.110.10.2/24

Panasonic 8000 — NAT diagram (page 134)
Fig. 26

SR8000

Load Balancing, Flow Control, Speed Control, and BT Flow Control on the NAT Server

As shown in Figure 4-4, an enterprise is connected to the WAN by using NAT function of the Secure Router 8000 Series.

The enterprise must connect to Internet 1 through Ethernet1/0/0 (IP address is 202.38.160.108), and to Internet 2 through Ethernet1/0/1 (IP address is 202.38.160.108). The enterprise externally provides Web services and three Web servers. The external users of Internet 1 and Internet 2 access the Web servers through a router.

The PC on the internal network segment 10.110.10.0/24 can access Internet 1, but PCs on other segments cannot access it. In addition, here, a user can set up a maximum of 300 connections (flow control).

The maximum bandwidth for each user is 1 Mbit/s (1024 bit/s). The user is also limited to the speed of BT downloading services, and the overall BT flow control is within 30 Mbit/s (30720 kbit/s).

FTPserver Web sever2

Page 135 of the Panasonic 8000 user manual — 4.2.2 Configuration notes
Page 135 · click to enlarge
Page 135

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

Figure 4-4 Networking of the load balancing, flow control and BT speed control on the NAT server

10.110.10.1 10.110.10.2 10.110.10.3 WWW Server1

WWW Server2 WWW Server3

Panasonic 8000 — 4.2.2 Configuration notes diagram (page 135)
Fig. 27 · 4.2.2 Configuration notes

SR8000

202.38.166.100/28 Eth1/0/1

4.2.2 Configuration notes

When configuring NAT, you need to:

z Identify the interfaces connecting the internal network and the interfaces connecting the

external network.

z Check whether the outbound NAT or inbound NAT is used, that is, check whether NAT is

used as the gateway or NAT server.

Panasonic 8000 — 4.2.2 Configuration notes diagram (page 135)
Fig. 28 · 4.2.2 Configuration notes

Configuring the association between the ACL and the address pool

Configure the ACL rule and the address pool first.

Configuring of the internal server Configure the internal server on the interface.

The IP address of the public network must be in the address pool.

Map the IP address of the internal router from the IP address and port number to the IP address of the public network and port number.

External PC

Page 136 of the Panasonic 8000 user manual — 4.2.3 Troubleshooting flowchart
Page 136 · click to enlarge
Page 136

4 NAT troubleshooting Nortel Secure Router 8000 Series

Configuring the limit on the number of connected users, the traffic, and the total amount of BT

The maximum number of both users and source IP addresses is 7.

4.2.3 Troubleshooting flowchart

In the networking environment described earlier, if the external user still cannot access the internal server, or the internal user cannot access the external server after you configure NAT, follow the troubleshooting procedures shown in Figure 4-5 .

Item Description

Page 137 of the Panasonic 8000 user manual — 4.2.3 Troubleshooting flowchart
Page 137 · click to enlarge
Page 137

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

Figure 4-5 troubleshooting flowchart

Make the interfaces go

Are physical status of interfaces

Are there routes from the internal network to

from the internal network to external

Is the address pool associated

Are outbound interface address and address pool on same network

Are there routes from hosts to

the address pool? Is fault rectified?

hosts to the address

Are there routes from the external network to

Configure routes from the external network to address

Show 48 more labels / short text on this page
Configuring NAT · fails · No · Is fault rectified? · Up · Up? · No · Yes · Configure routes · No · Is fault rectified? · external network? · network · Yes · No · No · Associate the address · Is fault rectified? · pool with ACLs · with ACLs? · Yes · No · Are ACL rules · No · correctly configured? · Reconfigure ACL rules · Is fault rectified? · No · Yes · Yes · Is fault rectified? · segment? · No · Configure routes from · No · pool · No · Yes · No · Is fault rectified? · address pool? · pool · Is fault rectified? · No · Seek technical · support · Yes · End
Page 138 of the Panasonic 8000 user manual — 4.2.4 Troubleshooting procedures
Page 138 · click to enlarge
Page 138

4 NAT troubleshooting Nortel Secure Router 8000 Series

4.2.4 Troubleshooting procedures

The troubleshooting procedures are as follows:

Step 1 Check that all interfaces are Up.

Run the display this interface command in the interface view to check whether the physical and link status of each interface is Up. If an interface is Down, make the physical and link status of the interface go Up and ensure that the directly connected interfaces can be successfully pinged.

Step 2 Check that there are routes from the internal network to the external network.

Run the display ip routing-table command on the router in the internal network to check whether there are routes to the external network segment where the destination IP address resides. If there are no such routes, configure routes on the router in the internal network to the external network segment where the destination IP address resides.

Step 3 Check that the address pool is associated with an ACL.

Run the display this command on the NAT interfaces to check whether the address pool is associated with an ACL. If the address pool is associated with an ACL, run the display acl all command to check the configuration of the ACL.

Ensure that there are rules in an ACL; otherwise, no address translation is performed.

Step 4 Check that ACL rules are correctly configured.

When you configure a NAT server based on multiple address pools, the ACL rules configured on a same interface affect each other. Packets are matched in the ascending order of the ACL rule numbers. Thus, you are recommended to set the numbers of the longest match rules to be small.

For the multiple rules defined in an ACL, packets are matched in the ascending order of the rule IDs. Thus, rules listed after the first matched rule are not considered.

Step 5 Check that the addresses in the address pool and the IP addresses of interfaces that connect

the public network are on the same network segment.

If they are not on the same network segment, you need to run the ip route-static ip-address { mask | mask-length } null0 command on the NAT router to configure a route to the network segment where addresses in the address pool reside and specify the next hop to be Null0.

If the internal network hosts need to access the internal server through the IP address of the public network, you need to check whether there are routes on the router of the public network to the address pool. If there are no such routes, you need to run the ip route-static ip-address 32 { nexthop-address | interface-type interface-number [ nexthop-address ] } command on the router of the public network to configure a static route. This allows the packets sent from hosts at the public network side destined for the addresses in the address pool to be routed to the NAT devices.

After the configuration, if the fault persists, contact Nortel technical personnel.

The following sections describe the detailed troubleshooting steps.

End

Page 139 of the Panasonic 8000 user manual — Fault Analysis
Page 139 · click to enlarge
Page 139

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

4.3 Troubleshooting cases

4.3.1 Internal Network Cannot Successfully Ping the External Network After NAT Is Configured on the Router

Networking

In the network shown in Figure 4-6, outbound NAT is configured; Router A is connected to the internal network; Router C is connected to the external network. It is required that NAT be configured on Router B to implement the communication between the internal network and external network.

Figure 4-6 Internal network fails to ping the external network

10.1.1.1/24 202.1.1.1/24

Eth4/0/6 10.1.1.2/24

202.1.1.2/24

SR8000

After the configuration, you can find that Ethernet 2/0/1 on Router A cannot successfully ping Ethernet 4/0/6 on Router C.

Fault Analysis

Step 1 Run the display interface command on Router A, Router B, and Router C to check the status

of each interface. You can find that the four interfaces on the routers are all Up and the directly connected interface can be successfully pinged from each other.

Step 2 Run the ping 10.1.1.2 command on Router C and then run the display this interface

command on Router A to view the statistics of incoming packets on Ethernet 2/0/1. You can find that the statistics increase, which indicates that the ACL is correctly configured on Router B.

Step 3 Run the display ip routing-table command on Router B to check whether there are routes to

the external network segment where the destination IP address resides. You can find that there are routes to the external network segment.

Step 4 Run the display nat address-group command and the display this command on Router B to

check whether the addresses in the address pool and the IP address of Ethernet 4/0/0 are on the same network segment. You can find that they are on different network segments.

Step 5 Run the display ip routing-table command on Router C to check whether there are routes to

the address pool. You can find that there are routes to the address pool.

Show 6 more labels / short text on this page
Internal network · External · network · RouterA RouterC RouterB · Eth4/0/1 Eth4/0/0 · Eth2/0/1
Page 140 of the Panasonic 8000 user manual — 4.4 FAQs
Page 140 · click to enlarge
Page 140

4 NAT troubleshooting Nortel Secure Router 8000 Series

Step 6 Run the display ip routing-table command to check whether a static route to the address pool

is configured on Ethernet 4/0/0. It is required that the next hop of the static route be interface Null0 and the mask of the Null0 route have the same length as that of the address pool. However, it is found that the lengths of the masks are different.

Troubleshooting procedure

Do as follows on Router B:

Step 1 Run:

The system view is displayed.

Step 2 Run:

ip route-static ip-address { mask | mask-length } null0 [ gateway address| preference

A static route to the address pool is configured.

After the configuration, you can find that Router A can successfully ping Router C.

Summary

When the NAT address pool and the IP address used to configure the NAT interface are not in the same network segment, you need to configure a static route to the address pool on the interface connected to the public network.

The next hop is Null0. The length of the mask in the route must be the same as that of the address pool.

4.4 FAQs

z Q: In NAPT Mode, Why the NAT Traffic Cannot Be Sent by the Tester?

A: NAT in NAPT mode supports the NAT translation for only TCP, UDP, and ICMP packets. Other types of IP packets are directly discarded. So, when NAT in NAPT mode is adopted, the tester directly discards data packets that are not TCP, UDP, or ICMP packets.

z Q: Why the User in the Internal Network Cannot Access the Internal Server Through the Public Address?

A: You need to configure a route to the public address of the internal server on the router; the outbound interface of the route is the interface on which the NAT server is configured., there must be routes on the internal server to the public address.

z Q: When the Public Address of the NAT Server Is the Same as That of Interfaces, Internal Users Cannot Access the Internal Server. How to Solve This Problem?

Show 4 more labels / short text on this page
----End · system-view · preference ] · ----End
Page 141 of the Panasonic 8000 user manual — 4.5.1 Display commands
Page 141 · click to enlarge
Page 141

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

A: You can configure a different public address of the NAT server from the public address of interfaces. If a user has only one public address, you can configure an address pool to allocate public addresses to internal users.

z When a NAT Server Is Configured, Are ACL Rules Implemented on Traffic on the Private Network or Public Network?

A: When configuring NAT or a NAT server, ACL rules are implemented on traffic on the private network instead of traffic on the public network. Generally, ACL rules are applied on inbound interfaces to match packets on the inbound interfaces. For the NAT server, however, ACL rules are applied to match the packets after address translation is implemented.

z Q: How Can the Failures of Load Balancing, Flow Control, Speed Control, and BT Flow Control on the NAT Server Be Handled?

A: You can run the reset firewall session table command in the user view to rectify the faults.

4.5 Diagnostic tools

4.5.1 Display commands

display firewall session aging-time

Displays the valid time for the address translation.

Displays the entries of the NAT server translation table in NP.

Includes the added static servermap entries in the process of configuring the NAT server and the temporary servermap entries in the process of handling ALG.

display firewall session statistic

Displays the statistics of the session entries in NP.

Includes the total number of sessions and the number of sessions of TCP, UDP, ICMP, and fragment.

display firewall session table [ verbose ] [ source sour-addr | destination dest-addr ]

Displays the session in NP. -

display nat all Displays all configurations of the address translation and the configuration of the NAT ALG.

Displays information about the configured address pool.

Command Description Note · display firewall servermap · display nat address-group

Page 142 of the Panasonic 8000 user manual — display firewall session aging-time
Page 142 · click to enlarge
Page 142

4 NAT troubleshooting Nortel Secure Router 8000 Series

display nat alg Displays information about the applied gateway.

display nat car-class Displays the speed control of NAT. -

display nat car-bt Displays the speed control of NAT BT. -

Displays the traffic control of NAT. -

display nat flow-control Displays information about the configured NAT traffic control.

display nat inside-ip ip-address

Displays information about the ip-address of the internal server.

display nat outbound Displays information about the address translation.

display nat server Displays the configuration of the internal server.

display firewall session aging-time

display firewall session aging-time

tcp protocol timeout:240

udp protocol timeout:40

icmp protocol timeout:20

fragment timeout:5

fin-rst protocol timeout:5

syn protocol timeout:5

h225 timeout:240

h245 timeout:240

netbios-name timeout:30

netbios-session timeout:30

netbios-data timeout:30

ftp timeout:240

ftp-data timeout:30

hwcc timeout:240

ras timeout:240

ils timeout:240

http timeout:240

smtp timeout:30

rtsp timeout:30

rtcp timeout:30

rtp timeout:30

telnet timeout:300

dns timeout:240

pptp timeout:30

qq timeout:120

msn timeout:120

Command Description Note · display nat connection-class

Page 143 of the Panasonic 8000 user manual — display firewall servermap
Page 143 · click to enlarge
Page 143

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

This output information is the aging time (in seconds) of the establishment of the session table.

display firewall servermap

display firewall servermap

Nat leaf display successfully.

Leaf Addr :0x02417564

BitConfig :0x00

DstIP :0x05010105(5.1.1.5)

VpnID :0

Key Flag :0x00

Key Protocol/Pool ID :0

Key DstPort :0

Flag :0x8000

Server Inner IP :0x04010101(4.1.1.1)

Server Inner Port :0

Server Inner IP2 :0x00000000(0.0.0.0)

Server Inner Port2 :0

Server Inner IP3 :0x00000000(0.0.0.0)

Server Inner Port3 :0

Server ActionData :0xffffffff

Aspf Aging Time :0

Aspf Time Stamp :4214

Aspf Temp SrcIP :0x00000000(0.0.0.0)

Aspf App Protocol :0

Aspf IP Protocol :0

Aspf Client SrcPort :0

Aspf Client DstPort :0

Aspf Server SrcPort :0

Aspf Server DstPort :0

Table 4-1 Description of the output information of the display firewall servermap command

Leaf Addr The address of the leaf

BitConfig The configuration of the address of the bit

DstIP The destination IP address

VpnID The sequence number of VPN

Key Flag The type of the servermap table

0x40: specifies the servermap table that corresponds with the NAT outbound configured with the no-pat mode

0x00specifies the servermap table that corresponds with the configured NAT server

Key Protocol / Pool ID

The number of the protocol/the index of the address pool

Key DstPort The destination port

Item Description

Page 144 of the Panasonic 8000 user manual — display firewall session statistic
Page 144 · click to enlarge
Page 144

4 NAT troubleshooting Nortel Secure Router 8000 Series

Flag The type of the servermap table

0x2000specifies the temporary l servermap table
0x4000specifies the servermap table actively established by the FTP server in the external network
0x4001specifies the servermap table actively established by the FTP server in the internal network
0x8000indicates that the NAT server is valid

Server Inner IP The IP address of the internal server 1 of the NAT server

Server Inner Port The port of the internal server 1 of the NAT server

Server Inner IP2 The IP address of the internal server 2 of the NAT server

Server Inner Port2 The port of the internal server 2 of the NAT server

Server Inner IP3 The IP address of the internal server 3 of the NAT server

Server Inner Port3 The port of the internal server 3 of the NAT server

Server ActionData The dynamic data of the NAT server

Aspf Aging Time The aging time of the servermap entries

0. specifies no aging

Aspf Time Stamp The time stamp (when the value of this field is more than the aging time, you need to delete the entries)

Aspf Temp SrcIP The source IP of Application Specific Packet Filter (ASPF)

Aspf App Protocol The ASPF application protocol

Aspf IP Protocol The ASPF IP protocol

Aspf Client SrcPort The source port of the ASPF client

Aspf Client DstPort The destination port of the ASPF client

Aspf Server SrcPort The source port of the ASPF server

Aspf Server DstPort The destination port of the ASPF server

display firewall session statistic

display firewall session statistic

Session Statistics Information:

ICMP Session0x00000002(2)
TCP Session0x00000000(0)
UDP Session0x00000000(0)
Frag Session0x00000000(0)
Total Session0x00000002(2)

Item Description

Page 145 of the Panasonic 8000 user manual — display nat address-group
Page 145 · click to enlarge
Page 145

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

Table 4-2 Description of the output information of the display firewall session statistic command

ICMP Session The number of ICMP sessions

TCP Session The number of TCP sessions

UDP Session The number of UDP sessions

Frag Session The number of fragmentation sessions

Total Session The total number of sessions

display firewall session table

display firewall session table source 4.1.1.1

icmp,4.1.1.1:2048[5.1.1.8:10]-->5.1.1.2:44008

Table 4-3 Description of the output information of the display firewall session table command

Icmp The protocol of the packet is ICMP.

4.1.1.1 The source IP, here the IP of the internal network (the session established when the internal network pings the external network)

2048 The port number of the host in the internal network

5.1.1.8 The IP of the public network translated from the IP of the internal network (the IP in the address pool)

10 The port number of the IP of the public network

5.1.1.2 The IP of the external network (the destination IP)

44008 The port number of the host in the external network

display nat address-group

display nat address-group

NAT address-group information:

5. from 5.1.1.3 to 5.1.1.10(24), reference 2 times
6. from 6.1.1.1 to 6.1.1.253(24), reference 0 times

The first line in the preceding display shows the following:

z 5 specifies the number of the index of the address pool.

z 5.1.1.3 specifies the initial IP of the address pool.

z 5.1.1.10 specifies the last IP of the address pool.

z 24 specifies the length of the address pool.

z reference 2 times specifies to refer the address pool twice.

Item Description · Item Description · Total 2 address-groups

Page 146 of the Panasonic 8000 user manual — display nat flow-control
Page 146 · click to enlarge
Page 146

4 NAT troubleshooting Nortel Secure Router 8000 Series

display nat alg

[Nortel] display nat alg

NAT application level gateway information:

netbios NAT application level gateway is enabled

ils NAT application level gateway is enabled

ftp NAT application level gateway is enabled

icmp NAT application level gateway is enabled

This output information shows whether packets of the types netbios, ils, ftp, and icmp are enabled for the NAT ALG.

display nat car-class

display nat car-class

nat car-class information:

class 12048 kbps
class 22048 kbps
class 32048 kbps
class 42048 kbps
class 52048 kbps
class 62048 kbps
class 72048 kbps

This output information lists the real bandwidth that corresponds with the class of the IP bandwidth.

display nat car-bt

display nat car-bt

nat car-bt information:

the velocity of car-bt20480 kbps

This output information displays the limited traffic of BT.

display nat connection-class

dis nat connection-class

nat connection-class information:

class 1512
class 2512
class 3512
class 4512
class 5512
class 6512
class 7512

This output information lists the threshold of the connection that corresponds with the class of the number of connections.

display nat flow-control

display nat flow-control

nat car-class information:

Acl connection-class car-class the velocity of car-bt

2001 20480

Page 147 of the Panasonic 8000 user manual — display nat server
Page 147 · click to enlarge
Page 147

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

This output information displays the traffic control of NAT:

z The ACL 2001 is used.

z The class of the bandwidth is 2.

z The class of the number of connections is 3.

display nat inside-ip

display nat inside-ip 4.1.1.1

Server in private network information:

GlobalAddr GlobalPort InsideAddr InsidePort Pro VPN

Interface:Ethernet4/0/6

5.1.1.5 2110 4.1.1.1 3211 6(tcp)

Total 1 NAT servers

Table 4-4 Description of the output information of the display nat inside-ip command

GlobalAddr The IP of the public network (here 5.1.1.5)

GlobalPort The port number of the public network IP (here 2110)

InsideAddr The IP of the internal network (here 4.1.1.1)

InsidePort The port number of the internal network IP (here 3211)

Pro The number of the protocol (here 6, the TCP protocol)

Interface The interface configured with NAT

Total The number of the configured NAT servers

display nat outbound

display nat outbound

NAT outbound information:

Ethernet4/0/6acl(3000) --- NAT address-group( 5)

Total 1 nat outbounds

Table 4-5 Description of the output information of the display nat outbound command

Ethernet4/0/6 The interface configured with the NAT outbound feature

acl(3000) The configured ACL

address-group( 5) The index of the address pool (here 5)

Total The number of the configured NAT outbounds

display nat server

display nat server

Server in private network information:

Item Description · Item Description

Page 148 of the Panasonic 8000 user manual — display nat all
Page 148 · click to enlarge
Page 148

4 NAT troubleshooting Nortel Secure Router 8000 Series

GlobalAddr GlobalPort InsideAddr InsidePort Pro VPN

Interface:Ethernet4/0/6

5.1.1.5(5,3000) 2110 4.1.1.1 3211 6(tcp) (1)

5.1.1.5(5,3000) 2110 4.1.1.2 3000 6(tcp) (1)

Total 2 NAT servers

Table 4-6 Description of the output information of the display nat server command

GlobalAddr The interface configured with the NAT outbound feature

GlobalPort The configured ACL

InsideAddr The index of the address pool (here 5)

InsidePort The port number of the internal network IP

Pro The number of the protocol (here 6, the TCP protocol)

VPN VPN

Total The number of configured NAT servers

display nat all

display nat all

NAT address-group information:

0. from 10.110.1.1 to 10.110.1.30, reference 0 times
10. from 100.1.1.10 to 100.1.1.20, reference 1 times
18. from 10.110.27.1 to 10.110.27.100, reference 0 times

NAT outbound information:

Ethernet1/0/0acl(3100) --- NAT address-group(10)

Server in private network information:

GlobalAddr GlobalPort InsideAddr InsidePort Pro VPN

Interface:Ethernet3/0/0

192.168.10.2 100.1.1.2 --- (1)time

Total 1 NAT servers

NAT application level gateway information:

netbios NAT application level gateway is enabled

ils NAT application level gateway is enabled

ftp NAT application level gateway is enabled

icmp NAT application level gateway is enabled

The following sections describe the information in the preceding display.

Three address pools are configured as follows:

z The numbers of the address pools are 0, 10, and 18 respectively.

z The No.10 address pool is referred once.

Configure an association of the address translation on the interface Ethernet1/0/0 as follows:

z The ACL rule 3100 is associated with the No.10 address pool.

z The address translation uses the PAT mode.

Item Description · Total 3 address-groups

Page 149 of the Panasonic 8000 user manual — FTP,5.1.1.2:2710+->5.1.1.5:21[4.1.1.1:21]
Page 149 · click to enlarge
Page 149

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

In addition:

z Configure an internal server on the interface Ethernet3/0/0.

z The internal address of the server is http:// 100.1.1.2 is 192.168.10.2.

NAT supports the following application protocols: netbios, ils, ftp, icmp.

4.5.2 Debugging commands

debugging nat-alg all Enables all debugging of the NAT ALG.

debugging nat-alg information Enables the debugging information of the NAT ALG.

debugging nat-alg packet Enables debugging of the NAT ALG data packet.

debugging nat-alg server-map Enables debugging of the NAT ALG server-map table.

debugging nat-alg session ftp Enables debugging of the FTP session table.

debugging ftp-server Enables debugging of the FTP server.

debugging nat-alg information

debugging nat-alg information

Info:Current terminal debugging is on terminal monitor

Info:Current terminal monitor is on

*0.96484224 Nortel SEC/8/ASPF:

[ASPF] The session of (ffffffff|2000251) not found

*0.96484224 Nortel SEC/8/ASPF:

[ASPF] a new FTP session created!(1|2000251)

The output is the debugging information about session settings when the host in the external network is connected to the server in the internal network through FTP.

The terminal debugging and terminal monitor commands are the switch to enable debugging. If the search for the session fails, you can recreate the session. You can view the session by entering the following commands:

display firewall session table

FTP,5.1.1.2:2710+->5.1.1.5:21[4.1.1.1:21]

debugging nat-alg packet

debugging nat-alg packet

Info:Current terminal debugging is on terminal monitor

Info:Current terminal monitor is on

*0.97096416 Nortel SEC/8/ASPF:

[ASPF] Packet L3Offset =24. //the offset

Show 5 more labels / short text on this page
Command Description · <Nortel> terminal debugging · <Nortel> · <Nortel> terminal debugging · <Nortel>
Page 150 of the Panasonic 8000 user manual — debugging nat-alg server-map
Page 150 · click to enlarge
Page 150

4 NAT troubleshooting Nortel Secure Router 8000 Series

*0.97096416 Nortel SEC/8/ASPF:

[ASPF] Packet Information:

SrcAddr =0x05010102(5.1.1.2) //the packet from the external network, the

source IP is the IP of the external network

DstAddr =0x05010105(5.1.1.5) //the packet from the external network, the

destination IP is the IP of the public network configured by the NAT Server

Proto =6 //the protocol number AppPro

*0.97096416 Nortel SEC/8/ASPF:

[ASPF] The session of (ffffffff|2000259) not found

*0.97096416 Nortel SEC/8/ASPF:

[ASPF] a new FTP session created!(3|2000259)

*0.97096512 Nortel SEC/8/ASPF:

[ASPF] Packet L3Offset =24.

*0.97096512 Nortel SEC/8/ASPF:

[ASPF] Packet Information:

SrcAddr =0x04010101(4.1.1.1) //the packet from the internal network, the

source IP is the IP of the internal network

DstAddr =0x05010102(5.1.1.2) //the packet from the internal network, the

destination IP is the IP of the external network

debugging nat-alg server-map

debugging nat-alg server-map

Info:Current terminal debugging is on terminal monitor

Info:Current terminal monitor is on

*0.97962544 Nortel SEC/8/ASPF:

Download Temp ServerMap(Proto=6)//deliver the ephemeral

DstIP = 5.1.1.2; DstPort= 3797; SrcIP = 4.1.1.1; SrcPort = 0

NatSrvInIP = 5.1.1.5; NatSrvInPort = 0; GlobalSrcIP = 5.1.1.5; AgingTime = 14

Table 4-7 Description of the output information of the debugging nat-alg server-map command

Proto The number of the protocol (TCP protocol)

DstIP The destination IP (5.1.1.2, the IP of the external network)

DstPort The destination port number (3797)

SrcIP The port number of the source IP (the IP 4.1.1.1 of the internal network)

SrcPort The number of the source port (0)

Show 11 more labels / short text on this page
=0 · PayloadLen =0 · MoreFrag =0 · Proto =6 · AppPro =0 · PayloadLen =24 · MoreFrag =0 · <Nortel> terminal debugging · <Nortel> · servermap table · Item Description
Page 151 of the Panasonic 8000 user manual — 4.5.2 Debugging commands
Page 151 · click to enlarge
Page 151

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting

NatSrvInIP The IP of the NAT server (5.1.1.5)

NatSrvInPort The port of the NAT server (0)

GlobalSrcIP The public network IP of the NAT server (5.1.1.5)

AgingTime The aging time of the Servermap table (here 14s)

Item Description

Page 156 of the Panasonic 8000 user manual — Cover & Spine
Page 156 · click to enlarge
Page 156

Nortel Secure Router 8000 Series Troubleshooting - VAS Copyright © 2009 Nortel Networks All Rights Reserved. Printed in Canada, India, and the United States of America Release: 5.3 Publication: NN46240-709 Document status: Standard Document release date: 30 March 2009 To provide feedback or to report a problem in this document, go to www.nortel.com/documentfeedback www.nortel.com LEGAL NOTICE While the information in this document is believed to be accurate and reliable, except as otherwise expressly agreed to in writing NORTEL PROVIDES THIS DOCUMENT "AS IS" WITHOUT WARRANTY OR CONDITION OF ANY KIND, EITHER EXPRESS OR IMPLIED. The information and/or products described in this document are subject to change without notice. Nortel, the Nortel logo, and the Globemark are trademarks of Nortel Networks. All other trademarks are the property of their respective owners.

For information about the software license, read "Software license" in this guide.

Panasonic 8000 — Cover & Spine diagram (page 156)
Fig. 29 · Cover & Spine
Display codes

Error codes

What the fault codes shown on the display mean and how to clear them.

CodeMeaningFix
TO10The ACL is not required. Use the configured IPSec proposal tran1 and configure p.85

Ask about the Panasonic 8000

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the Panasonic 8000

Be the first to ask — other owners or our team will answer.

Original document

Panasonic 8000 manual PDF

156 pages·923 KB·Router·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…