

5.3 01.01
www.nortel.com
NN46240-709 324767-A

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.


Nortel Secure Router 8000 Series Troubleshooting - VAS Contents
About this document 1
Issue 01.01 (30 March 2009) Nortel Networks Inc. i



Nortel Secure Router 8000 Series Troubleshooting - VAS About this document
Overview
This section describes the organization of this document, product version, intended audience, conventions, and update history.
The following table lists the product versions related to this document.
Nortel Secure Router 8000 Series V200R005
This document is intended for the following audience:
z network maintenance engineers
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.

Nortel Secure Router 8000 Series

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.
This section describes the symbol and text conventions used in this document

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.

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

Nortel Secure Router 8000 Series Troubleshooting - VAS About this document
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.

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.

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

Nortel Secure Router 8000 Series
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.
Updates between document versions are cumulative. Therefore, the latest document version contains all updates made to previous versions.
This is the first commercial release of this document.
About this document · Action Description

Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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.
This section describes the basic concepts of AAA, RADIUS, and HWTACACS.
Section Description

1 AAA troubleshooting Nortel Secure Router 8000 Series
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 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

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
− Nortel extended RADIUS+1.1 protocol
− active detection on the RADIUS server state
Type Length Value

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.
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.
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.
AAA supports four authentication modes:
z local authentication

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.
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.
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.
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.

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.
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.
This section covers the following topics:
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
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).
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
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
Configure local authentication mode.

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.

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
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
Step 1 Check the PPP link.

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:
If the fault persists, contact Nortel technical support.
This section covers the following topics:

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
Figure 1-5 shows the networking of RADIUS authentication.
Figure 1-5 Networking diagram of RADIUS authentication

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.

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.
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
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.
Enable the FTP server in the system view of the NAS.
[Nortel] ftp server enable
Info:Start FTP 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.

1 AAA troubleshooting Nortel Secure Router 8000 Series
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
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.
If the link is Down, remove the faults on the link.
− 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
[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

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
is down!

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
[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.
This section provides the following troubleshooting cases:
z FTP user fails to pass through RADIUS authentication
z Error! Reference source not found.
Figure 1-7 Networking diagram of RADIUS authentication
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.
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.

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.
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.
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
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.
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.

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.
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.

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.

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.

display radius-server configuration template Displays the RADIUS server template.
53 Acct-Output-Gigawor ds

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 rt_1
[Nortel-aaa] display authentication-scheme hwtacacs
[Nortel-aaa] display authorization-scheme hwtacacs
[Nortel-aaa] display accounting-scheme hwtacacs

1 AAA troubleshooting Nortel Secure Router 8000 Series
display domain nortel
display radius-server configuration template rt_1
display hwtacacs-server template ht_1

Nortel Secure Router 8000 Series Troubleshooting - VAS 1 AAA troubleshooting
debugging radius packet Debugs the RADIUS packet.
debugging hwtacacs all Debugs the HWTACACS packet.
· Command Description

Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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

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

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
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
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.

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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
IP Header AH data TCP Header
IP Header TCP Header
ESP data ESP Tail ESP Auth data
ESP data ESP Tail ESP Auth data IP Header TCP Header AH
Figure 2-2 Format of the tunnel mode packets
new IP Header AH data TCP Header
new IP Header ESP data TCP Header raw IP Header ESP Tail ESP Auth data
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.
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:

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.
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.
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 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.
In Phase 1, IKE has two negotiation modes:
z Encryption algorithms

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.
This section covers the following topics:
Based on Figure 2-3, you can set up an IPSec SA manually.
Figure 2-3 Networking diagram of the manual IPSec SA setup

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.

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.

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

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

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).
# 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
# 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

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
# 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
# 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

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
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

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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
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) · ===========================================

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
proposal name:tran1
inbound AH setting:
AH spi:
AH string-key:
AH authentication hex key:
inbound ESP setting:
ESP encryption hex key:
ESP authentication hex key:
outbound AH setting:
AH spi:
AH string-key:
AH authentication hex key:
outbound ESP setting:
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.
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.
=========================================== · ·

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
display ipsec sa policy map1
No duration limit for this sa
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.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.
This section covers the following topics:
Figure 2-5 shows the IPSec SA setup in ISAKMP mode.

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
Figure 2-5 Networking diagram of setting up ISAKMP IPSec

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.

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.

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

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

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).
# Configure the host local ID in aggressive IKE negotiation mode.
[RouterA] ike local-name routera
Use the default IKE proposal between the IKE peers.
# 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

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
[RouterA-ike-peer-routerb] remote-address 202.38.162.1
# 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
# 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
# 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
# Apply the IPSec policy map1 on the serial interface.
[RouterA] interface Pos 1/0/1
[RouterA-Pos1/0/1] ipsec policy map1
Figure 2-6 and Figure 2-7 show the troubleshooting flows both in Phase 1 and in Phase 2.

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?

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
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.

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
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.
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
Use the display ike peer name command to view the IKE peer.
display ike peer name routerb
proposal:
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
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.

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
display ipsec sa policy map1
udp encapsulation used for nat traversal: N
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.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:

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
dropped security packet detail:
with secp,process packets failure statistics:
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.
This section covers the following topics:
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.

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

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.

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.

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

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

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).
Use the default IKE proposal.
# 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.

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
# 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
# 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
# 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
# Apply the IPSec policy map1 on the GE interface.
[RouterA] interface GigabitEthernet 1/0/1
[RouterA-GigabitEthernet1/0/1] ipsec policy map1

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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?

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
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
=========================================== · ===========================================

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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.
This section covers the following topics:

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
Figure 2-10 shows the networking diagram of NAT traversal in the IPSec tunnel.
Figure 2-10 Networking diagram of IPSec NAT

