Alcatel-Lucent OMNIACCESS 601, OMNIACCESS 602, OMNIACCESS 604 Routing User Guide

Router User Guide
June 2005
Alcatel Alcatel Internetworking 26801 West Agoura Road Calabasas, CA 91301
818 880 3500
Copyright
Alcatel reserves the right to revise this documentation and to make changes in content from time to time without obligation to provide notification of such changes.
Alcatel provides this documentation without warranty, express, implied, statutory, or otherwise, and specifically disclaims any warranty of merchantability, or fitness for a particular purpose. Alcatel may make improvements or changes in the product(s) and/or the program(s) described in this documentation at any time.
Trad em arks
Alcatel and the Alcatel corporate logo are trademarks of Alcatel All other trademarks appearing in this guide are the exclusive property of their respective owners.
Software Notice
Alcatel assumes no responsibility for product reliability, performance, or both if the user modifies the .CFG file. Full responsibility for any performance issues resulting from modifications made to the .CFG file, by the user, is assumed by the user.
Hardware Notice
The Lithium battery on the motherboard of this product is a non-volatile device that will retain data over 10 years in the absence of power.
Documentation Feedback
The mission of the Technical Publications group at Alcatel is to provide users with quality documentation that enhances their experience with Alcatel products. We are constantly improving our guides and have a genuine interest in ensuring that they are easy to use and enable users to quickly find information they need. We invite you to be part of this process; please email your comments regarding Alcatel product documentation and web content to:
info@ind.alactel.com
www.alcatel.com June 2005
C
ONTENTS
Copyright .........................................................................................................................................................................................ii
Trademarks ......................................................................................................................................................................................ii
Software Notice ...............................................................................................................................................................................ii
Hardware Notice ..............................................................................................................................................................................ii
Documentation Feedback ................................................................................................................................................................ii
ABOUT THIS GUIDE ...................................................................................................................................1
Organization..................................................................................................................................................................................... 1
Documentation.................................................................................................................................................................................1
PROTOCOLS OVERVIEW ............................................................................................................................3
BGP4................................................................................................................................................................................................3
OSPF................................................................................................................................................................................................ 4
RIP ................................................................................................................................................................................................... 5
Multicasting .....................................................................................................................................................................................6
Securing Remote Access Using IPSec VPN....................................................................................................................................6
COMMAND LINE INTERFACE.....................................................................................................................7
Command Types .............................................................................................................................................................................. 7
Command Conventions....................................................................................................................................................................8
CLI Navigation ................................................................................................................................................................................9
Command Help .............................................................................................................................................................................. 10
POLICY COMMANDS ................................................................................................................................15
GENERIC ROUTING COMMANDS .............................................................................................................37
BGP4 CLEAR COMMANDS ......................................................................................................................43
BGP4 CONFIGURE COMMANDS ..............................................................................................................49
BGP4 SHOW COMMANDS ........................................................................................................................87
AS PATH REGULAR EXPRESSIONS ........................................................................................................105
Matching AS Paths ......................................................................................................................................................................105
Router User Guide
AS Path Regular Expressions (regex) .......................................................................................................................................... 105
AS Path Terms .............................................................................................................................................................................106
OSPF CONFIGURE COMMANDS............................................................................................................107
OSPF SHOW COMMANDS ..................................................................................................................... 149
RIP CONFIGURE COMMANDS ...............................................................................................................183
RIP SHOW COMMANDS .........................................................................................................................207
MULTICASTING ...................................................................................................................................... 217
Multicasting Overview ................................................................................................................................................................217
Protocol Independent Multicast - Source Specific Multicast (PIM-SSM) .................................................................................. 220
Internet Group Management Protocol (IGMP)............................................................................................................................ 220
Traceroute Facility for IP Multicast.............................................................................................................................................222
Multicast Multipath...................................................................................................................................................................... 222
Multipath Commands ..................................................................................................................................................................223
Generic Routing Encapsulation (GRE)........................................................................................................................................ 223
INDEX:
ENERAL................................................................................................................................................225
G
INDEX: GENERIC COMMANDS ..............................................................................................................227
INDEX: POLICY COMMANDS ................................................................................................................. 229
INDEX: OSPF COMMANDS.................................................................................................................... 231
INDEX: BGP COMMANDS...................................................................................................................... 233
INDEX: RIP COMMANDS ....................................................................................................................... 235
CORPORATE POLICY ............................................................................................................................. 237
Standard Warranty ....................................................................................................................................................................... 237
Equipment Malfunction ...............................................................................................................................................................238
Contacting Alcatel .......................................................................................................................................................................238
T
ABLES
1 Guide Organization: Major Sections ................................................................................................................................ 1
2 BGP RFC Compliance ..................................................................................................................................................... 4
3 OSPF RFC Compliance ....................................................................................................................................................5
4 RIP RFC Compliance ....................................................................................................................................................... 5
5 Context-Sensitive Command Sequence ........................................................................................................................... 7
6 Syntax Conventions .......................................................................................................................................................... 8
7 Example Conventions ....................................................................................................................................................... 8
8 Parameter Definitions .......................................................................................................................................................40
9 Default Route Preference (Administrative Distance) Values ...........................................................................................55
10 Status and Origin Codes ................................................................................................................................................... 91
11 Status and Origin Codes ................................................................................................................................................... 94
12 Other BGP show Descriptions ..........................................................................................................................................94
13 Interpreting BGP Paths ..................................................................................................................................................... 95
14 Status and Origin Codes ................................................................................................................................................... 95
15 Header Definitions ............................................................................................................................................................ 97
16 Status and Origin Codes ................................................................................................................................................... 98
17 Default Route Preference (Administrative Distance) Values ...........................................................................................127
18 Default Route Preference (Administrative Distance) Values ...........................................................................................128
19 Default Route Preference (Administrative Distance) Values ...........................................................................................186
Router User Guide
F
IGURES
1 Navigation Keys ............................................................................................................................................................ 10
2 Help Screen ................................................................................................................................................................... 10
3 Alcatel CLI Command Tree .......................................................................................................................................... 11
4 ? Help Screen................................................................................................................................................................. 12
5 Global Show Command ................................................................................................................................................ 13
Router User Guide
Organization
A
BOUT
This guide describes Alcatel’s implementation and command usage of BGP4, OSPF, RIP, and multicast routing protocols. It is designed for network managers and administrators who are responsible for the operation of LAN and WAN equipment and are familiar with networks and routing protocols.
The following table describes the organization and content of this guide.
T
HIS
G
UIDE
1
Documentation
Table 1 Guide Organization: Major Sections

