
For AR1202, AR1204, AR1208, AR1216, AR3201-CH/CL, and AR3202-CH/CL Routers

2100 Gold Street P.O. Box 649100 San Jose, CA 95164-9100
Tel 408.586.1700 Fax 408.586.1900
June 2004

Copyright © 2004 Foundry Networks, Inc. All rights reserved.
No part of this work may be reproduced in any form or by any means – graphic, electronic or mechanical, including photocopying, recording, taping or storage in an information retrieval system – without prior written permission of the copyright owner.
The trademarks, logos and service marks (“Marks”) displayed herein are the property of Foundry or other third parties. You are not permitted to use these Marks without the prior written consent of Foundry or such appropriate third party.
Foundry Networks, BigIron, FastIron, IronView, JetCore, NetIron, ServerIron, TurboIron, IronWare, EdgeIron, IronPoint, AccessIron, the Iron family of marks and the Foundry Logo are trademarks or registered trademarks of Foundry Networks, Inc. in the United States and other countries.
F-Secure is a trademark of F-Secure Corporation. All other trademarks mentioned in this document are the property of their respective owners.


This guide describes how to configure the AccessIron routers in typical scenarios using information presented in the configurations and user guides.
This manual is designed for system administrators with a working knowledge of Layer 2 and Layer 3 switching and routing.
If you are using a Foundry Layer 3 Switch, you should be familiar with the following protocols if applicable to your network – IP, RIP, OSPF, BGP4, PIM, and VRRP.
This guide uses the following typographical conventions to show information:
Italic highlights the title of another publication and occasionally emphasizes a word or phrase.
Bold highlights a CLI command.
Bold Italic highlights a term that is being defined.
Underline highlights a link on the Web management interface.
Capitals highlights field names and buttons that appear in the Web management interface.

The following Foundry Networks documents supplement the information in this guide.
Printed release notes provide the latest information. If release notes are provided with your product, follow the instructions contained within them instead of those provided in other documentation.
This guide is designed to assist users with the initial installation and deployment of the Foundry AR1202 two- port and AR1204 four-port router. The guide provides a brief overview of the installation and initial configuration processes.
This detailed guide provides an abbreviated install guide for those experienced with installing Foundry AccessIron routers.
This guide is designed to assist users with the initial installation and deployment of Foundry rack-mounted routers. The guide provides a brief overview of the installation and initial configuration processes.
This detailed guide provides an abbreviated install guide for those experienced with installing Foundry AccessIron rack-mounted routers.
This guide provides examples of AccessIron configurations.
This guide explains the syntax and application of AccessIron router CLI commands.
To order additional copies of these manuals, do one of the following:
Table 1.1 shows the features supported on AccessIron devices.
Category Feature AR1202 AR1204 AR1208 AR1216
AR3201-T-CH AR3202-T-CH
Interfaces · WAN Protocols

Category Feature AR1202 AR1204 AR1208 AR1216
AR3201-T-CH AR3202-T-CH
PPP, PAP, Multilink PPP, Frame Relay, Multilink Frame Relay, (FRF.15, FRF.16.1) BCP, HDLC
Getting Started · Layer 2 Features · Layer 3 Features

Category Feature AR1202 AR1204 AR1208 AR1216
AR3201-T-CH AR3202-T-CH
DHCP
TFTP
PAP
RADIUS
TACACS+
IPSec VPN with integrated IKE Site-to-site VPN Site-to-remote VPN MD5 & SHA-1 authentication Hardware accelerated encryption 3DES (168 bit), DES (56 bit), AES (256 bit) encryption
VPN optional on the AR1202 and AR1204
Frame Relay traffic shaping and policing
VLAN-802.1P 8 queue prioritization of VLAN frames
Management (in-band, serial, Telnet, or modem) by: CLI SNMP
Monitoring syslog Statistics Alarms
Diagnostics BERT Loopback testing Traceroute Reverse Telnet

Category Feature AR1202 AR1204 AR1208 AR1216
AR3201-T-CH AR3202-T-CH
How to Get Help
Foundry Networks technical support will ensure that the fast and easy access that you have come to expect from your Foundry Networks products will be maintained.
Technical requests can also be sent to the following email address:
Contact Foundry Networks using any of the methods listed above for information about the standard and extended warranties.
Getting Started · Timed Access List



This chapter introduces the Command Line Interface (CLI) hierarchy and the conventions used to describe it. It also introduces the CLI navigation keys and methods, as well as the available help screens.
This guide contains two types of commands: transition, or mode change, commands and standard commands.
Transition commands do not affect the system configuration, they are used to gain access to lower- or next-level commands in the CLI hierarchy. Following each transition command is a brief description, a syntax and usage example, a list of next-level commands, and a list of systems for which the command is applicable.
Standard commands are used to configure the system. Following each standard command is a brief description, a list of parameters and definitions, a syntax and usage example, a list of related commands, and a list of systems for which the command is applicable.
Some commands are context-sensitive. Once a module, bundle, or Ethernet port has been selected for configuration, all further configuration applies only to the selected interface. Table 2.1: shows a context-sensitive command string for a AR1208 system. In this example, T1 link 1 remains selected for configuration until you exit from the Foundry-AR1208/configure/module/t1# prompt.
Context-Sensitive Command String Example
1 Go into the configuration mode. Foundry-AR1208#configure terminal
1 Specify the type of interface (T1). Foundry-AR1208/configure#module t1
1 Choose the specific interface (T1 link 1). Foundry-AR1208/configure#module t1 1
1 From now on, all configuration commands are for T1 link 1 until you exit from module configuration or choose another T1 link.
Foundry-AR1208/configure/module/t1 1#

Each command is briefly described and then followed by the complete syntax, which is essentially a map of the command that shows mandatory and optional parameters.
The following tables provide details of the conventions used for syntaxes and examples.
For Syntaxes What it means
normal type Within syntaxes, “normal type” represents required words that must be entered by the user — except when followed by a parameter setting that is enclosed in angled brackets. In that case, only enter the parameter setting enclosed in the angled brackets.
Example 1: Normal type only.
In this example, the user enters the word or argument (module) appearing in the syntax in “normal type.”
Command execution:
Example 2: Normal type word or argument that is followed by a second normal type word or argument, which is followed by a parameter setting enclosed in angled brackets.
In this example, the user enters the first word or argument “connections,” appearing in normal type, and then only enters the value “4” of the second word or argument.
connections connections < n >
Command execution:
In other words, the first occurence of “connections” must be entered because it is not followed by a setting enclosed in angled brackets. The second occurence of the word “connections” must NOT be entered because it is followed by a setting enclosed in angled brackets. This value of the setting must be entered to execute the command.
module · module · connections 4

[ a | b | c ] Normal brackets “[ ]” indicate optional keywords or arguments.
A vertical bar “ | “ separates individual settings.
In this example, the user enters the word “timeout;” must specify either for “tcp” or “udp” for a protocol type; and optionally enters a timeout value “n.”
timeout protocol_type < tcp | udp > [ seconds < n > ]
Command execution:
< # Angled brackets. All parameter settings are enclosed in angled brackets. The user is directed to choose an appropriate setting. In some cases, the parameter name accompanies the required setting.
[ ] Optional parameter settings in each syntax are indicated by normal brackets.
For Examples What it means
normal type Prompts and commands that are part of the main prompt are shown in normal type.
Examples:
bold type All character strings that a user must enter to execute a command are in bold type.
You may enter commands by typing the first few characters of each word in a command string. The Foundry system recognizes the unique abbreviated entry and executes the command exactly as if you had entered it fully.
For example, to view the currently running system configuration, you may type show configuration running at the Foundry# prompt. You may also type dis con run to get the same result. Similarly, you may abbreviate the optional parameter names required by some commands.
For example, a typical entry may be as follows:
mlppp mrru 1600 sequence short seg_threshold 1000 differential_delay 100 discriminator 10.1.100.22
To save time, you may type the following equivalent abbreviated string:
mlppp m 1600 seq short seg 1000 diff 100 dis 10.1.100.22

The Tab, Esc, and Ctrl keyboard keys may be used to:
You may use the Tab key to quickly enter each word of a command without typing its full name. For example, to enter the configure command, you may type its first two letters and then press Tab to complete the entire word. Then, you may specify an item to configure by pressing the Spacebar and then pressing Tab repeatedly until the desired sub-command appears. Repeat this sequence for each successive sub-command string until the entire command string appears.
You may also use the other keystrokes shown in during command entry. For example, to back up the cursor without deleting any characters, type Ctrl-B. To repeat the last command that you entered, type Ctrl-P. To go back several commands, type Ctrl-P repeatedly until the desired previous command appears. Or, you may go directly back to the main CLI# prompt from anywhere in the command hierarchy by typing Ctrl-Z.
Figure 2.1 Navigation Keys
# help edit key stroke -- action -- TAB -- command completion Esc-B -- go back one word Esc-F -- forward one word Esc-DEL -- delete one word left to cursor BackSpace -- go back and delete one char Ctrl-A -- start of line Ctrl-B /
Command help is available for navigating the CLI command hierarchy and for assistance with specific commands. You may obtain help by using any of the three commands described below.
Type help at the main CLI prompt to see the basic Foundry system help information. Or, type help followed by a command name to view information about that command. shows the help screen.