10.1.2.1
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.
The internal NAT network uses the normal ISAKMP SA configurations. The following table lists the notes and constraints.

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

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

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

— 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.

— 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.

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).
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.
For detailed configuration information and precautions, see the configuration notes for “Troubleshooting ISAKMP SA.”
Item Sub-item Description

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
By default, use the default IKE proposals.
# 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.
# 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
# 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
# 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
# Apply the IPSec policy map1 on the serial interface.
[RouterA] interface Ethernet 1/2/0

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
[RouterA-Ethernet1/2/0] ipsec policy map1
For information about configuring Router B, see the configuration notes for “Troubleshooting SA setup using an IPSec policy template.”
# Configure the local ID of the host in aggressive IKE negotiation mode.
[RouterB] ike local-name routerb
If no proposal is configured, the remote IKE ends use the default IKE proposals.
# 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
No ACL is configured; that is, the data to protect is unspecified but defined in the ACL rules of the negotiation initiator.
# 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
# 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

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
# 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
# Apply the IPSec policy map1 on the Ethernet interface.
[RouterB] interface Ethernet 2/1/0
[RouterB-Ethernet1/2/0] ipsec policy map1
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

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
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
proposal:
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
·

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
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.
This section covers the following topics:
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.

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
Figure 2-12 Networking diagram of configuring IPSec