About This Guide Defines the user audience, describes the document’s organization, introduces special notices,

Protocols Overview Provides high-level information about the routing protocols supported by Alcatel.
Command Line Interface
Commands Describes the individual CLI commands. Commands are organized by protocol and are in
The following list includes other available and related documentation.
Release Notes
Printed release notes provide the latest information. If release notes are provided with your product, follow the instructions contained within them in addition to those provided in other documentation.
Quick Start Guides
These guides are designed for advanced users who need minimal installation, configuration, and operation information.
Installation Guides
These detailed guides are designed for network managers and technicians who are responsible for the installation of networking equipment in Telco and service provider network environments.
and provides information about other Alcatel user guides.
Describes the command line interface (CLI) and how to access navigation and help features. A review of Alcatel configuration standards is included.
alphabetical order. Each entry provides a command description and syntax and usage examples.
Command Reference Guide
This detailed guide provides a complete alphabetical listing of all non-routing commands including descriptions, syntax, examples, and applicable systems.
Router User Guide
2 Chapter : About This Guide
Configuration Guide
This guide provides examples of how features are used.
Guides and release notes are available in PDF format on the
Alcatel website: www.alcatel.com.
To view PDF files, Adobe Acrobat® Reader® 4.0 (or later) must be installed on your PC. If you do not have the Adobe Acrobat Reader installed on your system, you can obtain it free from the Adobe website:
www.adobe.com.
Router User Guide
BGP4
P
ROTOCOLS
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.
O
VERVIEW
3
RFC Compliance The following table provides Alcatel’s BGP RFC compliance information.
Router User Guide
4 Chapter : Protocols Overview
OSPF
Table 2 BGP RFC Compliance
RFC Description
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:
Scalability
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.
Full subnetting support
OSPF can fully support subnetting, including Variable Length Subnet Mask (VLSM).
Tagged routes
Routes can be tagged with arbitrary values. This eases interoperation with Exterior Gateway Protocols
Meshed networks
(EGPs), which can tag OSPF routes with AS numbers.
OSPF provides the ability to support complex meshed networks.
The following features are incorporated in
Intra- and inter-area routing
Broadcast and point-to-poPnt
Type 1 & Type 2 AS external routes
Stub areas
NSSA – Not-So-Stubby-Area
Route re-distribution
Authentication – simple & MD5
RFC 1583 backwards compatibility
Equal cost multipath
Configurable routing interface parameters
Non-intrusive reconfiguration
Alcatel’ implementation of OSPF.
Router User Guide
Chapter : Protocols Overview 5
RFC Compliance The following table provides Alcatel’s OSPF RFC compliance information.
Table 3 OSPF RFC Compliance
RFC Description
2328 OSPF version 2
1587 OSPF NSSA option
1850 OSPF Version 2 Management Information Base
RIP
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 network path is limited to 15 hops. A destination with a greater number of hops is
considered unreachable.
The time required to determine a next hop and bandwidth could be substantial in a large network.
A fixed metric is used to select routes. Only the best route with the lowest metric is maintained
for a specific destination.
The following features are incorporated into
RIP v1, v2, and v1 compatibility modes
Configurable timers
VLSM
Split-horizon and split-horizon with poison reverse
Clear text and MD5 authentication
Redistribution of connected, static, and OSPF routes
Inbound and outbound filtering policies
Alcatel’ implementation of RIP:
RFC Compliance The following table provides Alcatel’s RIP RFC compliance information.
Table 4 RIP RFC Compliance
RFC Description
1058 Routing Information Protocol
2453/STD0056 RIP Version 2
1724 RIP Version 2 MIB extension
2082 RIP-II MD5 Authentication
Router User Guide
Multicasting
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)
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). Alcatel supports SM only in version 8.0 and higher.
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.
Securing Remote Access Using IPSec VPN
The features in version 8.0 and higher 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.
Command Types
C
OMMAND
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.
L
INE INTERFACE
7
Context-Sensitive
Commands
NOTE: In certain instances, transition commands will select an interface for configuration and access
next-level commands. For example, the configure interface bundle dallas command accesses the configure interface bundle mode and selects or creates the bundle dallas.
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 5 shows a context-sensitive command string for a host system. In this example, T1 link 1 remains selected for configuration until you exit from the
Table 5 Context-Sensitive Command Sequence
Context-Sensitive Command String Example
1 Go into the configuration mode. Alcatel-host> configure terminal
2 Specify the type of interface (T1).
3 Choose the specific interface (T1 link 1).
4 From now on, all configuration commands are for T1
link 1 until you exit from module configuration or choose another T1 link.
NOTE: Command strings that require identification of a specific interface are context-sensitive.
Alcatel-host/configure/module/t1> prompt.
host/configure> module t1
Alcatel-
Alcatel-host/configure> module t1 1
Alcatel-host/configure/module/t1 1>
Router User Guide
8 Chapter : Command Line Interface
Command Conventions
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.
Table 6 Syntax Conventions
For Syntaxes What it means
normal type
[ a | b | c ]
< >
[ ]
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.”
Syntax:
module
Command execution:
module
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.
Syntax:
connections connections < n >
Command execution:
connections 4
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.
Normal brackets “[ ]” indicate optional keywords or arguments.
A vertical bar “ | “ separates individual settings.
Example:
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.”
Syntax:
timeout protocol_type < tcp | udp > [ seconds < n > ]
Command execution:
timeout udp 3600
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.
Router User Guide
Table 7 Example Conventions
For Examples What it means
Chapter : Command Line Interface 9
Abbreviated
Commands
normal type
bold type
Prompts and commands that are part of the main prompt are shown in normal type.
Examples:
Alcatel-host>
Alcatel-host/show>
All character strings that a user must enter to execute a command are in bold type.
Example:
Alcatel-host> configure term
You may enter commands by typing the first few characters of each word in a command string. The
Alcatel 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 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
CLI Navigation
The Ta b, Esc, and Ctrl keyboard keys may be used to:
n Move backwards or forwards in the CLI
n Edit entered command strings
n Or accelerate the command entry process
Navigation Keys 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 Ta b to complete the entire word. Then, you may specify an item to configure by pressing the Spacebar and then pressing Ta b 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 Figure 1 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.
Router User Guide
10 Chapter : Command Line Interface
Figure 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 / <- -- go back one char Ctrl-D / DEL -- delete a char
-- go up one level if empty command Ctrl-E -- end of line Ctrl-F / -> -- forward one char Ctrl-K -- delete line ahead of cursor Ctrl-L -- refresh line Ctrl-N / DN ARROW -- next command in history Ctrl-P / UP ARROW -- previous command in history Ctrl-U -- delete entire line Ctrl-W -- delete one word left to cursor >
Command Help
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.
Help Type help at the main CLI prompt to see the basic Alcatel system help information. Or, type help
followed by a command name to view information about that command. Figure 2 shows the help screen.
Figure 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 <cmd>' to get help for that command >
Tree 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 3 shows two command tree examples. If you type tree at the main ( list of system commands appears. If you type tree within a command mode, such as
Alcatel-6000/clear> tree, the commands associated with this command mode are displayed.
Alcatel-host> or equivalent) prompt, the entire
Router User Guide
Chapter : Command Line Interface 11
Figure 3 Alcatel 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) :
Question Mark Help
Screen
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. Figure 4 shows a display of these top-level commands.
Router User Guide
12 Chapter : Command Line Interface
Figure 4 ? Help Screen
> ?
NAME xcli -- This is root and not a command
SYNTAX COMMANDS <cr>
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 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
>
The default parameters for specific commands appear in parenthesis.
NOTE:
Global Commands 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 5), 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 save commands from anywhere in the CLI ensures that your configurations may be saved periodically.
Alcatel system and other network hosts; access to the
Router User Guide
Chapter : Command Line Interface 13
Figure 5 Global Show Command
> show configuration : Select type of 'configuration' ( Hit Tab ) > dir
CONTENTS OF /flash1:
size date time name
-------- ------ ------ -------­ 6467513 FEB-04-2004 13:51:22 T1000.1223.Z 6771268 APR-01-2004 11:38:42 T1000.Z 1908 APR-01-2004 11:56:18 system.cfg 0 FEB-05-2004 07:12:30 oldsystem.cfg 6500329 APR-01-2004 11:49:22 T1000.020404.Z
Total bytes: 19741018 Bytes Free: 12713984 >
NOTE:
The tab completion feature is not currently available for global commands.
Router User Guide
14 Chapter : Command Line Interface
Router User Guide
P
OLICY
This chapter provides information about routing policy commands that are supported by Alcatel.
C
OMMANDS
15
Router User Guide
16 Chapter : Policy Commands