Figure 2.2 Help Screen
# help ? -- display commands under this tree exit [level] -- exit (level nos ) from the current tree -- 'exit' from "top level" terminates CLI Ctrl-Z -- exit to top level tree -- display tree under current node type 'help edit' to see editing features type 'help
You may view a tree that shows all CLI commands, or a tree that shows only the commands associated with the current command mode (or the routing mode for example). Figure 2.3 shows two command tree examples. If you type tree at the main (Foundry-AR1208# or equivalent) prompt, the entire list of system commands appears. If you type tree within a command mode, such as Foundry-AR3201-CH/clear# tree, the commands associated with this command mode are displayed.
Figure 2.3 Foundry CLI Command Tree
# tree xcli |-- ping |-- clear | |-- cfg_file | |-- arp | |-- cfg_log | |-- command_log | |-- snmp_stats | |-- counters | | |-- all | | |-- ethernet | | |-- ethernets | | |-- bundle | | |-- bundles | | |-- avc | | |-- avcs | | |-- tunnel | | |-- tunnels | |-- interface | | |-- all | | |-- ethernet Press any key to continue (q : quit) :
To view help information for a command category, specific command, or a parameter, type the associated word followed by a space and a question mark (?). For example, if you type a question mark at the main command prompt, the system command categories appear. Shows a display of these top-level commands.
Command Line Interface

Figure 2.4 ? Help Screen
NAME xcli -- This is root and not a command
DESCRIPTION COMMANDS -- Any of the following commands can be used
clear -- access clear commands configure -- configure from ( flash / network / terminal ) debug -- accesses debug commands dir -- directory of files in flash erase -- access erase filesystem commands file -- access file commands mtrace -- multicast trace route to source address password -- Change the user password ping -- invoke ping reboot -- reboot the system reload -- reboot the system save -- save configuration to ( local / network ) show -- access show commands tclsh -- To invoke TCL shell telnet -- open a telnet connection test -- access test commands trace -- trace route to destination address or host name write -- write to terminal/network/flash
All show, ping, and save commands are available from any level of the CLI. For example, the global show commands allow the user to view current configuration settings, alarms, or tests without exiting the configure mode. In Figure 2.5 on page 2-7, a user has displayed a bundle summary while configuring a new bundle.
Similarly, the ping and save commands are available at any level of the CLI command. The ping command verifies connectivity between the Foundry system and other network hosts; access to the save commands from anywhere in the CLI ensures that your configurations may be saved periodically.
# ? · SYNTAX COMMANDS

This chapter provides information about routing policy commands that are supported by Foundry.
This command provides access to the next-level commands.
configure policy community_list · configure policy ip_access_list · configure policy route_map

This command configures the autonomous system path filter for BGP.
AS path access lists are used for matching the AS path attribute in a BGP route. An AS path access list succeeds if any “permit” line in the list matches, or fails if any “deny” line matches. Matching proceeds sequentially and stops at the first match.
The regular expression parameter is an as path regular expression. (For regular expression syntax, see “AS Path Regular Expressions” on page 13-1.) Note that the regular expression must be enclosed in quotation marks. The AS number is the smallest element of a Foundry regular expression. It is an integer ranging from 0 to 65536; the Foundry regular expression matcher is AS number-based.
Any number of AS path access list lines may be declared. They are evaluated in the order declared. If neither permit nor deny is specified, the default is “permit.”
access_list Access list number
Range is 1 - 199.
number Sequence to insert or delete from an existing AS path entry.
Range is 0 - 65535.
deny Deny AS path.
permit Permit AS path.
regular_expression Regular expression to match the AS paths.
Enter a quoted string.
Refer to “AS Path Regular Expressions” on page 13-1 for more information about regular expressions.
[ no ] policy as_path access_list < n > number < n > action < deny | permit > regular_expression < “string” >
Foundry-AR1208/configure# policy as_path 1 120 permit “100”
Foundry-AR1208/configure# policy as_path 1 121 deny “.* 101 .*”
action

This command accesses next-level commands for adding extended or standard community lists.
Community lists are used for matching the “community” attribute in a BGP route. A community list succeeds if any “permit” line in the list matches, or fails if any “deny” line matches. Matching proceeds sequentially and stops at the first match. A line in a community list is normally said to match if the route being tested contains at least all of the communities listed in the line. That is, it may contain additional communities as well. If the exact-match keyword is used, then it must contai8n exactly the same communities as listed.
The communities parameter can be:
Note that “exact_match” is supported in the community_list as well as at the route_map level. If neither permit nor deny is specified, the default is permit. If no community is specified, any route will be matched, regardless of what communities are present. The route will even be matched if the community path attribute is not present. Any number of community list lines may be declared. They are evaluated in the order declared.
configure policy community_list standard_community
Policy Commands

This command configures an extended community list as part of the policy.
community_list Extended community list number
The range is 100 - 199.
community_index Community index number
The range is 0 - 65535.
deny Specify a community to reject.
permit Specify a community to permit.
community A list of community numbers
The range is 1 - 4294967295.
This list can contain a maximum of 32 numbers.
local_as Do not send out local AS.
aa_nn Community number in aa:nn format
This list can contain a maximum of 32 numbers.
no_advertise Do not advertise to any neighbor.
no_export Do not send to next AS
[ no ] policy community_list extended_community community_list < n > community_index < n > action < deny | permit > [ community < n > ] [ generate _local_as < local_as > ] [ aa_nn < n > ] [ generate_no_advertise < no_advertise > ] [ generate_no_export < no_export > ]
Foundry-AR1208/configure# policy community_list extended_community 100 1 deny community 44 45 local_as aa_nn 400:500 no_advertise

This command configures a standard community list as part of the routing policy.
community_list Extended community list number
The range is 100 - 199.
community_index Community index number
The range is 0 - 65535.
deny Specify a community to reject.
permit Specify a community to permit.
community A list of community numbers
The range is 1 - 4294967295.
This list can contain a maximum of 32 numbers.
local_as Do not send out local AS.
aa_nn Community number in aa:nn format
This list can contain a maximum of 32 numbers.
no_advertise Do not advertise to any neighbor.
no_export Do not send to next AS
[ no ] policy community_list standard_community community_list < n > community_index < n > action < deny | permit > [ community < n > ] [ generate_local_as < local_as > ] [ aa_nn < n > ] [ generate_no_advertise ] [ generate_no_export < no_export > ]
Foundry-AR1208/configure# policy community_list standard_community 90 150 permit community 40 45 local_as aa_nn 655:232592 no_advertise
Foundry-AR1208/configure/policy# community_list standard_community 90 150 permit community 42949672 no_advertise

This command configures the IP access list for routes.
Ip access lists are used for matching any type of route prefix. An IP access list is said to succeed if any “permit” line in the list matches, or fails, if any “deny” line matches. Matching proceeds sequentially and stops at the first match. A line in an IP access list is said to match according to the rules listed below.
Matches addresses as follows: The bits in the address part of the route being masked that are not covered by “one” bits in net mask must be equal to the corresponding bits in network. The “one” bits in net mask are sometimes referred to as “don’t care” bits, because the policy engine does not care what their values are.
Matches addresses as follows: The first pair of parameters (network, maskmask) match the address part of the route just as in the previous (network netmask) form. The second pair of parameters (mask, maskmask) are used to match against the mask part of the route being matched in a similar fashion. That is, the route is matched if the address part matches and the bits in the mask that are not covered by “one” bits in net mask are equal to the corresponding bits in mask.
If neither permit nor deny is specified, the default is permit. All kinds of access_list entries may be mixed freely within a list, and there are no restrictions on what the access_list number may be. Any number of IP access list lines may be declared. They are evaluated in the order declared.
access_list Access list number
The range is 1 - 99
number Sequence to insert to or delete from an existing access list entry.
The range is 0 - 65535.
deny Route map deny set operation.
permit Route map permit set operation.
network Network route (IP address in dotted notation)
netmask Network mask as wildcard bits (IP address in dotted notation)
mask Network route’s mask (IP address in dotted notation)
maskmask Wildcard mask for network route’s mask ( in dotted notation)
[ no ] policy ip_access_list access_list < n > number < n > action < deny | permit > [ network < IP address > ] [ netmask < IP address > ] [ mask < IP address > ] [ maskmask < IP address > ]
Foundry-AR1208/configure# policy ip_access_list 1 1 permit network 10.0.0.0 netmask 0.255.255.255
This example permits prefixes 10.0.0.0/8, 10.0.0.0/9 and so on.
action

Foundry-AR1208/configure# policy ip_access_list 1 1 permit network 10.0.0.0 netmask 0.255.255.255 mask 255.0.0.0 maskmask 0.255.255.255
This example restricts the prefixes to 10.0.0.0/8 only.
Policy Commands

This command configures the policy for router route maps.
Route maps are used for general-purpose matching of routes and setting of route attributes. Each route_map is comprised of one or more route_map clauses, of the form shown below.
route_map name number [ permit | deny ]
A route_map clause is said to match if each of its match statements matches, according to the rules given below. A route_map is said to succeed if one of its permit clauses clauses matches, and fails if one of its deny clauses matches. Matching proceeds sequentially and stops at the first match. If the route_map succeeds, the actions specified by the set statements in the matched clause are performed.
If neither permit nor deny is specified, the default is permit.
Match statements can be:
Set statements can be:
name Route map name
number A sequence to insert to or delete from exiting route map.
The range is 0 - 65535.
deny Deny the route map.
This is the default value.
permit Permit the route map.
[ no ] policy route_map name number [ action < deny | permit > ]
Foundry-AR1208/configure# policy route_map Block100 1 permit
match statements · set statements · action

configure policy route_map commit
configure policy route_map match
configure policy route_map set
Policy Commands

This command accesses next-level commands for configuring the policy for matching parameters of the routes.
configure policy route_map match community
configure policy route_map match ip

This command matches any of the specified BGP AS path access lists.
path_list AS path access list
The range is 1 - 199; the maximum list size is 32.
[ no ] policy match as_path path_list < n >
Foundry-AR1208/configure#/policy/route_map Block100 1# match as_path 1
configure policy route_map match ip
configure policy route_map match community
Policy Commands

This command matches any of the specified BGP community lists.
[ no ] policy match community
Foundry-AR1208/configure/policy/route_map Block100 1# match community
configure policy route_map match as_path
configure policy route_map match ip

This command distributes routes matching the prefix against any of the specified IP access lists.
ip_list Ip access list number(s)
Enter a list of numbers.
The range is 1 - 199.
A maximum of 32 numbers can be in the list.
[ no ] match ip ip_address ip_list < n >
Foundry-AR1208/configure/policy/route_map Block100 1# match ip ip_address 20
Policy Commands

This command provides access to next-level commands to set parameters for the routes.
configure policy route_map set community
configure policy route_map set distance
configure policy route_map set local_preference
configure policy route_map set metric
configure policy route_map set metric_type
configure policy route_map set origin

This command configures a character string for a BGP AS-path attribute.
prepend AS path access list
Enter a list of numbers.
The range is 1 - 65535; the maximum list size is 32.
tag Set tag as an AS path attribute.
Enter a number.
[ no ] set as_path [ prepend < n > ] [ tag < n > ]
Foundry-AR1208/configure/policy/route_map Block100 1# set as_path prepend 100 250 tag 0
configure policy route_map set community
configure policy route_map set distance
configure policy route_map set local_preference
configure policy route_map set metric
configure policy route_map set metric_type
configure policy route_map set origin
Policy Commands

This command configures the policy for community attributes.
Set the community attribute to the given value or list of values. If the additive keyword is specified, the list of values augments any communities already present. If the additive keyword is not specified, the list of values overwrites any communities already present.
number Community number (unsigned)
The range is 1 - 4294967294
The maximum numbers in the list is 32.
aa_nn Community number in aa:nn format
Enter a number or a list of numbers separated by spaces.
The maximum numbers in the list is 32
additive Add to the existing community.
local_as Do not send outside local AS.
no_advertise Do not advertise to any neighbor.
no_export Do not send to next AS
[ no ] set community number [ < n > ] [aa_nn < n > ] [ generate_additive < additive > ] [ generate_local_as < local_as > ] [ generate_no_advertise < no_advertise > ] [ generate_no_export < no_export > ]
Foundry-AR1208/configure/policy/route_map Block100 1# set community aa:nn 500:60
configure policy route_map set as_path
configure policy route_map set distance
configure policy route_map set local_preference
configure policy route_map set metric
configure policy route_map set metric_type
configure policy route_map set origin

This command sets the BGP protocol preference for the path attribute.
distance Default preference value
The range is 0 - 255.
[ no ] set distance distance < n >
Foundry-AR1208/configure/policy/route_map Block100 1# set distance 20
configure policy route_map set as_path
configure policy route_map set community
configure policy route_map set local_preference
configure policy route_map set metric
configure policy route_map set metric_type
configure policy route_map set origin
Policy Commands

This command configures the BGP local preference path attribute.
The range is 1 - 4292967294.
[ no ] set local_preference local_preference < n >
Foundry-1450configure/policy/route_map Block100 1# set local_preference 50
configure policy route_map set as_path
configure policy route_map set community
configure policy route_map set distance
configure policy route_map set metric
configure policy route_map set metric_type
configure policy route_map set origin
local_preference Preference value

This command configures the metric value for the destination routing protocol.
The range is 1 - 4294967294.
[ no ] set metric metric < n >
Foundry-AR1208/configure/policy/route_map Block100 1# set metric 120
configure policy route_map set as_path
configure policy route_map set community
configure policy route_map set distance
configure policy route_map set local_preference
configure policy route_map set metric_type
configure policy route_map set origin
Policy Commands · metric Metric value

This command configures the metric type for a route.
internal Use the IGP metric as the MED for BGP.
[ no ] set metric_type type < internal >
Foundry-AR1208/configure/policy/route_map Block100 1# set metric_type internal
configure policy route_map set as_path
configure policy route_map set community
configure policy route_map set distance
configure policy route_map set local_preference
configure policy route_map set metric
configure policy route_map set origin
type Internal

This command configures the origin value for the BGP route.
incomplete Unknown protocol type
[ no ] set origin origin < egp | igp | incomplete >
Foundry-AR1208/configure/policy/route_map Block100 1# set origin igp
configure policy route_map set origin egp
configure policy route_map set origin igp
configure policy route_map set origin incomplete



Border Gateway Protocol Version 4 (also referred to as simply BGP) is an exterior routing protocol used for the global Internet.
Once configured, BGP peers first exchange complete copies of their routing tables (including BGP version, router ID, and keep alive hold time), which are usually very large. Thereafter, only incremental updates (deltas) are sent as changes occur to the routing tables. BGP keeps a current version of the routing table for all peers, keep alive packets are sent to ensure that the connection between BGP peers, and notification packets are sent in response to problems and irregularities. This enables longer running BGP sessions to be more efficient than shorter sessions.
BGP's basic unit of routing information is the BGP path, a route to a certain set of classless interdomain routing prefixes. Paths are tagged with various path attributes, including an autonomous systems (AS) path and next-hop. In fact, one of BGP's most important functions is loop detection at the AS level, using the AS path attribute, which is a list of autonomous systems used for data transport.
The syntax of this attribute is made more complex by its need to support path aggregation when multiple paths are collapsed into one in order to simplify further route advertisements. A more simplified view of an AS path is that it is a list of autonomous systems that a route goes through to reach its destination. Loops are detected and avoided by checking for your own AS number in the AS path's received from neighboring autonomous systems. Every time a BGP path advertisement crosses an AS boundary, the next-hop attribute is changed on the boundary router. Conversely, as a BGP path advertisement is passed among BGP speakers in the same AS, the next-hop attribute is left untouched. Consequently, BGP's next-hop is always the IP address of the first router in the next autonomous system, even though this may actually be several hops away. The AS's interior routing protocol is responsible for computing an interior route to reach the BGP next-hop.
This leads to the distinction between internal BGP (IBGP) sessions (between routers in the same AS) and external BGP (EBGP) sessions (between routers in different AS's). Next-hops are only changed across EBGP sessions, but left intact across IBGP sessions. The two most important consequences of this design are the need for interior routing protocols to reach one hop beyond the AS boundary, and for BGP sessions to be fully meshed within an AS.
Since the next-hop contains the IP address of a router interface in the next AS, and this IP address is used to perform routing, the interior routing protocol must be able to route to this address. This means that interior routing tables must include entries one hop beyond the AS boundary. Furthermore, since BGP does not relay routing traffic from one interior BGP session to another (only from an exterior BGP session to an IBGP session or another EBGP session), BGP speakers must be fully meshed.

The following table provides Foundry Network’s BGP RFC compliance information.
2385 Protection of BGP sessions via the TCP MD5 signature option
1998 An application of the BGP community attribute in multi-home routing
1997 BGP communities attribute
1775 BGP OSPF interaction
1771 Border Gateway Protocol 4 (BGP-4)
Open Shortest Path First (OSPF), a link-state routing protocol, is used for routing IP packets. OSPF offers the following advantages:
OSPF is designed to operate with larger networks. It does not impose a hop-count restriction and permits its domain to be split into areas for easier management.
OSPF can fully support subnetting, including Variable Length Subnet Mask (VLSM).
Routes can be tagged with arbitrary values. This eases interoperation with Exterior Gateway Protocols (EGPs), which can tag OSPF routes with AS numbers.
OSPF provides the ability to support complex meshed networks.
The following features are incorporated in Foundry’ implementation of OSPF.
RFC Description

The following table provides Foundry Network’s OSPF RFC compliance information.
2328 OSPF version 2
1587 OSPF NSSA option
1850 OSPF Version 2 Management Information Base
Routing Information Protocol (RIP) is an interior gateway protocol (IGP), i.e., it routes traffic within a single autonomous system (AS). RIP uses a distance-vector algorithm with hop count as the metric to determine the best route to a destination.
Update messages are sent at configured intervals and when changes occur in the network topology. These messages are used by routers to update their routing tables to maintain currency with the state of the network. When a router updates its routing table, it transmits update messages to other routers in the network to enable them to update their routing tables.
The following list identifies architectural characteristics of RIP:
The following features are incorporated into Foundry’ implementation of RIP:
The following table provides Foundry Network’s RIP RFC compliance information.
1058 Routing Information Protocol
1724 RIP Version 2 MIB extension

2082 RIP-II MD5 Authentication
Traditional multicast routing mechanisms such as Distance Vector Multicast Routing Protocol (DVMRP) and Multicast Open Shortest Path First (MOSPF) were intended for use within regions where groups are densely populated or bandwidth is universally plentiful. When groups, and senders to these groups, are distributed sparsely across a wide area, these “dense mode” schemes do not perform efficiently.
Protocol Independent Multicast (PIM) protocols route multicast packets to multicast groups. PIM is protocol independent because it can leverage whichever unicast routing protocol is used to populate unicast routing table. There are two modes of PIM protocol – Dense mode (DM) and Sparse mode (SM). Foundry supports SM only.
PIM-DM floods multicast traffic throughout the network initially and then generates prune messages as required. PIM-SM attempts to send multicast data only to networks which have active receivers. This is achieved by having a common Rendezvous Point (RP) known to the senders and receivers and by forming shared trees from the RP to the receivers.
PIM-SM is described in RFC 2362.
This feature allows AR-series router administrators to form a security tunnel to join two private networks over the Internet. The following examples show how to set up an end-to-end tunnel with a single proposal and pre-shared key authentication, with multiple proposals and pre-shared key authentication, and with an SA Bundle, and pre-shared key authentication.
The corporate network no longer has a clearly defined perimeter inside secure building and locked equipment closets. Increasingly, companies have a need to provide remote access to their corporate resources for the employees on the move.
Traditionally, remote users could access the corporate LAN through dial-up and ISDN lines which were terminated in the corporate remote access servers. However, these point-to-point connection technologies do not scale well to the growing number of remote users and the corresponding increase in the infrastructure investments and maintenance costs.
A solution to meeting the needs of increasing numbers of remote users and for controlling access costs is to provide remote access through the Internet using firewalls and a Virtual Private Network (VPN). Internet Protocol Security (IPSec) keeps the connection safe from unauthorized users.
In a typical IPSec remote access scenario, the mobile user has connectivity to Internet and an IPSec VPN client loaded on their PC. The remote user connects to the Internet through their Internet service provider and then initiates a VPN connection to the IPSec security gateway (the VPN server) of the corporate office, which is typically an always-on Internet connection.
One of the main limitations in providing remote access is the typical remote user connects with a dynamically assigned IP address provided by the ISP. IPSec uses the IP address of users as an index to apply the Internet Key Exchange (IKE) and IPSec policies to be used for negotiation with each peer. When the VPN client has a dynamic IP address, the VPN server cannot access the policies based on the IP address of the client. Instead, the VPN server uses the identity of the VPN client to access the policies.

Use BGP clear commands to clear bgp configuration settings.
This command provides access to the following next-level commands.
clear ip bgp all
clear ip bgp group
clear ip bgp neighbor
Foundry-AR1208# clear ip bgp
clear ip bgp

This command removes all BGP neighbor connections.
clear ip bgp all
Foundry-AR1208# clear ip bgp all
clear ip bgp group
clear ip bgp neighbor

This command removes all connections for a BGP group.
group_name Name of the group
clear ip bgp group group_name < name >
Foundry-AR1208# clear ip bgp group north
In this example, all BGP connections that belong to neighbor group north will be cleared.
clear ip bgp all
clear ip bgp neighbor
BGP4 Clear Commands

This command removes a specified BGP neighbor connection.
ip_address The IP address of the neighbor
Enter an IP address (in dotted notation) to be cleared.
remote_as The AS number of the remote neighbor to be cleared.
The range is from 1 - 65535.
clear ip bgp neighbor ip_address < IP address > remote_as < n >
Foundry-AR1208# clear ip bgp neighbor 10.1.1.1 200
clear ip bgp all
clear ip bgp group

This chapter contains routing commands that are not protocol specific. These commands can be used interchangeably with the three routing protocols supported by Foundry.
This command provides access to next-level commands.

This command configures a router for routing operation.
[ no ] router routerid < IP address#
Foundry-AR1208/configure# router routerid 10.10.10.10

This command displays IP routing information for Ethernet ports.
network Network IP address
Enter an IP address.
Enter a netmask address
bgp Border Gateway protocol (BGP)
ospf Open Shortest Path First protocol (OSPF)
rip Routing Information Protocol (RIP)
show ip routes [ network < IP address > ] [ mask < netmask > ] [ protocol < all | bgp | connected | ospf | rip | static > ] [ database < rib | fib > ]
The following table provides parameter definitions for the following screen display examples.
Network Indicates the address of the remote network.
Next Hop Specifies the address of the next router to the remote network
Interface Specifies the interface through which the specified network can be reached.
PVC > Virtual (logical) circuit identification number.
Distance The administrative distance for the route.
Metric The metric for the route.
By default, information is displayed for all routes in the routing table. To display only specific route information, specify the appropriate protocol or the network mask.

To display all routes, issue the show ip routes command.
To display the route for a specific network and subnet, issue the show ip routes network 123.1.2.0 mask 255.255.255.0 command.
To display the connected ip routes, issue the show ip routes connected command.
To display static routes, issue the show ip routes static command.
To display RIP routes, issue the show ip routes rip command.
To display ospf routes, issue the show ip routes ospf command.
Foundry-AR1208/show# ip routes bgp
The following screen display example is a typical display showing the destination IP address, metric, netmask and gateway, status, Ethernet interface, and type of route.

Use BGP configure commands to configure all BGP4 parameters.
This command configures BGP routing protocol on a router and provides access to the next-level commands listed below.
as_number The number of an autonomous system.
The range is 1 - 65535.
[ no ] router bgp as_number < n >
Foundry-AR1208/configure# router bgp 10
configure router bgp aggregate_address
configure router bgp always_compare_med
configure router bgp distance
configure router bgp default_metric
configure router bgp group
configure router bgp neighbor
configure router bgp redistribute
BGP4 Configure Commands

This command is used to aggregate routes.
network Network IP address in dotted notation
mask Network subnet mask address in dotted notation
as_set Generates AS path information
Form a verbose aggregate, whose AS path contains a leading AS sequence representing the common leading sequence of all contributing routes, and whose AS path contains a trailing AS set representing all ASes in all contributing paths that could not be included in the AS sequence. By default, this feature is off, and the AS path is truncated when the aggregate is formed.
summary_only Filters more specific routes from updates
Suppresses transmission of any contributing routes if an aggregate exists. Note that the contributing route will not be sent even if an outgoing route_map blocks the sending of the aggregate itself. This cannot be combined with the suppress_map parameter.
suppress_map Name of the route map to suppress
Uses the named route_map to suppress the transmission of selected contributing routes. Contributing routes that do not match the route_map will not be suppressed. This cannot be combined with the summary_only parameter.
advertise_map Name of route map to control attribute advertisement
Selects the routes that contribute to the aggregate. The aggregate will only be formed if matching routes exist. Only the matching routes will be suppressed if summary_only or suppress_map are configured.
attribute_map Name of route map for setting attributes
Specifies attributes to be set on the aggregate when it is transmitted.
[ no ] aggregate_address network < IP address > mask < subnet mask > [ generate_as_set < as_set > ] [ generate_summary_only < summary_only > ] [ suppress_map < name > ] [advertise_map < name > ] [ attribute_map < name > ]
Foundry-AR1208/configure/router/bgp 10# aggregate_address 100.3.0.0 255.255.0.0
configure router bgp always_compare_med
configure router bgp distance
generate_as_set · generate_summary_only

configure router bgp default_metric
configure router bgp group
configure router bgp neighbor
configure router bgp redistribute
BGP4 Configure Commands

This command configures a router to allow the comparison of the multi-exit discriminator for paths from neighbors in different autonomous systems.
Normally, MED comparison is done on paths within the same autonomous system. This command allows the comparison to be made for paths received from other autonomous systems.
[ no ] always_compare_med
configure router bgp aggregate_address
configure router bgp distance
configure router bgp default_metric
configure router bgp group
configure router bgp neighbor
configure router bgp redistribute
Foundry-AR1208/configure/router/bgp 10# always_compare_med

This command configures the default metric value for redistributed BGP routes.
This command forces the routing protocol to use the same metric value for all redistributed routes.
default_metric The default metric value.
The range is 1 - 4294967294.
[ no ] default_metric default_metric < n >
Foundry-AR1208/configure/router/bgp 10# default_metric 2000
configure router bgp aggregate_address
configure router bgp always_compare_med
configure router bgp distance
configure router bgp group
configure router bgp neighbor
configure router bgp redistribute
BGP4 Configure Commands

This command changes the default distance value on a router.
Higher values are preferred.
distance Default preference value
The range is 0-255; the default is 170.
[ no ] distance distance < n >
Foundry-AR1208/configure/router/bgp 10# distance 20
Command to Modify Default Preference
How Route is Learned Default Preferenc e
0 Not configurable.
Static 1 Not configurable.
OSPF non-external route 10 configure router ospf distance ospf non_external
RIP 100 configure router rip distance
Generated or aggregate 130 Applicable to BGP only, and is not configurable.
OSPF AS external routes
150 configure router ospf distance ospf external
BGP 170 configure router bgp distance
configure router bgp aggregate_address
configure router bgp always_compare_med
configure router bgp default_metric
configure router bgp group
configure router bgp neighbor
configure router bgp redistribute
Directly connected network

This command configures BGP groups.
Neighbors with the same update policies are more easily managed when they are in groups. Group organization simplifies configuration and streamlines the update process. Neighbor group members inherit all configuration options of a group. The BGP group sub commands are similar to those found under the neighbor tree, but they are applied to all neighbors in the group.
name Group name to be configured
external External routing group
Default group name = FoundryBgpExternal
external_rt External routing group
Default group name = FoundryBgpExternalRt
internal Internal routing group
Default group name = FoundryBgpInternal
[ no ] group name < name > group_type < external | external_rt | internal | internal_ rt >
Foundry-AR1208/configure/router/bgp 10# group toronto internal
configure router bgp group distribute_list
configure router bgp group filter_list
configure router bgp group next_hop_self
configure router bgp group password
configure router bgp group remove_private_AS
configure router bgp group route_map
BGP4 Configure Commands · group_type

This command configures filter updates to this group.
access_list IP access list number
The range is 1-199.
[ no ] distribute_list access_list < n > filter_option < out >
Foundry-AR1208/configure/router/bgp 10/group toronto internal# distribute_list 101 out
configure router bgp group filter_list
configure router bgp group next_hop_self
configure router bgp group password
configure router bgp group remove_private_AS
configure router bgp group route_map
filter_option · out Outbound direction

This command configures BGP filters for a specified group.
access list AS path access list
The range is 1-199.
[ no ] filter_list access list < n > filter_option < out >
Foundry-AR1208/configure/router/bgp 10/group toronto internal# filter_list 103 out
configure router bgp group distribute_list
configure router bgp group next_hop_self
configure router bgp group password
configure router bgp group remove_private_AS
configure router bgp group route_map
BGP4 Configure Commands · filter_option · out Outbound direction

This command disables the next hop calculation for all peers in the group.
Foundry-AR1208/configure/router/bgp 10/group blue external# next_hop_self
configure router bgp group distribute_list
configure router bgp group filter_list
configure router bgp group password
configure router bgp group remove_private_AS
configure router bgp group route_map
next_hop_self

This command configures the TCP MD5 password to enable MD5 authentication for a BGP group.
md5_password TCP MD5 password (string) for the group
Enter a word.
[ no ] password md5_password < string >
Foundry-AR1208/configure/router/bgp 10/group toronto internal# password rt56htd
configure router bgp group distribute_list
configure router bgp group filter_list
configure router bgp group next_hop_self
configure router bgp group remove_private_AS
configure router bgp group route_map
BGP4 Configure Commands

This command removes the private AS number from updates that are sent out.
[ no ] remove_private_AS
Foundry-AR1208/configure/router/bgp 10/group toronto internal# remove_private_AS
configure router bgp group distribute_list
configure router bgp group filter_list
configure router bgp group next_hop_self
configure router bgp group password
configure router bgp group route_map

This command configures a route map to a BGP group.
This command can only be applied in the outbound direction.
route_map Route map name
[ no ] route_map route_map < name > route_map_options < out >
Foundry-AR1208/configure/router bgp 10/group toronto internal# route_map foo out
configure router bgp group distribute_list
configure router bgp group filter_list
configure router bgp group next_hop_self
configure router bgp group password
configure router bgp group remove_private_AS
BGP4 Configure Commands · route_map_options · out Outbound direction

This command configures a BGP neighbor.
IP address The IP address of the neighbor in dotted notation
remote_as The AS number
The range is 1 - 65535.
[ no ] neighbor IP address < IP address > remote_as < n >
Foundry-AR1208/configure/router/bgp 10# neighbor 101.101.1.2 4
configure router bgp neighbor advertisement_interval
configure router bgp neighbor allowbadid
configure router bgp neighbor default_originate
configure router bgp neighbor description
configure router bgp neighbor distribute_list
configure router bgp neighbor ebgp_multihop
configure router bgp neighbor filter_list
configure router bgp neighbor keep
configure router bgp neighbor logupdown
configure router bgp neighbor maximum_prefix
configure router bgp neighbor neighbor_group
configure router bgp neighbor next_hop_self
configure router bgp neighbor password
configure router bgp neighbor route_map
configure router bgp neighbor timers
configure router bgp neighbor update_source
configure router bgp aggregate_address
configure router bgp always_compare_med
configure router bgp distance
configure router bgp default_metric
configure router bgp group

configure router bgp redistribute
BGP4 Configure Commands

This command configures the minimum time interval for sending BGP route updates.
advertisement_interval Time, in seconds
The range is 1 - 600 seconds.
[ no ] advertisement_interval advertisement_interval < n >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# advertisement_interval 60

This command permits BGP sessions to be established with routers that represent their router ID as 0.0.0.0 or 255.255.255.255.
[ no ] allowbadid
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# allowbadid
BGP4 Configure Commands

This command sends the default route to the neighbor.
route_map The name of the route map
[ no ] default_originate [ route_map < name > ]
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# default_originate altmap5

This command describes or identifies a neighbor router.
neighbor_description Text string in quotes describing neighbor
[ no ] description neighbor_description < “string” >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# description “foo1”
BGP4 Configure Commands

This command configures filter updates to or from this neighbor.
access_list The IP access list number.
The range is 1 - 199.
in Inbound filter list
[ no ] distribute_list access_list < n > filter_option < in >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# distribute_list 101 in
filter_option

This command configures multihop EBGP on a neighbor.
[ no ] ebgp_multihop
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# ebgp_multihop
BGP4 Configure Commands

This command configures BGP filters.
access_list AS path access list
The range is 1 - 199.
in Inbound filter list
[ no ] filter_list access_list < n > access_list_option < in >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# filter_list 103 in
access_list_option

This command configures neighbor route storage options.
all Keep all non-active routes
none Don’t store non-active routes
keep keep_option < all | none >
Foundry-AR1208/configure/router/bgp 10/neighbor 10.10.20.1 2# keep all
BGP4 Configure Commands · keep_option

This command configures logging of established state transition changes of a neighbor.
[ no ] logupdown
Foundry-AR1208/configure/router/bgp10/neighbor 101.101.1.2 4# logupdown

This command configures the maximum number of BGP routes to be accepted.
If the neighbor sends more prefixes than are configured, the connection to this neighbor will be broken.
prefix_number Maximum prefix limit
The range is 1 - 1000000.
maximum_prefix prefix_number < n >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# maximum_prefix 100000
BGP4 Configure Commands

This command configures a neighbor to a specific group.
neighbor_group The name of a neighbor group.
[ no ] neighbor_group neighbor_group < name >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# neighbor_group internal-group

This command disables the next hop calculation for this neighbor.
Foundry-AR1208/configure/router/bgp 10/neighbor 10.10.20.1 2# next_hop_self
BGP4 Configure Commands · next_hop_self

This command configures a password for md5 authentication.
md5_password TCP MD5 password for the BGP session
Enter a word (maximum 80 characters).
md5_password < string >
Foundry-AR1208/configure/router/bgp 10/neighbor 10.10.20.1 2# md5_password asdf

This command applies a route map to a neighbor.
A similar command exists under the group tree for applying route_map to a group of neighbors in the outbound direction.
route_map The name of a route map
[ no ] route_map route_map < name > route_map_options < in >
Foundry-AR1208/configure/router/bgp 10/neighbor 100.50.23.3 4# route_map B01 in
BGP4 Configure Commands · route_map_options Filter options · in Inbound direction

This command configure keepalive timers for a neighbor (peer).
The holdtime timer value is calculated as three times the value of the keepalive timer.
keepalive The keepalive interval
The range is 2 - 21845; the default is 60.
[ no ] timers keepalive < n >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# timers 120

This command configures the source of BGP TCP connections for a specified neighbor as the IP address specified, instead of the IP address of a physical interface.
This address will be used as the source address for routing updates.
[ no ] update_source < IP address >
Foundry-AR1208/configure/router/bgp 10/neighbor 101.101.1.2 4# update_source 10.10.2.1
BGP4 Configure Commands

This command provides access to the following next-level commands.
Redistribution causes routes from other protocols to be exported via the current protocol. Routes from the current protocol are always exported, some protocols may provide additional policy features that allow the suppression of protocol routes.
configure router bgp redistribute connected
configure router bgp redistribute ospf
configure router bgp redistribute rip
configure router bgp redistribute static
configure router bgp aggregate_address
configure router bgp always_compare_med
configure router bgp distance
configure router bgp default_metric
configure router bgp group
configure router bgp neighbor

This command redistributes interface routes.
The range is 0 - 4294967294.
route_map Name of the route map to use
[ no ] redistribute connected [ metric < n > ] [ route_map < name > ]
Foundry-AR1208/configure/router/bgp 10# redistribute connected metric 5000
configure router bgp redistribute ospf
configure router bgp redistribute rip
configure router bgp redistribute static
BGP4 Configure Commands · metric Default metric

This command configures the router to redistribute OSPF routes.
metric The default metric
The range is 0 - 4294967294.
route_map Name of the route map to use
[ no ] redistribute ospf [ metric < n > ] [ route_map < name > ]
Foundry-AR1208/configure/router/bgp 10# redistribute ospf metric AR1208
configure router bgp redistribute connected
configure router bgp redistribute rip
configure router bgp redistribute static

This command configures a router to redistribute RIP routes.
metric The default metric
The range is 0 - 4294967294.
route_map Name or ID of the route map to use
[ no ] redistribute rip [ metric < n > ] [ route_map < name > ]
Foundry-AR1208/configure/router/bgp 10# redistribute rip route_map east8
configure router bgp redistribute connected
configure router bgp redistribute ospf
configure router bgp redistribute static
BGP4 Configure Commands

This command configures a router to redistribute static routes.
metric The default metric
The range is 0 - 4294967294.
route_map Name of the route map to use
[ no ] redistribute static [ metric < n > ] [ route_map < name > ]
Foundry-AR1208/configure/router/bgp 10# redistribute static metric 25
configure router bgp redistribute connected
configure router bgp redistribute ospf
configure router bgp redistribute rip

Use BGP show commands to display all configured BGP information.
This command accesses the following next-level display (show) commands.
show ip bgp community
show ip bgp groups
show ip bgp neighbors
show ip bgp paths
show ip bgp regexp
show ip bgp summary
show ip bgp table

This command displays a list of configured aggregate addresses.
Enter an IP address.
Enter a subnet mask.
show ip bgp aggregate_address [ address < IP address > [ mask < subnet mask > ] ]
Foundry-AR1208# show ip bgp aggregate_address address 100.12.23.0 mask 255.255.255.0
address Aggregate address · mask Aggregate mask

This command displays routes that match BGP communities.
number Community number (enter a list of unsigned numbers)
The maximum list size is 10.
The range is 1 - 4294967294
aa:nn Community number in aa:nn format
Enter a list of strings separated by spaces.
The maximum list size is 10 numbers.
local_as Do not send outside local AS (well-known community)
no_advertise Do not advertise to any peer (well-known community)
no_export Do not export to next AS (well-known community)
exact_match Exact match of the communities
show ip bgp community [ number < n > ] [ aa:nn < n > ] [ match_local_as < local_as > ] [ match_no_advertise < no_advertise > ] [ match_no_export < no_export > ] [ match_exact_match < exact_match > ]
Foundry-AR1208# show ip bgp community aa:nn 0:999

* ( valid ) The table entry is valid.
# ( best ) The table entry is the best entry to use for that network.
i ( internal ) The table entry was learned via an internal BGP session.
i ( IGP) Internal BGP
e (EGP) External BGP
? ( incomplete) Protocol of unknown origin. Typically redistributed into BGP from an IGP.
Status codes · Origin codes

This command provides information about BGP groups.
show ip bgp groups [ < name > ]
Foundry-AR1208# show ip bgp groups north
BGP4 show Commands

This command displays detailed information and status on all BGP neighbors, including:
group Neighbors belonging to a group
Enter a name or word.
address Neighbor to display information about
Enter an IP address.
advertised_routes Display the routes advertised to a BGP neighbor.
received_routes Display the routes received from a neighbor.
show ip bgp neighbors [ group < name > ] [ address < IP address# ] [ routes < advertised_routes | received_routes > ]
Foundry-AR1208# show ip bgp neighbors
routes

* ( valid ) The table entry is valid.
# ( best ) The table entry is the best entry to use for that network.
i ( internal ) The table entry was learned via an internal BGP session.
i ( IGP) Internal BGP
e (EGP) External BGP
? ( incomplete) Protocol of unknown origin.
BGP neighbor IP address of the BGP neighbor
peer group Displays the name of the peer group.
remote AS The remote AS number of the neighbor
local AS The local AS number of the neighbor
link Identifies the link as internal or external.
BGP version Identifies the BGP version
local router ID BGP identifier of the local router
remote router ID BGP identifier of the remote router
current state Current BGP protocol state
last state Previous BGP protocol state
last event Previous BGP protocol event
configured hold time Configured BGP hold time
keepalive interval Configured BGP keepalive interval
minimum time Minimum time between advertisements
messages Number of received BGP messages
notifications Number of received BGP notifications
updates Number of received BGP updates
messages Number of sent BGP messages
notifications Number of sent BGP notifications

updates Number of sent BGP updates
Maximum prefixes The maximum number of prefixes that can be received from this neighbor.

This command shows all BGP paths in the database.
show ip bgp paths
Foundry-AR1208# show ip bgp paths
# show ip bgp paths Hash Refcount Path 32 2 ? 96 1 i Foundry/configure#
Table 2 Interpreting BGP Paths
hash An area where path IP addresses are stored
refcount The number of routes using a specific path
path The AS path and origin for that route.
Table 3 Status and Origin Codes
i ( IGP) Internal BGP
e (EGP) External BGP
? ( incomplete) Protocol of unknown origin.
BGP4 show Commands · term · Origin codes

This command displays routes matching the regular expression.
reg_exp A regular expression to match the BGP AS paths.
Strings must be enclosed by quotation marks.
show ip bgp regexp reg_exp < “string” >
Foundry-AR1208# show ip bgp regexp “.* 600 .*“

This command shows the BGP router’s identifying number, local AS number, and connected neighbors. Neighbor information includes BGP version (v), AS number, messages received and transmitted, and operating status.
show ip bgp summary
Foundry-AR1208# show ip bgp summary
# show ip bgp summary
BGP router identifier 10.1.1.0, local AS member 200
Neighbor V AS MsgRcvd MsgSent State 192.168.123.1 4 400 0 0 Active 172.10.16.1 4 200 59 59 Established
BGP router identifier The local router ID, IP address
local AS number The local AS number
V BGP version spoken by a specific neighbor
msgRcvd BGP messages received from a specific neighbor
msgSent BGP messages sent by a specific neighbor
state The state of all BGP sessions.
BGP4 show Commands · AS Autonomous system

This command shows entries in the BGP route table.
show ip bgp table
Foundry-AR1208# show ip bgp table
* ( valid ) The table entry is valid.
i ( internal ) The table entry was learned via an internal BGP session.
i ( IGP) Internal BGP
e (EGP) External BGP
? ( incomplete) Protocol of unknown origin.
Status codes · Origin codes

This command provides access to the following next-level policy display commands:

This command displays the AS path access lists.
access_list The access list number.
The range is 1 - 199.
show policy as_path [ access_list < n > ]
Foundry-AR1208# show policy as_path
# show policy as_path AS path access list 1 permit .* 699 .* permit .* 500 deny 40 .* AS path access list 2 deny 60.* #
show policy community_list · show policy ip_access_list · show policy route_map

This command shows configured community lists.
community The community list number.
The range is 1 - 199.
show policy community_list [ community < n > ]
Foundry-AR1208# show policy community_list
#show policy community_list Community extended access list 100 deny 0:44 permit 655:

This command show routes that comply with specific IP access rules.
number IP access list number
The range is 1 - 99.
show policy ip_access_list [ number < n > ]
# show policy ip_access_list IP access list 1 permit 10.0.0.0 255.255.255.255 0.255.255.255 255.255.255.255 permit 20.0.0.0 255.255.255.255 255.255.255.255 255.255.255.255 IP access list 2 permit 20.0.0.0 255.255.255.255 0.255.255.255 255.255.255.255 #

This command shows route map information.
name The name of the route map.
show policy route_map [ < name > ]
Foundry-AR1208# show policy route_map
# show policy route_map route-map Block100, deny, sequence 1 Batch clauses: as_path (as-path filter): 99 Set clauses: origin bgp #



Use OSPF configure commands to configure all OSPF routing parameters.
When configuring OSPF, keep the following in mind:
To do this, you must delete the bundle’s assigned IP address and reassign the IP address with the type broadcast parameter. For example:
Foundry AR3201-CH/configure/interface/bundle wan1# no ip address 2.2.2.2 24 Foundry AR3201-CH/configure/interface/bundle wan1# ip address 2.2.2.2 24 type broadcast

This command configures a router for OSPF routing.
configure router ospf 1583Compatability
configure router ospf area
configure router ospf distance
configure router ospf interface
configure router ospf redistribute
configure router ospf ref_bw
configure router ospf timers
router ospf · Foundry-AR1208/configure# router ospf

This command establishes the route summary calculation method to be compatible with RFC 1583. The RFC compatibility of all routers in an OSPF domain should be configured the same.
The default is 1583Compatibility disabled.
configure router ospf area
configure router ospf distance
configure router ospf interface
configure router ospf redistribute
configure router ospf ref_bw
configure router ospf timers
OSPF Configure Commands · 1583Compatibility · Foundry-AR1208/configure/router/ospf# 1583Compatibility

This command configures an OSPF area.
area_id OSPF area id
Enter either a decimal number or an IP address.
area < area_id >
configure router ospf area area_type
configure router ospf area default_cost
configure router ospf area range
configure router ospf area virtual_link
configure router ospf 1583Compatibility
configure router ospf distance
configure router ospf interface
configure router ospf redistribute
configure router ospf ref_bw
configure router ospf timers
Foundry-AR1208/configure/router/ospf# area 0

This command accesses the following next-level commands for configuring an area type.
configure router ospf area area_type normal
configure router ospf area area_type nssa
configure router ospf area area_type stub
configure router ospf area default_cost
configure router ospf area range
configure router ospf area virtual_link
OSPF Configure Commands

This command specifies an area area type as normal.
Foundry-AR1208/configure/router/ospf/area 0# area_type normal
configure router ospf area area_type nssa
configure router ospf area area_type stub
area_type normal

This command specifies an area type as (nssa) not-so-stubby area.
Foundry-AR1208/configure/router/ospf/area 1# area_type nssa
configure router ospf area area_type nssa no_summary
configure router ospf area area_type normal
configure router ospf area area_type stub
OSPF Configure Commands · area_type nssa

This command prevents an nssa area boundary router from sending summary link advertisements into an nssa area.
no_summary · Foundry-AR1208/configure/router/ospf/area 1/area_type/nssa# no_summary

This command configures an area as a stub area.
Stub areas are not flooded with AS external advertisements. Stub areas reduce the amount of memory required on stub area routers.
[ no ] area_type stub
Foundry-AR1208/configure/router/ospf/area 1# area_type stub
configure router ospf area area_type stub no_summary
configure router ospf area area_type normal
configure router ospf area area_type nssa
OSPF Configure Commands

This command prevents an area boundary router from sending summary link advertisements into the stub area.
no_summary · Foundry-AR1208/configure/router/ospf/area 1/area_type/stub# no_summary

This command specifies a cost for the default summary route sent into a stub area.
default_cost Enter a number.
The range is 0 - 16777215; the default is 1.
default_cost < n >
Foundry-AR1208/configure/router/ospf/area 1# default_cost 10
configure router ospf area area_type
configure router ospf area range
configure router ospf area virtual_link
OSPF Configure Commands

This command summarizes routes at the area boundaries, producing a single route that is advertised by area border routers.
advertise Advertise this range.
not_advertise Do not advertise this range.
[ no ] range networknumber < IP address > mask < netmask > [ advertise_enum < advertise | not_advertise > ]
Foundry-AR1208/configure/router/ospf/area 0# range 100.1.0.0 255.255.0.0 advertise
configure router ospf area_type
configure router ospf area default_cost
configure router ospf area area virtual_link
networknumber IP address · mask netmask · advertise_enum

This command defines an OSPF virtual link for an area.
Establishes a virtual connection to the backbone for an area border router that is not physically connected to the backbone. A virtual link requires that each virtual link neighbor must include the transit area ID and the virtual link neighbor’s router ID.
virtual_link IP address for the virtual link.
Enter an IP address.
[ no ] virtual_link < IP address >
Foundry-AR1208/configure/router/ospf/area 1# virtual_link 100.10.1.5
configure router ospf area virtual_link authentication
configure router ospf area virtual_link dead_interval
configure router ospf area virtual_link hello_interval
configure router ospf area virtual_link retransmit_interval
configure router ospf area virtual_link transmit_delay
OSPF Configure Commands

This command configures authentication for an area virtual link.
Authentication guarantees that only trusted routers send and receive traffic within an area. Each interface must use the same type of authentication.
simple Uses a text password that is imbedded in the packet.
md5 Creates an encoded checksum that is imbedded in the packet.
md5_cisco Cisco compatible MD5 authentication
line A 16-character (maximum) password string beginning with an alpha character.
authentication < none | simple | md5 | md5_cisco > < line >
Foundry-AR1208/configure/router/ospf/area 1/virtual_link 100.10.1.5# authentication simple Foundry
configure router ospf area virtual_link dead_interval
configure router ospf area virtual_link hello_interval
configure router ospf area virtual_link retransmit_interval
configure router ospf area virtual_link transmit_delay
authentication type

This command sets the time, in seconds that an OSPF neighbor will wait for a hello packet.
Once the user-defined time expires, the interface assumes that the neighbor is down. The value entered should be approximately four times the value of the hello_interval.
dead_interval The time in seconds.
The value configured must be the same for all routers and servers in the same network.
The range is 1 - 65535; the default value is 40.
The recommended value to configure is four times the value configured for the hello interval.
[ no ] dead_interval < n >
Foundry-AR1208/configure/router/opsf/area 1/virtual_link 100.10.1.5# dead_interval 10
configure router ospf area virtual_link authentication
configure router ospf area virtual_link hello_interval
configure router ospf area virtual_link retransmit_interval
configure router ospf area virtual_link transmit_delay
OSPF Configure Commands

This command configures the time interval between transmission of hello packets.
hello_interval The time in seconds.
The value configured must be the same for all routers and servers in the same network.
The range is 1 - 65535: the default is 10 seconds.
[ no ] hello_interval < n >
Foundry-AR1208/configure/router/ospf/area 1/virtual_link 100.10.1.5# hello_interval 10
configure router ospf area virtual_link authentication
configure router ospf area virtual_link dead_interval
configure router ospf area virtual_link retransmit_interval
configure router ospf area virtual_link transmit_delay

This command configures the time between link state advertisement retransmissions on an interface.
retransmit_interval The time in seconds.
The configured value must be greater than the expected round-trip delay.
The range is 1 - 65535; the default is 5.
[ no ] retransmit_interval < n >
Foundry-AR1208/configure/router/ospf/area 1/virtual_link 100.10.1.5# retransmit_interval 5
configure router ospf area virtual_link authentication
configure router ospf area virtual_link dead_interval
configure router ospf area virtual_link hello_interval
configure router ospf area virtual_link transmit_delay
OSPF Configure Commands

This command configures the estimated time to transmit a link state update packet on an interface.
transmit_delay The time in seconds.
Link state advertisements in the update packet are aged by this amount prior to transmission.
The range is 1 - 65535; the default is 1.
The value must be greater than zero.
[ no ] transmit_delay < n >
Foundry-AR1208/configure/router/ospf/area 1/virtual_link 100.10.1.5# transmit_delay 1
configure router ospf area virtual_link authentication
configure router ospf area virtual_link dead_interval
configure router ospf area virtual_link hello_interval
configure router ospf area virtual_link retransmit_interval

This command accesses the following next-level commands to configure OSPF administrative distances for routes.
configure router ospf distance ospf
configure router ospf 1583Compatability
configure router ospf area
configure router ospf interface
configure router ospf redistribute
configure router ospf ref_bw
configure router ospf timers
OSPF Configure Commands

This command accesses next-level commands that configure OSPF administrative distances based on route type.
configure router ospf distance ospf external
configure router ospf distance ospf non_external

This command configures the distance parameter for external routes.
external Type-5 and type-7 external routes
The range is 1 - 255; the default is 150.
[ no ] distance ospf external < n >
Foundry-AR1208/configure/router/ospf# distance ospf external 25
How Route is Learned Default Preference
Command to Modify Default Preference
Directly connected network 0 Not configurable.
Static 1 Not configurable.
OSPF non-external route 10 configure router ospf distance ospf non_external
RIP 100 configure router rip distance
Generated or aggregate 130 Applicable to BGP only, and is not configurable.
OSPF AS external routes 150 configure router ospf distance ospf external
BGP 170 configure router bgp distance
configure router ospf distance ospf non_external
OSPF Configure Commands

This command configures the distance parameter for inter- and intra-area routes.
non_external Inter-area and intra-area routes
The range is 1 - 255; the default is 10.
[ no ] distance ospf non_external < n >
Foundry-AR1208/configure/router/ospf# distance ospf non_external 25
How Route is Learned Default Preference
Command to Modify Default Preference
Directly connected network 0 Not configurable.
Static 1 Not configurable.
OSPF non-external route 10 configure router ospf distance ospf non_external
RIP 100 configure router rip distance
Generated or aggregate 130 Applicable to BGP only, and is not configurable.
OSPF AS external routes 150 configure router ospf distance ospf external
BGP 170 configure router bgp distance
configure router ospf distance ospf external

This command configures an interface for OSPF routing.
name Enter an interface name, such as ethernet0, ethernet1, or a bundle name.
dlci Data link connection identifier of the pvc (for frame relay use).
The range is 16 - 1022; there is no default.
area_id OSPF area ID
Enter either a decimal number or an IP address.
[ no ] interface < name > [ dlci < n > ] [ < area _id > ]
Foundry-AR1208/configure/router/ospf# interface Toronto 5
configure router ospf 1583Compatibility
configure router ospf area
configure router ospf distance
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf redistribute
configure router ospf ref_bw
configure router ospf interface retransmit_interval
configure router ospf timers
configure router ospf interface transmit_delay
OSPF Configure Commands

This command configures the authentication type on an interface.
simple Simple password authentication
md5_cisco Cisco compatible md5 authentication
line A 16-character (maximum) password string beginning with an alpha character.
[ no ] authentication < type > < line >
Foundry-AR1208/configure/router/ospf/interface toBoston# authentication md5 Foundry
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay
authentication type · md5 MD5 authentication

This command configures the OSPF metric cost for a specific interface.
cost Metric cost of sending packets on a particular OSPF interface.
The range is 1 - 65535; the default is computed based on the interface bandwidth.
[ no ] cost < n >
Foundry-AR1208/configure/router/ospf/interface toBoston# cost 10
configure router ospf interface authentication
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay
OSPF Configure Commands

This command sets the time, in seconds, that an OSPF neighbor will wait for a hello packet.
Once the user-defined time expires, the interface assumes that the neighbor is down. The value entered should be approximately four times the value of the hello_interval.
dead_interval Time, in seconds
The range is 1- 65535; the default is 40.
[ no ] dead_interval < n >
Foundry-AR1208/configure/router/ospf/interface# dead_interval 50
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay

This command sets the time interval, in seconds, between the hello packets that are sent on the interface.
hello_interval Time in seconds
The default is 10; the range is 1 - 65535.
[ no ] hello_interval < n >
Foundry-AR1208/configure/router/ospf/interface toBoston# hello_interval 30
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay
OSPF Configure Commands

This command sets up an OSPF neighbor router for an interface that is used on a non-broadcast network.
ip address The IP address of the neighbor router
priority Sets the router priority for a non-broadcast neighbor.
The range is 0 - 255; the default is 1.
[ no ] neighbor < IP address > [ priority < n > ]
Foundry-AR1208/configure/router/ospf/interface toBoston# neighbor 100.22.12.2 7
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay

This command configures the OSPF network type on an interface.
interface type network type default
broadcast Configures network type to broadcast multi-access network
non_broadcast Configures network type to nonbroadcast multiaccess (NBMA) network
point_to_multipoint Configures network type to point-to-multipoint network
point_to_point Configures network type to point-to-point network
[ no ] network < broadcast | non_broadcast | point_to_multipoint | point_to_point >
Foundry-AR1208/configure/router/ospf/interface toBoston# network non_broadcast
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay



This command, used for nonbroadcast interfaces only, specifies how often the router sends hello packets from the interface before establishing adjacency with a neighbor.
poll_interval The time, in seconds
The range is 0 - 2147483647; the default is 120.
[ no ] poll_interval < n >
Foundry-AR1208/configure/router/ospf/interface toBoston# poll_interval 15
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface priority
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay
OSPF Configure Commands

This command configures the priority (which is used in the election of designated routes) to establish the designated router.
priority Number that specifies the router priority.
This is only used in non point-to-point networks.
The range is 0 - 255; the default is 1.
[ no ] priority < n >
Foundry-AR1208/configure/router/ospf/interface toBoston# priority 5
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface retransmit_interval
configure router ospf interface transmit_delay

This command configures the retransmit time for the link state advertisement retransmission for neighbors belonging to the interface.
When a router sends a link state advertisement to its neighbor, it keeps the LSA until it receives an acknowledgment. If an acknowledgment is not received in n seconds, the router will retransmit the LSA.
seconds Time in seconds between retransmission.
It must be conservatively set, but greater than the expected round trip delay between routers on the attached network.
The range is 1- 65535; the default is 5.
[ no ] retransmit_interval < n >
Foundry-AR1208/configure/router/ospf/interface toBoston# retransmit_interval 60
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface transmit_delay
OSPF Configure Commands

This command configures the approximate time it takes to transmit a link state advertisement update packet on the interface.
seconds Time in seconds.
Usage of this command is most appropriate for low speed links.
The range is 1- 65535; the default is 1.
[ no ] transmit_delay < n >
Foundry-AR1208/router/ospf/interface toBoston# transmit_delay 3
configure router ospf interface authentication
configure router ospf interface cost
configure router ospf interface dead_interval
configure router ospf interface hello_interval
configure router ospf interface neighbor
configure router ospf interface network
configure router ospf interface poll_interval
configure router ospf interface priority
configure router ospf interface retransmit_interval

This command accesses next-level commands that are used to redistribute routes from other routers or routing protocols.
configure router ospf redistribute bgp
configure router ospf redistribute connected
configure router ospf redistribute rip
configure router ospf redistribute static
configure router ospf 1583Compatability
configure router ospf area
configure router ospf distance
configure router ospf interface
configure router ospf ref_bw
configure router ospf timers
OSPF Configure Commands · redistribute · Foundry-AR1208/configure/router/ospf# redistribute

This command redistributes BGP routes.
as_number Autonomous system number
The range is 1 - 65535.
metric OSPF default metric
The range is 0 - 16777214; the default is 100.
metric_type Ospf exterior metric type for redistribution
The range is 1 - 2; the default is 2.
route_map Pointer (name or word) to route map entries
tag 32-bit tag value
The range is 0 - 2147483647; the default is 0.
redistribute bgp as_number < n > [ metric < n > ] [ < metric_type < n > ] [ route_map < name > ] [ tag < n > ]
Foundry-AR1208/configure/router/ospf# redistribute bgp as_number 10
configure router ospf redistribute connected
configure router ospf redistribute rip
configure router ospf redistribute static

This command redistributes connected interface routes.
metric OSPF default metric
The range is 0 - 16777214; the default is 100.
metric_type Ospf exterior metric type for redistribution
The range is 1 - 2; the default is 2.
route_map Pointer (name or word) to route map entries
tag 32-bit tag value
The range is 0 - 2147483647; the default is 0.
redistribute connected [ metric < n > ] [ < metric_type < n > ] [ route_map < name > ] [ tag < n > ]
configure router ospf redistribute bgp
configure router ospf redistribute rip
configure router ospf redistribute static
OSPF Configure Commands · Foundry-AR1208/configure/router/ospf# redistribute connected

This command redistributes RIP routes.
metric OSPF default metric
The range is 0 - 16777214; the default is 100.
metric_type Ospf exterior metric type for redistribution
The range is 1 - 2; the default is 2.
route_map Pointer (name or word) to route map entries
tag 32-bit tag value
The range is 0 - 2147483647; the default is 0.
redistribute rip [ metric < n > ] [ < metric_type < n > ] [ route_map < name > ] [ tag < n > ]
configure router ospf redistribute bgp
configure router ospf redistribute connected
configure router ospf redistribute static
Foundry-AR1208/configure/router/ospf# redistribute rip

This command redistributes static routes.
metric OSPF default metric
The range is 1 - 16777214; the default is 100.
metric_type Ospf exterior metric type for redistribution
The range is 1 - 2; the default is 2.
route_map Pointer (name or word) to route map entries
tag 32-bit tag value
The range is 0 - 2147483647; the default is 0.
redistribute static [ metric < n > ] [ < metric_type < n > ] [ route_map < name > ] [ tag < n > ]
configure router ospf redistribute bgp
configure router ospf redistribute connected
configure router ospf redistribute static
OSPF Configure Commands · Foundry-AR1208/configure/router/ospf# redistribute static

This command calculates OSPF interface cost according to bandwidth usage.
Specifying a large number helps differentiate cost on multiple high bandwidth links.
reference_bandwidth Reference bandwidth in Mbps
The range is 1 - 4294967.
ref_bw < n >
configure router ospf 1583Compatability
configure router ospf area
configure router ospf distance
configure router ospf interface
configure router ospf redistribute
configure router ospf timers
Foundry-AR1208/configure/router/ospf# ref_bw 100000

This command configures and adjusts ospf spf timers.
spf_delay Delay between receiving a change to the SPF calculation.
The range is 1 - 65535; the default is 5.
spf_holdtime The hold time between consecutive SPF calculations.
The range is 1 - 65535; the default is 10.
timers [ spf_delay < n > | spf_holdtime < n > ]
Foundry-AR1208/configure/router/ospf# timers spf_delay 20
configure router ospf 1583Compatibility
configure router ospf area
configure router ospf distance
configure router ospf interface
configure router ospf redistribute
configure router ospf ref_bw
OSPF Configure Commands · timers



Use OSPF display/show commands to display all configured OSPF information.
This command displays configuration information about an OSPF area.
area_id OSPF area ID
Enter either a decimal number or an IP address.
area [ area_id ]
Foundry-AR1208# show ip ospf area 1
# show ip ospf area_id 1
Number of interfaces in this area is 0
Area type is NORM
Area 1

show ip ospf global
show ip ospf database
show ip ospf interface
show ip ospf neighbor
show ip ospf retransmission_list
show ip ospf request_list
show ip ospf virtual_links

This command provides access to commands that display information about an OSPF database.
Foundry-AR1208# show ip ospf database
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database external
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database self_originate
show ip ospf database summary
show ip ospf area
show ip ospf global
show ip ospf interface
show ip ospf neighbor
show ip ospf retransmission_list
show ip ospf request_list
show ip ospf virtual_links
OSPF Show Commands · database

This command displays information related to the OSPF databases of the router.
area_id OSPF area ID
Enter either a decimal number or an IP address.
advt_rtr OSPF advertisement router
Enter an IP address.
link_id OSPF link state ID
Enter an IP address.
show ip ospf database all [ area_id < n > ] [ advt_rtr < IP address > ] [ link_id < IP address > ]
Foundry-AR1208# show ip ospf database all
# show ip ospf database all
Router LSAs for Area 0
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database external
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database self_originate
show ip ospf database summary

This command displays information about ASBR summary link states.
area_id OSPF area ID
Enter either a decimal number or an IP address.
advt_rtr OSPF advertisement router
Enter an IP address.
link_id OSPF link state ID
Enter an IP address.
database asbr_summary [ area_id < decimal form or IP address > ] [ advt_rtr < IP address > ] [ link_id < IP address > ]
Foundry-AR1208# show ip ospf database asbr_summary
show ip ospf database all
show ip ospf database database_summary
show ip ospf database external
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database self_originate
show ip ospf database summary
OSPF Show Commands

This command displays OSPF database summary information.
Foundry-AR1208# show ip ospf database database_summary
# show ip ospf database database_summary
Area ID Router Network Sum-Net Sum-ASBR NSSA Subtotal Deleted Maxaged
-
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database external
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database self_originate
show ip ospf database summary
database database_summary

This command displays information about external LSAs in the OSPF database.
area_id OSPF area ID
Enter either a decimal number or an IP address.
advt_rtr OSPF advertisement router
Enter an IP address.
link_id OSPF link state ID
Enter an IP address.
database external [area_id < decimal form or IP address > ] [ advt_rtr < IP address > ] [ link_id < IP address > ]
Foundry-AR1208# show ip ospf database external
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database self_originate
show ip ospf database summary
OSPF Show Commands

This command displays database information about the network LSAs.
area_id OSPF area ID
Enter either a decimal number or an IP address.
advt_rtr OSPF advertisement router
Enter an IP address.
link_id OSPF link state ID
Enter an IP address.
database network [area_id < decimal form or IP address > ] [ advt_rtr < IP address > ] [ link_id < IP address > ]
Foundry-AR1208# show ip ospf database network
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database external
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database self_originate
show ip ospf database summary

This command shows OSPF database information about NSSA external LSAs.
area_id OSPF area ID
Enter either a decimal number or an IP address.
advt_rtr OSPF advertisement router
Enter an IP address.
link_id OSPF link state ID
Enter an IP address.
database nssa_external [area_id < decimal value or IP address > ] [ advt_rtr < IP address > ] [ link_id < IP address > ]
Foundry-AR1208# show ip ospf database nssa_external
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database external
show ip ospf database network
show ip ospf database router
show ip ospf database self_originate
show ip ospf database summary
OSPF Show Commands

This command shows information about router LSAs in the OSPF database.
area_id OSPF area ID
Enter either a decimal number or an IP address.
advt_rtr OSPF advertisement router
Enter an IP address.
link_id OSPF link state ID
Enter an IP address.
database router [area_id < decimal form or IP address > ] [ advt_rtr < IP address > ] [ link_id < IP address > ]
Foundry-AR1208# show ip ospf database router
# show ip ospf database router
Router LSAs for Area 0
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database external
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database self_originate
show ip ospf database summary

This command displays OSPF database information about self-originated LSAs in the router.
area_id OSPF area ID
Enter either a decimal number or an IP address.
database self_originate [area_id < n > ]
Foundry-AR1208# show ip ospf database self_originate
# show ip ospf database self_originate
Router LSAs for Area 0
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database external
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database summary
OSPF Show Commands

This command displays information about summary LSAs in the OSPF database.
area_id OSPF area ID
Enter either a decimal number or an IP address.
advt_rtr OSPF advertisement router
Enter an IP address.
link_id OSPF link state ID
Enter an IP address.
database summary [area_id < decimal form or IP address > ] [ advt_rtr < IP address > ] [ link_id < IP address > ]
Foundry-AR1208# show ip ospf database summary
show ip ospf database all
show ip ospf database asbr_summary
show ip ospf database database_summary
show ip ospf database external
show ip ospf database network
show ip ospf database nssa_external
show ip ospf database router
show ip ospf database self_originate

This command displays global OSPF information.
Foundry-AR1208# show ip ospf global
# show ip ospf global
Routing Process 'ospf 30583' with ID 10.1.1.1
It is rfc1583 incompatible
Summary Link update interval is 1800
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Reference bandwidth 100 Megabits per second
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Number of interfaces in this area is 0
show ip ospf area
show ip ospf database
show ip ospf interface
show ip ospf neighbor
show ip ospf retransmission_list
show ip ospf request_list
show ip ospf virtual_links
OSPF Show Commands · global · Area 0

This command provides access to commands that display information about configured OSPF interfaces.
Foundry-AR1208# show ip ospf interface
show ip ospf interface all
show ip ospf interface bundle
show ip ospf interface ethernet
show ip ospf area
show ip ospf global
show ip ospf database
show ip ospf neighbor
show ip ospf retransmission_list
show ip ospf request_list
show ip ospf virtual_links
interface

This command displays configuration information about all configured OSPF interfaces.
Foundry-AR1208# show ip ospf interface all
show ip ospf interface bundle
show ip ospf interface ethernet
OSPF Show Commands · interface all

This command displays configuration information about an OSPF bundle.
interface bundle < name > [ pvc < n > ]
Foundry-AR1208# show ip ospf interface bundle Boise
show ip ospf interface all
show ip ospf interface ethernet

This command displays OSPF configuration information about an Ethernet interface.
interface ethernet < n >
Foundry-AR1208# show ip ospf interface ethernet 1
show ip ospf interface all
show ip ospf interface bundle
OSPF Show Commands

This command provides access to next-level commands that display configuration information about OSPF neighbors.
Foundry-AR1208# show ip ospf neighbor
show ip ospf neighbor detail
show ip ospf neighbor id
show ip ospf neighbor interface
show ip ospf neighbor list
show ip ospf area
show ip ospf global
show ip ospf database
show ip ospf interface
show ip ospf retransmission_list
show ip ospf request_list
show ip ospf virtual_links
neighbor

This command displays detailed OSPF configuration information about all neighbors.
Foundry-AR1208# show ip ospf neighbor detail
show ip ospf neighbor id
show ip ospf neighbor interface
show ip ospf neighbor list
OSPF Show Commands · neighbor detail

This command displays OSPF configuration information about a specific neighbor.
neighbor id < IP address >
Foundry-AR1208# show ip ospf neighbor id 10.3.1.2
show ip ospf neighbor detail
show ip ospf neighbor interface
show ip ospf neighbor list

This command provides access to commands that display OSPF configuration information about all neighbors in an interface.
neighbor interface ethernet < n > | bundle < name > [ pvc < n > ]
Foundry-AR1208# show ip ospf neighbor interface ethernet 1
show ip ospf neighbor interface bundle
show ip ospf neighbor interface ethernet
OSPF Show Commands

This command displays information about an OSPF neighbors on a bundle interface.
neighbor interface bundle < name > [ pvc < n > ]
Foundry-AR1208# show ip ospf neighbor interface bundle Boise
show ip ospf neighbor interface ethernet

This command displays configuration information about a neighbor on an Ethernet interface.
neighbor interface ethernet < n >
Foundry-AR1208# show ip ospf neighbor interface ethernet 1
show ip ospf neighbor interface bundle
OSPF Show Commands

This command displays a list of neighbors attached to this router.
Foundry-AR1208# show ip ospf neighbor list
show ip ospf neighbor detail
show ip ospf neighbor id
show ip ospf neighbor interface
neighbor list

This command displays the LSAs in the request list of the specified neighbor.
request_list < IP address >
Foundry-AR1208# show ip ospf request_list 10.10.10.1
show ip ospf area
show ip ospf global
show ip ospf database
show ip ospf interface
show ip ospf neighbor
show ip ospf retransmission_list
show ip ospf virtual_links
OSPF Show Commands

This command displays the LSAs in the retransmission list of the specified neighbor.
retransmission_list < IP address >
Foundry-AR1208# show ip ospf retransmission_list 10.10.10.1
show ip ospf area
show ip ospf database
show ip ospf global
show ip ospf interface
show ip ospf neighbor
show ip ospf request_list
show ip ospf virtual_links

This command displays information about configured OSPF virtual links.
virtual_links [ < IP address > ]
Foundry-AR1208# show ip ospf virtual_links
show ip ospf area
show ip ospf global
show ip ospf database
show ip ospf interface
show ip ospf neighbor
show ip ospf retransmission_list
show ip ospf request_list
OSPF Show Commands



Use RIP configure commands to configure all RIP parameters.

This command enables the Routing Information Protocol (RIP).
[ no ] router rip
configure router rip default_metric
configure router rip distance
configure router rip interface
configure router rip mode
configure router rip pacing
configure router rip passive
configure router rip redistribute
configure router rip timers
Foundry-AR1208/configure# router rip

This command sets the global default metric values for RIP.
The range is 1 - 4294967294; the default is 1.
[ no ] default_metric < n >
This example configures the default metric to 4.
configure router rip distance
configure router rip interface
configure router rip mode
configure router rip pacing
configure router rip passive
configure router rip redistribute
configure router rip timers
RIP Configure Commands · metric Default metric · Foundry-AR1208/configure/router/rip# default_metric 4

This command configures the distance value for RIP protocol on a router.
distance Distance value (enter a number)
The range is 1 - 255; the default is 100.
distance < n >
How Route is Learned Default Preferenc e
Command to Modify Default Preference
0 Not configurable.
Static 1 Not configurable.
OSPF internal route 10 configure router ospf distance ospf non_external
RIP 100 configure router rip distance
Generated or aggregate 130 Applicable to BGP only, and is not configurable.
OSPF AS non-external route
150 configure router ospf distance ospf external
BGP 170 configure router bgp distance
configure router rip default_metric
configure router rip interface
configure router rip mode
configure router rip pacing
configure router rip passive
configure router rip redistribute
configure router rip timers
Foundry-AR1208/configure/router/rip# distance 25 · Directly connected network

This command enables RIP for an interface.
The interface is identified by the interface name. Use ethernet0 for Ethernet 0 and ethernet1 for Ethernet 1. WAN interfaces are identified by bundle names. If no other RIP interface command is given, then the interface is configured with default RIP parameters.
name ethernet0, ethernet1, or a bundle name
dlci PVC identifier; enter a number.
Use only for an encapsulated fr bundle.
The range is 16 - 1022.
[ no ] configure router rip interface < name > [ dlci < n > ]
This example configures the Ethernet 0 interface for RIP.
configure router rip interface authentication
configure router rip interface distribute_list
configure router rip interface metric
configure router rip interface mode
configure router rip interface neighbor
configure router rip interface passive
configure router rip interface split_horizon
RIP Configure Commands · Foundry-AR1208/configure/router/rip# interface ethernet0

This command configures RIP-2 authentication for an interface.
The type of authentication and the key value to be used can be specified, but this is only valid with RIP version 2 (mode 3). When authentication is configured, all subsequent RIP updates contain authentication information. In addition, all subsequent incoming RIP packets on that interface are accepted only if they carry a valid authentication header.
auth_type The RIP-2 authentication algorithm.
simple Use simple password authentication.
md5 Use MD5 authentication.
md5_cisco Use Cisco MD5 compatibility.
line The RIP-2 authentication password/key
Enter an alphanumeric string of up to a maximum of 16 characters.
[ no ] authentication auth_type line
Foundry-AR1208/configure/router/rip/interface ethernet1# authentication md5 mymd5keyvalue
This example configures RIP interface Ethernet 1 for MD5 authentication.
configure router rip interface distribute_list
configure router rip interface metric
configure router rip interface mode
configure router rip interface neighbor
configure router rip interface passive
configure router rip interface split_horizon

This command configures the access list to be used to filter either incoming or outgoing routes for this interface.
This command is used in conjunction with the redistribute command.
access_list Access list number
Enter a number.
direction Traffic flow direction
[ no ] distribute_list < n > < in | out >
Foundry-AR1208/configure/router/rip/interface ethernet0# distribute_list 2 in
This example sets access list >2 to be used for all inbound routes for this interface.
configure router rip interface authentication
configure router rip interface metric
configure router rip interface mode
configure router rip interface neighbor
configure router rip interface passive
configure router rip interface split_horizon
RIP Configure Commands · in Inbound · out Outbound

This command configures the metric value for RIP routes for this interface.
The range is 1 - 4294967294; the default is 1.
[ no ] metric < n >
Foundry-AR1208/configure/router/rip/interface ethernet0# metric 3
This example configures the RIP routes metric for interface Ethernet 0 to 3.
configure router rip interface authentication
configure router rip interface distribute_list
configure router rip interface mode
configure router rip interface neighbor
configure router rip interface passive
configure router rip interface split_horizon
metric Default metric

This command configures RIP mode for the specific interface.
This command is similar to the global RIP mode command, but it is only applicable to the current interface. Use this command to override the global RIP mode settings.
mode Enter a mode value.
1 RIP version 1
2 RIP version 2 (default)
3 RIP version 2 (V1 compatible)
[ no ] mode < n >
Foundry-AR1208/configure/router/rip/interface ethernet0# mode 1
This example configures interface Ethernet 0 for RIP version 1.
configure router rip interface authentication
configure router rip interface distribute_list
configure router rip interface metric
configure router rip interface neighbor
configure router rip interface passive
configure router rip interface split_horizon
RIP Configure Commands

This command specifies a RIP neighbor for a specific interface.
Use this command multiple times to add multiple neighbors. When neighbors are specified, RIP updates are unicast to those neighbors (and not broadcast or multicast on that segment).
ip_address Neighbor IP address
[ no ] neighbor < ip_address >
Foundry-AR1208/configure/router/rip/interface ethernet0# neighbor 192.168.31.2
This example configures IP address 192.168.31.2 as a RIP neighbor of interface
Ethernet 0.
configure router rip interface authentication
configure router rip interface distribute_list
configure router rip interface metric
configure router rip interface mode
configure router rip interface passive
configure router rip interface split_horizon

This command configures RIP mode for a specific interface to passive (listen-only) mode.
Use this command to override a global RIP mode configured for an interface.
[ no ] passive
This example configures interface Ethernet 1 to listen-only mode.
configure router rip interface authentication
configure router rip interface distribute_list
configure router rip interface metric
configure router rip interface mode
configure router rip interface neighbor
configure router rip interface split_horizon
RIP Configure Commands · Foundry-AR1208/configure/router/rip/interface ethernet1# passive

This command configures the split-horizon mechanism on an interface.
By default, split horizon is enabled for all interfaces for poison-reverse.
splitval Split horizon algorithm
none Disables split horizon.
simple Enables split horizon.
poison Enables poison reverse (default)
[ no ] split_horizon < none | simple | poison >
Foundry-AR1208/configure/router/rip/interface ethernet0# split_horizon simple
This example configures interface Ethernet 0 to do simple split-horizon.
configure router rip interface authentication
configure router rip interface distribute_list
configure router rip interface metric
configure router rip interface mode
configure router rip interface neighbor
configure router rip interface passive

This command globally configures RIP mode for all interfaces.
Use this command to override the global mode setting.
mode Enter a mode value.
1 RIP version 1
2 RIP version 2 (default)
3 RIP version 2 (V1 compatible)
[ no ] mode < n >
configure router rip default_metric
configure router rip distribute_list
configure router rip interface
configure router rip passive
configure router rip distance
configure router rip redistribute
RIP Configure Commands · Foundry-AR1208/configure/router/rip# mode 3

This command enables RIP updates sent from this router to be released to the network in a controlled manner to avoid traffic bottlenecks.
When enabled, RIP updates from this router will be sent in several small intervals instead on one burst. This is useful when the number of routes to be sent is large (more than 1000).
[ no ] pacing
configure router rip default_metric
configure router rip distance
configure router rip interface
configure router rip mode
configure router rip passive
configure router rip redistribute
configure router rip timers
Foundry-AR1208/configure/router/rip# pacing

This command configures RIP passive (listen only) mode.
All configured interfaces will only listen to RIP (version 1 and 2) updates, but will not send any updates. You can override the mode on a specific interface by configuring RIP mode for that specific interface.
[ no ] passive
This example configures all RIP interfaces to listen-only mode.
configure router rip default_metric
configure router rip distance
configure router rip interface
configure router rip default mode
configure router rip pacing
configure router rip redistribute
configure router rip timers
RIP Configure Commands · Foundry-AR1208/configure/router/rip# passive

This command accesses the following next-level commands that configure the system to use RIP updates to redistribute routes learned from other routing protocols.
configure router rip redistribute bgp
configure router rip redistribute connected
configure router rip redistribute ospf
configure router rip redistribute static

This command configures RIP to redistribute bgp routes.
as_number Autonomous system number
The range is 1 - 65535.
The range is 1 - 16; the default is 1.
redistribute bgp as_number [ metric < n > ]
Foundry-AR1208/configure/router/rip# redistribute bgp 1
configure router rip redistribute connected
configure router rip redistribute ospf
configure router rip redistribute static
RIP Configure Commands · metric Default metric

This command configures RIP to redistribute connected routes.
The range is 1 - 16; the default is 1.
[ no ] redistribute connected [ metric < n > ]
This example configures RIP to redistribute connected routes.
configure router rip redistribute bgp
configure router rip redistribute ospf
configure router rip redistribute static
metric Default metric · Foundry-AR1208/configure/router/rip# redistribute connected

This command configures RIP to redistribute OSPF routes.
The range is 1 - 16; the default is 1.
[ no ] redistribute ospf [ metric < n > ]
configure router rip redistribute bgp
configure router rip redistribute connected
configure router rip redistribute static
RIP Configure Commands · metric Default metric · Foundry-AR1208/configure/router/rip# redistribute ospf

This command configures RIP to redistribute static routes.
The range is 1 - 16; the default is 1.
[ no ] redistribute static [ metric < n > ]
This example configures RIP to redistribute static routes.
configure router rip redistribute bgp
configure router rip redistribute connected
configure router rip redistribute ospf
metric Default metric · Foundry-AR1208/configure/router/rip# redistribute static

This command accesses the following next-level commands that configure the global RIP timers.
configure router rip timers flush
configure router rip timers holddown
configure router rip timers update
RIP Configure Commands

This command configures the global RIP flush timer.
This is the time interval in seconds that must pass before the route is removed from the routing table. This value should be configured to be greater than the configured holddown time value.
time Flush timer value in seconds
The range is 1 - 65535; the default is 180.
[ no ] flush time < n >
This example configures the global RIP flush timer to 300 seconds.
configure router rip timers holddown
configure router rip timers update
Foundry-AR1208/configure/router/rip/timers# flush 300

This command configures the global RIP hold down timers.
Hold down time is the interval in seconds during which routing information regarding better routes is suppressed. This should be configured to be at least twice the value of the update timers.
time Holddown timer value in seconds
The range is 1- 65535; the default is 180.
[ no ] holddown time < n >
This example configures the global RIP hold down timers to suppress information about routes for 200 seconds.
configure router rip timers flush
configure router rip timers update
RIP Configure Commands · Foundry-140/configure/router/rip/timers# holddown 200

This command configures the global RIP update timer.
This timer specifies the interval in seconds for sending periodic RIP updates.
time Update timer in seconds
The range is 1 - 65536; the default is 120.
[ no ] update time < n >
This example globally configures RIP updates to occur every 45 seconds.
configure router rip timers flush
configure router rip timers holddown
Foundry-AR1208/configure/router/rip/timers# update 45

Use RIP display/show commands to display all configured RIP information.

This command accesses the following next-level commands that display more specific information.
show ip rip global
show ip rip interface
show ip rip statistics

This command displays global configured information about mode, distance, default metric, and timers for RIP.
show ip rip global
Foundry-AR1208# show ip rip global
# show ip rip global
Router RIP is enabled
Timers:
show ip rip interface
show ip rip routes
show ip rip statistics
RIP show Commands

This command accesses the following next-level commands that display configuration information about mode, metric, authentication, split horizon, and routers for the RIP interface.
show ip rip interface all
show ip rip interface bundle
show ip rip interface ethernet
show ip rip interface statistics

This command displays information about all configured RIP interfaces.
show ip rip interface all
Foundry-AR1208# show ip rip interface all
# show ip rip interface all
RIP is configured for interface
show ip rip interface bundle
show ip rip interface ethernet
show ip rip interface statistics
RIP show Commands

This command displays RIP information for a configured bundle.
bundle_name The name of the desired bundle.
Enter a string of up to a maximum of 8 characters.
Used only for an encapsulated fr bundle.
The range is 16 - 1022.
show ip rip interface bundle < name >
Foundry-AR1208# show ip rip interface bundle Dallas
show ip rip interface all
show ip rip interface ethernet
show ip rip interface statistics
pvc PVC identifier

This command displays RIP information about the Ethernet interface.
show ip rip interface ethernet < 0 | 1 >
Foundry-AR1208# show ip rip interface ethernet0
# show ip rip interface ethernet 0
RIP is configured for interface
show ip rip interface all
show ip rip interface bundle
show ip rip interface statistics
RIP show Commands

This command displays global RIP interface statistics, such as the number of pad packets received, the number or bad routes received, and the number of triggered updates sent.
show ip rip interface statistics
Foundry-AR1208# show ip rip interface statistics
# show ip rip interface statistics
RIP Interface Statistics:
show ip rip interface all
show ip rip interface bundle
show ip rip interface ethernet
=========================

This command shows global RIP statistics, such as route changes and queries.
show ip rip statistics
Foundry-AR1208# show ip rip statistics
show ip rip statistics
RIP Global Statistics:
show ip rip global
show ip rip interface
show ip rip routes
RIP show Commands · ===============================



This appendix provides information about how to use and configure regular expressions for use with BGP4 routing protocol commands.
An AS path regular expression is a regular expression with the alphabet used as the set of AS numbers defining a set of AS paths.
The following examples provide more information:
690 Matches only the specific AS path “690.”
. *690 .* Matches any AS path containing 690.
690 .* Matches any AS path beginning with 690.
. *690 Matches any AS path ending in 690.
A regex is a character string containing one of the following:
term Matches the given term.
regex1 regex2 Matches a path that is a concatenation of two paths, P1 and P2. P1 matches regex1 and P2 matches regex2. Note that spaces are ignored in general, but should be used between two concatenated ASs to distinguish them.
regex1 |regex2 Matches a path that matches regex1 or regex2.
A term is one of the following:
AS Matches the given number, which is any positive 16-bit number from 0-65535 inclusive. Note that valid AS numbers range from one through 65534 inclusive.

!AS Matches any AS number except the given one.
AS1 -AS2 Is a range of ASs. It matches all AS numbers between AS1 and AS2 inclusive.
!AS1 - AS2 This matches all numbers except the given one.
. Matches any number.
null Matches an empty (0 length) string, e.g., (AS1 empty AS2) is equivalent to (AS1 AS2).
term {m, n} A term followed by {m, n} (where m and n are both non-negative integers and m
term {m} A term followed by {m} (where m is a positive integer) matches m or more repetitions of term.
term {m,} A term followed by {m,} (where m is a positive integer) matches m or more repetitions of term
term * A term followed by * matches zero or more repetitions of term. This is shorthand for {0,}.
term + A term followed by + matches one or more repetitions of term. This is shorthand for {1,}.
term ? A term followed by ? matches zero or one repetition of term. This is shorthand for {0,1}.
Brackets union the items of an as_range_list. An item of this list can be either an AS or a range. For example, {AS1 AS2 - AS3 AS4] is equivalent to (AS1 | AS2-AS3 | AS4).
( regex ) Parentheses group expressions to make a term out of any regex. An operator, such as * or ?, works on a regular expression enclosed in parentheses as it would any term.
[ as_range_list ]

Traditional multicast routing mechanisms such as Distance Vector Multicast Routing Protocol (DVMRP) and Multicast Open Shortest Path First (MOSPF) were intended for use within regions where groups are densely populated or bandwidth is universally plentiful. When groups, and senders to these groups, are distributed sparsely across a wide area, these “dense mode” schemes do not perform efficiently.
Protocol Independent Multicast (PIM) protocols route multicast packets to multicast groups. PIM is protocol independent because it can leverage whichever unicast routing protocol is used to populate unicast routing table. There are two modes of PIM protocol – Dense mode (DM) and Sparse mode (SM). Foundry supports SM only.
PIM-DM floods multicast traffic throughout the network initially and then generates prune messages as required. PIM-SM attempts to send multicast data only to networks which have active receivers. This is achieved by having a common Rendezvous Point (RP) known to the senders and receivers and by forming shared trees from the RP to the receivers.
PIM-SM is described in RFC 2362.
The general PIM commands supported in this release are:
Enable PIM Foundry/configure/ip# pim
Configure PIM mode Foundry/configure/ip/pim# mode [sparse | dense]
Configure Hello Interval Foundry/configure/ip/pim#hello-interval
Configure Hello Holdtime Foundry/configure/ip/pim#hello-holdtime
Configure Hello priority Foundry/configure/ip/pim#hello-priority
Global parameters · Configure Assert Holdtime · Foundry/configure/ip/pim#assert-holdtime

TABLE 4 PIM COMMANDS (CONTINUED)
Configure Join /Prune Interval
Configure MRT Period Foundry/configure/ip/pim#mrt-period
Configure MRT Stale Multiplier
Configure MRT SPT Multiplier
Configure Probe Period Foundry/configure/ip/pim#probe-period
Configure Registration suppression timeout
Configure DR to switch immediate
Configure RP to switch immediate
Configure Threshold for DR
Configure Threshold for RP
Configure to calculate whole packet checksum (for cisco interop)
Bootstrap Router related Commands
Configure as candidate BSR
Configure CBSR period Foundry/configure/ip/pim/cbsr# period
Configure CBSR holdtime Foundry/configure/ip/pim/cbsr#holdtime
Configure CBSR priority Foundry/configure/ip/pim/cbsr#priority
Configure as candidate RP
Configure as candidate RP address
Configure candidate RP group for advertisement
Foundry/configure/ip/pim/crp# group-add
Configure as candidate RP holdtime

TABLE 4 PIM COMMANDS (CONTINUED)
Configure as candidate RP period
Configure as candidate RP priority
Configure a static RP address
Foundry/configure/ip/pim/# rp
Configure PIM for an interface
Foundry/configure/ip/pim#interface
Configure PIM mode for an interface
Foundry/configure/ip/pim/interface wan1# mode [sparse | dense | ssm | sparse-ssm ]
Configure PIM interface assert holdtime
Configure PIM interface hello holdtime
Configure PIM interface hello interval
Configure PIM interface Join/Prune Delay Timeout
Configure PIM interface Join/Prune Interval
Configure PIM interface Join/Prune holdtime
Configure PIM interface as border of PIM domain
Configure the SSM range Foundry/configure/ip/pim# ssm-range
The show and debug PIM commands are:
TABLE 5 PIM SHOW AND DEBUG COMMANDS
Display PIM global configuration
Foundry#show ip pim global
Display PIMC timers Foundry#show ip pim timers
Display PIM interfaces Foundry#show ip pim interfaces
Display PIM neighbors Foundry#show ip pim neighbors
Display PIM Bootstrap info
Foundry#show ip pim bsr-info

TABLE 5 PIM SHOW AND DEBUG COMMANDS (CONTINUED)
Display PIM Candidate RP info
Foundry#show ip pim crp-info
Display PIM statistics Foundry#show ip pim statistics
Display PIM RP set Foundry#show ip pim rp-set
Display PIM Static RP Foundry#show ip pim rp
Trace PIM packets Foundry# debug ip pim packet
Trace PIM state changes
Foundry# debug ip pim state
Trace PIM routes Foundry# debug ip pim route
Trace PIM detail Foundry# debug ip pim detail
Trace PIM debug Foundry# debug ip pim debug
All Traces Foundry#debug ip pim all
By running PIM-SSM and IGMPv3, you can implement a Source Specific Multicast (SSM) service model in your network. PIM-SSM functionality is the subset of PIM-SM functionality dealing only with source-specific distribution trees. IGMPv3 provides a way to detect channel subscriptions; for example, host-initiated (S,G) joins where G falls within the defined range of SSM multicast group addresses.
PIM-SSM can be run in the absence of IGMPv3. Even when they are both running, they do not need to run on the same interfaces. For example, you might not want to run PIM-SSM (or PIM-SM, for that matter) over an interface that leads to a stub network. Similarly, if a network cannot contain local IGMPv3 receivers (for example, on a DMZ network), then there is no need to run IGMPv3.
The PIM-SSM command is ip pim ssm-range.
Internet Group Management Protocol (IGMP) is enabled on hosts and routers that want to receive multicast traffic. IGMP informs locally-attached routers of their multicast group memberships. Hosts inform routers of the groups of which they are members by multicasting IGMP Group Membership Reports. When multicast routers listen for these reports, they can exchange group membership information with other multicast routers. This reporting system allows distribution trees to be formed to deliver multicast datagrams. The original version of IGMP was defined in RFC 1112, Host Extensions for IP Multicasting. Extensions to IGMP, known as IGMP version 2.
IGMPv2 improves performance and supports the following message types:
The latest extension to the IGMP standard is Version 3, which includes interoperability with version 2 and version 1 hosts, also provides support for source filtering. Source filtering enables a multicast receiver host to signal to a router which groups it wants to receive multicast traffic from, and from which source(s) this traffic is expected. This

membership information enables the router to forward traffic only from those sources from which receivers requested the traffic.
IGMPv3 supports applications that explicitly signal sources from which they want to receive traffic. With IGMPv3, receivers signal membership to a multicast host group in the following two modes:
IGMPv3 is used by the hosts to express their desire to be a part of the source-specific multicast (SSM) which is an emerging standard used by routers to direct multicast traffic to the host only if its is from a specific source.
The IGMP commands supported are:
Enabling igmp Foundry/configure > ip igmp
Disabling igmp Foundry/configure > no ip igmp
Enabling igmp Foundry/configure/ip/igmp# interface
Disabling igmp Foundry/configure/ip/igmp# no interface
Configuring version Foundry/configure/ip/igmp/interface ethernet0# version
Foundry/configure/ip/igmp/interface ethernet0# query- interval
Configuring Maximum Response Time
Foundry/configure/ip/igmp/interface ethernet0# query- response-interval
Configuring Last Member Query Interval
Foundry/configure/ip/igmp/interface ethernet0# last- member-query-interval
Configuring Last Member Query Count
Foundry/configure/ip/igmp/interface ethernet0# last- member-query-count
Configuring Startup Query Interval
Foundry/configure/ip/igmp/interface ethernet0# startup- query-interval
Configuring Startup Query Count
Foundry/configure/ip/igmp/interface ethernet0# startup- query-count
Configuring Robustness Foundry/configure/ip/igmp/interface ethernet0# robustness
Foundry/configure/ip/igmp/interface ethernet0# [no] ignore- v1-messages
Foundry/configure/ip/igmp/interface ethernet0# [no] ignore- v2-messages

TABLE 6 IGMP COMMANDS (CONTINUED)
Configuring Send Router Alerts
Foundry/configure/ip/igmp/interface ethernet0# [no] send- router-alert
Configuring Require Router Alerts
Foundry/configure/ip/igmp/interface ethernet0# [no] require-router-alert
Assigning filter list for group filtering
Foundry/configure/ip/igmp/interface ethernet0# group-filter
Enable all debug levels Foundry/debug#[no] ip igmp all
Debug state related events
Foundry/debug#[no] ip igmp state
Debug normal events Foundry/debug#[no] ip igmp normal
Debug query packets Foundry/debug#[no] ip igmp packet query [inbound | outbound]
Debug report packets Foundry/debug#[no] ip igmp packet report [inbound | outbound]
Debug leave packets Foundry/debug#[no] ip igmp packet leave [inbound | outbound]
Displaying IGMP group membership information
Foundry# show ip igmp groups {all |
Displaying IGMP interface configuration
Foundry# show ip igmp interface {all |
Clearing IGMP group membership information
Foundry# clear ip igmp groups [interface
With multicast distribution trees, tracing from a source to a multicast destination is difficult, since the branch of the multicast tree on which the destination lies is unknown. The technique used by the traceroute tool to trace unicast network paths will not work for IP multicast because traceroute (ICMP) responses are specifically forbidden for multicast traffic. Thus, you have to flood the whole tree to find the path from one source to one destination. However, walking up the tree from destination to source is easy, as most existing multicast routing protocols know the previous hop for each source. Tracing from destination to source involves only routers on the direct path.
To request a traceroute (which does not have to be the source or the destination), send a traceroute query packet to the last-hop multicast router for the given destination. The last-hop router turns the query into a request packet by adding a response data block containing its interface addresses and packet statistics, and then forwards the request packet using unicast to the router that it believes is the proper previous hop for the given source and group. Each hop adds its response data to the end of the request packet, then unicast forwards it to the previous hop. The first hop router (the router that believes that packets from the source originate on one of its directly connected networks) changes the packet type to indicate a response packet and sends the completed response to the response destination address. The response may be returned before reaching the first hop router if a fatal error condition such as “no route” is encountered along the path.
Debug Command · Show Commands · Clear Command

Multicast traceroute uses any information available to it in the router to try to determine a previous hop to forward the trace towards. Multicast routing protocols vary in the type and amount of state they keep; multicast traceroute tries to work with all of them by using whatever is available. For example, if a DVMRP router has no active state for a particular source but does have a DVMRP route, it chooses the parent of the DVMRP route as the previous hop. If a PIM-SM router is on the (*,G) tree, it chooses the parent towards the RP as the previous hop. In these cases, no source/group-specific state is available, but the path may still be traced.
Foundry supports the following PIM related feature—a “traceroute” facility for IP multicast, as defined in draft-ietf- idmr-traceroute-ipm-05.
The mtrace command for multicast traffic is similar to the traceroute command used for unicast traffic. Unlike traceroute, however, mtrace traces traffic backwards, from the receiver to the source. mtrace uses other unicast routing tables for RPF. For these, mtrace relies on Foundry’ implementation of the mtrace protocol is manageable through the CLI and can be executed from any command sub-tree of the Foundry CLI.
The multicast multipath feature allows load balancing on multicast traffic across equal cost paths. Equal cost multipath routing is useful when multiple equal cost routes to the same destination exist. These routes can be discovered and be used to provide load balancing among redundant paths. Commonly used methods for multipath forwarding are Round-Robin and Random. While these methods do provide a form of load balancing, but variable path MTUs, variable latencies, and debugging can limit the effectiveness of these methods.
The following methods have been developed to deal with the load balancing limitations of the Round-Robin and Random methods:
The Round-Robin and Random methods are disruptive by design (that is, if there is no change to the set of next- hops, the path a flow takes changes every time). Modulo-N, Hash Threshold, and HRW are not disruptive.
RFC 2991 recommends to use HRW method to select the next-hop for multicast packet forwarding. or this reason, Foundry-only scenarios apply the HRW method as the default. This is similar to the Cisco Systems IPv6 multicast multipath implementation.
The following table lists the multipath commands:
Enabling HRW method Foundry/configure/ip/multicast# multipath
Enabling Cisco method Foundry/configure/ip/multicast# multipath cisco
Disabling Multipath Foundry/configure/ip/multicast# no multipath Foundry/configure/ip/multicast# no multipath cisco
Display RPF selection Foundry#show ip rpf
Multicasting

When multipath is disabled, Foundry selects the nexthop address with lowest ip address. For equal cost routes the nexthops are stored in the increasing (ascending) order of IP address. show ip rpf command displays the selected path, based on the configured multipath method and the nexthops of the best route to the IP address passed.
Generic Routing Encapsulation (GRE) handles the transportation of IP multicast traffic between two sites that have only IP unicast connectivity. Using tunnels in a VPN environment is important because IPSec encryption is limited to IP unicast frames. IPSec over GRE tunneling allows for the encryption and the transportation of multiprotocol traffic across the VPN since both unicast and multicast IP packets appear to the IPSec protocol as IP unicast frame after GRE tunneling. If all connectivity must go through the home gateway router, tunnels also enable the use of private network addressing across a service provider's backbone without the need for running the Network Address Translation (NAT) feature.
The Foundry Network implementation of the Generic Routing Encapsulation (GRE) tunneling protocol is based on standards RFC1701 and RFC2784.
GRE can encapsulate a wide variety of protocol packet types inside IP tunnels, creating a virtual point-to-point link between routers at remote points over an IP network. An IP tunnel is a logical interface that provides a way to encapsulate passenger packets inside a transport protocol. By connecting multiprotocol subnetworks in a single- protocol backbone environment, IP tunneling using GRE allows network expansion across a single-protocol backbone environment.
For more information on GRE, refer to the GRE Configuration Guide.

Foundry introduces a wide range of robust industry-standard security features including:
This chapter explains each of these features in detail.
The advanced VPN and firewall (advance_vpn) license allows users to manage remote LANs. This license also includes Basic VPN and Firewall licenses.
To see the license available in this release, enter:
Foundry/configure# system licenses ?
NAME licenses - Configure feature upgrade licenses
SYNTAX licenses license_type
DESCRIPTION license_type -- Specifies the type of feature upgrade license The parameter may have any of the following values: advance_vpn -- Enable Advance VPN and Firewall License
To install the advanced VPN and firewall license and use all the security features available in this release, enter:

Foundry/configure# system licenses advance_vpn Enter Security Upgrade License key: 024f3bc296b4ea7265
The features allow administrators to form a security tunnel to join two private networks over the Internet. The following examples show how to set up an end-to-end tunnel with a single proposal and pre-shared key authentication, with multiple proposals and pre-shared key authentication, and with an SA Bundle, and pre-shared key authentication.
The corporate network no longer has a clearly defined perimeter inside secure building and locked equipment closets. Increasingly, companies have a need to provide remote access to their corporate resources for the employees on the move.
Traditionally, remote users could access the corporate LAN through dial-up and ISDN lines which were terminated in the corporate remote access servers. However, these point-to-point connection technologies do not scale well to the growing number of remote users and the corresponding increase in the infrastructure investments and maintenance costs.
A solution to meeting the needs of increasing numbers of remote users and for controlling access costs is to provide remote access through the Internet using firewalls and a Virtual Private Network (VPN). Internet Protocol Security (IPSec) keeps the connection safe from unauthorized users.
In a typical IPSec remote access scenario, the mobile user has connectivity to Internet and an IPSec VPN client loaded on their PC. The remote user connects to the Internet through their Internet service provider and then initiates a VPN connection to the IPSec security gateway (the VPN server) of the corporate office, which is typically an always-on Internet connection.
One of the main limitations in providing remote access is the typical remote user connects with a dynamically assigned IP address provided by the ISP. IPSec uses the IP address of users as an index to apply the Internet Key Exchange (IKE) and IPSec policies to be used for negotiation with each peer. When the VPN client has a dynamic IP address, the VPN server cannot access the policies based on the IP address of the client. Instead, the VPN server uses the identity of the VPN client to access the policies.
Foundry supports two types of IPSec remote access using VPNs.
One of the methods to achieve IPSec remote access in Foundry is the user group method. In this method, the administrator creates an IKE policy for a logical group of users such as a department in an organization. Each user in the group is identified with unique information that is uniquely configured in the IKE policy. Also, an IPSec template is attached to the user group.
Once the VPN user is authenticated using IKE, the users dynamically-assigned IP address is added to the destination address field in the IPSec template attached to the user group. The VPN user now has the required IPSec policy that allows access through the gateway to the corporate LAN.
The other method to achieve IPSec remote access in Foundry is the mode configuration method.
This method makes the VPN client an extension of the LAN being accessed by the VPN client. The remote client appears as a network accessing some resource behind the VPN server.
The VPN client is allocated a private IP address by the VPN server and the client uses this as the source IP address in the inner IP header in tunnel mode.

In tunnel mode, at each IKE end point, the IP traffic to be protected is completely encapsulated with another IP packet. In this, the inner IP header remains the same as seen in the original traffic to be protected. In the outer IP header, the source and destination addresses are the addresses of the tunnel end points.
Typically, for a remote user, the source address of the outer IP header is the dynamic public IP address provided by the ISP. When mode configuration is enabled, the source address of the inner IP header is the private address allocated by the VPN server to the VPN client.
As in the case of user group method, the administrator creates an IKE policy for a logical group of users such as a department in an organization. The identity information used to identify each user uniquely is configured in the IKE policy. The IKE policy is attached to a mode configuration record. The mode configuration record contains an IPSec policy template to be used for creating dynamic IPSec policy. Also, the record contains one or more pools of private IP addresses to be used for allocating the addresses to the VPN clients. Besides the private IP address, the VPN server can also provide WINS and DNS server addresses.
Upon successful IKE authentication of a VPN client, the server checks whether the IKE policy used to authenticate the VPN client is enabled for mode configuration. If so, the server allocates a private IP address from one of the IP pools in the mode configuration record to the VPN client. The destination address field in the IPSec template attached to the user group is filled in with the private IP address allocated to the VPN client and this is installed as an IPSec policy.
This example demonstrates how to manage a Foundry router through an IP security tunnel. Steps are presented for configuring the Router1 and Router2 routers to assist any host on the LAN side of Foundry-2 to manage the Router1 router through the IP security tunnel.
The security requirements are:
Figure 15.1 Tunnel Mode Between Two Foundry Security Gateways - Single Proposal

Router1/configure# interface bundle wan1 Configuring new bundle Router1/configure/interface/bundle wan1# link t1 1 Router1/configure/interface/bundle wan1# encapsulation ppp Router1/configure/interface/bundle wan1# ip address 172.16.0.1 24 Router1/configure/interface/bundle wan1# crypto untrusted Router1/configure/interface/bundle wan1# exit
Security Features

Router1/configure# interface ethernet 0 Configuring existing Ethernet interface Router1/configure interface/ethernet 0# ip address 10.0.1.1 24 Router1/configure/interface/ethernet 0# crypto trusted Router1/configure/interface/ethernet 0# exit
Router1# show crypto interfaces
Interface Network Name Type ethernet0 trusted wan1 untrusted
Router1/configure# ip route 10.0.2.0 24 wan1
Router1/configure# crypto Router1/configure/crypto# ike policy Router2 172.16.0.2 Router1/configure/crypto/ike/policy Router2 172.16.0.2# local- address 172.16.0.1 message: Default proposal created with priority1-des-sha1- pre_shared-g1 message: Key String has to be configured by the user Router1/configure/crypto/ike/policy Router2 172.16.0.2# key secretkey Router1/configure/crypto/ike/policy Router2 172.16.0.2# proposal 1 Router1/configure/crypto/ike/policy Router2 172.16.0.2/proposal 1# encryption-al algorithm 3des-cbc Router1/configure/crypto/ike/policy Router2 172.16.0.2/proposal 1# exit Router1/configure/crypto/ike/policy Router2 172.16.0.2# exit

Router1# show crypto ike policy all
Policy Peer Mode Transform Router2 172.16.0.2 Main P1 pre-g1-3des-sha1
Router1# show crypto ike policy all detail
Policy name Router2, Local addr 172.16.0.1, Peer addr 172.16.0.2 Main mode, Response and Initiate, PFS is not enabled, Shared Key is ***** Local ident 172.16.0.1 (ip-address), Remote Ident 172.16.0.2 (ip- address)
Proposal of priority 1 Encryption algorithm: 3des Hash Algorithm: sha1 Authentication Mode: pre-shared-key DH Group: group1 Lifetime in seconds: 86400 Lifetime in kilobytes: unlimited
Router1/configure/crypto# ipsec policy Router2 172.16.0.2 Router1/configure/crypto/ipsec policy Router2 172.16.0.2# match address 172.16.0.1 32 10.0.2.0 24
message: Default proposal created with priority1-esp-3des-sha1-tunnel and activated.
Router1/configure/crypto# ipsec policy Router2 172.16.0.2# proposal 1 Router1/configure/crypto# ipsec policy Router2 172.16.0.2/proposal 1# encryption-algorithm aes128-cbc Router1/configure/crypto# ipsec policy Router2 172.16.0.2/proposal 1# exit Router1/configure/crypto# ipsec policy Router2 172.16.0.2# exit
Security Features

Router1# show crypto ipsec policy all
Policy Peer Match Proto Transform Router2 172.16.0.2 S 172.16.0.1/32/any Any P1 esp-aes- sha1-tunl D 10.0.2.0/24/any INRouter2 172.16.0.2 S 10.0.2.0/24/any Any P1 esp-aes-
Router1# show crypto ipsec policy all detail
Policy name Router2 is enabled, Direction is outbound Peer Address is 172.16.0.2, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (172.16.0.1/255.255.255.255/ any) Destination ip address (ip/mask/port): (10.0.2.0/ 255.255.255.0/any)
Proposal of priority 1 Protocol: esp Mode: tunnel Encryption Algorithm: aes128(key length=128 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Policy name INRouter2 is enabled, Direction is inbound Peer Address is 172.16.0.2, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (10.0.2.0/255.255.255.0/any) Destination ip address (ip/mask/port): (172.16.0.1/ 255.255.255.255/any)
Proposal of priority 1 Protocol: esp Mode: tunnel Encryption Algorithm: aes128(key length=128 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000

Router1/configure# firewall internet Router1/configure/firewall internet# policy 1000 in service ike self Router1/configure/firewall internet/policy 1000 in# exit Router1/configure/firewall internet# exit
Router1/configure# firewall internet Router1/configure/firewall internet# policy 1001 in service snmp self Router1/configure/firewall internet/policy 1001 in# exit Router1/configure/firewall internet# policy 1002 in service telnet self Router1/configure/firewall internet/policy 1002 in# exit Router1/configure/firewall internet# policy 1003 in protocol icmp self Router1/configure/firewall internet/policy 1003 in# exit Router1/configure/firewall internet# exit
Router1# show firewall policy internet Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- 1000 in any any ike PERMIT SE 1001 in any any snmp PERMIT SE 1002 in any any telnet PERMIT SE 1003 in any icmp PERMIT SE 1024 out any PERMIT SE
Security Features

Router1# show firewall policy internet detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Service Name is ike Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1001 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Service Name is snmp Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1002 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Service Name is telnet Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1003 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, Protocol is icmp Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled

Router1/configure/crypto/# exit Router1/configure# snmp Router1/configure/snmp# community public rw Router1/configure/snmp# exit
Router1# show snmp communities
Community = public, privilege=rw
Router1# show crypto ike sa all
Policy Peer State Bytes Transform Router2 172.16.0.2 SA_MATURE 2020 pre-g1-3des-sha1
Router1# show crypto ike sa all detail
Crypto Policy name: Router2 Remote ident 172.16.0.2 Peer Address is 172.16.0.2 Transform: 3des, sha1, pre-shared-key DH Group: group1 Bytes Processed 2020 State is SA_MATURE Mode is Main Remaining Time in Sec: 86084 Life Time in Sec: 86400, Life Time in Bytes is unlimited
Router1# show crypto ipsec sa all
Policy Dest IP Spi Bytes Transform --- INRouter2 172.16.0.1 0xe8453c2b 256 esp-aes-sha1-tunl Router2 172.16.0.2 0xa1f673aa 256 esp-aes-sha1-tunl
Security Features

Router1# show crypto ipsec sa all detail
Crypto Policy name: INRouter2 Protocol is Any Local ident(ip/mask/port): (10.0.2.0/255.255.255.0/any) Remote ident(ip/mask/port): (172.16.0.1/255.255.255.255/any) Peer Address is 172.16.0.1, PFS Group is disabled
inbound ESP sas Spi: 0xe8453c2b Transform: aes128 (key length=128 bits), sha1 In use settings = {tunnel} Bytes Processed 256 Hard lifetime in seconds 3290, Hard lifetime in kilobytes 413696 Soft lifetime in seconds 0, Soft lifetime in kilobytes is unlimited
Crypto Policy name: Router2 Protocol is Any Local ident(ip/mask/port): (172.16.0.1/255.255.255.255/any) Remote ident(ip/mask/port): (10.0.2.0/255.255.255.0/any) Peer Address is 172.16.0.2, PFS Group is disabled
The following example demonstrates how to form an IP security tunnel to join two private networks: 10.0.1.0/24 and 10.0.2.0/24. The security requirements are as follows:

Figure 1 Tunnel Mode Between Two Foundry Security Gateways - Single Proposals
Router1/configure/interface/bundle wan1# link t1 1 Router1/configure/interface/bundle wan1# encapsulation ppp Router1/configure/interface/bundle wan1# ip address 172.16.0.1 24 Router1/configure/interface/bundle wan1# crypto untrusted Router1/configure/interface/bundle wan1# exit
Router1/configure# interface ethernet 0 Configuring existing Ethernet interface Router1/configure interface/ethernet 0# ip address 10.0.1.1 24 Router1/configure/interface/ethernet 0# crypto trusted Router1/configure/interface/ethernet 0# exit
Router1# show crypto interfaces
Interface Network Name Type ethernet0 trusted wan1 untrusted
Router1/configure# ip route 10.0.2.0 24 wan1
Security Features

Router1/configure# crypto Router1/configure/crypto# ike policy Router2 172.16.0.2 Router1/configure/crypto/ike/policy Router2 172.16.0.2# local- address 172.16.0.1 message: Default proposal created with priority1-des-sha1- pre_shared-g1 message: Key String has to be configured by the user Router1/configure/crypto/ike/policy Router2 172.16.0.2# key secretkey Router1/configure/crypto/ike/policy Router2 172.16.0.2# proposal 1 Router1/configure/crypto/ike/policy Router2 172.16.0.2/proposal 1# encryption-al algorithm 3des-cbc Router1/configure/crypto/ike/policy Router2 172.16.0.2/proposal 1# exit Router1/configure/crypto/ike/policy Router2 172.16.0.2# exit
Router1# show crypto ike policy all
Policy Peer Mode Transform Router2 172.16.0.2 Main P1 pre-g1-3des-sha1
Router1# show crypto ike policy all detail
Policy name Router2, Local addr 172.16.0.1, Peer addr 172.16.0.2 Main mode, Response and Initiate, PFS is not enabled, Shared Key is ***** Local ident 172.16.0.1 (ip-address), Remote Ident 172.16.0.2 (ip- address)
Proposal of priority 1 Encryption algorithm: 3des Hash Algorithm: sha1 Authentication Mode: pre-shared-key DH Group: group1 Lifetime in seconds: 86400 Lifetime in kilobytes: unlimited

Router1/configure/crypto# ipsec policy Router2 172.16.0.2 Router1/configure/crypto/ipsec/policy Router2 172.16.0.2# match address 10.0.1.0 24 10.0.2.0 24 Default proposal created with priority1-esp-3des-sha1-tunnel and activated. Router1/configure/crypto/ipsec/policy Router2 172.16.0.2# proposal 1 Router1/configure/crypto/ipsec/policy Router2 172.16.0.2/proposal 1# encryption-algorithm aes256-cbc Router1/configure/crypto/ipsec/policy Router2 172.16.0.2/proposal 1# exit Router1/configure/crypto/ipsec/policy Router2 172.16.0.2# exit
Router1# show crypto ipsec policy all
Policy Peer Match Proto Transform Router2 172.16.0.2 S 10.0.1.0/24/any Any P1 esp-aes- sha1-tunl
Security Features

Router1# show crypto ipsec policy all detail
Policy name Router2 is enabled, Direction is outbound Peer Address is 172.16.0.2, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (10.0.1.0/255.255.255.0/any) Destination ip address (ip/mask/port): (10.0.2.0/ 255.255.255.0/any)
Proposal of priority 1 Protocol: esp Mode: tunnel Encryption Algorithm: aes256(key length=256 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Policy name INRouter2 is enabled, Direction is inbound Peer Address is 172.16.0.2, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (10.0.2.0/255.255.255.0/any) Destination ip address (ip/mask/port): (10.0.1.0/ 255.255.255.0/any)
Proposal of priority 1 Protocol: esp Mode: tunnel Encryption Algorithm: aes256(key length=256 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Router1/configure# firewall internet Router1/configure/firewall internet# policy 1000 in service ike self Router1/configure/firewall internet/policy 1000 in# exit Router1/configure/firewall internet# exit

Router1# show firewall policy internet Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- 1000 in any any ike PERMIT SE 1024 out any PERMIT SE
Router1# show firewall policy internet detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Service Name is ike Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled
Router1/configure# firewall corp Router1/configure/firewall corp# policy 1000 in address 10.0.2.0 24 10.0.1.0 24 Router1/configure/firewall corp/policy 1000 in# exit Router1/configure/firewall corp# exit
Security Features

Router1# show firewall policy corp Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- --

Router1# show firewall policy corp detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is transit Logging is disable Source Address is 10.0.2.0/24, Dest Address is 10.0.1.0/24 Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1022 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1023 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is transit Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled
Security Features

Router1# show crypto ike sa all
Policy Peer State Bytes Transform Router2 172.16.0.2 SA_MATURE 1796 pre-g1-3des-sha1
Router1# show crypto ike sa all detail
Crypto Policy name: Router2 Remote ident 172.16.0.2 Peer Address is 172.16.0.2 Transform: 3des, sha1, pre-shared-key DH Group: group1 Bytes Processed 1796 State is SA_MATURE Mode is Main Remaining Time in Sec: 86376 Life Time in Sec: 86400, Life Time in Bytes is unlimited
Router1# show crypto ipsec sa all
Policy Dest IP Spi Bytes Transform --- INRouter2 172.16.0.1 0xd603a513 256 esp-aes-sha1-tunl Router2 172.16.0.2 0xb013de87 256 esp-aes-sha1-tunl

Router1# show crypto ipsec sa all detail
Crypto Policy name: INRouter2 Protocol is Any Local ident(ip/mask/port): (10.0.2.0/255.255.255.0/any) Remote ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Peer Address is 172.16.0.1, PFS Group is disabled
inbound ESP sas Spi: 0xd603a513 Transform: aes256 (key length=256 bits), sha1 In use settings = {tunnel} Bytes Processed 256 Hard lifetime in seconds 3560, Hard lifetime in kilobytes 413696 Soft lifetime in seconds 0, Soft lifetime in kilobytes is unlimited
Crypto Policy name: Router2 Protocol is Any Local ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Remote ident(ip/mask/port): (10.0.2.0/255.255.255.0/any) Peer Address is 172.16.0.2, PFS Group is disabled
The following example demonstrates how a security gateway can use multiple IPSec (phase2) proposals to form an IP security tunnel to join two private networks: 10.0.1.0/24 and 10.0.2.0/24.
IKE Proposal offered by both Router1 and Router2:
IPSec Proposals offered by Router1:
IPSec Proposal offered by Router2:
In this example, the Router1 router offers two IPSec proposals to the peer while the Router2 router offers only one proposal. As a result of quick mode negotiation, the two routers are expected to converge on a mutually acceptable proposal, which is the proposal “IPSec ESP with AES (256-bit) and HMAC-SHA1” in this example.
Security Features

Figure 2 Tunnel Mode Between Two Foundry Security Gateways - Multiple Proposals
Router1/configure/interface/bundle wan1# link t1 1 Router1/configure/interface/bundle wan1# encapsulation ppp Router1/configure/interface/bundle wan1# ip address 172.16.0.1 24 Router1/configure/interface/bundle wan1# crypto untrusted Router1/configure/interface/bundle wan1# exit
Router1/configure# interface ethernet 0 Configuring existing Ethernet interface Router1/configure interface/ethernet 0# ip address 10.0.1.1 24 Router1/configure/interface/ethernet 0# crypto trusted Router1/configure/interface/ethernet 0# exit
Router1# show crypto interfaces
Interface Network Name Type ethernet0 trusted wan1 untrusted
Router1/configure# ip route 10.0.2.0 24 wan1

Router1/configure# crypto Router1/configure/crypto# ike policy Router2 172.16.0.2 Router1/configure/crypto/ike/policy Router2 172.16.0.2# local- address 172.16.0.1 message: Default proposal created with priority1-des-sha1- pre_shared-g1 message: Key String has to be configured by the user Router1/configure/crypto/ike/policy Router2 172.16.0.2# key secretkey Router1/configure/crypto/ike/policy Router2 172.16.0.2# proposal 1 Router1/configure/crypto/ike/policy Router2 172.16.0.2/proposal 1# encryption-al gorithm 3des-cbc Router1/configure/crypto/ike/policy Router2 172.16.0.2/proposal 1# exit Router1/configure/crypto/ike/policy Router2 172.16.0.2# exit
Router1# show crypto ike policy all
Policy Peer Mode Transform Router2 172.16.0.2 Main P1 pre-g1-3des-sha1
Router1# show crypto ike policy all detail
Policy name Router2, Local addr 172.16.0.1, Peer addr 172.16.0.2 Main mode, Response and Initiate, PFS is not enabled, Shared Key is ***** Local ident 172.16.0.1 (ip-address), Remote Ident 172.16.0.2 (ip- address)
Proposal of priority 1 Encryption algorithm: 3des Hash Algorithm: sha1 Authentication Mode: pre-shared-key DH Group: group1 Lifetime in seconds: 86400 Lifetime in kilobytes: unlimited
Security Features

Router1/configure/crypto# ipsec policy Router2 172.16.0.2 Router1/configure/crypto/ipsec/policy Router2 172.16.0.2# match address 10.0.1.0 24 10.0.2.0 24 Default proposal created with priority1-esp-3des-sha1-tunnel and activated. Router1/configure/crypto/ipsec/policy Router2 172.16.0.2# proposal 1 Router1/configure/crypto/ipsec/policy Router2 172.16.0.2/proposal 1# encryption-algorithm des-cbc Router1/configure/crypto/ipsec/policy Router2 172.16.0.2/proposal 1# exit Router1/configure/crypto/ipsec/policy Router2 172.16.0.2# proposal 2 Proposal added with priority2-esp-3des-sha1-tunnel. Router1/configure/crypto/ipsec/policy Router2 172.16.0.2/proposal 2# encryption-algorithm aes256-cbc Router1/configure/crypto/ipsec/policy Router2 172.16.0.2/proposal 2# exit Router1/configure/crypto/ipsec/policy Router2 172.16.0.2# exit Router1/configure/crypto# exit Router1/configure#
Router1# show crypto ipsec policy all
Policy Peer Match Proto Transform Router2 172.16.0.2 S 10.0.1.0/24/any Any P1 esp-des- sha1-tunl

Router1# show crypto ipsec policy all detail
Policy name Router2 is enabled, Direction is outbound Peer Address is 172.16.0.2, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (10.0.1.0/255.255.255.0/ any) Destination ip address (ip/mask/port): (10.0.2.0/ 255.255.255.0/any)
Proposal of priority 1 Protocol: esp Mode: tunnel Encryption Algorithm: des Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Proposal of priority 2 Protocol: esp Mode: tunnel Encryption Algorithm: aes256(key length=256 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Policy name INRouter2 is enabled, Direction is inbound Peer Address is 172.16.0.2, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (10.0.2.0/255.255.255.0/ any)
Router1/configure# firewall internet Router1/configure/firewall internet# policy 1000 in service ike self Router1/configure/firewall internet/policy 1000 in# exit Router1/configure/firewall internet# exit
Security Features

Router1# show firewall policy internet Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- 1000 in any any ike PERMIT SE 1024 out any PERMIT SE
Router1# show firewall policy internet detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Service Name is ike Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled
Router1/configure# firewall corp Router1/configure/firewall corp# policy 1000 in address 10.0.2.0 24 10.0.1.0 24 Router1/configure/firewall corp/policy 1000 in# exit Router1/configure/firewall corp# exit

Router1# show firewall policy corp Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- --
Security Features

Router1# show firewall policy corp detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is transit Logging is disable Source Address is 10.0.2.0/24, Dest Address is 10.0.1.0/24 Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1022 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1023 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is transit Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled Bytes In 11258, Bytes Out 5813

Router1# show crypto ike sa all
Policy Peer State Bytes Transform Router2 172.16.0.2 SA_MATURE 1796 pre-g1-3des-sha1
Router1# show crypto ike sa all detail
Crypto Policy name: Router2 Remote ident 172.16.0.2 Peer Address is 172.16.0.2 Transform: 3des, sha1, pre-shared-key DH Group: group1 Bytes Processed 1796 State is SA_MATURE Mode is Main Remaining Time in Sec: 86380 Life Time in Sec: 86400, Life Time in Bytes is unlimited
Router1# show crypto ipsec sa all
Policy Dest IP Spi Bytes Transform --- INRouter2 172.16.0.1 0x8eabe4b3 256 esp-aes-sha1-tunl Router2 172.16.0.2 0xa9a506f9 256 esp-aes-sha1-tunl
Security Features

Router1# show crypto ipsec sa all detail
Crypto Policy name: INRouter2 Protocol is Any Local ident(ip/mask/port): (10.0.2.0/255.255.255.0/any) Remote ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Peer Address is 172.16.0.1, PFS Group is disabled
inbound ESP sas Spi: 0x8eabe4b3 Transform: aes256 (key length=256 bits), sha1 In use settings = {tunnel} Bytes Processed 256 Hard lifetime in seconds 3570, Hard lifetime in kilobytes 413696 Soft lifetime in seconds 0, Soft lifetime in kilobytes is unlimited
Crypto Policy name: Router2 Protocol is Any Local ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Remote ident(ip/mask/port): (10.0.2.0/255.255.255.0/any) Peer Address is 172.16.0.2, PFS Group is disabled
The following example demonstrates how to configure a Foundry router to be an IPSec VPN server using user group method with extended authentication (XAUTH) for remote VPN clients. The client could be any standard IPSec VPN client.
In this example, the client needs to access the corporate private network 10.0.1.0/24 through the VPN tunnel. The security requirements are as follows:

Figure 15.2 IPSec Tunneling Using User Group Method

Router1/configure# interface bundle wan1 Configuring new bundle Router1/configure/interface/bundle wan1# link t1 1 Router1/configure/interface/bundle wan1# encapsulation ppp Router1/configure/interface/bundle wan1# ip address 172.16.0.1 24 Router1/configure/interface/bundle wan1# crypto untrusted Router1/configure/interface/bundle wan1# exit
Router1/configure# interface ethernet 0 Configuring existing Ethernet interface Router1/configure interface/ethernet 0# ip address 10.0.1.1 24 Router1/configure/interface/ethernet 0# crypto trusted Router1/configure/interface/ethernet 0# exit
Security Features

Router1# show crypto interfaces
Interface Network Name Type ethernet0 trusted wan1 untrusted
Router1/configure# crypto Router1/configure/crypto# dynamic Router1/configure/crypto/dynamic# ike policy sales Router1/configure/crypto/dynamic/ike/policy sales# local-address 172.16.0.1 Router1/configure/crypto/dynamic/ike/policy sales# remote-id email-id david@abc-corp.com david
New user david is added to the group sales Default proposal created with priority1-des-sha1-pre_shared-g1 Key String has to be configured by the user
Router1/configure/crypto/dynamic/ike/policy sales# remote-id email-id mike@abc-corp.com mike New user mike is added to the group sales
Router1/configure/crypto/dynamic/ike/policy sales# key secretkeyforsalesusers Router1/configure/crypto/dynamic/ike/policy sales# proposal 1 Router1/configure/crypto/dynamic/ike/policy sales/proposal 1# encryption-algorithm 3des-cbc Router1/configure/crypto/dynamic/ike/policy sales/proposal 1# exit Router1/configure/crypto/dynamic/ike/policy sales# client authentication radius pap Router1/configure/crypto/dynamic/ike/policy sales# exit Router1/configure/crypto/dynamic#
Router1# show crypto dynamic ike policy all
Policy Remote-id Mode Transform Address-Pool sales U david@foun... Aggressive P1 pre-g1-3des-

Router1# show crypto dynamic ike policy all detail
Policy name sales, User group name sales Aggressive mode, Response Only, PFS is not enabled, Shared Key is ***** Client authentication is Radius(PAP) Local addr: 172.16.0.1, Local ident 172.16.0.1 (ip-address) Remote idents are david@abc-corp.com (email-id), mike@abc-corp.com (email-id)
Proposal of priority 1 Encryption algorithm: 3des Hash Algorithm: sha1 Authentication Mode: pre-shared-key DH Group: group1 Lifetime in seconds: 86400 Lifetime in kilobytes: unlimited
Router1/configure/crypto/dynamic# ipsec policy sales
Router1/configure/crypto/dynamic/ipsec/policy sales# match address 10.0.1.0 24 Default proposal created with priority1-esp-3des-sha1-tunnel and activated.
Router1/configure/crypto/dynamic/ipsec/policy sales# proposal 1 Router1/configure/crypto/dynamic/ipsec/policy sales/proposal 1# encryption-algorithm aes256-cbc Router1/configure/crypto/dynamic/ipsec/policy sales/proposal 1# exit Router1/configure/crypto/dynamic/ipsec/policy sales# exit Router1/configure/crypto/dynamic#
Router1# show crypto dynamic ipsec policy all
Policy Match Proto Transform sales S 10.0.1.0/24/any Any P1 esp-aes-sha1-tunl D any/any/any INsales S any/any/any Any P1 esp-aes-sha1-tunl D 10.0.1.0/24/any
Security Features

Router1# show crypto dynamic ipsec policy all detail
Policy sales is enabled, User group name sales Direction is outbound, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (10.0.1.0/255.255.255.0/ any) Destination ip address (ip/mask/port): (any/any/any)
Proposal of priority 1 Protocol: esp Mode: tunnel Encryption Algorithm: aes256(key length=256 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Policy INsales is enabled, User group name sales Direction is inbound, Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (any/any/any) Destination ip address (ip/mask/port): (10.0.1.0/ 255.255.255.0/any)
Proposal of priority 1 Protocol: esp Mode: tunnel Encryption Algorithm: aes256(key length=256 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Router1/configure# aaa Router1/configure/aaa# radius Router1/configure/aaa/radius# primary_server 172.168.2.1 Primary Radius server configured. Router1/configure/aaa/radius# secondary_server 192.168.2.1 Secondary Radius server configured. Router1/configure/aaa/radius# exit Router1/configure/aaa# exit

Router1/configure# firewall internet Router1/configure/firewall internet# policy 1000 in service ike self Router1/configure/firewall internet/policy 1000 in# exit Router1/configure/firewall internet# exit
Router1# show firewall policy internet Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced
Router1# show firewall policy internet detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Service Name is ike Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Security Features

Router1/configure/firewall corp# Router1/configure/firewall corp# policy 1000 in user-group sales address any any 10.0.1.0 24 Router1/configure/firewall corp/policy 1000 in# exit Router1/configure/firewall corp#
Router1# show firewall policy corp Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- ---

Router1# show firewall policy corp detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is transit User Group is sales, Logging is disable Source Address is any, Dest Address is 10.0.1.0/24 Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1022 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1023 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is transit Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled Bytes In 11258, Bytes Out 5813
Security Features

Router1# show crypto dynamic clients Client Address Client Id Policy Advanced 192.168.107.105 david@abc-corp... sales UserGrp
Router1# show crypto ike sa all
Policy Peer State Bytes Transform
Router1# show crypto ike sa all detail
Crypto Policy name: sales Remote ident david@abc-corp.com Peer Address is 192.168.107.105 Transform: 3des, sha1, pre-shared-key DH Group: group1 Bytes Processed 1772 State is SA_MATURE Mode is Aggressive
Router1# show crypto ipsec sa all
Policy Dest IP Spi Bytes Transform --- INsales 172.16.0.1 0xf43c5e3b 360 esp-aes-sha1-tunl sales 192.168.107.105 0xcfea8435 240 esp-aes-sha1-tunl

T Router1# show crypto ipsec sa all detail
Crypto Policy name: INsales Protocol is Any Local ident(ip/mask/port): (192.168.107.105/255.255.255.255/any) Remote ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Peer Address is 172.16.0.1, PFS Group is disabled
inbound ESP sas Spi: 0xf43c5e3b Transform: aes256 (key length=256 bits), sha1 In use settings = {tunnel} Bytes Processed 360 Hard lifetime in seconds 28780, Hard lifetime in kilobytes is unlimited Soft lifetime in seconds 0, Soft lifetime in kilobytes is unlimited
Crypto Policy name: sales Protocol is Any Local ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Remote ident(ip/mask/port): (192.168.107.105/255.255.255.255/any)
The following example demonstrates how to configure a Foundry router to be an IPSec VPN server using mode- configuration method. The client could be any standard mode configuration enabled IPSec VPN client.
In this example, the client needs to access the corporate private network 10.0.1.0/24 through the VPN tunnel. The server has a pool of ip addresses from 20.1.1.100 through 20.1.1.150 to be allocated for mode configuration enabled VPN clients. The assigned IP address will be used by the VPN client as the source address in the inner IP header. The outer IP header will carry the dynamic IP address assigned by the Internet Service Provider as the source address. The security requirements are as follows:
Security Features

Figure 15.3 IPSec Tunneling Using Mode Configuration Method

Router1/configure# interface bundle wan1 Configuring new bundle Router1/configure/interface/bundle wan1# link t1 1 Router1/configure/interface/bundle wan1# encapsulation ppp Router1/configure/interface/bundle wan1# ip address 172.16.0.1 24 Router1/configure/interface/bundle wan1# crypto untrusted Router1/configure/interface/bundle wan1# exit
Router1/configure# interface ethernet 0 Configuring existing Ethernet interface Router1/configure interface/ethernet 0# ip address 10.0.1.1 24 Router1/configure/interface/ethernet 0# crypto trusted Router1/configure/interface/ethernet 0# exit

Router1# show crypto interfaces
Interface Network Name Type ethernet0 trusted wan1 untrusted
Router1/configure# crypto Router1/configure/crypto# dynamic Router1/configure/crypto/dynamic# ike policy sales modecfg-group Router1/configure/crypto/dynamic/ike/policy sales# local-address 192.168.55.52
Router1/configure/crypto/dynamic/ike/policy sales# remote-id email david@abc-corp.com
Default proposal created with priority1-des-sha1-pre_shared-g1 Key String has to be configured by the user Default ipsec proposal 'sales' added with priority1-3des-sha1-tunnel
Router1/configure/crypto/dynamic/ike/policy sales# remote-id email mike@abc-corp.com
Router1/configure/crypto/dynamic/ike/policy sales# key secretkeyforsales Router1/configure/crypto/dynamic/ike/policy sales# proposal 1 Router1/configure/crypto/dynamic/ike/policy sales/proposal 1# encryption-algorithm 3des-cbc Router1/configure/crypto/dynamic/ike/policy sales/proposal 1# exit Router1/configure/crypto/dynamic/ike/policy sales# client configuration Router1/configure/crypto/dynamic/ike/policy sales/client/ configuration# address-pool 1 20.1.1.100 20.1.1.150 Router1/configure/crypto/dynamic/ike/policy sales/client/ configuration# exit Router1/configure/crypto/dynamic/ike/policy sales# exit Router1/configure/crypto/dynamic# exit
Router1# show crypto dynamic ike policy all
Policy Remote-id Mode Transform Address-Pool sales U david@foun... Aggressive P1 pre-g1-3des-sha1 1 S
Security Features

Router1# show crypto dynamic ike policy all detail
Policy name sales, Modeconfig group Aggressive mode, Response Only, PFS is not enabled, Shared Key is ***** Local addr: 192.168.55.52, Local ident 192.168.55.52 (ip-address) Remote idents are david@abc-corp.com (email-id), mike@abc-corp.com (email-id) Address Pool: Pool# 1: 20.1.1.100 to 20.1.1.150
Proposal of priority 1 Encryption algorithm: 3des Hash Algorithm: sha1 Authentication Mode: pre-shared-key DH Group: group1 Lifetime in seconds: 86400 Lifetime in kilobytes: unlimited
Router1/configure/crypto# Router1/configure/crypto# dynamic Router1/configure/crypto/dynamic# ipsec policy sales modecfg-group Router1/configure/crypto/dynamic/ipsec/policy sales# match address 10.0.1.0 24 Router1/configure/crypto/dynamic/ipsec/policy sales# proposal 1 Router1/configure/crypto/dynamic/ipsec/policy sales/proposal 1# encryption-algorithm aes256-cbc Router1/configure/crypto/dynamic/ipsec/policy sales/proposal 1# exit Router1/configure/crypto/dynamic/ipsec/policy sales# exit Router1/configure/crypto/dynamic# exit
Router1# show crypto dynamic ipsec policy all
Policy Match Proto Transform sales S 10.0.1.0/24/any Any P1 esp-aes-sha1-tunl D any/any/any

Router1# show crypto dynamic ipsec policy all detail
Policy sales is enabled, Modeconfig Group Action is Apply Key Management is Automatic PFS Group is disabled Match Address: Protocol is Any Source ip address (ip/mask/port): (10.0.1.0/255.255.255.0/ any) Destination ip address (ip/mask/port): (any/any/any)
Proposal of priority 1 Protocol: esp Mode: Tunnel Encryption Algorithm: aes256(key length=256 bits) Hash Algorithm: sha1 Lifetime in seconds: 3600 Lifetime in Kilobytes: 4608000
Router1/configure# firewall internet Router1/configure/firewall internet# policy 1000 in service ike self Router1/configure/firewall internet/policy 1000 in# exit Router1/configure/firewall internet# exit
Router1# show firewall policy internet Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- ---
Security Features

Router1# show firewall policy internet detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Service Name is ike Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Router1/configure# firewall corp Router1/configure/firewall corp# policy 1000 in address 20.1.1.100 20.1.1.150 10.0.1.0 24 Router1/configure/firewall corp/policy 1000 in# exit
Router1# show firewall policy corp Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- 1000 in 20.1.1.100 10.0.1.0/24 any any any PERMIT E 20.1.1.150 1022 out any PERMIT SE 1023 in any PERMIT SE 1024 out any PERMIT E

Router1# show firewall policy corp detail
Policy with Priority 1000 is enabled, Direction is inbound Action permit, Traffic is transit Logging is disable Source Address is 20.1.1.100-20.1.1.150, Dest Address is 10.0.1.0/24 Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1022 is enabled, Direction is outbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1023 is enabled, Direction is inbound Action permit, Traffic is self Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Bytes In 0, Bytes Out 0
Policy with Priority 1024 is enabled, Direction is outbound Action permit, Traffic is transit Logging is disable Source Address is any, Dest Address is any Source Port is any, Dest Port is any, any Schedule is disabled, Ftp-Filter is disabled Smtp-Filter is disabled, Http-Filter is disabled Rpc-Filter is disabled, Nat is disabled Max-Connections 1024, Connection-Rate is disabled Policing is disabled, Bandwidth is disabled Bytes In 11258, Bytes Out 5813
Security Features

Router1# show crypto dynamic clients Client Address Client Id Policy Advanced 192.168.107.105 david@abc-corp... sales:20.1.1.1 ModecfgGrp
Router1#show crypto ike sa all
Policy Peer State Bytes Transform sales 192.168.107.105 SA_MATURE 2052 pre-g1-3des-sha1
Router1# show crypto ike sa all detail
Crypto Policy name: sales Remote ident david@abc-corp.com Peer Address is 192.168.107.105 Transform: 3des, sha1, pre-shared-key DH Group: group1 Bytes Processed 2052 State is SA_MATURE Mode is Aggressive Life Time in Sec is unlimited, Life Time in Bytes is unlimited
Router1# show crypto ipsec sa all
Policy Dest IP Spi Bytes Transform --- INsales 172.16.0.10xbba97427 840 esp-aes-sha1-tunl sales 192.168.107.1050xcb0e23f3 560 esp-aes-sha1-tunl

Router1# show crypto ipsec sa all
Policy Dest IP Spi Bytes Transform --- INsales 172.16.0.1 0xbba97427 840 esp-aes-sha1-tunl sales 192.168.107.105 0xcb0e23f3 560 esp-aes-sha1-tunl Router1# Router1# show crypto ipsec sa all detail
Crypto Policy name: INsales Protocol is Any Local ident(ip/mask/port): (20.1.1.1/255.255.255.255/any) Remote ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Peer Address is 172.16.0.1, PFS Group is disabled
inbound ESP sas Spi: 0xbba97427 Transform: aes256 (key length=256 bits), sha1 In use settings = {tunnel} Bytes Processed 840 Hard lifetime in seconds 28750, Hard lifetime in kilobytes is unlimited Soft lifetime in seconds 0, Soft lifetime in kilobytes is unlimited
Crypto Policy name: sales Protocol is Any Local ident(ip/mask/port): (10.0.1.0/255.255.255.0/any) Remote ident(ip/mask/port): (20.1.1.1/255.255.255.255/any) Peer Address is 192.168.107.105, PFS Group is disabled
outbound ESP sas Spi: 0xcb0e23f3 Transform: aes256 (key length=256 bits), sha1 In use settings = {tunnel} Bytes Processed 560 Hard lifetime in seconds 28750, Hard lifetime in kilobytes is unlimited Soft lifetime in seconds 28720, Soft lifetime in kilobytes is unlimited
Generic Routing Encapsulation (GRE) is a standards-based (RFC1701, RFC2784) tunneling protocol that can encapsulate a wide variety of protocol packet types inside IP tunnels, creating a virtual point-to-point link between routers at remote points over an IP network. A tunnel is a logical interface that provides a way to encapsulate passenger packets inside a transport protocol. By connecting multiprotocol subnetworks in a single-protocol backbone environment, IP tunneling using GRE allows network expansion across a single-protocol backbone environment.
IPSec and GRE complement each other well, while IPSec provides a secure method of transporting data across the internet GRE provides the capability to transport routing protocols (for example: OSPF) that use broadcast and multicast.
Security Features

This example explains how to configure a basic GRE tunnel as shown in Figure 15.4.
Figure 15.4 Simple GRE configuration

To configure GRE in a site to site tunnel configuration:

Foundry# configure terminal Foundry/configure# interface bundle wan1 Foundry/configure/interface/bundle wan1# link t1 1 Foundry/configure/interface/bundle wan1# encapsulation ppp Foundry/configure/interface/bundle wan1# ip address 192.168.94.220 255.255.255.0 Foundry/configure/interface/bundle wan1# exit

Foundry/configure# interface tunnel t0 Foundry/configure/interface/tunnel t0# ip 103.1.1.2 24 Foundry/configure/interface/tunnel t0# tunnel source 192.168.94.220 Foundry/configure/interface/tunnel t0# tunnel destination 192.168.55.75 Foundry/configure/interface/tunnel t0# exit

Foundry/configure# ip route 0.0.0.0 0.0.0.0 192.168.94.254 Foundry/configure# ip route 40.1.1.0 24 t0
Foundry# show ip interface t0
t0 (unit number 5) Type: TUNNEL Flags: (0x74243) UP, RUNNING, MULTICAST-ROUTE Internet Address: 103.1.1.2 Internet Netmask: 255.255.255.0 Internet Broadcast: 103.1.1.255 Maximum Transfer Unit: 1476 bytes Source Address: 192.168.94.220 Destination Address: 192.168.55.75 Gateway: wan1 Protocol: GRE Mac Address 00:50:52:60:00:00
For more information enter:
Foundry# show interface tunnel t0
Tunnel: t0 Status: up Internet Address: 103.1.1.2 Internet Netmask: 255.255.255.0 Source Address: 192.168.94.220 Destination Address: 192.168.55.75 MTU: 1476 bytes Protocol: GRE ICMP unreachable: will be sent ICMP redirect: will be sent Crypto Snet: not set Protection: policy grecisco key **** TTL: 30 Keepalive: disabled TOS: not set Path MTU discovery: disabled Key Value: not set Checksum: disabled Sequence Datagrams: disabled
Tunnel Statistics: Bytes Rx 95112 Bytes Tx 60016 Packets Rx 860 Packets Tx 499 Err Packets Rx 0 Output Errs 0
Security Features

cisco > config t cisco(config)#interface Ethernet2/0 cisco(config-if)#ip address 192.168.55.75255.255.255.0 cisco(config-if)#exit
cisco(config)#interface Tunnel 0 cisco(config-if)#ip address 103.1.1.1 255.255.255.0 cisco(config-if)#tunnel source 192.168.55.75 cisco(config-if)#tunnel destination 192.168.94.220 cisco(config-if)#exit
cisco(config)#ip route 0.0.0.0 0.0.0.0 192.168.55.254 cisco(config)#ip route 10.3.1.0 255.255.255.0 Tunnel0
With the tunnel properly configured and working, users on one side of the tunnel can ping users on the other side.
This example extends the first example by adding encryption to the tunnel.
Foundry# configure terminal Foundry/ configure# interface bundle wan1 Foundry/ configure/interface/bundle wan1# link t1 1 Foundry/ configure/interface/bundle wan1# encapsulation ppp Foundry/ configure/interface/bundle wan1# ip address 192.168.94.220 255.255.255.0 Foundry/ configure/interface/bundle wan1# crypto untrusted Foundry/ configure/interface/bundle wan1# exit
Foundry/ configure# interface tunnel t0 Foundry/ configure/interface/tunnel t0# ip address 103.1.1.2 24 Foundry/ configure/interface/tunnel t0# tunnel source 192.168.94.220 Foundry/ configure/interface/tunnel t0# tunnel destination 192.168.55.75 Foundry/ configure/interface/tunnel t0# tunnel protection grecisco secretkeyfortest Foundry/ configure/interface/tunnel t0# crypto untrusted Foundry/ configure/interface/tunnel t0# exit

Foundry/ configure# ip route 0.0.0.0 0.0.0.0 192.168.94.254 Foundry/ configure# ip route 40.1.1.0 24 t0
Foundry/ configure > firewall internet Foundry/configure/firewall internet# policy 100 in proto gre self Foundry/configure/firewall internet/policy 100 in# exit Foundry/configure/firewall internet# policy 101 in service ike self Foundry/configure/firewall internet/policy 101 in# exit 2 Foundry configure# firewall corp Foundry/configure/firewall corp# policy 100 in self
Foundry# show ip interface tunnel t0
Step 6:Validate the tunnel configuration by entering:
Foundry# show crypto ipsec policy all
Or enter:
Foundry# show crypto ike policy all
With the tunnel properly configured and working, users on one side of the tunnel can ping users on the other side.
This example extends the previous IPSec configuration example by enabling Open Shortest Path First (OSPF) protocol which provides redundant paths for the tunnel.
Foundry# configure terminal Foundry/configure# router routerid 2.2.2.2 Foundry/configure# router ospf Foundry/configure/router/ospf# interface t0 area 0 Foundry/configure/router/ospf# exit
cisco > config t cisco(config)#router ospf 1 cisco(config-router)# network 103.1.1.0 0.0.0.255 area 0
Foundry# show ip ospf interface all
Security Features

With the tunnel properly configured and working, users on one side of the tunnel can ping users on the other side.
Configuring firewalls allows administrators to adapt network protection policies to meet ever-changing hacker and intruder threats. Just as virus protection software requires updates to protect against the latest intrusion attacks, firewalls must be updated. In this release of Foundry software, administrators are able to filter traffic on specific ports, protect against Denial of Services attacks, enable IP packet reassembly, and so forth.
Because firewalls provide a barrier between the inside world—the corporate network, and the outside world— primarily the Internet, network administrators can further protect the network inside the firewall by using Network Address Translation (NAT). NAT allows users on the inside of the firewall to use private, nonroutable IP addresses which are translated to routable IP addresses at the firewall. The firewall manages the address translation by converting private IP addresses into a public address for outbound traffic. On inbound traffic the firewall converts traffic addressed to the public IP address into the various private IP addresses of the firewall-protected users. In addition to the protection of not being directly reachable from outside the network, the firewall-NAT enabled network conserves IP addresses.
Figure 15.5 illustrates the basic elements of a firewall. Refer to this illustration in the configuration example below.
Figure 15.5 Basic Firewall Configuration

A typical and basic firewall implementation is one which protects traffic to and from a network, a server farm, and the Internet. In this example, the firewall features in the Foundry router will protect the CORP network and the server farm in the DMZ from unauthorized access from the Internet.
To create this basic three-armed firewall configuration, complete these steps:

Foundry/configure# interface ethernet 0 Configuring existing Ethernet interface Foundry/configure/interface/ethernet 0# ip address 10.2.1.1 24 Foundry/configure/interface/ethernet 0# exit Foundry/configure# interface ethernet 1
Configuring existing Ethernet interface Foundry/configure/interface/ethernet 1# ip address 10.3.1.1 24 Foundry/configure/interface/ethernet 1# exit Foundry/configure# interface bundle wan Foundry/configure/interface/bundle wan# link t1 1 Foundry/configure/interface/bundle wan# encapsulation p Foundry/configure/interface/bundle wan# ip address 193.168.94.220 24 Foundry/configure/interface/bundle wan# exit
Foundry/configure# firewall corp Foundry/configure/firewall corp# interface ethernet0 Foundry/configure/firewall corp# exit
Foundry/configure# firewall dmz Foundry/configure/firewall dmz# interface ethernet1 Foundry/configure/firewall dmz# exit
Foundry/configure# firewall internet Foundry/configure/firewall internet# interface wan Foundry/configure/firewall internet# exit 2
Foundry/configure# show firewall interface all
Interface Map Name ethernet0 corp ethernet1 dmz wan internet
Security Features

Foundry/configure# Foundry/configure/firewall corp# Foundry/configure/firewall corp# Foundry/configure/firewall corp# policy 1024 out Foundry/configure/firewall corp/policy 1024 out# exit Foundry/configure/firewall corp# policy 1021 in deny Foundry/configure/firewall corp/policy 1021 in# exit Foundry/configure/firewall corp# object Foundry/configure/firewall corp/object# http-filter javadeny deny *.java Foundry/configure/firewall corp/object# exit Foundry/configure/firewall corp# policy 1024 out nat-ip 193.168.94.220 Foundry/configure/firewall corp/policy 1024 out# apply-object http- filter javadeny Foundry/configure/firewall corp/policy 1024 out# exit Foundry/configure/firewall corp# exit
Foundry/configure# show firewall policy corp Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- 1021 in any DENY E 1022 out any PERMIT SE 1023 in any PERMIT SE 1024 out any PERMIT HNE
Foundry/configure# show firewall object http-filter corp Object Name Action Log File Extensions --- javadeny deny no *.java Foundry/configure#

Foundry/configure# firewall dmz Foundry/configure/firewall dmz# object Foundry/configure/firewall dmz/object# ftp-filter putdeny deny put mkdir Foundry/configure/firewall dmz/object# nat-pool ftpsrvr static 10.3.1.100 Foundry/configure/firewall dmz/object# exit Foundry/configure/firewall dmz# policy 100 in address any any 193.168.94.221 32 Foundry/configure/firewall dmz/policy 100 in# apply-object nat-pool ftpsrvr Foundry/configure/firewall dmz/policy 100 in# apply-object ftp-filter putdeny Foundry/configure/firewall dmz/policy 100 in# exit Foundry/configure/firewall dmz# exit
Foundry/configure# show firewall policy dmz Advanced: S - Self Traffic, F - Ftp-Filter, H - Http-Filter, R - Rpc-Filter, N - Nat-Ip/Nat-Pool, L - Logging, E - Policy Enabled, M - Smtp-Filter
Pri Dir Source Addr Destination Addr Sport Dport Proto Action Advanced --- --- 100 in any 193.168.94.221/32 any any any PERMIT FNE 1022 out any PERMIT SE 1023 in any PERMIT SE 1024 out any PERMIT E
Foundry/configure# show firewall object ftp-filter dmz Object Name Action Log Commands --- putdeny deny no put mkdir Foundry/configure#
Foundry/configure# ip route 0.0.0.0 0 wan Foundry/configure#
Security Features

Foundry/configure# show configuration running Please wait... (up to a minute)
terminal exit terminal qos exit qos module t1 1 alarms thresholds exit thresholds exit alarms linemode exit linemode exit t1 module t1 2 alarms thresholds exit thresholds exit alarms linemode exit linemode exit t1 module t1 3 alarms thresholds exit thresholds exit alarms linemode exit linemode exit t1 module t1 4 alarms thresholds exit thresholds exit alarms linemode exit linemode exit t1 aaa tacacs retries 2 time_out 5 server_port 49 exit tacacs radius exit radius exit aaa interface ethernet 0 ip address 10.2.1.1 255.255.255.0 ip multicast mode ospfrip2 exit multicast mtu 4000 icmp exit icmp

qos exit qos vrrp_mode 0 aaa exit aaa crypto trusted exit ethernet interface ethernet 1 ip address 10.3.1.1 255.255.255.0 ip multicast mode ospfrip2 exit multicast mtu 4000 icmp exit icmp qos exit qos vrrp_mode 0 aaa exit aaa crypto trusted exit ethernet interface bundle wan link t1 1 encapsulation ppp ip address 193.168.94.220 255.255.255.0 ip multicast ospfrip2 red exit red icmp exit icmp qos exit qos aaa exit aaa crypto untrusted exit bundle interface console aaa exit aaa exit console snmp system_id Foundry enable_trap exit enable_trap exit snmp hostname Foundry log utc telnet_banner exit telnet_banner event exit event system logging no console syslog host_ipaddr 193.168.94.35 exit syslog exit logging ip
Security Features

load_balance per_flow multicast exit multicast route 0.0.0.0 0.0.0.0 wan 1 exit ip policy community_list exit community_list crypto exit crypto firewall global exit firewall firewall internet interface wan policy 1024 out self exit policy exit firewall firewall corp interface ethernet0 object http-filter javadeny deny *.java exit object policy 1021 in deny exit policy policy 1022 out self exit policy policy 1023 in self exit policy policy 1024 out nat-ip 193.168.94.220 apply-object http-filter javadeny exit policy exit firewall firewall dmz interface ethernet1 object nat-pool ftpsrvr static 10.3.1.100 10.3.1.100 ftp-filter putdeny deny put mkdir exit object policy 100 in address any any 193.168.94.221 32 apply-object ftp-filter putdeny apply-object nat-pool ftpsrvr exit policy policy 1022 out self exit policy policy 1023 in self exit policy policy 1024 out exit policy exit firewall Foundry/configure#
The following commands show how to configure the firewall to defend against Denial of Service (DoS) attacks. Foundry provides protection against FTP bounce, ICMP error checks, IP sequence number checks, unaligned timestamps, MIME flooding, source routing checks, SYN flooding, and WIN nuke attacks. To configure the firewall for protection against all of these attacks, enter:

Foundry# config term Foundry/configure# firewall global Foundry/configure/firewall global# dos-protect Foundry/configure/firewall global/dos-protect# enable-all Foundry/configure/firewall global/dos-protect# exit 2 Foundry/configure#
To configure the firewall to perform IP reassembly of oversized packets that have been fragmented, enter:
Foundry# config term Foundry/configure# firewall global Foundry/configure/firewall global# ip-reassembly Foundry/configure/firewall global/ip-reassembly# fragment-count 100 Foundry/configure/firewall global/ip-reassembly# fragment-size 56 Foundry/configure/firewall global/ip-reassembly# packet-size 2048 Foundry/configure/firewall global/ip-reassembly# timeout 20 Foundry/configure/firewall global/ip-reassembly# exit 2 Foundry/configure#
Network Address Translation (NAT) was defined to serve two purposes:
In the most common NAT application (which is to provide secure networking behind a firewall), the device (Foundry system) that connects the user LAN to the Internet will have two IP addresses:
Consider a PC on the LAN sending a packet destined for some.server.com. The source IP address and port are in the packet together with the destination IP address and port. When the packet arrives at the Foundry system it will be de-encapsulated, modified, and re-encapsulated. The re-encapsulated packet sent by the Foundry system destined for the Internet contains the Foundry system’s public IP address, a source port allocated from its list of available ports, and the same destination IP address and port number generated by the PC. The Foundry system also adds an entry into a table it keeps, which maps the internal address and source port number that the PC generated against the port number it allocated to this session. Therefore, when some.server.com sends a reply packet to the PC, the Foundry system can quickly determine how it needs to re-write the packet before transmitting it back on to the LAN.
Dynamic NAT is used when packets destined for the Internet are transported from a LAN using the public source IP address assigned to the local router. Dynamic NAT performs this task well, but it does not permit providing services to the Internet from inside a LAN which requires the use of static NAT. Static NAT also requires a public address from the upstream service provider. Individual PCs within a LAN are assigned RFC 1918 reserved IP addresses to enable access to other PCs within the LAN. The Foundry system is configured with static mapping, which maps the internal RFC 1918 IP addresses for each PC to the appropriate public IP address. When traffic is sent to the public address listed in the static mapping, the Foundry system forwards the packets to the correct PC within the LAN, according to the mapping relationship established.
Security Features

In dynamic (many-to-many) NAT type, multiple source IP addresses in the corporate network will be mapped to multiple NAT IP addresses (not necessarily of equal number). For a set of local IP address from 10.1.1.1 to 10.1.1.4 there will be a set of NAT IP address from 60.1.1.1 to 60.1.1.2. In case of many-to-many NAT, only IP address translation takes place, i.e., if a packet travels from 10.1.1.1 to yahoo.com, Foundry-Firewall only substitutes the source address in the IP header with one of the NAT IP address and the source port will be the same as the original. If traffic emanates from the same client to any other server, the same NAT IP address is assigned. The advantage is that the NAT IP addresses are utilized in a better and optimum manner dynamically.
If a NAT IP address cannot be allocated dynamically at the connection creation time, the packet would be dropped.
Figure 15.6 Dynamic NAT

The dynamic NAT configuration shown in includes:
To create NAT pool with type dynamic, specify the IP address and the NAT ending IP address.Then add a policy with the source IP address range, and attach the NAT pool to the policy.

Foundry/configure# firewall corp Foundry/configure/firewall corp# object Foundry/configure/firewall corp/object# nat-pool addresspoolDyna dynamic 60.1.1.1 60.1.1.2 Foundry/configure/firewall corp/object# exit Foundry/configure/firewall corp# policy 8 out address 10.1.1.1 10.1.1.4 any any Foundry/configure/firewall corp/policy 8 out# apply-object nat- pool addresspoolDyna Foundry/configure/firewall corp/policy 8 out# exit 2 Foundry/configure#

Figure 15.7 Static NAT

In static (one-to-one) NAT type, for each IP address in the corporate network, one NAT IP address will be used. For example, for the three IP addresses from 10.1.1.1 to 10.1.1.3, there is a set of three NAT IP address from 50.1.1.1 to 50.1.1.3. In case of one-to-one NAT, only IP address translation takes place, that is, if a packet travels from 10.1.1.1 to yahoo.com, the Foundry-Firewall only substitutes the source address in the IP header with the NAT IP address. The source port will be the same as the original.
The static NAT configuration shown in Figure 15.7 includes:
To create NAT pool with type static, specify the IP address and the ending NAT IP address. Add a policy with source IP address range and attach NAT pool to the policy.

Foundry/configure# firewall corp Foundry/configure/firewall corp object Foundry/configure/firewall corp/object# nat-pool addresspoolStat static 50.1.1.1 50.1.1.3 Foundry/configure/firewall corp/object# exit Foundry/configure/firewall corp# policy 7 out address 10.1.1.1 10.1.1.3 any any Foundry/configure/firewall corp/policy 7 out# apply-object nat- pool addresspoolStat Foundry/configure/firewall corp/policy 7 out# exit 2 Foundry/configure#
NAT allows multiple IP addresses to be mapped to one address.
Security Features

Figure 15.8 Mapping Multiple NAT Addresses to One Public IP Address

There are two methods to configure Port Address Translation (PAT) on the Foundry gateway. In the first method, specify the IP address to the nat-ip parameter in the policy command. In the second method, create a pool of type PAT and then attach it to the policy.
In PAT, multiple hosts can share the same IP address.
The PAT configuration shown in Figure 15.8 includes:
To configure this method of PAT, add the policy with the source IP address range, then specify the nat-ip address in the policy command:

Foundry/configure# firewall corp Foundry/configure/firewall corp# policy 2 out address 10.1.1.1 10.1.1.3 any any nat-ip 50.1.1.5 Foundry/configure/firewall corp/policy 2 out# exit 2 Foundry/configure#
To configure the second type of NAT, create a NAT pool with type pat and specify the IP address. Then add the policy with the source IP address range. Finally, attach the NAT pool to the policy.

Foundry/configure# firewall corp Foundry/configure/firewall corp# object Foundry/configure/firewall corp/object# nat-pool addresspoolPat pat 50.1.1.5 Foundry/configure/firewall corp/object# exit Foundry/configure/firewall corp# policy 2 out address 10.1.1.1 10.1.1.3 any any Foundry/configure/firewall corp/policy 2 out# apply-object nat- pool addresspoolPat Foundry/configure/firewall corp/policy 2 out# exit 2
This section provides information about IPSec supported protocols and modes, encryption algorithms and block sizes, and Foundry IPSec and IKE default values.
The following tables provide supported protocol and algorithm information.
Encryption Algorithms for ESP Block Size
Data Encryption Standard (DES) 56 bits
Triple Data Encryption Standard (3DES)
Advanced Encryption Standard (AES- 128) 128 bits
Advanced Encryption Standard (AES- 192) 192 bits
Advanced Encryption Standard (AES- 256) 256 bits

Authentication Algorithms for AH/ ESP
Diffie-Hellman Groups for Authentication
Group 1 768 bits
Group 2 1024 bits
Group 5 1536 bits
To minimize configuration required by the user, default IKE and IPSec values have been implemented in Foundry’s encryption scheme. Foundry supports a maximum of 100 IPSec tunnels.
Table 15.5: lists IKE defaults. When the user creates an IKE policy specifying an IKE peer, an IKE proposal with priority 1 is automatically created. However, to make the IKE policy fully functional, the user must enter a pre- shared key.
Mode Main mode Aggressive mode
Perfect forward secrecy Disabled Disabled
Hash algorithm SHA1 SHA1
Encryption algorithm DES DES
Authentication method PreShared PreShared
DH Group Group 1 Group 1
Lifetime 86400 seconds 86400 seconds
Response type Initiator and responder Responder only

Table 15.6: lists IPSec defaults. When the user creates an IPSec policy and provides the match address, an IPSec proposal with priority 1 is automatically created. When an outbound policy is specified, an inbound policy is automatically created.
Key management type Automatic
Lifetime in seconds 3600 seconds
Lifetime in kilobytes 4608000
Position in SPD where policy added
Perfect forward secrecy Disabled
This section provides information about firewall default values. Each security zone can have a maximum of 1024 policies ranging from 1—1024. The maximum number of security zones supported is 25.
Security Zone Incoming Firewall Policy for Transit Traffic
Outgoing Firewall Policy for Transit Traffic
Incoming Firewall Policy for Self Traffic
Outgoing Firewall Policy for Self Traffic
Corp Deny All (Implicit) Permit All (Priority 1024) Permit All (Priority 1022) Permit All (Priority 1023)
User Created Security Zone
Deny All Permit All (Priority 1024) Permit All (Priority 1022) Permit All (Priority 1023)
Internet N/A N/A Deny All Permit All (Priority 1024)
Policy Parameter Default Value

Security Zone Maximum Connections Default
Corp 1024 outgoing connections
User Created Security Zone
Internet to Self 108
Security Zone Maximum Connections Default
Syn Flooding Attack Check Enabled
ICMP Error Attack Check Enabled
Source Route Attack Check Disabled

Win Nuke Attack Check Disabled
IP Unaligned Time stamp check Disabled
TCP Sequence Number Prediction Check
TCP Sequence Number Range Check
FTP Bounce Check Disabled
This section provides the IP-IP and GRE tunneling protocol default values.
IP Address No Default
Tunnel Source No Default
Tunnel Destination No Default
MTU 1476 - Not configurable
Tunnel TOS Copy from Inner
Tunnel Path Mtu Discovery Disabled



Index - 2 © 2004 Foundry Networks, Inc. June 2004
Pages referenced in this manual — manufacturer, support and downloads.
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.