10.1.1.1
10.1.2.1
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.

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.

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series

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).
# 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

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
[RouterA-Tunnel1/0/1] destination 202.38.162.1
If no IKE proposal is configured, the remote end uses default IKE proposals.
# 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
# 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
# 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
# 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
# Apply the IPSec policy group map1 on the specified interface.
[RouterA] interface Pos 1/0/1
[RouterA-Pos1/0/1] ipsec policy map1

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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.

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
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

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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.
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.
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
If the keep-alive function of ISAKMP SA is disabled, you must remove the related SA manually after the device is restarted.
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.
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.
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.
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.

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.)
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.
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.
display ipsec proposal name Displays the IPSec protocol.
display ipsec policy name Displays the IPSec policy.
Command Description

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 tran1
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.
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.
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.
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.
z IPSec policies manually configured:
display ipsec policy name map1
Command Description · ===========================================

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
proposal name:tran1
inbound AH setting:
AH spi:
AH string-key:
AH authentication hex key:
inbound ESP setting:
ESP encryption hex key:
ESP authentication hex key:
outbound AH setting:
AH spi:
AH string-key:
AH authentication hex key:
outbound ESP setting:
ESP encryption hex key:
ESP authentication hex key:
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.
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.
The display indicates the ACL used in the IPSec policy.
You can use the security acl command to modify the configuration.
The display indicates the local address of IPSec tunnel. This address is the address of the interface that uses the IPSec policy group.
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.
=========================================== · ·

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 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 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
z IKE policies · ===========================================

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
The display indicates the interface that uses the IPSec policy group.
You can use the ipsec policy command to change the interface.
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.
The display indicates the ACL used in the IPSec policy.
You can use the security acl command to modify the configuration.
The display indicates the IKE peer specified in the IPSec policy.
You can use the ike-peer command to modify the configuration.
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.
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.
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.
=========================================== · ·

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.
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 map1
No duration limit for this sa
No duration limit for this sa
The display indicates that the SA uses the matching policy with the name map1 and sequence number 10.
The display indicates that the SA uses the matching policy manually configured.
The display indicates that the SA uses the tunnel encapsulation mode.
The display indicates that the start and end port protected by SA are 202.38.163.1 and 202.38.162.1 respectively.
No duration limit for this sa

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).
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
Src Address Dst Address SPI Protocol Algorithm
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
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).

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 routerb
proposal:
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.
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.
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.
The preceding configuration displays the peer IP address.
You can use the remote-address command to modify the configuration.
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) · ·

2 IPSec and IKE troubleshooting Nortel Secure Router 8000 Series
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
connection-id peer VPN flag phase doi
14 202.38.162.1 0 RD|ST 1 IPSEC
flag meaning:
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
the security packet statistics:

Nortel Secure Router 8000 Series Troubleshooting - VAS 2 IPSec and IKE troubleshooting
dropped security packet detail:
The preceding display indicates the statistics of the number of input and output IPSec packets.
The preceding display indicates the statistics of the number of input and output IPSec bytes.
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:
The preceding display indicates the statistics of packets lost due to memory shortage. This situation rarely occurs.
The preceding display shows the statistics of the packets dropped because no IPSec SA is found.. To remove the fault, see “Troubleshooting ISAKMP SA.”
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.
debugging ipsec packet Debugs the IPSec packet.
debugging ike error Debugs IKE errors.
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

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!
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 Source address and destination address of the encapsulated IP header: 202.38.163.1 and 202.38.162.1
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 ---
New ESP(RFC2406) Enc Alg:DES Auth Alg:HMAC-MD5-96
Replay Checking Enabled! SN:1
ESP new input: Authentication succeed!
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 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.
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

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

Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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

3 Firewall troubleshooting Nortel Secure Router 8000 Series
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.”
The process for filtering IP data packets is as follows:
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.
To filter packets, you need to complete the following steps:
After executing the preceding steps, configure the firewall filtering function on the interface.
The section describes the following topics:

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting
Figure 3-1 Networking of the firewall

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.

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.
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.

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

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting
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.
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:
Each interface works normally.
The status of the link is down. The possible cause is that the IP address is not configured.
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.
The interface is shut down. Run the undo shutdown command to enable the interface.
Run the display acl command in any view to check that the filtering rule of the correct ACL is configured.
Run the display traffic classifier user-defined command in any view to check whether the class and the proper ACL rule are configured.
End

3 Firewall troubleshooting Nortel Secure Router 8000 Series
Run the display traffic behavior user-defined command in any view to check whether the traffic behavior and the proper firewall action are configured.
Run the display traffic policy command in any view to check whether the correct action is specified in the traffic classification.
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.
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.
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

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.
Check that the policy is applied on the interface.
[Nortel-Ethernet2/0/0] display this 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
negotiation auto , speed 100M , duplex full, loopback not set
[Nortel] display traffic policy user-defined mypolicy1
User Defined Traffic Policy Information:
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