configure policy

This command provides access to the next-level commands.
next-level commands
configure policy as_path
configure policy community_list
configure policy ip_access_list
configure policy route_map
Router User Guide
Chapter : Policy Commands 17

configure policy as_path

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 105.) Note that the regular expression must be enclosed in quotation marks. The AS number is the smallest element of a integer ranging from 0 to 65536; the
Alcatel 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.”
parameter definition
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.
action
deny
permit
regular_expression Regular expression to match the AS paths.
Deny AS path.
Permit AS path.
Enter a quoted string.
Refer to AS Path Regular Expressions on page 105 for more information about regular expressions.
Alcatel regular expression. It is an
syntax:
[ no ] policy as_path access_list < n > number < n > action < deny | permit > regular_expression < “string” >
example:
Alcatel-host/configure> policy as_path 1 120 permit “100”
example:
Alcatel-host/configure> policy as_path 1 121 deny “.* 101 .*”
applicable systems:
All models.
Router User Guide
18 Chapter : Policy Commands

configure policy community_list

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:
local_as
no_advertise
no_export
aa_nn (an integer between 0 and 65,535)
community (an integer between 1 and 4294967295
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.
next-level commands
configure policy community_list extended_community
configure policy community_list standard_community
Router User Guide
Chapter : Policy Commands 19

configure policy community_list extended_community

This command configures an extended community list as part of the policy.
parameter definition
community_list Extended community list number
The range is 100 - 199.
community_index Community index number
The range is 0 - 65535.
action
deny
permit
community A list of community numbers
generate_local_as
local_as
aa_nn Community number in aa_nn format
generate_no_advertise
no_advertise
generate_no_export
no_export
Specify a community to reject.
Specify a community to permit.
The range is 1 - 4294967295.
This list can contain a maximum of 32 numbers.
Do not send out local AS.
This list can contain a maximum of 32 numbers.
Do not advertise to any neighbor.
Do not send to next AS
syntax:
[ 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 > ]
example:
Alcatel-host/configure> policy community_list extended_community 100 1 deny community 44 45
local_as aa_nn 400:500 no_advertise
applicable systems:
All models.
Router User Guide
20 Chapter : Policy Commands

configure policy community_list standard_community

This command configures a standard community list as part of the routing policy.
parameter definition
community_list Extended community list number
The range is 100 - 199.
community_index Community index number
The range is 0 - 65535.
action
deny
permit
community A list of community numbers
generate_local_as
local_as
aa_nn Community number in aa_nn format
generate_no_advertise
no_advertise
generate_no_export
no_export
Specify a community to reject.
Specify a community to permit.
The range is 1 - 4294967295.
This list can contain a maximum of 32 numbers.
Do not send out local AS.
This list can contain a maximum of 32 numbers.
Do not advertise to any neighbor.
Do not send to next AS
Router User Guide
syntax:
[ 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 <no_advertise > ] [ generate_no_export < no_export > ]
example:
Alcatel-host/configure> policy community_list standard_community 90 150 permit community
40 45 local_as aa_nn 655:232592 no_advertise
example:
Alcatel-host/configure/policy> community_list standard_community 90 150 permit community
42949672 no_advertise
applicable systems:
All models.
Chapter : Policy Commands 21

configure policy ip_access_list

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.
network netmask
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 networkt. 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.
network netmask mask maskmask
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, jaskmask) 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.
parameter definition
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.
action
deny
permit
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)
syntax:
Route map deny set operation.
Route map permit set operation.
[ 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 > ]
example:
Alcatel-host/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.
Router User Guide
22 Chapter : Policy Commands
example:
Alcatel-host/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.
applicable systems:
All models.
Router User Guide
Loading...
+ 216 hidden pages