Software Version: 7750 SR OS 5.0
February 2007
Document Part Number: 93-0073-03-01
*93-0073-03-01*
This document is protected by copyright. Except as specifically permitted herein, no portion of the provided information can be
reproduced in any form, or by any means, without prior written permission from Alcatel-Lucent.
This guide describes logical IP routing interfaces, virtual routers, IP and MAC-based filtering, and
cflowd support provided by the 7750 SR OS and presents configuration and implementation
examples.
This document is organized into functional chapters and provides concepts and descriptions of the
implementation flow, as well as Command Line Interface (CLI) syntax and command usage.
Audience
Preface
This manual is intended for network administrators who are responsible for conf iguring the 7750
SR-Series routers. It is assumed that the network administrators have an understanding of
networking principles and configurations. Protocols, standards, and services described in this
manual include the following:
•IP router configuration
•V irtual routers
•IP and MAC-based filters
•Cflowd
7750 SR OS Router Configuration GuidePage 13
Preface
List of Technical Publications
The 7750 SR documentation set is composed of the following books:
•7750 SR OS Basic System Configuration Guide
This guide describes basic system configurations and operations.
•7750 SR OS System Management Guide
This guide describes system security and access configurations as well as event logging
and accounting logs.
•7750 SR OS Interface Configuration Guide
This guide describes card, Media Dependent Adapter (MDA), and port provisioning.
•7750 SR OS Router Configuration Guide
This guide describes logical IP routing interfaces and associated attributes such as an IP
address, port, link aggregation group (LAG) as well as IP and MAC-based filtering,
VRRP, and Cflowd.
•7750 SR OS Routing Protocols Guide
This guide provides an overview of routing concepts and provides configuration examples
for RIP, OSPF, IS-IS, Multicast, BGP, and route policies.
•7750 SR OS MPLS Guide
This guide describes how to configure Multiprotocol Label Switching (MPLS) and Label
Distribution Protocol (LDP).
•7750 SR OS Services Guide
This guide describes how to configure service parameters such as service distribution
points (SDPs), customer information, user services, service mirroring and Operations,
Administration and Management (OAM) tools.
•7750 SR OS Triple Play Guide
This guide describes Triple Play services and support provided by the 7750 SR and
presents examples to configure and implement various protocols and services.
•7750 SR Quality of Service Guide
This guide describes how to configure Quality of Service (QoS) policy management.
Page 147750 SR OS Rout er Configuration Guide
Technical Support
If you purchased a service agreement for your 7750 SR-Series router and related products from a
distributor or authorized reseller, contact the technical support staff for that distributor or reseller
for assistance. If you purchased an Alcatel-Lucent service agreement, contact your welcome center
at:
This chapter provides process flow information to configure routing entities, virtual routers, IP and
MAC filters, and Cflowd.
Alcatel-Lucent 7750 SR-Series Router Configuration
Process
Table 1 lists the tasks necessary to configure logical IP routing interfaces, virtual routers, IP and
MAC-based filtering, and Cflowd.
This guide is presented in an overall logical configuration flow. Each section describes a software
area and provides CLI syntax and command usage to configure parameters for a functional area.
Table 1: Configuration Process
AreaTaskChapter
Router
configuration
Protocol
configuration
ReferenceList of IEEE, IETF, and other proprietary entities.Standards and Protocol Supp ort on
Configure router parameters, including router
interface and addresses, router ID, autonomous
systems, and confederations.
VRRPVRRP on page 169
IP and MAC filtersFilter Policies on page 275
CflowdCflowd on page 429
IP Router Configuration on page
19
page 715
7750 SR OS Router Configuration GuidePage 17
Getting Started
Page 187750 SR OS Router Configuration Guide
In This Chapter
This chapter provides information about commands required to configure basic router parameters.
Topics in this chapter include:
•Configuring IP Router Parameters on page 20
→ Interfaces on page 20
IP Router Configuration
→ Router ID on page 22
→ Autonomous Systems (AS) on page 23
→ Confederations on page 24
→ Proxy ARP on page 26
→ Internet Protocol Versions on page 27
•Router Configuration Process Overview on page 36
•Configuration Notes on page 39
7750 SR OS Router Configuration GuidePage 19
Configuring IP Router Parameters
Configuring IP Router Parameters
In order to provision services on a 7750 SR-Series router, logical IP routing interfaces must be
configured to associate attributes such as an IP address, port or the system with the IP interface.
A special type of IP interface is the system interface. A system interface must have an IP address
with a 32-bit subnet mask. The system interface is used as the router identifier by higher-level
protocols such as OSPF and BGP, unless overwritten by an explicit router ID.
The following router features can be configured:
•Interfaces
•IP Addresses
•Router ID
•Autonomous Systems (AS)
•Confederations
•DHCP Relay
•Internet Protocol Versions
Interfaces
7750 SR-Series routers use different types of interfaces for various functions. Interfaces must be
configured with parameters such as the interface type (network and system) and address. A port is
not associated with a system interface. An interface can be associated with the system (loopback
address).
Network Interface
A network interface (a logical IP routing interface) can be configured on one of the following
entities:
•A physical or logical port
•A SONET/SDH channel
Page 207750 SR OS Router Configuration Guide
System Interface
The system interface is associated with the network entity (such as a specific router or switch), not
a specific interface. The system interface is also referred to as the loopback address. The system
interface is associated during the configuration of the following entities:
•The termination point of service tunnels
•The hops when configuring MPLS paths and LSPs
•The addresses on a target router for BGP and LDP peering
The system interface is used to preserve connectivity (when routing reconvergence is possible)
when an interface fails or is removed. The system interface is used as the router identifier. A
system interface must have an IP address with a 32-bit subnet mask.
IP Router Configuration
7750 SR OS Router Configuration GuidePage 21
Configuring IP Router Parameters
IP Addresses
Creating an IP Address Range
An IP address range can be reserved for exclusive use for services by defining the
config>router>service-prefix command. When the service is configured, the IP address
must be in the range specified as a service prefix. If no service prefix command is configured, then
no limitation exists.
Addresses in the range of a service prefix can be allocated to a network port unless the exclusive
parameter is used. Then, the address range is exclusively reserved for services.
When defining a range that is a superset of a previously defined service prefix, the subset will be
replaced with the superset definition. For example, if a service prefix exists for 10.10.10.0/24, and
a new service prefix is configured as 10.10.0.0/16, then the old address (10.10.10.0/24) will be
replaced with the new address (10.10.0.0/16).
Router ID
When defining a range that is a subset of a previously defined service prefix, the subset will
replace the existing superset, providing addresses used by services are not affected; for example, if
a service prefix exists for 10.10.0.0/16, and a new service prefix is configured as 10.10.10.0/24,
then the 10.10.0.0/16 entry will be removed, provided that no services are configured that use
10.10.x.x addresses other than 10.10.10.x.
The router ID, a 32-bit number, uniquely identifies the router within an autonomous system (AS)
(see Autonomous Systems (AS) on page 23). In protocols such as OSPF, routing information is
exchanged between areas, groups of networks that share routing information. It can be set to be the
same as the loopback address. The router ID is used by both OSPF and BGP routing protocols in
the routing table manager instance.
There are several ways to obtain the router ID. On each 7750 SR-Series router, the router ID can be
derived in the following ways.
•Define the value in the
router ID.
•Configure the system interface with an IP address in the
ip-int-name
config>router router-id context, then the system interface acts as the router ID.
•If neither the system interface or router ID are implicitly specified, then the router ID is
inherited from the last four bytes of the MAC address.
•The router can be derived on the protocol level; for example, BGP.
context. If the router ID is not manually configured in the
config>router router-id context. The value becomes the
config>router>interface
Page 227750 SR OS Router Configuration Guide
Autonomous Systems (AS)
Networks can be grouped into areas. An area is a collection of network segments within an AS that
have been administratively assigned to the same group. An area’s topology is concealed from the
rest of the AS, which results in a significant reduction in routing traffic.
Routing in the AS takes place on two levels, depending on whether the source and destination of a
packet reside in the same area (intra-area routing) or different areas (inter-area routing). In intraarea routing, the packet is routed solely on information obtained within the area; no routing
information obtained from outside the area can be used. This protects intra-area routing from the
injection of bad routing information.
Routers that belong to more than one area are called area border routers. All routers in an AS do
not have an identical topological database. An area border router has a separate topological
database for each area it is connected to. Two routers, which are not area border routers, belonging
to the same area, have identical area topological databases.
Autonomous systems share routing information, such as routes to each destination and information
about the route or AS path, with other ASs using BGP. Routing tables contain lists of next hops,
reachable addresses, and associated path cost metrics to each router. BGP uses the information and
path attributes to compile a network topology.
IP Router Configuration
7750 SR OS Router Configuration GuidePage 23
Configuring IP Router Parameters
Confederations
Configuring confederations is optional and should only be implemented to reduce the IBGP mesh
inside an AS. An AS can be logically divided into smaller groupings called sub-confederations and
then assigned a confederation ID (similar to an autonomous system number). Each subconfederation has fully meshed IBGP and connections to other ASs outside of the confederation.
The sub-confederations have EBGP-type peers to other sub-confederations within the
confederation. They exchange routing information as if they were using IBGP. Parameter values
such as next hop, metric, and local preference settings are preserved. The confederation appears
and behaves like a single AS.
Confederations have the following characteristics.
•A large AS can be sub-divided into sub-confederations.
•Routing within each sub-confederation is accomplished via IBGP.
•EBGP is used to communicate between sub-confederations.
•BGP speakers within a sub-confederation must be fully meshed.
•Each sub-confederation (member) of the confederation has a different AS number. The AS
numbers used are typically in the private AS range of 64512 — 65535.
To migrate from a non-confederation configuration to a confederation configuration requires a
major topology change and configuration modifications on each participating router. Setting BGP
policies to select an optimal path through a confederation requires other BGP modifications.
Page 247750 SR OS Router Configuration Guide
IP Router Configuration
There are no default confederations. Router confederations must be explicitly created. Figure 1
depicts a confederation configuration example.
Confederation 2002
AS 100
ALA-A
Confederation Member 1
AS 200
ALA-BALA-C
ALA-D
AS 400
Confederation Member 2
Confederation Member 3
AS 500
ALA-H
AS 300
ALA-EALA-F
Figure 1: Confederation Configuration
ALA-G
SRSG005
7750 SR OS Router Configuration GuidePage 25
Configuring IP Router Parameters
Proxy ARP
Proxy ARP is the technique in which a router answers ARP requests intended for another node.
The router appears to be present on the same network as the “real” node that is the target of the
ARP and takes responsibility for routing packets to the “real” destination. Proxy ARP can help
nodes on a subnet reach remote subnets without configuring routing or a default gateway.
Typical routers only support proxy ARP for directly attached networks; the 7750 SR-Series is
targeted to support proxy ARP for all known networks in the routing instance where the virtual
interface proxy ARP is configured.
In order to support DSLAM and other edge like environments, 7750 SR-Series proxy ARP
supports policies that allow the provider to configure prefix lists that determine for which target
networks proxy ARP will be attempted and prefix lists that determine for which so urce hosts proxy
ARP will be attempted.
In addition, the 7750 SR OS proxy ARP implementation will support the ability to respond for
other hosts within the local subnet domain. This is needed in environments such as DSL where
multiple hosts are in the same subnet but can not reach each other directly.
Static ARP is used when a 7750 SR OS needs to know about a device on an interface that cannot or
does not respond to ARP requests. Thus, the 7750 SR OS configuration can state that if it has a
packet that has a certain IP address to send it to the corresponding ARP address. Use proxy ARP so
the 7750 SR responds to ARP requests on behalf of another device.
Page 267750 SR OS Router Configuration Guide
Internet Protocol Versions
The 7750 SR OS implements IP routing functionality, providing support for IP version 4 (IPv4)
and IP version 6 (IPv6). IP version 6 (IPv6) (RFC 1883, Internet Protocol, Version 6 (IPv6)) is a
newer version of the Internet Protocol designed as a successor to IP version 4 (IPv4) (RFC-791,
Internet Protocol). The changes from IPv4 to IPv6 effect the following categories:
•Expanded addressing capabilities — IPv6 increases the IP address size from 32 bits (IPv4)
to 128 bits, to support more levels of addressing hierarchy, a much greater number of
addressable nodes, and simpler auto-configuration of addresses. The scalability of
multicast routing is improved by adding a scope field to multicast addresses. Also, a new
type of address called an anycast address is defined that is used to send a packet to any one
of a group of nodes.
•Header format simplification — Some IPv4 header fields have been dropped or made
optional to reduce the common-case processing cost of packet handling and to limit the
bandwidth cost of the IPv6 header.
•Improved support for extensions and options — Changes in the way IP header options are
encoded allows for more efficient forwarding, less stringent limits on the length of
options, and greater flexibility for introducing new options in the future.
IP Router Configuration
•Flow labeling capability — The capability to enable the labeling of packets belonging to
particular traffic flows for which the sender requests special handling, such as non-default
quality of service or “real-time” service was added in IPv6.
•Authentication and privacy capabilities — Extensions to support authentication, data
integrity, and (optional) data confidentiality are specified for IPv6.
Version4-bit Internet Protocol version number = 6.
Prio. 4-bit priority value.
Flow Label24-bit flow label.
Payload Length 16-bit unsigned integer. The length of payload, for example, the rest of the packet
following the IPv6 header, in octets. If the value is zero, the payload length is
carried in a jumbo payload hop-by-hop option.
Next Header 8-bit selector. Identifies the type of header immediately following the IPv6 header.
This field uses the same values as the IPv4 protocol field.
Hop Limit 8-bit unsigned integer. Decremented by 1 by each node that forwards the packet.
The packet is discarded if the hop limit is decremented to zero.
Source Address 128-bit address of the originator of the packet.
Destination Address 128-bit address of the intended recipient of the packet (possibly not the ultimate
recipient if a routing header is present).
Page 287750 SR OS Router Configuration Guide
IPv6 Applications
Examples of the IPv6 applications supported by the 7750 SR OS include:
•IPv6 Internet exchange peering — Figure 3 shows an IPv6 Internet exchange where
multiple ISPs peer over native IPv6.
IP Router Configuration
IPv6 IX
ISP A
Peering
ISP B
Figure 3: IPv6 Internet Exchange
•IPv6 transit services — Figure 4 shows IPv6 transit provided by an ISP.
Customer 1
2001:0410:0001:/48
ISP
2001:0410::/32
Customer 2
2001:0410:0002:/4
IPIPE_007
IPIPE_008
Figure 4: IPv6 Transit Services
7750 SR OS Router Configuration GuidePage 29
Configuring IP Router Parameters
•IPv6 services to enterprise customers and home users — Figure 5 shows IPv6 connectivity
to enterprise and home broadband users.
Enterprise
DSL, Cable
FTTH
IPv6 Core
IPv6 Broadband Users
ISP
IPIPE_009
Figure 5: IPv6 Services to Enterprise Customers and Home Users
•IPv6 over IPv4 relay services — IPv6 over IPv4 tunnels are one of many IPv6 transition
methods to support IPv6 in an environment where not only IPv4 exists but native IPv6
networks depend on IPv4 for greater IPv6 connectivity. 7750 SR OS supports dynamic
IPv6 over IPv4 tunneling. The ipv4 source and destination address are taken from
configuration, the source address is the ipv4 system address and the ipv4 destination is the
next hop from the configured 6over4 tunnel.
IPv6 over IPv4 is an automatic tunnel method that gives a prefix to the attached IPv6
network. Figure 6 shows IPv6 over IPv4 tunneling to transition from IPv4 to IPv6.
6to4
6to4
IPv4 Clo u d
Figure 6: IPv6 over IPv4 Relay Services
Page 307750 SR OS Router Configuration Guide
IPv6 Provider Edge Router over MPLS (6PE)
6PE allows IPv6 domains to communicate with each other over an IPv4 MPLS core network. This
architecture requires no backbone infrastructure upgrades and no reconfiguration of core routers,
because forwarding is purely based on MPLS labels. 6PE is a cost effective solution for IPv6
deployment.
IP Router Configuration
Figure 7: Example of a 6PE Topology within One AS
6PE Control Plane Support
The 6PE MP-BGP routers support:
•IPv4/IPv6 dual-stack
•MP-BGP can be used between 6PE routers to exchange IPv6 reachability information.
→ The 6PE routers exchange IPv6 prefixes over MP-BGP sessions running over IPv4
transport. The MP-BGP AFI used is IPv6 (value 2).
→ An IPv4 address of the 6PE router is encoded as an IPv4-mapped IPv6 address in the
BGP next-hop field of the IPv6 NLRI. By default, the IPv4 address that is used for
peering is used. It is configurable through the route policies.
→ The 6PE router binds MPLS labels to the IPv6 prefixes it advertises. The SAFI used in
MP-BGP is the SAFI (value 4) label. The 7750 SR-Series router uses the IPv6 Explicit
Null (value 2) label for all the IPv6 prefixes that it advertises and can accept an
arbitrary label from its peers.
7750 SR OS Router Configuration GuidePage 31
Configuring IP Router Parameters
•LDP is used to create the MPLS full mesh between the 6PE routers and the IPv4 addresses
that are embedded in the next-hop field are reachable by LDP LSPs. The ingress 6PE
router uses the LDP LSPs to reach remote 6PE routers.
6PE Data Plane Support
The ingress 6PE router can push two MPLS labels to send the packets to the egress 6PE router. The
top label is an LDP label used to reach the egress 6PE router. The bottom label is advertised in MPBGP by the remote 6PE router. Typically, the IPv6 explicit null (value 2) label is used but an
arbitrary value can be used when the remote 6PE router is from a vendor other than AlcatelLucent.
The egress 6PE router pops the top LDP tunnel label. It sees the IPv6 explicit null label, which
indicates an IPv6 packet is encapsulated. It also pops the IPv6 explicit null label and performs an
IPv6 route lookup to find out the next hop for the IPv6 packet.
Page 327750 SR OS Router Configuration Guide
Bidirectional Forwarding Detection
Bidirectional Forwarding Detection (BFD) is a light-weight, low-overhead, short-duration
detection of failures in the path between two systems. If a system stops receiving BFD messages
for a long enough period (based on configuration) it is assumed that a failure along th e path has
occurred and the associated protocol or service is notified of the failure.
BFD can provide a mechanism used for liveness detection over any media, at any protocol layer,
with a wide range of detection times and overhead, to avoid a prolifer ation of different methods.
There are two modes of operation for BFD:
•Asynchronous mode — Uses periodic BFD control messages to test the path between
systems.
•Demand mode — Does not send periodic messages. BFD control messages are only sent
when either system feels it needs to again verify connectivity , in which case, it transmits a
short sequence of BFD messages and then stops.
IP Router Configuration
A path is only declared operational when two-way communications has been established between
both systems.
A separate BFD session is created for each communications path and data protocol in use between
two systems.
In addition to the two operational modes, there is also an echo function defined within draft-ietf-bfd-base-04.txt, Bidire ct ional Forwarding Detection, that allows either of the two systems to send
a sequence of BFD echo packets to the other system, which loops them back within that system’s
forwarding plane. If a number of these echo packets are lost then the BFD session is declared
down.
BFD Control Packet
The base BFD specification does not specify the encapsulation type to be used for sending BFD
control packets. Instead it is left to the implementers to use the appropriate encapsulation type for
the medium and network. The encapsulation for BFD over IPv4 and IPv6 networks is specified in
draft-ietf-bfd-v4v6-1hop-04.txt, BFD for IPv4 and IPv6 (Single Hop). This specification requires
that BFD control packets be sent over UDP with a destination port number of 3784 and the source
port number must be within the range 49152 to 65535.
In addition, the TTL of all transmitted BFD packets must have an IP TTL of 255. All BFD packets
received must have an IP TTL of 255 if authentication is not enabled. If authentication is enabled,
the IP TTL should be 255 but can still be processed if it is not (assuming the packet passes the
enabled authentication mechanism).
7750 SR OS Router Configuration GuidePage 33
Configuring IP Router Parameters
If multiple BFD sessions exist between two nodes, the BFD discriminator is used to de-multiplex
the BFD control packet to the appropriate BFD session.
Control Packet Format
The BFD control packet has 2 sections, a mandatory section and an optional authentication section.
VersThe version number of the protocol. The initial protocol version is 0.
DiagA diagnostic code specifying the local system’s reason for the last transition of the
session from Up to some other state.
Possible values are:
0-No diagnostic
1-Control detection time expired
2-Echo function failed
3-Neighbor signaled session down
4-Forwarding plane reset
5-Path down
6-Concatenated path down
7-Administratively down
H BitThe “I Hear You” bit. This bit is set to 0 if the transmitting system either is not
receiving BFD packets from the remote system, or is in the process of tearing down
the BFD session for some reason. Otherwise, during normal operation, it is set to 1.
Page 347750 SR OS Router Configuration Guide
IP Router Configuration
Table 3: BFD Control Packet Field Descriptions (Continued)
FieldDescription
D BitThe “demand mode” bit. If set, the transmitting system wishes to operate in demand
mode.
P BitThe poll bit. If set, the transmitting system is requesting verification of
connectivity, or of a parameter change.
F BitThe final bit. If set, the transmitting system is responding to a received BFD control
packet that had the poll (P) bit set.
RsvdReserved bits. These bits must be zero on transmit and ignored on receipt.
Detect MultDetect time multiplier. The negotiated transmit interval, multiplied by this value,
provides the detection time for the transmitting system in asynchronous mode.
Like the IGP hello protocol mechanisms, this is analogous to the hello-multiplier in
IS-IS, which can be used to determine the hold-timer.
(hello-interval) x (hello-multiplier) = hold-timer. If a hello is not received within
the hold-timer, a failure has occurred.
Similarly in BFD: (transmit interval) x (detect multiplier) = detect-timer. If a BFD
control packet is not received from the remote system within detect-timer, a failure
has occurred.
LengthLength of the BFD control packet, in bytes.
My DiscriminatorA unique, nonzero discriminator value generated by the transmitt ing system, used
to demultiplex multiple BFD sessions between the same pair of systems.
Your DiscriminatorThe discriminator received from the corresponding remote system. This field
reflects back the received value of my discriminator, or is zero if that value is
unknown.
Desired Min TX IntervalThis is the minimum inte rval, in microseconds, that the local system would like to
use when transmitting BFD control packets.
Required Min RX
Interval
Required Min Echo RX
Interval
This is the minimum interval, in microseconds, between received BFD control
packets that this system is capable of supporting.
This is the minimum interval, in microseconds, between received BFD echo
packets that this system is capable of supporting. If this value is zero, the
transmitting system does not support the receipt of BFD echo packets.
7750 SR OS Router Configuration GuidePage 35
Router Configuration Process Overview
Router Configuration Process Overview
Figure 9 displays the process to configure basic router parameters.
START
SET THE SYSTEM NAME
CONFIGURE SYSTEM IP ADDRESS
CONFIGURE ROUTER ID (optional)
AUTONOMOUS SYSTEMS (optional)
CONFIGURE CONFEDERATIONS (optional)
ENABLE
Figure 9: IP Router Configuration Flow
Page 367750 SR OS Router Configuration Guide
Router Configuration Process Overview
Figure 9 displays the process to configure basic router parameters.
ROUTER
INTERFACE
ADDRESS
IPV6
ADDRESS
NEIGHBOR
ROUTER ID (optional)
AUTONOMOUS SYSTEM (optional)
CONFEDERATION (optional)
Figure 10: Router Configuration Components
IP Router Configuration
7750 SR OS Router Configuration GuidePage 37
Router Configuration Process Overview
Router Configuration Process Overview
Figure 10 displays the process to configure basic router parameters.
•Interface — A logical IP routing interface. Once created, attributes like an IP address, port,
link aggregation group or the system can be associated with the IP interface.
•Address — The address associates the device’s system name with the IP system address.
An IP address must be assigned to each IP interface.
•System interface — This command creates an association between the logical IP interface
and the system (loopback) address. The system interface address is the circuitless address
(loopback) and is used by default as the router ID for protocols such as OSPF and BGP.
•Router ID — (Optional) The router ID specifies the router's IP address.
•Autonomous system — (Optional) An autonomous system (AS) is a collection of
networks that are subdivided into smaller, more manageable areas.
•Confederation — (Optional) Creates confederation autonomous systems within an AS to
reduce the number of IBGP sessions required within an AS.
Page 387750 SR OS Router Configuration Guide
Configuration Notes
The following information describes router configuration caveats.
•A system interface and associated IP address should be specified.
•Boot options file (BOF) parameters must be configured prior to configuring router
parameters.
•Confederations can be configured before protocol connections (such as BGP) and peering
parameters are configured.
•IPv6 interface parameters can only be configured on systems provisioned with the iom220g and 400g SFM2 card types.
•In order to configure IPv6 interface parameters, the chassis mode must be set to c in the
config>system>chassis-mode context. Use the force keyword to upgrade to c mode with
cards provisioned as iom-20g or iom-20g-b.
•An iom2-20g and a SFM2 card are required to enable the IPv6 CPM filter and per-peer
queuing functionality.
IP Router Configuration
Reference Sources
For information on supported IETF drafts and standards, as well as standard and proprietary
MIBS, refer to Standards and Protocol Support on page 477.
7750 SR OS Router Configuration GuidePage 39
Configuration Notes
Page 407750 SR OS Router Configuration Guide
Configuring an IP Router with CLI
This section provides information to configure an IP router.
Topics in this section include:
•Router Configuration Overview on page 42
•CLI Command Structure on page 43
•List of Commands on page 44
•Basic Configuration on page 48
•Common Configuration Tasks on page 49
→ Configuring a System Name on page 49
→ Configuring Interfaces on page 51
•Configuring a System Interface on page 51
•Configuring a Network Interface on page 51
•Configuring IPv6 Parameters on page 53
•Router Advertisement on page 66
IP Router Configuration
→ Configuring Proxy ARP on page 68
→ Deriving the Router ID on page 72
→ Configuring a Confederation on page 73
→ Configuring an Autonomous System on page 75
•Service Management Tasks on page 76
→ Changing the System Name on page 76
→ Modifying Interface Parameters on page 77
→ Deleting a Logical IP Interface on page 78
7750 SR OS Router Configuration GuidePage 41
Router Configuration Overview
Router Configuration Overview
In a 7750 SR, an interface is a logical named entity. An interface is created by specifying an
interface name under the
context where objects like static routes are defined. An IP interface name can be up to 32
alphanumeric characters long, must start with a letter, and is case-sensitive; for example, the
interface name “1.1.1.1” is not allowed, but “int-1.1.1.1” is allowed.
To create an interface on an Alcatel-Lucent 7750 SR-Series router, the basic configuration tasks
that must be performed are:
•Assign a name to the interface
•Associate an IP address with the interface
•Associate the interface with a network interface or the system interface
•Configure appropriate routing protocols
A system interface and network interface should be configured.
configure>router context. This is the global router configuration
System Interface
The system interface is associated with the network entity (such as a specific 7750 SR-Series), not
a specific interface. The system interface is also referred to as the loopback address. The system
interface is associated during the configuration of the following entities:
•The termination point of service tunnels
•The hops when configuring MPLS paths and LSPs
•The addresses on a target router for BGP andLDP peering.
The system interface is used to preserve connectivity (when routing reconvergence is possible)
when an interface fails or is removed. The system interface is used as the router identifier. A
system interface must have an IP address with a 32-bit subnet mask.
Network Interface
A network interface can be configured on one of the following entities:
•A physical or logical port
•A SONET/SDH channel
Page 427750 SR OS Router Configuration Guide
CLI Command Structure
Figure 11 displays the CLI command structure to configure router parameters. The commands are
located under the
config>router context.
ROOT
CONFIG
IP Router Configuration
ROUTER
INTERFACE
SYSTEM INTERFACE
ADDRESS
PORT
ROUTER ID
AUTONOMOUS SYSTEM
show
router
arp
interface
route-table
CONFEDERATION
Figure 11: CLI Configuration Context
Figure 12 displays the brief CLI command structure to configure the system name. The commands
are located under the
config>system context. See the 7750 SR OS System Configuration Guide
for command syntax and descriptions.
ROOT
CONFIG
SYSTEM
name system-name
show
system information
Figure 12: CLI System Configuration Context
7750 SR OS Router Configuration GuidePage 43
List of Commands
List of Commands
Table 4 lists all the configuration commands to configure a 7750 SR-Series router, indicating the
configuration level at which each command is implemented with a short command description.
Refer to each specific chapter for specific routing protocol information and command syntax to
configure protocols such as OSPF and BGP.
The command list is organized in the following task-oriented manner:
•Configure the system name
•Configure the router ID
•Configure router parameters
•Configure a network interface
•Configure the system interface
•Configure IPv6 parameters on an interface
•Configure router advertisement parameters
•Configure interface ICMP
Table 4: CLI Commands to Configure Basic IP Router Parameters
CommandDescription Page
Configure the system name
config>system
nameThe system name for the device. Only one system name can be configured.
Configure the router ID
config>router
router-id
Configure router parameters
config>router
aggregate
Configures the router ID for the router instance. When configuring a new
router ID, protocols will not automatically be restarted with the ID. The
next time a protocol is initialized, the new router ID is used. This may lead
to an interim period of time where different protocols use different router
IDs
Creates an aggregate route. Aggregate routes group a number of routes
with common prefixes into a single entry in the routing table, thereby
reducing the number of routes that need to be advertised by this router and
the routing tables of downstream routers.
49
72
89
49
86
Page 447750 SR OS Router Configuration Guide
IP Router Configuration
Table 4: CLI Commands to Configure Basic IP Router Parameters (Continued)
CommandDescription Page
autonomous-system
confederation
ecmp
ignore-icmpredirect
mc-maximum-routes
service-prefix
static-route
triggered-policy
Configure a network interface
config>router>interface
address
allow-directedbroadcasts
arp-timeout
bfd
cflowd
local-proxy-arp
loopback
mac
ntp-broadcast
port
proxy-arp-policy
qos
remote-proxy-arp
secondary
Assigns an autonomous system (AS) number to the router. 87
Creates a confederation within an AS.87
Enables ECMP and configures the number of routes for path sharing.88
Drops or accepts ICMP redirects received on the management interface.89
Specifies the maximum number of multicast routes that can be held within
a VPN routing/forwarding (VRF) context.
Creates an IP address range reserved for IES and certain VPLS services.
The purpose of reserving IP addresses using service-prefix is to provide a
mechanism to reserve one or more address ranges for services.
Creates static route entries for both the network and access routes.91
Triggers route policy re-evaluation.91
Assigns an IP address, subnet and broadcast address format to an IP
interface. Only one IP address is associated with an IP interface.
Enables the forwarding of directed broadcasts out of the IP interface.98
Configures the minimum time in seconds that an address resolution
protocol (ARP) entry learned on the IP interface will be stored in the ARP
table.
Specifies the bi-directional forwarding detection (BFD) parameters for the
associated IP interface
Enables the collection of traffic flow samples through a router for analysis. 99
Enables local proxy ARP on the interface.99
Configures the interface as a loopback interface.100
Assigns a specific MAC address to an IP interface.100
Enables receiving of SNTP broadcasts on the IP interface.100
Creates an association with an IP interface and a physical port.100
Specifies an existing policy-statement to analyze match and action criteria
that controls the flow of routing information to and from a given protocol,
set of protocols, or a particular neighbor.
Associates a network Quality of Service (QoS) policy with an IP interface.102
Enables remote proxy ARP on the interface.102
Assigns a secondary IP address, IP subnet/broadcast address format to the
interface.
89
90
51
96
98
98
101
103
7750 SR OS Router Configuration GuidePage 45
List of Commands
Table 4: CLI Commands to Configure Basic IP Router Parameters (Continued)
CommandDescription Page
static-arp Configures a static ARP entry associating an IP address with a MAC
address for the core router instance.
tos-marking-state
unnumbered
Configure the system interface
config>router>interface
address
secondary
Configure IPv6 parameters on an interface
config>router>interface>ipv6
address
egress
ingress
filter
icmp6
packet-too-big
param-problem
redirects
time-exceeded
unreachables
neighbor
Specifies the TOS marking state.104
Sets an IP interface as an unnumbered interface and the IP address to be
used for the interface.
Assigns an IP address, IP subnet and broadcast address format to an IP
interface. Only one IP address can be associated with an IP interface.
Assigns a secondary IP address, IP subnet/broadcast address format to the
interface.
Assigns an IPv6 address to the interface. Multiple addresses (up to 8) are
allowed per interface.
Specifies egress network filter policies for IPv6 on the interface. 107
Specifies ingress network filter policies for IPv6 on the interface. 107
Specifies the IPv6 filter policy to be associated with the interface. IPv6
filter policies must be configured in the config>filter>ipv6-filter context
before it can be specified in the router interface context.
Enables the context to configure ICMPv6 parameters for the interface.112
Configures the rate for ICMPv6 packet-too-big messages.112
Configures the rate for ICMPv6 param-problem messages.113
Configures the rate for ICMPv6 redirect messages. 113
Configures the rate for ICMPv6 time-exceeded messages.114
Configures the rate for ICMPv6 unreachable messages. 114
Configures an IPv6-to-MAC address mapping on the interface. 115
104
105
51
96
103
53
112
107
Configure router advertisement parameters
config>router>router-advertisement
interface
Configures router advertisement properties on a specific interface. The
66
116
interface must already exist in the config>router>interface context.
current-hop-limit
Configures the current-hop-limit in the router advertisement messages. It
116
informs the nodes on the subnet about the hop-limit when originating IPv6
packets.
Page 467750 SR OS Router Configuration Guide
IP Router Configuration
Table 4: CLI Commands to Configure Basic IP Router Parameters (Continued)
CommandDescription Page
managedconfiguration
max-advertisementinterval
min-advertisementinterval
mtu
other-statefulconfiguration
prefix
autonomous
on-link
preferred-lifetime
valid-lifetime
reachable-time
retransmit-time
router-lifetime
no shutdown
Sets the managed address configuration flag. This flag indicates that
DHCPv6 is available for address configuration in addition to any address
autoconfigured using stateless address autoconfiguration.
Configures the maximum interval between sending router advertisement
messages.
Configures the minimum interval between sending ICMPv6 neighbor
discovery router advertisement messages.
Configures the MTU for the nodes to use to send packets on the link. 117
Sets the “Other configuration” flag. This flag indicates that DHCPv6lite is
available for autoconfiguration of other (non-address) information such as
DNS-related information or information on other servers in the network.
Configures an IPv6 prefix in the router advertisement messages.118
Specifies whether the prefix can be used for stateless address
autoconfiguration.
Specifies whether the prefix can be used for onlink determination. 119
Configures the length of time that the prefix remains preferred.119
Configures the length of time that the prefix is valid.119
Configures how long this router should be considered reachable by other
nodes on the link after receiving a reachability confirmation.
Configures the retransmission frequency of neighbor solicitation
messages.
Sets the router lifetime. 120
Enables router advertisement on an interface. 120
116
117
117
118
118
119
120
Configure interface ICMP
config>router>interface
icmp
mask-reply
redirects
Configures ICMP parameters on a network IP interface.109
Enables responses to ICMP mask requests on the router interface.109
Enables and configures the rate for ICMP redirect messages issued on the
109
router interface.
ttl-expired
Configures the rate that ICMP TTL expired messages are issued by the
110
interface.
unreachables
Enables and configures the rate for ICMP host and network destination
110
unreachable messages issued on the router interface.
7750 SR OS Router Configuration GuidePage 47
Basic Configuration
Basic Configuration
NOTE: Refer to each specific chapter for specific routing protocol information and command
syntax to configure protocols such as OSPF and BGP.
The most basic router configuration must have the following:
•System name
•System address
The following example displays a router configuration:
The following sections describe basic system tasks.
•Configuring a System Name on page 49
•Configuring Interfaces on page 51
→ Configuring a System Interface on page 51
→ Configuring a Network Interface on page 51
→ Configuring IPv6 Parameters on page 53
→ Router Advertisement on page 66
•Configuring Proxy ARP on page 68
•Creating an IP Address Range on page 71
•Deriving the Router ID on page 72
•Configuring a Confederation on page 73
•Configuring an Autonomous System on page 75
IP Router Configuration
Configuring a System Name
Use the system command to configure a name for the device. The name is used in the prompt
string. Only one system name can be configured. If multiple system names are configured, the last
one configured will overwrite the previous entry.
If special characters are included in the system name string, such as spaces, #, or ?, the entire string
must be enclosed in double quotes.
Use the following CLI syntax to configure the system name:
CLI Syntax: config# system
name system-name
Example
:config# system
config>system# name
ALA-A>config>system# exit all
ALA-A#
ALA-A
7750 SR OS Router Configuration GuidePage 49
Common Configuration Tasks
The following example displays the system name output.
A#ALA-A>config>system# info
#-----------------------------------------# System Configuration
#----------------------------------------- name "ALA-A"
location "Mt.View, CA, NE corner of FERG 1 Building"
coordinates "37.390, -122.05500 degrees lat."
snmp
exit
. . .
The following command sequences create a system and a logical IP interface. The system interface
assigns an IP address to the interface, and then associates the IP interface with a physical port. The
logical interface can associate attributes like an IP address or port.
•The chassis mode must be set to c in the config>system>chassis-mode context. Use the
force keyword to upgrade to c mode with cards provisioned as iom-20g or iom-20g-b.
The following displays the interface configuration showing the IPv6 default configuration when
IPv6 is enabled on the interface.
This section provides several examples of the features that must be configured in order to
implement IPv6 over IPv4 relay services.
•Tunnel Ingress Node on page 55
→ Learning the Tunnel Endpoint IPv4 System Address on page 57
→ Configuring an IPv4 BGP Peer on page 58
→ An Example of a IPv6 Over IPv4 Tunnel Configuration on page 59
•Tunnel Egress Node on page 61
→ Learning the Tunnel Endpoint IPv4 System Address on page 62
→ Configuring an IPv4 BGP Peer on page 63
→ An Example of a IPv6 Over IPv4 Tunnel Configuration on page 64
Tunnel Ingress Node
IP Router Configuration
This configuration shows how the interface through which the IPv6 over IPv4 traffic leaves the
node. This must be configured on a network interface.
An Example of a IPv6 Over IPv4 Tunnel Configuration
The IPv6 address is the next-hop as it is received through BGP. The IPv4 address is the system
address of the tunnel's endpoint static-route ::C8C8:C802/128 indirect 200.200.200.2.
This configuration displays an example to configure a policy to export IPv6 routes into BGP.
CLI Syntax: config>router
bgp
export policy-name [policy-name...(upto 5 max)]
router-id ip-address
group name
family [ipv4] [vpn-ipv4] [ipv6] [mcast-ipv4]
type {internal|external}
neighbor ip-address
local-as as-number [private]
peer-as as-number
IP Router Configuration
Example
:config>router# policy-options
config>router>policy-options# begin
config>router>policy-options# policy-statement ospf3
config>router>policy-options>policy-statement#
config>router>policy-options>policy-statement# description "Plcy
This configuration shows how the interface through which the IPv6 over IPv4 traffic leaves the
node. It must be configured on a network interface. Both the IPv4 and IPv6 system addresses must
be configured.
An Example of a IPv6 Over IPv4 Tunnel Configuration
The IPv6 address is the next-hop as it is received through BGP. The IPv4 address is the system
address of the tunnel's endpoint static-route ::C8C8:C802/128 indirect 200.200.200.2
This configuration displays an example to configure a policy to export IPv6 routes into BGP.
CLI Syntax: config>router
bgp
export policy-name [policy-name...(upto 5 max)]
router-id ip-address
group name
family [ipv4] [vpn-ipv4] [ipv6] [mcast-ipv4]
type {internal|external}
neighbor ip-address
local-as as-number [private]
peer-as as-number
Example
:config>router# policy-options
config>router>policy-options# begin
config>router>policy-options# policy-statement ospf3
config>router>policy-options>policy-statement#
config>router>policy-options>policy-statement# description "Plcy
The following displays the configuration showing the policy output.
A:ALA-49>configure>router# info
---------------------------------------------...
policy-options
policy-statement "ospf3"
description "Plcy Stmnt For 'From ospf3 To bgp'"
entry 10
description "Entry From Protocol ospf3 To bgp"
from
To configure the router to originate router advertisement messages, the router-advertisement
command must be enabled. All other router advertisement configuration parameters are optional.
Router advertisement on all IPv6-enabled interfaces will be enabled.
Use the following CLI syntax to enable router advertisement and configure router advertisement
parameters:
CLI Syntax: config>router# router-advertisement
interface ip-int-name
current-hop-limit number
managed-configuration
max-advertisement-interval seconds
min-advertisement-interval seconds
mtu mtu-bytes
other-stateful-configuration
prefix ipv6-prefix/prefix-length
config>router>router-advert>if# retransmit-time 10000
config>router>router-advert>if# no shutdown
config>router>router-advert>if# exit
7750 SR OS Router Configuration GuidePage 67
Common Configuration Tasks
Configuring Proxy ARP
To configure proxy ARP, you can configure:
•A prefix list in the
•A route policy statement in the
statement
→ In the policy statement
config>router>policy-options>prefix-list context.
config>router>policy-options>policy-
context and apply the specified prefix list.
entry>to context, specify the host source address(es) for
which ARP requests can or cannot be forwarded to non-local networks, depending on
the specified action.
→ In the policy statement
entry>from context, specify network prefixes that ARP
requests will or will not be forwarded to depending on the action if a match is found.
For more information about route policies, refer to Route Policies on page 597.
•Apply the policy statement to the proxy-arp configuration in the
An IP address range can be reserved for exclusive use for services by defining the
config>router>service-prefix command. When the service is configured, the IP address
must be in the range specified as a service prefix. If no service prefix command is configured, then
no limitation exists.
The
no service-prefix ip-prefix/maskcommand removes all address reservations. A
service prefix cannot be removed while one or more services use address(es) in the range to be
removed.
CLI Syntax: config>router
service-prefix ip-prefix/mask [exclusive]
IP Router Configuration
Example
:config>router# service-prefix
7750 SR OS Router Configuration GuidePage 71
Common Configuration Tasks
Deriving the Router ID
The router ID defaults to the address specified in the system interface command. If the system
interface is not configured with an IP address, then the router ID inherits the last four bytes of the
MAC address. The router ID can also be manually configured in the
id
context. On the BGP protocol level, a BGP router ID can be defined in the
config>router>bgp router-id context and is only used within BGP.
Note that if a new router ID is configured, protocols are not automatically restarted with the new
router ID. The next time a protocol is initialized the new router ID is used. An interim period of
time can occur when different protocols use different router IDs. To force the new router ID, issue
the
shutdown and no shutdown commands for each protocol that uses the router ID, or restart
the entire router.
Use the following CLI syntax to configure the router ID:
Configuring a confederation is optional. The AS and confederation topology design should be
carefully planned. Autonomous system (AS), confederation, and BGP connection and peering
parameters must be explicitly created on each participating SR. Identify AS numbers,
confederation numbers, and members participating in the confederation.
Refer to the BGP section for CLI syntax and command descriptions.
Use the following CLI syntax to configure a confederation:
CLI Syntax: config>router
confederation confed-as-num members member-as-num
The following example displays the commands to configure the confederation topology diagram
displayed in Figure 1 on page 25.
Configuring an autonomous system is optional. Use the following CLI syntax to configure an
autonomous system:
CLI Syntax: config>router
autonomous-system as-number
The following example displays the autonomous system configuration command usage:
Example:config>router# autonomous-system 100
config>router#
The following example displays the autonomous system configuration:
A;ALA-A>config>router# info
#-----------------------------------------# IP Configuration
#----------------------------------------- interface "system"
address 10.10.10.103/32
exit
interface "to-104"
address 10.0.0.103/24
port 1/1/1
exit
exit
autonomous-system 100
router-id 10.10.10.103
#-----------------------------------------A:ALA-A>config>router#
IP Router Configuration
7750 SR OS Router Configuration GuidePage 75
Service Management Tasks
Service Management Tasks
This section discusses the following service management tasks:
•Changing the System Name on page 76
•Modifying Interface Parameters on page 77
•Deleting a Logical IP Interface on page 78
Changing the System Name
The system command sets the name of the device and is used in the prompt string. Only one
system name can be configured. If multiple system names are configured, the last one configured
will overwrite the previous entry.
Use the following CLI syntax to change the system name:
CLI Syntax: config# system
name system-name
The following example displays the command usage to change the system name:
Example:A:ALA-A>config>system# name TGIF
A:TGIF>config>system#
The following example displays the system name change:
A:ALA-A>config>system# name TGIF
A:TGIF>config>system# info
#-----------------------------------------# System Configuration
#----------------------------------------- name "TGIF"
location "Mt.View, CA, NE corner of FERG 1 Building"
coordinates "37.390, -122.05500 degrees lat."
synchronize
snmp
exit
security
snmp
community "private" rwa version both
exit
exit
. . .
Starting at the config>router level, navigate down to the router interface context.
To modify an IP address, perform the following steps:
Example:A:ALA-A>config>router# interface “to-sr1”
A:ALA-A>config>router>if# shutdown
A:ALA-A>config>router>if# no address
A:ALA-A>config>router>if# address 10.0.0.25/24
A:ALA-A>config>router>if# no shutdown
To modify a port, perform the following steps:
Example:A:ALA-A>config>router# interface “to-sr1”
A:ALA-A>config>router>if# shutdown
A:ALA-A>config>router>if# no port
A:ALA-A>config>router>if# port 1/1/2
A:ALA-A>config>router>if# no shutdown
IP Router Configuration
The following example displays the interface configuration:
A:ALA-A>config>router# info
#-----------------------------------------# IP Configuration
#----------------------------------------- interface "system"
address 10.0.0.103/32
exit
interface "to-sr1"
address 10.0.0.25/24
port 1/1/2
exit
router-id 10.10.0.3
#-----------------------------------------A:ALA-A>config>router#
7750 SR OS Router Configuration GuidePage 77
Service Management Tasks
Deleting a Logical IP Interface
The no form of the interface command typically removes the entry, but all entity associations
must be shut down and/or deleted before an interface can be deleted.
1. Before an IP interface can be deleted, it must first be administratively disabled with the
shutdown command.
2. After the interface has been shut down, it can then be deleted with the no interface
command.
CLI Syntax: config>router
no interface
ip-int-name
Example
:config>router# interface test-interface
config>router>if# shutdown
config>router>if# exit
config>router# no interface test-interface
config>router#
Page 787750 SR OS Router Configuration Guide
IP Router Command Reference
Command Hierarchies
Configuration Commands
• Router Commands
• Router Interface Commands
• Router Interface IPv6 Commands
• Router Advertisement Commands
• Show Commands
• Clear Commands
• Debug Commands
Router Commands
config
— router[router-name]
— aggregateip-prefix/mask [summary-only][as-set][aggregator as-number:ip-address]
—no aggregateip-prefix/mask
— autonomous-systemas-number
—no autonomous-system
— confederationconfed-as-num members as-number [as-number...(up to 15 max)]
—no confederation[confed-as-num members as-number....(up to 15 max)]
DescriptionThe shutdown command administratively disables the entity. When disabled, an entity does not
change, reset, or remove any configuration settings or statistics. Many entities must be explicitly
enabled using the no shutdown command.
The shutdown command administratively disables an entity. The operational state of the entity is
disabled as well as the operational state of any entities contained within. Many objects must be shut
down before they may be deleted.
Unlike other commands and parameters where the default state is not indicated in the config urat ion
file, shutdown and no shutdown are always indicated in system generated configuration files.
The no form of the command puts an entity into the administratively enabled state.
Defaultno shutdown
description
Syntaxdescription description-string
no description
Contextconfig>router>if
config>router>if>dhcp
config>router>if>vrrp
DescriptionThis command creates a text description stored in the configuration file for a configuration context.
The no form of the command removes the description string from the context.
DefaultNo description is associated with the configuration context.
Parametersdescription-string — The description character string. Allowed values are any string up to 80
characters long composed of printable, 7-bit ASCII characters. If the string contains special
characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
7750 SR OS Router Configuration GuidePage 85
Configuration Commands
Router Global Commands
router
Syntaxrouter router-name
Contextconfig
DescriptionThis command enables the context to configure router parameters, interfaces, route policies, and
DescriptionThis command creates an aggregate route.
Use this command to group a number of routes with common prefixes into a single entry in the
routing table. This reduces the number of routes that need to be advertised by this router and reduces
the number of routes in the routing tables of downstream routers.
Both the original components and the aggregated route (source protocol aggregate) are offered to the
Routing Table Manager (RTM). Subsequent policies can be configured to assign protocol-specific
characteristics (BGP, IS-IS or OSPF) such as the route type, or OSPF tag, to aggregate routes.
Multiple entries with the same prefix but a different mask can be configured; for example, routes are
aggregated to the longest mask. If one aggregate is configured as 10.0./16 and another as 10.0.0./24,
then route 10.0.128/17 would be aggregated into 10.0/16, and route 10.0.0.128/25 would be
aggregated into 10.0.0/24. If multiple entries are made with the same prefix and the same mask, the
previous entry is overwritten.
The no form of the command removes the aggregate.
DefaultN o aggregate routes are defined.
Parametersip-prefix — The destination address of the aggregate route in dotted decimal notation.
Valuesmask
The mask associated with the network address expressed as a mask length.
Values0 — 32
summary-only — This optional parameter suppresses advertisement of more specific component
routes for the aggregate.
To remove t he summary-only option, enter the same aggregate command without the
summary-only parameter.
as-set — This optional parameter is only applicable to BGP and creates an aggregate where the path
advertised for this route will be an AS_SET consisting of all elements contained in all paths that
are being summarized.
Use this feature carefully. Aggregating several paths can result in the constant withdrawal and
insertion of AS-PATHs as associated component routes of the aggregate that are experiencing
changes.
aggregator as-number:ip-address — This optional parameter specifies the BGP aggregator path
attribute to the aggregate route. When configuring the aggregator, a two-octet AS number used to
form the aggregate route must be entered, followed by the IP address of the BGP system that
created the aggregate route.
autonomous-system
Syntaxautonomous-system as-number
no autonomous-system
Contextconfig>router
DescriptionThis command configures the autonomous system (AS) number for the router. A router can only
belong to one AS. An AS number is a globally unique number with an AS. This number is used to
exchange exterior routing information with neighboring ASs and as an identifier of the AS itself.
If the AS number is changed on a router with an active BGP instance, the new AS number is not used
until the BGP instance is restarted either by administratively disabling/enabling (shutdown/no shutdown) the BGP instance or rebooting the system with the new configuration.
DefaultNo autonomous system number is defined.
Parametersas-number — The autonomous system number expressed as a decimal integer.
Values1 - 65535
confederation
7750 SR OS Router Configuration GuidePage 87
Configuration Commands
Syntaxconfederation confed-as-num members as-number[as-number...up to 15 max]
no confederation [confed-as-num members as-number...up to 15 max]
Contextconfig>router
DescriptionThis command creates confederation autonomous systems within an AS.
This technique is used to reduce the number of IBGP sessions required within an AS. Route
reflection is another technique that is commonly deployed to reduce the number of IBGP sessions.
The no form of the command deletes the specified member AS from the confederation.
When no members are specified in the no statement, the entire list is removed and confederation is
disabled.
When the last member of the list is removed, confederation is disabled.
Defaultno confederation - no confederations are defined.
Parametersco nfed-as-num — The confederation AS number expressed as a decimal integer.
Values1 - 65535
members member-as-num — The AS number(s) of members that are part of the confederation,
expressed as a decimal integer. Up to 15 members per confed-as-num can be configured.Values1 - 65535
ecmp
Syntaxecmp max-ecmp-routes
no ecmp
Contextconfig>router
DescriptionThis command enables ECMP and configures the number of routes for path sharing; for example, the
value 2 means two equal cost routes will be used for cost sharing.
ECMP can only be used for routes learned with the same preference and same protocol. See the
discussion on preferences in the static-route command.
When more ECMP routes are available at the best preference than configured in max-ecmp-routes,
then the lowest next-hop IP address algorithm is used to select the number of routes configured in
max-ecmp-routes.
The no form of the command disables ECMP path sharing. If ECMP is disabled and multiple routes
are available at the best preference and equal cost, then the route with the lowest next-hop IP address
is used.
Defaultno ecmp
Parametersmax-ecmp-routes — The maximum number of equal cost routes allowed on this routing table
instance, expressed as a decimal integer. Setting ECMP max-ecmp-routes to 1 yields the same
result as entering no ecmp.
Values0 — 16
Page 887750 SR OS Router Configuration Guide
IP Router Configuration
ignore-icmp-redirect
Syntax[no] ignore-icmp-redirect
Contextconfig>router
DescriptionThis command drops or accepts ICMP redirects received on the management interface.
DescriptionThis command specifies the maximum number of multicast routes that can be held within a VPN
routing/forwarding (VRF) context. When this limit is reached, a log and SNMP trap are sent. If the
log-only parameter is not specified and the maximum-routes value is set below the existing number
of routes in a VRF, then no new joins will be processed.
The no form of the command disables the limit of multicast routes within a VRF context. Issue the no
form of the command only when the VPRN instance is shutdown.
Defaultno mc-maximum-routes
Parametersnumber — Specifies the maximum number of routes to be held in a VRF context.
Values1 — 2147483647
log-only — Specifies that if the maximum limit is reached, only log the event. log-only does not
disable the learning of new routes.
threshold threshold — The percentage at which a warning log message and SNMP trap should be
sent.
Values0 — 100
Default10
router-id
Syntaxrouter-id ip-address
[no] router-id
Contextconfig>router
DescriptionThis command configures the router ID for the router instance.
The router ID is used by both OSPF and BGP routing protocols in this instance of the routing table
manager. IS-IS uses the router ID value as its system ID.
When configuring a new router ID, protocols are not automatically restarted with the new router ID.
The next time a protocol is initialized, the new router ID is used. This can result in an interim period
of time when different protocols use different router IDs.
7750 SR OS Router Configuration GuidePage 89
Configuration Commands
To force the new router ID to be used, issue the shutdown and no shutdown commands for each
protocol that uses the router ID, or restart the entire router.
The no form of the command to reverts to the default value.
DefaultThe system uses the system interface address (which is also the loopback address).
If a system interface address is not configured, use the last 32 bits of the chassis MAC address.
Parametersrouter-id — The 32 bit router ID expressed in dotted decimal notation or as a decimal value.
no service-prefix ip-prefix/mask | ip-prefix netmask
Contextconfig>router
DescriptionThis command creates an IP address range reserved for IES or VPLS services.
The purpose of reserving IP addresses using service-prefix is to provide a mechanism to reserve one
or more address ranges for services.
When services are defined, the address must be in the range specified as a service prefix. If a service
prefix is defined, then IP addresses assigned for services must be within one of the ranges defined in
the service-prefix command. If the service-prefix command is not configured, then no limitations
exist.
Addresses in the range of a service prefix can be allocated to a network port unless the exclusive
parameter is used. Then, the address range is exclusively reserved for services.
When a range that is a superset of a previously defined service prefix is defined, the subset is
replaced with the superset definition; for example, if a service prefix exists for 10.10.10.0/24, and a
service prefix is configured as 10.10.0.0/16, then 10.10.10.0/24 is replaced by the new 10.10.0.0/16
configuration.
When a range that is a subset of a previously defined service prefix is defined, the subset replaces the
existing superset, providing addresses used by services are not affected; for example, if a service
prefix exists for 10.10.0.0/16, and a service prefix is configured as 10.10.10.0/24, then the 10.10.0.0/
16 entry is removed as long as no services are configured that use 10.10.x.x addresses other than
10.10.10.x.
The no form of the command removes all address reservations. A service prefix cannot be removed
while one or more service uses an address or addresses in the range.
Defaultno service-prefix - no IP addresses are reserved for services.
Parametersip-prefix/mask — The IP address prefix to include in the service prefix allocation in dotted decimal
notation.
Valuesipv4-prefix:a.b.c.d (host bits must be 0)
By default, when a change is made to a policy in the config router policy options context and then
committed, the change is effective immediately. There may be circumstances when the changes
should or must be delayed; for example, if a policy change is implemented that would affect every
BGP peer on a 7750 SR router, the consequences could be dramatic. It would be more effective to
control changes on a peer-by-peer basis.
IP Router Configuration
d: [0 — 255]D
If the triggered-policy command is enabled, and a given peer is established, and you want the peer to
remain up, in order for a change to a route policy to take effect, a clear command with the soft or soft inbound option must be used; for example, clear router bgp neighbor x.x.x.x soft. This keeps the
peer up, and the change made to a route policy is applied only to that peer or group of peers.
DescriptionThis command creates static route entries for both the network and access routes.
When configuring a static route, either next-hop, indirect or black-hole must be configured.
The no form of the command deletes the static route entry. If a static route needs to be removed when
multiple static routes exist to the same destination, then as many parameters to uniquely identify the
static route must be entered.
DefaultNo static routes are defined.
]
Parametersip-prefix/prefix-length — The destination address of the static route.
ip-address — The IP address of the IP interface. The ip-addr portion of the address command
netmask — The subnet mask in dotted decimal notation.
preference preference — The preference of this static route versus the routes from different sources
x:x:x:x:x:x:d.d.d.d
x [0 — FFFF]H
d [0 — 255]D
ipv6-prefix-length0 — 128
specifies the IP host address that will be used by the IP interface within the subnet. This address
must be unique within the subnet and specified in dotted decimal notation.
Valuesipv4-addressa.b.c.d (host bits must be 0)
ipv6-addressx:x:x:x:x:x:x:x[-interface]
x:x:x:x:x:x:d.d.d.d[-interface]
x: [0..FFFF]H
d: [0..255]D
interface: 32 characters maximum, mandatory for link local
addresses
Values0.0.0.0 — 255.255.255.255 (network bits all 1 and host bit s all 0)
such as BGP or OSPF, expressed as a decimal integer. When modifing the preference of an
existing static route, the metric will not be changed unless specified.
Different protocols should not be configured with the same preference. If this occurs, the
tiebreaker is according to the default preference table defined in Table 5 on page 93
If multiple routes are learned with an identical preference using the same protocol, the lowestcost route is used. If multiple routes are learned with an identical preference using the same
protocol, and the costs (metrics) are equal, then the route to use is determined by the
configuration of the ecmp command.
metric metric — The cost metric for the static route, expressed as a decimal integer. This value is
used when importing the static route into other protocols such as OSPF. When the metric is
configured as 0 then the metric configured in OSPF, default-import-metric, applies. When
modifying the metric of an existing static route, the preference will not change unless specified.
This value is also used to determine which static route to install in the forwarding table:
•If there are multiple static routes with the same preference but unequal metrics then the
lower cost (metric) route will be installed.
•If there are multiple static routes with equal preferences and metrics then ECMP rules
apply.
•If there are multiple routes with unequal preferences then the lower preference route
will be installed.
Default1
Values0 — 65535
next-hop [ip-address | ip-int-name] — Specifies the directly connected next hop IP address used to
reach the destination. If the next hop is over an unnumbered interface, the ip-int-name of the
unnumbered interface (on this node) can be configured.
.
Page 927750 SR OS Router Configuration Guide
IP Router Configuration
The next-hop keyword and the indirect or black-hole keywords are mutually exclusive. If an
identical command is entered (with the exception of either the indirect or black-hole
parameters), then this static route will be replaced with the newly entered command, and unless
specified, the respective defaults for preference and metric will be applied.
The ip-address configured here can be either on the network side or the access side on this node.
This address must be associated with a network directly connected to a network configured on
this node.
x:x:x:x:x:x:d.d.d.d[-interface]
x: [0..FFFF]H
d: [0..255]D
interface: 32 characters maximum, mandatory for link local
addresses
indirect ip-address — Specifies that the route is indirect and specifies the next hop IP address used to
reach the destination.
The configured ip-addr is not directly connected to a network configured on this node. The
destination can be reachable via multiple paths. The static route remains valid as long as the
address configured as the indirect address remains a valid entry in the routing table. Indirect
static routes cannot use an ip-prefix/mask to another indirect static route.
The indirect keyword and the next-hop or black-hole keywords are mutually exclusive. If an
identical command is entered (with the exception of either the next-hop or black-hole
parameters), then this static route will be replaced with the newly entered command and unless
specified the respective defaults for preference and metric will be applied.
The ip-addr configured can be either on the network or the access side and is normally at least
one hop away from this node.
black-hole — Specifies the route is a black hole route. If the destination address on a packet matches
this static route, it will be silently discarded.
The black-hole keyword and the next-hop or indirect keywords are mutually exclusive. If an
identical command is entered (with the exception of either the next-hop or indirect parameters),
then this static route will be replaced with the newly entered command, and unless specified, the
respective defaults for preference and metric will be applied.
LDP disallow-igp — This value is valid only for indirect static routes. If set and if none of the
defined tunneling mechanisms (RSVP-TE, LDP or IP) qualify as a next-hop, the normal IGP
next-hop to the indirect next-hop address will not be used. If not set then the IGP next-hop to the
indirect next-hop address can be used as the next-hop of the last resort.
tag — Adds a 32-bit integer tag to the static route. The tag is used in route policies to control
enable — Static routes can be administratively enabled or disabled. Use the enable parameter to re-
enable a disabled static route. In order to enable a static route, it must be uniquely identified by
the IP address, mask, and any other parameter that is required to identify the exact static route.
The administrative state is maintained in the configuration file.
Defaultenable
disable — Static routes can be administratively enabled or disabled. Use the disable parameter to
disable a static route while maintaining the static route in the configuration. In order to enabl e a
static route, it must be uniquely identified by the IP address, mask, and any other parameter that
is required to identify the exact static route.
The administrative state is maintained in the configuration file.
Defaultenable
bfd-enable — Associates the state of the static route to a BFD session between the local system and
the configured nexthop. This keyword cannot be configured if the nexthop is indirect or
blackhole keywords are specified.
mcast-ipv4 — Specifies peers that are IPv4 multicast capable.
Page 947750 SR OS Router Configuration Guide
IP Router Configuration
Router Interface Commands
interface
Syntax[no] interface ip-int-name
Contextconfig>router
DescriptionThis command creates a logical IP routing interface. Once created, attributes like IP address, port, or
system can be associated with the IP interface.
Interface names are case-sensitive and must be unique within the group of IP interfaces defined for
config router interface and config service ies interface. Interface names must not be in the dotted
decimal notation of an IP address.; for example, the name “1.1.1.1” is not allowed, but “int-1.1.1.1” is
allowed. Show commands for router interfaces use either the interface names or the IP addresses.
Ambiguity can exist if an IP address is used as an IP address and an interface name. Duplicate
interface names can exist in different router instances, although this is not recommended because it is
confusing.
When a new name is entered, a new logical router interface is created. When an existing interface
name is entered, the user enters the router interface context for editing and configuration.
Although not a keyword, the ip-int-name “system” is associated with the network entity (such as a
specific 7750 SR), not a specific interface. The system interface is also referred to as the loopback
address.
The no form of the command removes the IP interface and all the associated configurations. The
interface must be administratively shut down before issuing the no interface command.
DefaultNo interfaces or names are defined within the system.
Parametersip-int-name — The name of the IP interface. Interface names must be unique within the group of
defined IP interfaces for config router interface and config service ies interface commands. An
interface name cannot be in the form of an IP address. If the string contains special characters (#,
$, spaces, etc.), the entire string must be enclosed within double quotes.
Values1 to 32 alphanumeric characters.
If the ip-int-name already exists, the context is changed to maintain that IP interface. If ip-int-
name already exists within another service ID or is an IP interface defined within the config
router commands, an error will occur and the context will not be changed to that IP interface. If
ip-int-name does not exist, the interface is created and the context is changed to that interface for
further command processing.
DescriptionThis command assigns an IP address, IP subnet, and broadcast address format to an IP interface. Only
one IP address can be associated with an IP interface.
An IP address must be assigned to each IP interface. An IP address and a mask combine to create a
local IP prefix. The defined IP prefix must be unique within the context of the routing instance. It
cannot overlap with other existing IP prefixes defined as local subnets on other IP interfaces in the
same routing context within the router.
The local subnet that the address command defines must not be part of the services address space
within the routing context by use of the config router service-prefix command. Once a portion of
the address space is allocated as a service prefix, that portion is not available to IP interfaces for
network core connectivity.
The IP address for the interface can be entered in either CIDR (Classless Inter-Domain Routing) or
traditional dotted decimal notation. Show commands display CIDR notation and are stored in
configuration files.
By default, no IP address or subnet association exists on an IP interface until it is explicitly created.
The no form of the command removes the IP address assignment from the IP interface. Interface-
specific configurations for IGP protocols like OSPF are also removed. The no form of this command
can only be performed when the IP interface is administratively shut down. Shutting down the IP
interface will operationally stop any protocol interfaces or MPLS LSPs that explicitly reference that
IP address. When a new IP address is defined, the IP interface can be administratively enabled (no shutdown), which reinitializes the protocol interfaces and MPLS LSPs associated with that IP
interface.
To change an IP address, perform the following steps:
1. Shut down the router interface.
2. Assign the new IP address.
3. Reconfigure the interface-specific parameters for IGP protocols such as OSPF.
4. Enable the router interface.
If a new address is entered while another address is still active, the new address will be rejected.
DefaultNo IP address is assigned to the IP interface.
Parametersip-address — The IP address of the IP interface. The ip-addr portion of the address command
specifies the IP host address that will be used by the IP interface within the subnet. This address
must be unique within the subnet and specified in dotted decimal notation.
Values1.0.0.0 – 223.255.255.255
/ — The forward slash is a parameter delimiter that separates the ip-addr portion of the IP address
from the mask that defines the scope of the local subnet. No spaces are allowed between the ip-
Page 967750 SR OS Router Configuration Guide
IP Router Configuration
addr, the “/” and the mask-length parameter. If a forward slash does not immediately follow the
ip-addr, a dotted decimal mask must follow the prefix.
mask-length — The subnet mask length when the IP prefix is specified in CIDR notation. When the
IP prefix is specified in CIDR notation, a forward slash (/) separates the ip-addr from the masklength parameter. The mask length parameter indicates the number of bits used for the network
portion of the IP address; the remainder of the IP address is used to determine the host portion of
the IP address. Allowed values are integers in the range 1— 32. Note that a mask length of 32 is
reserved for system IP addresses.
Values1 — 32
mask — The subnet mask in dotted decimal notation. When the IP prefix is not specified in CIDR
notation, a space separates the ip-addr from a traditional dotted decimal mask. The mask
parameter indicates the complete mask that will be used in a logical ‘AND’ function to derive the
local subnet of the IP address. Note that a mask of 255.255.255.255 is reserved for system IP
addresses.
Values128.0.0.0 – 255.255.255.255
netmask — The subnet mask in dotted decimal notation.
Values0.0.0.0 — 255.255.255.255 (network bits all 1 and host bits all 0)
broadcast {all-ones | host-ones} — The optional broadcast parameter overrides the default
broadcast address used by the IP interface when sourcing IP broadcasts on the IP interface. If no
broadcast format is specified for the IP address, the default value is host-ones, which indictates a
subnet broadcast address. Use this parameter to change the broadcast address to all-ones or
revert back to a broadcast address of host-ones.
The all-ones keyword following the broadcast parameter specifies that the broadcast address
used by the IP interface for this IP address will be 255.255.255.255, also known as the local
broadcast.
The host-ones keyword following the broadcast parameter specifies that the broadcast address
used by the IP interface for this IP address will be the subnet broadcast address. This is an IP
address that corresponds to the local subnet described by the ip-addr and the mask-leng th or
mask with all the host bits set to binary 1. This is the default broadcast address used by an IP
interface.
The broadcast parameter within the address command does not have a negate feature, which is
usually used to revert a parameter to the default value. To change the
ones after being changed to all-ones, the address command must be executed with the
broadcast parameter defined.
The broadcast format on an IP interface can be specified when the IP address is assigned or
changed.
This parameter does not affect the type of broadcasts that can be received by the IP interface. A
host sending either the local broadcast (all-ones) or the valid subnet broadcast address (host-
ones) will be received by the IP interface.
broadcast type to host-
Defaulthost-ones
Valuesall-ones, host-ones
7750 SR OS Router Configuration GuidePage 97
Configuration Commands
allow-directed-broadcasts
Syntax[no] allow-directed-broadcasts
Contextconfig>router>interface ip-int-name
DescriptionThis command enables the forwarding of directed broadcasts out of the IP interface.
A directed broadcast is a packet received on a local router interface destined for the subnet broadcast
address of another IP interface. The allow-directed-broadcasts command on an IP interface enables
or disables the transmission of packets destined to the subnet broadcast address of the egress IP
interface.
When enabled, a frame destined to the local subnet on this IP interface is sent as a subnet broadcast
out this interface. NOTE: Allowing directed broadcasts is a well-known mechanism used for denialof-service attacks.
By default, directed broadcasts are not allowed and are discarded at this egress IP interface.
The no form of the command disables directed broadcasts forwarding out of the IP interface.
Defaultno allow-directed-broadcasts - directed broadcasts are dropped.
arp-timeout
Syntaxarp-timeout seconds
no arp-timeout
Contextconfig>router>interface ip-int-name
DescriptionThis command configures the minimum time, in seconds, an ARP entry learned on the IP interface is
stored in the ARP table. ARP entries are automatically refreshed when an ARP request or gratuitous
ARP is seen from an IP host. Otherwise, the ARP entry is aged from the ARP table. If the arp-timeout value is set to 0 seconds, ARP aging is disabled.
The no form of the command reverts to the default value.
Default14400 seconds (4 hours)
Parametersseconds — The minimum num ber of seconds a learned ARP entry is stored in the ARP table,
expressed as a decimal integer. A value of 0 specifies that the timer is inoperative and learned
ARP entries will not be aged.
DescriptionThis command specifies the bi-directional forwarding detection (BFD) parameters for the associated
IP interface. If no parameters are defined the default value are used.
Page 987750 SR OS Router Configuration Guide
IP Router Configuration
The multiplier specifies the number of consecutive BFD messages that must be missed from the peer
before the BFD session state is changed to down and the upper level protocols (OSPF, IS-IS or PIM)
is notified of the fault.
The no form of the command removes BFD from the router interface regardless of the IGP.
Defaultno bfd
Parameterstransmit-interval — Sets the transmit interval, in milliseconds, for the BFD session.
Values100 — 100000
Default100
receive receive-interval — Sets the receive interval, in milliseconds, for the BFD session.
Values100 — 100000
Default100
multiplier multiplier — Set the multiplier for the BFD session.
Values3 — 20
Default3
cflowd
Syntaxcflowd {acl |interface}
no cflowd
Contextconfig>router>interface ip-int-name
DescriptionThis command enables cflowd to collect traffic flow samples through a router for analysis.
cdflowd is used for network planning and traffic engineering, capacity planning, security, and
application, as well as user profiling, performance monitoring, and SLA measurement. When cflowd
is enabled at the interface level, all packets forwarded by the interface are subjected to analysis
according to the cflowd configuration.
Defaultno cflowd
ParametersACL — cflowd policy associated with a filter.
interface — cflowd policy associated with an IP interface.
local-proxy-arp
Syntax[no] local-proxy-arp
Contextconfig>router>interface ip-int-name
DescriptionThis command enables local proxy ARP on the interface.
Defaultno local-proxy-arp
7750 SR OS Router Configuration GuidePage 99
Configuration Commands
loopback
Syntax[no] loopback
Contextconfig>router>interface ip-int-name
DescriptionThis command configures the interface as a loopback interface.
DefaultNot enabled
mac
Syntaxmac ieee-mac-addr
no mac
Contextconfig>router>interface ip-int-name
DescriptionThis command assigns a specific MAC address to an IP interface.
Only one MAC address can be assigned to an IP interface. When multiple mac commands are
entered, the last command overwrites the previous command.
A default MAC address for the interface is assigned by the system
The no form of the command returns the MAC address of the IP interface to the default value.
DefaultIP interface has a system-assigned MAC address.
Parametersieee-mac-addr — Specifies the 48-bit MAC address for the IP interface in the form aa:bb:cc:dd:ee:ff
or aa-bb-cc-dd-ee-ff, where aa, bb, cc, dd, ee and ff are hexadecimal numbers. Allowed values
are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.
ntp-broadcast
Syntax[no] ntp-broadcast
Contextconfig>router>interface ip-int-name
DescriptionThis command enables SNTP broadcasts received on the IP interface.
This parameter is only valid when the SNTP broadcast-client global parameter is configured.
The no form of the command disables SNTP broadcast received on the IP interface.
Defaultno ntp-broadcast - receipt of SNTP broadcasts is disabled.
port
Page 1007750 SR OS Router Configuration Guide
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.