3 Firewall troubleshooting Nortel Secure Router 8000 Series
Behavior The behavior associated with the class in the policy
[Nortel] display traffic behavior user-defined
User Defined Behavior Information:
Assured Forwarding:
General Traffic Shape:
CIR 30000 (bps), CBS 15000 (bit), EBS 0 (bit)
Queue length 50 (Packets)
Marking:
Remark MPLS EXP 3
Marking:
Remark IP Precedence 3
Committed Access Rate:
CIR 20000 (bps), CBS 15000 (bit), EBS 0 (bit)
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
[Nortel] display traffic classifier user-defined class1
User Defined Classifier Information:
Main field Description · Bandwidth 30 (Kbps) · Main field Description

Nortel Secure Router 8000 Series Troubleshooting - VAS 3 Firewall troubleshooting
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
[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
[Nortel] display traffic policy interface Ethernet 1/0/0
Committed Access Rate:
CIR 6000 (kbps), CBS 98304 (bit), PIR 0 (kbps), PBS 0 (bit)
Green Action:pass
Main field Description

3 Firewall troubleshooting Nortel Secure Router 8000 Series
Table 3-4 Description of the output information of the display traffic policy interface command

Interface The interface on which the policy is applied
Behavior The behavior associated with the class in the policy

Nortel Secure Router 8000 Series Troubleshooting - VAS Contents
4 NAT troubleshooting 4-1
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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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



Nortel Secure Router 8000 Series Troubleshooting - VAS 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

4 NAT troubleshooting Nortel Secure Router 8000 Series
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting
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

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

4 NAT troubleshooting Nortel Secure Router 8000 Series
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

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

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

202.38.166.100/28 Eth1/0/1
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.

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

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.
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

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

4 NAT troubleshooting Nortel Secure Router 8000 Series
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

Nortel Secure Router 8000 Series Troubleshooting - VAS 4 NAT troubleshooting
4.3.1 Internal Network Cannot Successfully Ping the External Network After NAT Is Configured on the Router
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
After the configuration, you can find that Ethernet 2/0/1 on Router A cannot successfully ping Ethernet 4/0/6 on Router C.
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.

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.
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.
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.
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?

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.
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

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
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

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
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
Key Protocol / Pool ID
The number of the protocol/the index of the address pool
Key DstPort The destination port
Item Description

4 NAT troubleshooting Nortel Secure Router 8000 Series
Flag The type of the servermap table
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
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
Session Statistics Information:
Item Description

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 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
NAT address-group information:
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

4 NAT troubleshooting Nortel Secure Router 8000 Series
[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
nat car-class information:
This output information lists the real bandwidth that corresponds with the class of the IP bandwidth.
display nat car-bt
nat car-bt information:
This output information displays the limited traffic of BT.
dis nat connection-class
nat connection-class information:
This output information lists the threshold of the connection that corresponds with the class of the number of connections.
display nat flow-control
nat car-class information:
Acl connection-class car-class the velocity of car-bt
2001 20480

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 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
NAT outbound information:
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
Server in private network information:
Item Description · Item Description

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)
Total The number of configured NAT servers
display nat all
NAT address-group information:
NAT outbound information:
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]](/cdn/reader/4b/4bea649a92684daaeb95fefb0c66cb430cc77d41fc6a63e24442f08742935a5e/images/page-149.webp?w=400)
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.
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
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
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

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
Info:Current terminal debugging is on terminal monitor
Info:Current terminal monitor is on
*0.97962544 Nortel SEC/8/ASPF:
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)

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

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.

What the fault codes shown on the display mean and how to clear them.
| Code | Meaning | Fix | |
|---|---|---|---|
| TO10 | The ACL is not required. Use the configured IPSec proposal tran1 and configure | p.85 |
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.