OSPF REFERENCE GUIDE. VYATTA, INC. Vyatta System. Title



Similar documents
Services. Vyatta System. REFERENCE GUIDE DHCP DHCPv6 DNS Web Caching LLDP VYATTA, INC.

NAT REFERENCE GUIDE. VYATTA, INC. Vyatta System NAT. Title

Firewall. Vyatta System. REFERENCE GUIDE IPv4 Firewall IPv6 Firewall Zone Based Firewall VYATTA, INC.

Firewall REFERENCE GUIDE. VYATTA, INC. Vyatta System. IPv4 Firewall IPv6 Firewall Zone-Based Firewall. Title

Firewall. Vyatta System. REFERENCE GUIDE IPv4 Firewall IPv6 Firewall Zone Based Firewall VYATTA, INC.

Remote Management. Vyatta System. REFERENCE GUIDE SSH Telnet Web GUI Access SNMP VYATTA, INC.

Basic System. Vyatta System. REFERENCE GUIDE Using the CLI Working with Configuration System Management User Management Logging VYATTA, INC.

High Availability. Vyatta System

Security REFERENCE GUIDE. VYATTA, INC. Vyatta System. Intrusion Protection System Traffic Filtering Web Filtering. Title

High Availability. Vyatta System

IP Services REFERENCE GUIDE. VYATTA, INC. Vyatta System SSH. DHCP DNS Web Caching. Title

Firewall REFERENCE GUIDE. VYATTA, INC. Vyatta System. IPv4 Firewall IPv6 Firewall Zone-Based Firewall. Title

MPLS. Cisco MPLS. Cisco Router Challenge 227. MPLS Introduction. The most up-to-date version of this test is at:

Configuring RIP. Overview. Routing Update Process CHAPTER

Using the Border Gateway Protocol for Interdomain Routing

Cisco Configuring Basic MPLS Using OSPF

Remote Access API 2.0

Interconnecting Cisco Networking Devices Part 2

MINIMAL SDWN CORE GETTING STARTED GUIDE. User Experience Architecture Overview Installation Minimal Configuration Verification

IP Routing Configuring RIP, OSPF, BGP, and PBR

EIGRP Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-141

How to Configure Cisco 2600 Routers

Hyper V. Vyatta System INSTALLING AND UPGRADING VYATTA, INC.

Introduction about cisco company and its products (network devices) Tell about cisco offered courses and its salary benefits (ccna ccnp ccie )

How To Configure Some Basic OSPF Routing Scenarios. Introduction. Technical Guide. List of terms

Networking. Palo Alto Networks. PAN-OS Administrator s Guide Version 6.0. Copyright Palo Alto Networks

"Charting the Course...

Link Layer Discovery Protocol

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Configure ISDN Backup and VPN Connection

How To Set Up Bgg On A Network With A Network On A Pb Or Pb On A Pc Or Ipa On A Bg On Pc Or Pv On A Ipa (Netb) On A Router On A 2

How To Configure A Vyatta As A Ds Internet Connection Router/Gateway With A Web Server On A Dspv.Net (Dspv) On A Network With A D

Broadband ADSL2+ Modem DM111PSPv2

Layer 3 Routing User s Manual

APNIC elearning: BGP Basics. Contact: erou03_v1.0

How To Understand Bg

Transitioning to BGP. ISP Workshops. Last updated 24 April 2013

Chapter 3 Connecting the Router to the Internet

DSL-2600U. User Manual V 1.0

: Interconnecting Cisco Networking Devices Part 2 v1.1

Chapter 2 Lab 2-2, EIGRP Load Balancing

Configuring and Testing Border Gateway Protocol (BGP) on Basis of Cisco Hardware and Linux Gentoo with Quagga Package (Zebra)

CCIE R&S Lab Workbook Volume I Version 5.0

PPTP Server Access Through The

ADSL MODEM. User Manual V1.0

Chapter 1 Connecting Your Router to the Internet

How To Configure A Cisco Router With A Cio Router

Services. REFERENCE GUIDE DHCP DHCPv6 DNS Flow Monitoring LLDP NHRP sflow TWAMP. VYATTA A BROCADE COMPANY Vyatta System

Course Contents CCNP (CISco certified network professional)

Advanced BGP Policy. Advanced Topics

Implementing Secured Converged Wide Area Networks (ISCW) Version 1.0

Configuring T1 and E1 WAN Interfaces

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Table of Contents. Cisco How Does Load Balancing Work?

Configuring PA Firewalls for a Layer 3 Deployment

Fireware How To Dynamic Routing

Table of Contents. Cisco Configuring a Basic MPLS VPN

Administrative Distance

MPLS VPN Route Target Rewrite

Example: Advertised Distance (AD) Example: Feasible Distance (FD) Example: Successor and Feasible Successor Example: Successor and Feasible Successor

Computer Networks Administration Help Manual Sana Saadaoui Jemai Oliver Wellnitz

How do I configure multi-wan in Routing Table mode?

Quick Note 20. Configuring a GRE tunnel over an IPSec tunnel and using BGP to propagate routing information. (GRE over IPSec with BGP)

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

IP Routing Configuring Static Routes

Configuring a Gateway of Last Resort Using IP Commands

Internet Access Setup

Module 12 Multihoming to the Same ISP

Configuring a Load-Balancing Scheme

How To Learn Cisco Cisco Ios And Cisco Vlan

Interconnecting Cisco Network Devices 1 Course, Class Outline

Figure 1 - T1/E1 Internet Access

P-660R-TxC Series. ADSL2+ Access Router. Quick Start Guide

NetVanta Series (with Octal T1/E1 Wide Module)

Prestige 623R-T. Quick Start Guide. ADSL Dual-link Router. Version 3.40

- Route Filtering and Route-Maps -

BGP-4 Case Studies. Nenad Krajnovic.

DSL-G604T Install Guides

Configuring Dial Backup and Remote Management

CCNP2 - Implementing Secure Converged Wide-area Networks v5.0

netkit lab bgp: prefix-filtering Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

Cisco Router Configuration Tutorial

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

Configuring IP Load Sharing in AOS Quick Configuration Guide

MPLS VPN over mgre. Finding Feature Information. Prerequisites for MPLS VPN over mgre

ADSL Modem. HM210dp/di. User Guide

netkit lab bgp: multi-homed Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

Using OSPF in an MPLS VPN Environment

BGP4 Case Studies/Tutorial

CCT vs. CCENT Skill Set Comparison

Network Interface Failover using FONA

Cisco 12 CCNA Certification

BGP Support for Next-Hop Address Tracking

IMPLEMENTING CISCO IP ROUTING V2.0 (ROUTE)

Application Note. Failover through BGP route health injection

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Routing Protocols (RIP, OSPF, BGP)

Transcription:

Title VYATTA, INC. Vyatta System OSPF REFERENCE GUIDE Vyatta Suite 200 1301 Shoreway Road Belmont, CA 94002 vyatta.com 650 413 7200 1 888 VYATTA 1 (US and Canada)

Copyright COPYRIGHT Copyright 2005 2010 Vyatta, Inc. All rights reserved. Vyatta reserves the right to make changes to software, hardware, and documentation without notice. For the most recent version of documentation, visit the Vyatta web site at vyatta.com. PROPRIETARY NOTICES Vyatta is a registered trademark of Vyatta, Inc. VMware, VMware ESXi, and VMware Server are trademarks of VMware, Inc. XenServer and XenCenter are trademarks of Citrix Systems, Inc. All other trademarks are the property of their respective owners. ISSUE DATE: February 2010 DOCUMENT REVISION. R6.0 v01 RELEASED WITH: R6.0 Beta PART NO. A0-0217-10-0005

iii Table of Contents Quick Reference to Commands........................................................ v Quick List of Examples.............................................................. vii Preface............................................................................ ix Intended Audience............................................................................. x Organization of This Guide....................................................................... x Document Conventions.......................................................................... xi Advisory Paragraphs......................................................................... xi Typographic Conventions..................................................................... xi Vyatta Publications............................................................................ xii Chapter 1 RIP Configuration......................................................... 1 RIP Overview.................................................................................. 2 Supported Standards........................................................................... 2 Configuring RIP................................................................................ 2 Basic RIP Configuration...................................................................... 3 Verifying the RIP Configuration................................................................ 4 R3: show ip route...................................................................... 4 R3: show ip rip........................................................................ 5 R3: ping 10.0.20.1...................................................................... 5 Chapter 2 Router-Level Configuration................................................. 7 Router-Level Configuration Commands.............................................................. 8 debug rip events........................................................................... 9 debug rip packet.......................................................................... 10 debug rip zebra........................................................................... 11 protocols rip default-distance <distance>........................................................ 12 protocols rip default-information originate....................................................... 13

iv protocols rip default-metric <metric>........................................................... 14 protocols rip interface <ethx>................................................................ 15 protocols rip neighbor <ipv4>................................................................ 16 protocols rip network <ipv4net>.............................................................. 17 protocols rip network-distance <ipv4net>....................................................... 18 protocols rip passive-interface <ethx>.......................................................... 20 protocols rip route <ipv4net>................................................................ 21 protocols rip timers garbage-collection <seconds>................................................. 22 protocols rip timers timeout <seconds>......................................................... 23 protocols rip timers update <seconds>.......................................................... 24 show debugging rip........................................................................ 25 show ip route rip.......................................................................... 26 show ip rip.............................................................................. 27 Chapter 3 Route Redistribution...................................................... 28 Route Redistribution Commands.................................................................. 29 protocols rip redistribute bgp................................................................. 30 protocols rip redistribute connected............................................................ 32 protocols rip redistribute kernel............................................................... 34 protocols rip redistribute ospf................................................................ 36 protocols rip redistribute static................................................................ 37 Chapter 4 Route Filtering........................................................... 38 RIP Route Filtering Commands................................................................... 39 protocols rip distribute-list access-list........................................................... 40 protocols rip distribute-list interface <ethx> access-list.............................................. 41 protocols rip distribute-list interface <ethx> prefix-list.............................................. 43 protocols rip distribute-list prefix-list............................................................ 45 Chapter 5 RIP Interface Commands................................................... 46 RIP Interface Commands........................................................................ 47 interfaces <interface> ip rip.................................................................. 48 interfaces <interface> ip rip authentication...................................................... 52 interfaces <interface> ip rip split-horizon........................................................ 56 Glossary of Acronyms............................................................... 61

v Quick Reference to Commands Use this section to help you quickly locate a command. debug rip events............................................................................... 9 debug rip packet.............................................................................. 10 debug rip zebra.............................................................................. 11 interfaces <interface> ip rip..................................................................... 48 interfaces <interface> ip rip authentication.......................................................... 52 interfaces <interface> ip rip split-horizon........................................................... 56 protocols rip default-distance <distance>........................................................... 12 protocols rip default-information originate.......................................................... 13 protocols rip default-metric <metric>.............................................................. 14 protocols rip distribute-list access-list............................................................... 40 protocols rip distribute-list interface <ethx> access-list................................................. 41 protocols rip distribute-list interface <ethx> prefix-list.................................................. 43 protocols rip distribute-list prefix-list............................................................... 45 protocols rip interface <ethx>.................................................................... 15 protocols rip neighbor <ipv4>.................................................................... 16 protocols rip network <ipv4net>.................................................................. 17 protocols rip network-distance <ipv4net>........................................................... 18 protocols rip passive-interface <ethx>.............................................................. 20 protocols rip redistribute bgp.................................................................... 30 protocols rip redistribute connected............................................................... 32 protocols rip redistribute kernel................................................................... 34 protocols rip redistribute ospf.................................................................... 36 protocols rip redistribute static................................................................... 37 protocols rip route <ipv4net>.................................................................... 21 protocols rip timers garbage-collection <seconds>.................................................... 22 protocols rip timers timeout <seconds>............................................................. 23 protocols rip timers update <seconds>............................................................. 24 show debugging rip........................................................................... 25 show ip rip.................................................................................. 27

vi show ip route rip............................................................................. 26

vii Quick List of Examples Use this list to help you locate examples you d like to try or look at. Example 1-2 Verifying RIP on R3: show ip route.................................................... 4 Example 1-3 Verifying RIP on R3: show ip rip....................................................... 5 Example 1-4 Verifying RIP on R3: ping 10.0.20.1.................................................... 5 Example 2-1 show ip route rip : Displaying routes.................................................. 26 Example 2-2 show ip rip : Displaying RIP information................................................ 27

viii

ix Preface This guide describes commands for the Routing Information Protocol (RIP) on the Vyatta system. This preface provides information about using this guide. The following topics are covered: Intended Audience Organization of This Guide Document Conventions Vyatta Publications

Intended Audience x Intended Audience This guide is intended for experienced system and network administrators. Depending on the functionality to be used, readers should have specific knowledge in the following areas: Networking and data communications TCP/IP protocols General router configuration Routing protocols Network administration Network security Organization of This Guide This guide has the following aid to help you find the information you are looking for: Quick Reference to Commands Use this section to help you quickly locate a command. Quick List of Examples Use this list to help you locate examples you d like to try or look at. This guide has the following chapters: Chapter Description Page Chapter 1: RIP Configuration Chapter 2: Router-Level Configuration Chapter 3: Route Redistribution Chapter 4: Route Filtering Chapter 5: RIP Interface Commands This chapter describes how to configure the Routing Information Protocol on the Vyatta system. This chapter describes commands for configuring RIP at the router level. This chapter describes commands for redistributing routes from other routing protocols into RIP. This chapter describes commands for RIP route filtering. This chapter describes commands for configuring RIP on various interfaces. 1 7 28 38 46 Glossary of Acronyms 61

Document Conventions xi Document Conventions This guide contains advisory paragraphs and uses typographic conventions. Advisory Paragraphs This guide uses the following advisory paragraphs: Warnings alert you to situations that may pose a threat to personal safety, as in the following example: WARNING Switch off power at the main breaker before attempting to connect the remote cable to the service power at the utility box. Cautions alert you to situations that might cause harm to your system or damage to equipment, or that may affect service, as in the following example: CAUTION Restarting a running system will interrupt service. Notes provide information you might need to avoid problems or configuration errors: NOTE You must create and configure network interfaces before enabling them for routing protocols. Typographic Conventions This document uses the following typographic conventions:

Vyatta Publications xii Monospace bold Monospace bold italics <key> Examples, command-line output, and representations of configuration nodes. Your input: something you type at a command line. Commands, keywords, and file names, when mentioned inline. Objects in the user interface, such as tabs, buttons, screens, and panes. An argument or variable where you supply a value. A key on your keyboard, such as <Enter>. Combinations of keys are joined by plus signs ( + ), as in <Ctrl>+c. [ arg1 arg2] Enumerated options for completing a syntax. An example is [enable disable]. num1 numn arg1..argn arg[ arg...] arg[,arg...] A inclusive range of numbers. An example is 1 65535, which means 1 through 65535, inclusive. A range of enumerated values. An example is eth0..eth3, which means eth0, eth1, eth2, or eth3. A value that can optionally represent a list of elements (a space-separated list in the first case and a comma-separated list in the second case). Vyatta Publications More information about the Vyatta system is available in the Vyatta technical library, and on www.vyatta.com and www.vyatta.org. Full product documentation is provided in the Vyatta technical library. To see what documentation is available for your release, see the Guide to Vyatta Documentation. This guide is posted with every release of Vyatta software and provides a great starting point for finding the information you need.

1 Chapter 1: RIP Configuration This chapter describes how to configure the Routing Information Protocol on the Vyatta system. The following topics are covered: RIP Overview Supported Standards Configuring RIP

Chapter 1: RIP Configuration RIP Overview 2 RIP Overview Routing Information Protocol (RIP) is a dynamic routing protocol suitable for small, homogenous networks. It is classified as an interior gateway protocol (IGP) and employs the distance-vector routing algorithm. RIP determines the best path by counting the hops to the destination. The maximum hop count is 15 (16 is considered an infinite distance), making RIP less suitable for large networks. RIP is considered obsoleted by OSPF. Supported Standards The Vyatta implementation of RIP complies with the following standards: RFC 1058: Routing Information Protocol RFC 2453: RIP Version 2 Configuring RIP This section presents the following topics: Basic RIP Configuration Verifying the RIP Configuration This section presents a sample configuration for RIP. The configuration example is based on the reference diagram in Figure 1-1. Figure 1-1 RIP configuration reference diagram 10.0.30.0/24 10.0.40.0/24 10.0.50.0/24 10.0.60.0/24 eth3.1 eth4.1 eth4.2 eth5.2 eth5.3 eth6.3 eth2.1 R1 R2 R3 10.0.20.0/24

Chapter 1: RIP Configuration Configuring RIP 3 Basic RIP Configuration In this section, you configure RIP on the routers labeled R1, R2, and R3 in the reference network diagram. The routers are advertising their routes on networks 10.0.40.0/24 and 10.0.50.0/24. This example assumes that you have already configured the router interfaces; only the steps required to implement RIP are shown. To create a basic RIP configuration, perform the following steps in configuration mode: Example 1-1 Basic RIP configuration Router Step Command(s) R1 R1 Advertise to network 10.0.40.0/24. Redistribute connected routes to RIP. vyatta@r1# set protocols rip network 10.0.40.0/24 [edit] vyatta@r1# set protocols rip redistribute connected [edit] R1 Commit the configuration. vyatta@r1# commit [edit] R1 Display the configuration. vyatta@r1# show protocols rip { network 10.0.40.0/24 redistribute { connected { [edit] R2 R2 R2 Advertise to network 10.0.40.0/24. Advertise to network 10.0.50.0/24. Redistribute connected routes to RIP. vyatta@r2# set protocols rip network 10.0.40.0/24 [edit] vyatta@r2# set protocols rip network 10.0.50.0/24 [edit] vyatta@r2# set protocols rip redistribute connected [edit] R2 Commit the configuration. vyatta@r2# commit [edit]

Chapter 1: RIP Configuration Configuring RIP 4 Example 1-1 Basic RIP configuration R2 Display the configuration. vyatta@r2# show protocols rip { network 10.0.40.0/24 network 10.0.50.0/24 redistribute { connected { [edit] R3 R3 Advertise to network 10.0.50.0/24. Redistribute connected routes to RIP. vyatta@r3# set protocols rip network 10.0.50.0/24 [edit] vyatta@r3# set protocols rip redistribute connected [edit] R3 Commit the configuration. vyatta@r3# commit [edit] R3 Display the configuration. vyatta@r3# show protocols rip { network 10.0.50.0/24 redistribute { connected { [edit] Verifying the RIP Configuration The following operational mode commands can be used to verify the RIP configuration. R3: show ip route Example 1-2 shows the output of the show ip route command for router R3. Example 1-2 Verifying RIP on R3: show ip route vyatta@r3:~$ show ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route

Chapter 1: RIP Configuration Configuring RIP 5 R>* 10.0.20.0/24 [120/3] via 10.0.50.2, eth5, 00:20:16 R>* 10.0.30.0/24 [120/3] via 10.0.50.2, eth5, 00:34:04 R>* 10.0.40.0/24 [120/2] via 10.0.50.2, eth5, 02:15:26 C>* 10.0.50.0/24 is directly connected, eth5 C>* 10.0.60.0/24 is directly connected, eth6 C>* 127.0.0.0/8 is directly connected, lo vyatta@r3:~$ The output shows that routes to 10.0.20.0/24, 10.0.30.0/24, and 10.0.40.0/24 have been learned via RIP and that packets to those networks will be forwarded out eth5 to 10.0.50.2. Networks 10.0.50.0/24 and 10.0.60.0/24 are directly connected. R3: show ip rip The show ip rip command for R3 displays similar information in a different format. This is shown in Example 1-3. Example 1-3 Verifying RIP on R3: show ip rip vyatta@r3:~$ show ip rip Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP Sub-codes: (n) - normal, (s) - static, (d) - default, (r) - redistribute, (i) - interface Network Next Hop Metric From Tag Time R(n) 10.0.20.0/24 10.0.50.2 3 10.0.50.2 0 00:23 R(n) 10.0.30.0/24 10.0.50.2 3 10.0.50.2 0 00:23 R(n) 10.0.40.0/24 10.0.50.2 2 10.0.50.2 0 00:23 C(i) 10.0.50.0/24 0.0.0.0 1 self 0 C(r) 10.0.60.0/24 0.0.0.0 1 self (connected:1) 0 vyatta@r3:~$ Again, the output shows that networks 10.0.20.0/24, 10.0.30.0/24, and 10.0.40.0/24 have been learned via RIP and that packets to those networks will be forwarded to 10.0.50.2. Networks 10.0.50.0/24 and 10.0.60.0/24 are directly connected. R3: ping 10.0.20.1 Using the ping command from R3 we can confirm that we can reach hosts on remote networks. In this case we ping an IP address on R1. This is shown in Example 1-4. Example 1-4 Verifying RIP on R3: ping 10.0.20.1

Chapter 1: RIP Configuration Configuring RIP 6 vyatta@r3:~$ ping 10.0.20.1 PING 10.0.20.1 (10.0.20.1) 56(84) bytes of data. 64 bytes from 10.0.20.1: icmp_seq=1 ttl=63 time=7.39 ms 64 bytes from 10.0.20.1: icmp_seq=2 ttl=63 time=1.56 ms 64 bytes from 10.0.20.1: icmp_seq=3 ttl=63 time=1.49 ms ^C --- 10.0.20.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 1.497/3.482/7.390/2.763 ms vyatta@r3:~$ This confirms that the RIP configuration is working and that we are able to reach a remote network.

7 Chapter 2: Router-Level Configuration This chapter describes commands for configuring RIP at the router level. This chapter presents the following topics: Router-Level Configuration Commands

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 8 Router-Level Configuration Commands This chapter contains the following commands. Configuration Commands protocols rip default-distance <distance> protocols rip default-information originate protocols rip default-metric <metric> protocols rip interface <ethx> protocols rip neighbor <ipv4> protocols rip network <ipv4net> protocols rip network-distance <ipv4net> protocols rip passive-interface <ethx> protocols rip route <ipv4net> protocols rip timers garbage-collection <seconds> protocols rip timers timeout <seconds> protocols rip timers update <seconds> Sets the administrative distance for RIP. Generates a default route into a RIP routing domain. Sets the default metric for external routes redistributed into RIP. Enables the Routing Information Protocol (RIP) for an interface. Defines a RIP neighbor router. Specifies a network for the Routing Information Protocol (RIP). Specifies the administrative distance for a RIP network. Suppresses RIP routing updates on an interface. Specifies a RIP static route. Allows you to set timers for RIP garbage collection. Allows you to set the interval for RIP time-outs. Allows you to set the timer for RIP routing table updates. Operational Commands debug rip events debug rip packet debug rip zebra show debugging rip show ip route rip show ip rip Enables or disables debug message generation related to RIP events. Enables or disables debug message generation related to all RIP packet types. Enables or disables debug message generation for the Zebra RIP process. Displays RIP protocol debugging flags. Displays all IP RIP routes. Displays information for the Routing Information Protocol (RIP).

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 9 debug rip events Enables or disables debug message generation related to RIP events. Syntax Command Mode debug rip events no debug rip events Operational mode. Parameters None. Default None. Usage Guidelines Use this command to enable generation of trace-level messages related to Routing Information Protocol (RIP) events. Use the no form of this command to disable debugging of RIP events.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 10 debug rip packet Enables or disables debug message generation related to all RIP packet types. Syntax Command Mode debug rip packet [recv [detail] send [detail]] no debug rip packet [recv send ] Operational mode. Parameters recv recv detail send send detail Optional. Provides debugging on all received packets. Optional. Provides detailed debugging on all received packets. Optional. Provides debugging on all sent packets. Optional. Provides detailed debugging on all sent packets. Default None. Usage Guidelines Use this command to enable generation of trace-level messages related to all Routing Information Protocol (RIP) packet types. Use the no form of this command to disable debugging of all RIP packet types.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 11 debug rip zebra Enables or disables debug message generation for the Zebra RIP process. Syntax Command Mode debug rip zebra no debug rip zebra Operational mode. Parameters None. Default Debug messages are generated for actions related to the Zebra RIP process. Usage Guidelines Use this command to enable generation of trace-level messages related to the Zebra Routing Information Protocol (RIP) process. Use the no form of this command to disable debugging for the Zebra RIP process.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 12 protocols rip default-distance <distance> Syntax Sets the administrative distance for RIP. Command Mode set protocols rip default-distance distance delete protocols rip default-distance show protocols rip default-distance Configuration Statement Configuration mode. Parameters protocols { rip { default-distance 1-255 distance Mandatory. Sets the default administrative distance for RIP. The range is 1-255. The default is 120. Default The default administrative distance for RIP is 120. Usage Guidelines Use the set form of this command to set the default administrative distance for RIP. Use the delete form of this command to restore the default administrative distance for RIP. Use the show form of this command to display the administrative distance for RIP.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 13 protocols rip default-information originate Syntax Generates a default route into a RIP routing domain. Command Mode set protocols rip default-information originate delete protocols rip default-information originate show protocols rip default-information originate Configuration Statement Configuration mode. Parameters protocols { rip { default-information { originate None. Default Usage Guidelines By default, the system does not generate an external default route into the OSPF routing domain. Use the set form of this command to generate a default route into the RIP routing domain. Use the delete form of this command to restore the default behavior for default route generation into RIP. Use the show form of this command to display default route generation configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 14 protocols rip default-metric <metric> Syntax Sets the default metric for external routes redistributed into RIP. Command Mode set protocols rip default-metric metric delete protocols rip default-metric show protocols rip default-metric Configuration Statement Configuration mode. Parameters protocols { rip { default-metric 1-16 metric Mandatory. The metric that will be assigned to external routes imported into RIP for redistribution. The range is 1-16. The default is 1. Default Routes being imported into RIP are assigned a metric of 1. Usage Guidelines Use the set form of this command to set the metric for routes being redistributed into RIP. Use the delete form of this command to restore the default RIP metric to default values. Use the show form of this command to display the default metric for routes being redistributed into RIP.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 15 protocols rip interface <ethx> Enables the Routing Information Protocol (RIP) for an interface. Syntax Command Mode set protocols rip interface ethx delete protocols rip interface ethx show protocols rip interface ethx Configuration Statement Configuration mode. Parameters protocols { rip { interface eth0..eth23 ethx Mandatory. Multi-node. The name of a configured Ethernet interface. You can enable RIP on more than one interface by creating multiple protocols rip interface configuration nodes. Default None. Usage Guidelines Split-horizon is a stability feature that reduces the possibility of network loops, particularly in the case where links become disconnected and is enabled by default. Split-horizon stops an interface from including in its network updates any routes that it learned from that interface. Split horizon is effective at preventing loops between routers that are directly connected to one another, and speeds convergence when network conditions change. Use the set form of this command to enable RIP on an interface. The interface must be enabled for RIP before you can use it for RIP routing. Use the delete form of this command to disable RIP on an interface. Use the show form of this command to display RIP interface configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 16 protocols rip neighbor <ipv4> Syntax Defines a RIP neighbor router. Command Mode set protocols rip neighbor ipv4 delete protocols rip neighbor ipv4 show protocols rip neighbor Configuration Statement Configuration mode. Parameters protocols { rip { neighbor ipv4 ipv4 Mandatory. Multi-node. The IP address of the neighbor router. You can define more than one RIP neighbor router by creating multiple protocols rip neighbor configuration nodes. Default None. Usage Guidelines Use the set form of this command to define a RIP neighbor router. Use the delete form of this command to remove a neighbor router. Use the show form of this command to display RIP neighbor configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 17 protocols rip network <ipv4net> Specifies a network for the Routing Information Protocol (RIP). Syntax Command Mode set protocols rip network ipv4net delete protocols rip network ipv4net show protocols rip network Configuration Statement Configuration mode. Parameters protocols { rip { network ipv4net ipv4net Mandatory. Multi-node. The IP network address of the RIP network. You can identify more than one RIP network by creating multiple protocols rip network configuration nodes. Default None. Usage Guidelines Use the set form of this command to specify a RIP network. Use the delete form of this command to remove a RIP network. Use the show form of this command to display RIP network configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 18 protocols rip network-distance <ipv4net> Syntax Specifies the administrative distance for a RIP network. Command Mode set protocols rip network-distance ipv4net {access-list list-name distance distance delete protocols rip network-distance ipv4net [access-list list-name distance distance] show protocols rip network-distance ipv4net [access-list distance] Configuration Statement Configuration mode. Parameters protocols { rip { network-distance ipv4net { access-list text distance 1-255 ipv4net access-list distance Mandatory. The IP network address identifying the network. Applies a defined access list to the specified network. Applies the specified administrative distance to the specified network. The range is 1 to 255. The default is 120. Default None. Usage Guidelines Use the set form of this command to set the default administrative distance for a RIP network or apply an access list to a RIP network. The administrative distance indicates the trustworthiness of a router or group of routers as a source of routing information. In general, the higher the value, the less trusted the entity. An administrative distance of 1 usually represents a directly connected network, and and an administrative distance of 255 the routing source is unreliable or unknown. The administrative distance conventionally applied to RIP is 120.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 19 Use the delete form of this command to restore the default administrative distance to a RIP network or remove an access list. Use the show form of this command to display administrative distance of a RIP network or access list application.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 20 protocols rip passive-interface <ethx> Syntax Suppresses RIP routing updates on an interface. Command Mode set protocols rip passive-interface ethx delete protocols rip passive-interface ethx show protocols rip passive-interface Configuration Statement Configuration mode. Parameters protocols { rip { passive-interface eth0..eth23 eth0..eth23 Mandatory. Multi-node. The name of a configured Ethernet interface on which to suppress RIP routing updates. You can suppress routing updates on more than one RIP interface by creating multiple protocols rip passive-interface configuration nodes. Default RIP routing updates are not suppressed. Usage Guidelines Use the set form of this command to suppress RIP routing updates on an interface Use the delete form of this command to disable RIP routing update suppression on an interface. Use the show form of this command to display RIP route suppression configuration for an interface.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 21 protocols rip route <ipv4net> Syntax Specifies a RIP static route. Command Mode set protocols rip route ipv4net delete protocols rip route ipv4net show protocols rip route Configuration Statement Configuration mode. Parameters protocols { rip { route ipv4net ipv4net Mandatory. The network address defining the RIP static route. Default None. Usage Guidelines Use the set form of this command to define a RIP static route. Use the delete form of this command to remove a RIP static route. Use the show form of this command to display RIP static route configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 22 protocols rip timers garbage-collection <seconds> Syntax Allows you to set timers for RIP garbage collection. Command Mode set protocols rip timers garbage-collection seconds delete protocols rip timers garbage-collection [seconds] show protocols rip timers garbage-collection Configuration Statement Configuration mode. Parameters protocols { rip { timers { garbage-collection 5-2147483647 seconds Mandatory. The timer interval period in seconds. The range is 5 to 2147483647. Default The default is 120. Usage Guidelines Use the set form of this command to set the garbage collection timer. When the timer expires, the system will scan for stale RIP resources and release them for use. Use the delete form of this command to restore the default value for the RIP garbage collection timer. Use the show form of this command to display RIP garbage collection timer configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 23 protocols rip timers timeout <seconds> Syntax Allows you to set the interval for RIP time-outs. Command Mode set protocols rip timers timeout seconds delete protocols rip timers timeout [seconds] show protocols rip timers timeout Configuration Statement Configuration mode. Parameters protocols { rip { timers { timeout 5-2147483647 seconds Mandatory. The RIP timeout interval, in seconds. The range is 5 to 2147483647. The default is 180. Default RIP time-outs occur at 180 second. Usage Guidelines Use the set form of this command to set the value for RIP time-outs. Use the delete form of this command to restore the RIP timeout interval to the default value. Use the show form of this command to display RIP timeout configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 24 protocols rip timers update <seconds> Syntax Allows you to set the timer for RIP routing table updates. Command Mode set protocols rip timers update seconds delete protocols rip timers update [seconds] show protocols rip timers update Configuration Statement Configuration mode. Parameters protocols { rip { timers { update 5-2147483647 seconds Mandatory. The interval at which RIP routing table updates will occur. The range is 5 is 2147483647. The default is 30. Default The RIP routing table is updated every 30 seconds. Usage Guidelines Use the set form of this command to set the interval between RIP routing table updates. The shorter this interval, the more accurate the routing information in the tables; however, the more protocol network traffic occurs. Use the delete form of this command to restore the RIP update timer to the default value. Use the show form of this command to display the RIP update time configuration.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 25 show debugging rip Displays RIP protocol debugging flags. Syntax show debug rip Command Mode Operational mode. Parameters None Default None. Usage Guidelines Use this command to see how debugging is set for RIP.

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 26 show ip route rip Displays all IP RIP routes. Syntax show ip route rip Command Mode Operational mode. Parameters None. Default None. Usage Guidelines Use this command to display RIP routes contained in the Routing Information Base (RIB). Examples Example 2-1 shows all RIP routes from the RIB. Example 2-1 show ip route rip : Displaying routes vyatta@vyatta:~$ show ip route rip Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - ISIS, B - BGP, > - selected route, * - FIB route vyatta@vyatta:~$

Chapter 2: Router-Level Configuration Router-Level Configuration Commands 27 show ip rip Displays information for the Routing Information Protocol (RIP). Syntax show ip rip [status] Command Mode Operational mode. Parameters status Optional. Displays only RIP protocol status information. Default Displays all RIP protocol information. Usage Guidelines Use this command to see information about the Routing Information Protocol. Examples Example 2-2 lists RIP information. Example 2-2 show ip rip : Displaying RIP information vyatta@vyatta:~$ show ip rip Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP Sub-codes: (n) - normal, (s) - static, (d) - default, (r) - redistribute, (i) - interface Network Next Hop Metric From Tag Time C(i) 192.168.1.0/24 0.0.0.0 1 self 0 vyatta@vyatta:~$

28 Chapter 3: Route Redistribution This chapter describes commands for redistributing routes from other routing protocols into RIP. This chapter presents the following topics: Route Redistribution Commands

Chapter 3: Route Redistribution Route Redistribution Commands 29 Route Redistribution Commands This chapter contains the following commands. Configuration Commands protocols rip redistribute bgp protocols rip redistribute connected protocols rip redistribute kernel protocols rip redistribute ospf protocols rip redistribute static Allows you to redistribute BGP routes into RIP routing tables. Allows you to redistribute directly connected routes into RIP routing tables. Allows you to redistribute kernel routes into RIP routing tables. Allows you to redistribute OSPF routes into RIP routing tables. Allows you to redistribute static routes into RIP routing tables. Operational Commands None

Chapter 3: Route Redistribution Route Redistribution Commands 30 protocols rip redistribute bgp Allows you to redistribute BGP routes into RIP routing tables. Syntax Command Mode set protocols rip redistribute bgp [metric metric route-map map-name] delete protocols rip redistribute bgp [metric route-map] show protocols rip redistribute bgp [metric route-map] Configuration Statement Configuration mode. Parameters protocols { rip { redistribute { bgp { metric 1-16 route-map text metric metric map-name The routing metric to be applied to BGP routes being imported into RIP routing tables. The range is 1-16. The default is 1. Optional. Applies the specified route map to BGP routes being imported into RIP routing tables. Default Usage Guidelines BGP routes being redistributed into RIP are assigned a routing metric of 1. By default, no route map is applied to redistributed BGP routes. Use the set form of this command to set the routing metric for BGP routes being redistributed into RIP, or to specify a route map to be applied to redistributed BGP routes. Use the delete form of this command to remove BGP route redistribution configuration. Use the show form of this command to display BGP route redistribution configuration.

Chapter 3: Route Redistribution Route Redistribution Commands 31

Chapter 3: Route Redistribution Route Redistribution Commands 32 protocols rip redistribute connected Allows you to redistribute directly connected routes into RIP routing tables. Syntax Command Mode set protocols rip redistribute connected [metric metric route-map map-name] delete protocols rip redistribute connected [metric route-map] show protocols rip redistribute connected [metric route-map] Configuration Statement Configuration mode. Parameters protocols { rip { redistribute { connected { metric 1-16 route-map text metric map-name Optional. The routing metric to be applied to connected routes being imported into RIP routing tables. The range is 1-16. The default is 1. Optional. Applies the specified route map to connected routes being imported into RIP routing tables. Default Connected routes being redistributed into RIP are assigned a routing metric of 1. By default, no route map is applied to redistributed connected routes.

Chapter 3: Route Redistribution Route Redistribution Commands 33 Usage Guidelines Use the set form of this command to set the routing metric for connected routes being redistributed into RIP, or to specify a route map to be applied to redistributed connected routes. Use the delete form of this command to remove connected route redistribution configuration. Use the show form of this command to display connected route redistribution configuration.

Chapter 3: Route Redistribution Route Redistribution Commands 34 protocols rip redistribute kernel Allows you to redistribute kernel routes into RIP routing tables. Syntax Command Mode set protocols rip redistribute kernel [metric metric route-map map-name] delete protocols rip redistribute kernel [metric route-map] show protocols rip redistribute kernel [metric route-map] Configuration Statement Configuration mode. Parameters protocols { rip { redistribute { kernel { metric 1-16 route-map text metric map-name Optional. The routing metric to be applied to kernel routes being imported into RIP routing tables. The range is 1-16. The default is 1. Optional. Applies the specified route map to kernel routes being imported into RIP routing tables. Default Usage Guidelines Kernel routes being redistributed into RIP are assigned a routing metric of 1. By default, no route map is applied to redistributed kernel routes. Use the set form of this command to set the routing metric for kernel routes being redistributed into RIP, or to specify a route map to be applied to redistributed kernel routes. Use the delete form of this command to remove kernel route redistribution configuration. Use the show form of this command to display kernel route redistribution configuration.

Chapter 3: Route Redistribution Route Redistribution Commands 35

Chapter 3: Route Redistribution Route Redistribution Commands 36 protocols rip redistribute ospf Allows you to redistribute OSPF routes into RIP routing tables. Syntax Command Mode set protocols rip redistribute ospf [metric metric route-map map-name] delete protocols rip redistribute ospf [metric route-map] show protocols rip redistribute ospf [metric route-map] Configuration Statement Configuration mode. Parameters protocols { rip { redistribute { ospf { metric 1-16 route-map text metric map-name Optional. The routing metric to be applied to OSPF routes being imported into RIP routing tables. The range is 1-16. The default is 1. Optional. Applies the specified route map to OSPF routes being imported into RIP routing tables. Default Usage Guidelines OSPF routes being redistributed into RIP are assigned a routing metric of 1. By default, no route map is applied to redistributed OSPF routes. Use the set form of this command to set the routing metric for OSPF routes being redistributed into RIP, or to specify a route map to be applied to redistributed OSPF routes. Use the delete form of this command to remove OSPF route redistribution configuration. Use the show form of this command to display OSPF route redistribution configuration.

Chapter 3: Route Redistribution Route Redistribution Commands 37 protocols rip redistribute static Allows you to redistribute static routes into RIP routing tables. Syntax Command Mode set protocols rip redistribute static [metric metric route-map map-name] delete protocols rip redistribute static [metric route-map] show protocols rip redistribute static [metric route-map] Configuration Statement Configuration mode. Parameters protocols { rip { redistribute { static { metric 1-16 route-map text metric map-name Optional. The routing metric to be applied to static routes being imported into RIP routing tables. The range is 1-16. The default is 1. Optional. Applies the specified route map to static routes being imported into RIP routing tables. Default Usage Guidelines Static routes being redistributed into RIP are assigned a routing metric of 1. By default, no route map is applied to redistributed static routes. Use the set form of this command to set the routing metric for static routes being redistributed into RIP, or to specify a route map to be applied to redistributed static routes. Use the delete form of this command to remove static route redistribution configuration. Use the show form of this command to display static route redistribution configuration.

38 Chapter 4: Route Filtering This chapter describes commands for RIP route filtering. This chapter presents the following topics: RIP Route Filtering Commands

Chapter 4: Route Filtering RIP Route Filtering Commands 39 RIP Route Filtering Commands This chapter contains the following commands. Configuration Commands protocols rip distribute-list access-list protocols rip distribute-list interface <ethx> access-list protocols rip distribute-list interface <ethx> prefix-list protocols rip distribute-list prefix-list Applies an access list for filtering inbound or outbound RIP packets. Applies an access list to a specific interface for filtering inbound or outbound RIP packets. Applies a prefix list to a specific interface for filtering inbound or outbound RIP packets. Applies a prefix list for filtering inbound or outbound RIP packets. Operational Commands None.

Chapter 4: Route Filtering RIP Route Filtering Commands 40 protocols rip distribute-list access-list Applies an access list for filtering inbound or outbound RIP packets. Syntax Command Mode set protocols rip distribute-list access-list {in in-list out out-list delete protocols rip distribute-list access-list {in out show protocols rip distribute-list access-list {in out Configuration Statement Configuration mode. Parameters protocols { rip { distribute-list { access-list { in u32 out u32 in-list out-list The identifier of a defined access list. The access list will be applied to filter inbound RIP packets. The identifier of a defined access list. The access list will be applied to filter outbound RIP packets. Default None. Usage Guidelines Use the set form of this command to apply an access list for filtering inbound or outbound RIP packets. Use the delete form of this command to remove access list packet filtering from RIP packets. Use the show form of this command to display RIP access list filtering configuration.

Chapter 4: Route Filtering RIP Route Filtering Commands 41 protocols rip distribute-list interface <ethx> access-list Syntax Applies an access list to a specific interface for filtering inbound or outbound RIP packets. Command Mode set protocols rip distribute-list interface eth0..eth23 access-list {in in-list out out-list] delete protocols rip distribute-list interface eth0..eth23 access-list {in out show protocols rip distribute-list interface eth0..eth23 access-list {in out Configuration Statement Configuration mode. Parameters protocols { rip { distribute-list { interface eth0..eth23 access-list { in u32 out u32 eth0..eth23 in-list out-list Mandatory. Interface on which to filter packets. The identifier of a defined access list. The access list will be applied to the specified interface to filter inbound RIP packets. The identifier of a defined access list. The access list will be applied to the specified interface to filter outbound RIP packets. Default None.

Chapter 4: Route Filtering RIP Route Filtering Commands 42 Usage Guidelines Use the set form of this command to apply an access list to a specific interface for filtering inbound or outbound RIP packets. Use the delete form of this command to remove RIP access list packet filtering from an interface. Use the show form of this command to display RIP access list filtering configuration for an interface.

Chapter 4: Route Filtering RIP Route Filtering Commands 43 protocols rip distribute-list interface <ethx> prefix-list Syntax Applies a prefix list to a specific interface for filtering inbound or outbound RIP packets. Command Mode set protocols rip distribute-list interface eth0..eth23 prefix-list {in in-list out out-list delete protocols rip distribute-list interface eth0..eth23 prefix-list {in out show protocols rip distribute-list interface eth0..eth23 prefix-list {in out Configuration Statement Configuration mode. Parameters protocols { rip { distribute-list { interface eth0..eth23 prefix-list { in text out text eth0..eth23 in-list out-list Mandatory. Interface on which to apply the access list filter. The identifier of a defined prefix list. The prefix list will be applied to the specified interface to filter inbound RIP packets. The identifier of a defined prefix list. The prefix list will be applied to the specified interface to filter outbound RIP packets. Default None.

Chapter 4: Route Filtering RIP Route Filtering Commands 44 Usage Guidelines Use the set form of this command to apply a prefix list to a specific interface for filtering inbound or outbound RIP packets. Use the delete form of this command to remove RIP prefix list packet filtering from an interface. Use the show form of this command to display RIP prefix list filtering configuration for an interface.

Chapter 4: Route Filtering RIP Route Filtering Commands 45 protocols rip distribute-list prefix-list Applies a prefix list for filtering inbound or outbound RIP packets. Syntax Command Mode set protocols rip distribute-list prefix-list {in in-list out out-list delete protocols rip distribute-list prefix-list {in out show protocols rip distribute-list prefix-list {in out Configuration Statement Configuration mode. Parameters protocols { rip { distribute-list { prefix-list { in text out text in-list out-list The identifier of a defined prefix list. The prefix list will be applied to filter inbound RIP packets. The identifier of a defined prefix list. The prefix list will be applied to filter outbound RIP packets. Default None. Usage Guidelines Use the set form of this command to apply a prefix list for filtering inbound or outbound RIP packets. Use the delete form of this command to remove RIP prefix list packet filtering. Use the show form of this command to display RIP prefix list filtering configuration.

46 Chapter 5: RIP Interface Commands This chapter describes commands for configuring RIP on various interfaces. This chapter presents the following topics: RIP Interface Commands

Chapter 5: RIP Interface Commands RIP Interface Commands 47 RIP Interface Commands This chapter contains the following commands. Configuration Commands interfaces <interface> ip rip interfaces <interface> ip rip authentication interfaces <interface> ip rip split-horizon Enables RIP on an interface. Specify RIP authentication for the interface. Enables or disables split-horizon in RIP updates coming from this interface. Operational Commands None.

Chapter 5: RIP Interface Commands RIP Interface Commands 48 interfaces <interface> ip rip Syntax Enables RIP on an interface. Command Mode set interfaces interface ip rip delete interfaces interface ip rip show interfaces interface ip rip Configuration Statement Configuration mode. Parameters interfaces text { ip { rip interface Mandatory. The type of interface. For detailed keywords and arguments that can be specified as interface types, see the table in the Usage Guidelines below. Default None. Usage Guidelines Use this command to enable Routing Information Protocol (RIP) on an interface. The following table shows the syntax and parameters for supported interface types. Interface Type Syntax Parameters ADSL Bridged Ethernet adsl adslx pvc pvc-id bridged-ethernet adslx The name of a Bridged Ethernet- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically.

Chapter 5: RIP Interface Commands RIP Interface Commands 49 Interface Type Syntax Parameters ADSL Classical IPOA ADSL PPPoA ADSL PPPoE adsl adslx pvc pvc-id classical-ipoa adsl adslx pvc pvc-id pppoa num adsl adslx pvc pvc-id pppoe num adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. num The PPPoA unit number. This number must be unique across all PPPoA interfaces. In addition, only one PPPoA instance can be configured on a PVC. PPPoA units range from 0 to 15 and the resulting interfaces are named pppoa0 to pppoa15. adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. num The name of a defined PPPoE unit. The range is 0 to 15. Bonding bonding bondx bondx The identifier for the bonding interface. Supported values are bond0 through bond99. Bonding Vif bonding bondx vif vlan-id bondx The identifier for the bonding interface. Supported values are bond0 through bond99. vlan-id The VLAN ID for the vif. The range is 0 to 4094. Bridge bridge brx brx The name of a Bridge group. The range is br0 through br999. Ethernet ethernet ethx ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. Ethernet PPPoE ethernet ethx pppoe num ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. num The name of a defined PPPoE unit. The range is 0 to 15.

Chapter 5: RIP Interface Commands RIP Interface Commands 50 Interface Type Syntax Parameters Ethernet Vif ethernet ethx vif vlan-id ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. vlan-id The VLAN ID for the vif. The range is 0 to 4094. Ethernet Vif PPPoE ethernet ethx vif vlan-id pppoe num ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. vlan-id The VLAN ID for the vif. The range is 0 to 4094. num The name of a defined PPPoE unit. The range is 0 to 15. Loopback loopback lo lo The name of the loopback interface. Multilink multilink mlx vif 1 mlx The identifier of the multilink bundle. You can create up to two multilink bundles. Supported values are ml0 ( em ell zero ) through ml23 ( em ell twenty-three ). 1 The identifier of the virtual interface. Currently, only one vif is supported for multilink interfaces, and the identifier must be 1. The vif must already have been defined. OpenVPN openvpn vtunx vtunx The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer. Pseudo-Ethernet pseudo-ethernet pethx pethx The name of a pseudo-ethernet interface. The range is peth0 through peth999. Serial Cisco HDLC serial wanx cisco-hdlc vif 1 wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. 1 The identifier of the virtual interface. Currently, only one vif is supported for Cisco HDLC interfaces, and the identifier must be 1. The vif must already have been defined. Serial Frame Relay serial wanx frame-relay vif dlci wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. dlci The identifier of the virtual interface. For Frame Relay interfaces, this is the DLCI number for the interface. the range is 16 to 991. The vif must already have been defined. Serial PPP serial wanx ppp vif 1 wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. 1 The identifier of the virtual interface. Currently, only one vif is supported for point-to-point interfaces, and the identifier must be 1. The vif must already have been defined. Tunnel tunnel tunx tunx An identifier for the tunnel interface you are defining. The range is tun0 to tun23.

Chapter 5: RIP Interface Commands RIP Interface Commands 51 Interface Type Syntax Parameters Wireless wireless wlanx wlanx The identifier for the wireless interface you are using. This may be wlan0 to wlan999. Wireless Modem wirelessmodem wlmx wlmx The identifier for the wirelessmodem interface you are using. This may be wlm0 to wlm999. Use the set form of this command to enable RIP on an interface. Use the delete form of this command to remove all RIP configuration and disable RIP on the interface. Use the show form of this command to display RIP configuration.

Chapter 5: RIP Interface Commands RIP Interface Commands 52 interfaces <interface> ip rip authentication Syntax Specify RIP authentication for the interface. Command Mode Configuration Statement set interfaces interface ip rip authentication [md5 md5-key password md5-password plaintext-password password] delete interfaces interface ip rip authentication [md5 md5-key password plaintext-password] show interfaces interface ip rip authentication [md5 md5-key password plaintext-password] Configuration mode. Parameters interfaces text { ip { rip { authentication { md5 u32 { password text plaintext-password text interface md5-key md5-password password Mandatory. The type of interface. For detailed keywords and arguments that can be specified as interface types, see the table in the Usage Guidelines below. Optional. The authentication key ID. This must be the same on both the sending and receiving systems. The range is 1 to 255. Optional. The password to use in MD5 authentication. This must be the same on both the sending and receiving systems. Optional. The password to use in simple (plain-text) authentication. This must be the same on both the sending and receiving systems.

Chapter 5: RIP Interface Commands RIP Interface Commands 53 Default Usage Guidelines None. Use this command to specify the authentication method to be used for RIP on an interface. This authentication is independent of the authentication configured for the RIP area. In plain text authentication, passwords are sent through the network in plain text. In MD5 authentication, the system uses the Message Digest 5 (MD5) algorithm to compute a hash value from the contents of the RIP packet and the password. The hash value and the MD5 key are included in the transmitted packet, and the receiving system (configured with the same password) calculates its own hash function, which must match. The authentication parameters must be the same for all routers that are to establish two-way communication within a network. If two routers do not agree on these parameters, they will not consider establish adjacencies, and will disregard one another s communications. The following table shows the syntax and parameters for supported interface types. Interface Type Syntax Parameters ADSL Bridged Ethernet ADSL Classical IPOA ADSL PPPoA adsl adslx pvc pvc-id bridged-ethernet adsl adslx pvc pvc-id classical-ipoa adsl adslx pvc pvc-id pppoa num adslx The name of a Bridged Ethernet- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. num The PPPoA unit number. This number must be unique across all PPPoA interfaces. In addition, only one PPPoA instance can be configured on a PVC. PPPoA units range from 0 to 15 and the resulting interfaces are named pppoa0 to pppoa15.

Chapter 5: RIP Interface Commands RIP Interface Commands 54 Interface Type Syntax Parameters ADSL PPPoE adsl adslx pvc pvc-id pppoe num adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. num The name of a defined PPPoE unit. The range is 0 to 15. Bonding bonding bondx bondx The identifier for the bonding interface. Supported values are bond0 through bond99. Bonding Vif bonding bondx vif vlan-id bondx The identifier for the bonding interface. Supported values are bond0 through bond99. vlan-id The VLAN ID for the vif. The range is 0 to 4094. Bridge bridge brx brx The name of a Bridge group. The range is br0 through br999. Ethernet ethernet ethx ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. Ethernet PPPoE ethernet ethx pppoe num ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. num The name of a defined PPPoE unit. The range is 0 to 15. Ethernet Vif ethernet ethx vif vlan-id ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. vlan-id The VLAN ID for the vif. The range is 0 to 4094. Ethernet Vif PPPoE ethernet ethx vif vlan-id pppoe num ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. vlan-id The VLAN ID for the vif. The range is 0 to 4094. num The name of a defined PPPoE unit. The range is 0 to 15. Loopback loopback lo lo The name of the loopback interface. Multilink multilink mlx vif 1 mlx The identifier of the multilink bundle. You can create up to two multilink bundles. Supported values are ml0 ( em ell zero ) through ml23 ( em ell twenty-three ). 1 The identifier of the virtual interface. Currently, only one vif is supported for multilink interfaces, and the identifier must be 1. The vif must already have been defined.

Chapter 5: RIP Interface Commands RIP Interface Commands 55 Interface Type Syntax Parameters OpenVPN openvpn vtunx vtunx The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer. Pseudo-Ethernet pseudo-ethernet pethx pethx The name of a pseudo-ethernet interface. The range is peth0 through peth999. Serial Cisco HDLC serial wanx cisco-hdlc vif 1 wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. 1 The identifier of the virtual interface. Currently, only one vif is supported for Cisco HDLC interfaces, and the identifier must be 1. The vif must already have been defined. Serial Frame Relay serial wanx frame-relay vif dlci wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. dlci The identifier of the virtual interface. For Frame Relay interfaces, this is the DLCI number for the interface. the range is 16 to 991. The vif must already have been defined. Serial PPP serial wanx ppp vif 1 wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. 1 The identifier of the virtual interface. Currently, only one vif is supported for point-to-point interfaces, and the identifier must be 1. The vif must already have been defined. Tunnel tunnel tunx tunx An identifier for the tunnel interface you are defining. The range is tun0 to tun23. Wireless wireless wlanx wlanx The identifier for the wireless interface you are using. This may be wlan0 to wlan999. Wireless Modem wirelessmodem wlmx wlmx The identifier for the wirelessmodem interface you are using. This may be wlm0 to wlm999. Use the set form of this command to set RIP authentication for an interface. Use the delete form of this command to remove RIP interface authentication configuration information. Use the show form of this command to display RIP interface authentication configuration information.

Chapter 5: RIP Interface Commands RIP Interface Commands 56 interfaces <interface> ip rip split-horizon Enables or disables split-horizon in RIP updates coming from this interface. Syntax Command Mode set interfaces interface ip rip split-horizon [disable poison-reverse] delete interfaces interface ip rip split-horizon [disable poison-reverse] show interfaces interface ip rip split-horizon Configuration Statement Configuration mode. Parameters interfaces text { ip { rip { split-horizon { disable poison-reverse interface disable poison-reverse Mandatory. The type of interface. For detailed keywords and arguments that can be specified as interface types, see the table in the Usage Guidelines below. Disables split-horizon on the interface. Enables poison-reverse on the interface. Default None.

Chapter 5: RIP Interface Commands RIP Interface Commands 57 Usage Guidelines Use this command to enable or disable split-horizon and split-horizon poison-reverse on an interface running RIP. Split-horizon is a stability feature that reduces the possibility of network loops, particularly in the case where links become disconnected. Enabling split-horizon stops an interface from including in its network updates any routes that it learned from that interface. Split horizon is effective at preventing loops between routers that are directly connected to one another, and speeds convergence when network conditions change. Poison reverse is a variation of split horizon. When an interface with poison reverse enabled detects that a link is down, it increases the metric for that route to 16, and propagates that information in its next update. Since 15 is the largest number of hops considered reachable on a RIP network, increasing the metric to 16 renders the route unreachable as far as downstream RIP routers are concerned. This is called poisoning the route. Poison reverse can be useful for propagating information about bad routes to routers that are downstream but not immediate neighbors, where split horizon is ineffective. When this option is enabled, the router includes the route in announcements to the neighbor from which it was learned. When this option is disabled, the router omits the route in announcements to the neighbor from which it was learned. The following table shows the syntax and parameters for supported interface types. Interface Type Syntax Parameters ADSL Bridged Ethernet ADSL Classical IPOA adsl adslx pvc pvc-id bridged-ethernet adsl adslx pvc pvc-id classical-ipoa adslx The name of a Bridged Ethernet- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically.

Chapter 5: RIP Interface Commands RIP Interface Commands 58 Interface Type Syntax Parameters ADSL PPPoA ADSL PPPoE adsl adslx pvc pvc-id pppoa num adsl adslx pvc pvc-id pppoe num adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. num The PPPoA unit number. This number must be unique across all PPPoA interfaces. In addition, only one PPPoA instance can be configured on a PVC. PPPoA units range from 0 to 15 and the resulting interfaces are named pppoa0 to pppoa15. adslx The name of a Classical IPoA- encapsulated DSL interface. pvc-id The identifier for the PVC. It can either be the vpi/vci pair or the keyword auto, where vpi is a Virtual Path Index from 0 to 255, vci is a Virtual Circuit Index from from 0 to 65535, and auto directs the system to detect the Virtual Path Index and Virtual Circuit Index automatically. num The name of a defined PPPoE unit. The range is 0 to 15. Bonding bonding bondx bondx The identifier for the bonding interface. Supported values are bond0 through bond99. Bonding Vif bonding bondx vif vlan-id bondx The identifier for the bonding interface. Supported values are bond0 through bond99. vlan-id The VLAN ID for the vif. The range is 0 to 4094. Bridge bridge brx brx The name of a Bridge group. The range is br0 through br999. Ethernet ethernet ethx ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. Ethernet PPPoE ethernet ethx pppoe num ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. num The name of a defined PPPoE unit. The range is 0 to 15. Ethernet Vif ethernet ethx vif vlan-id ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. vlan-id The VLAN ID for the vif. The range is 0 to 4094.

Chapter 5: RIP Interface Commands RIP Interface Commands 59 Interface Type Syntax Parameters Ethernet Vif PPPoE ethernet ethx vif vlan-id pppoe num ethx The name of an Ethernet interface. The range is eth0 through eth23, depending on the physical interfaces available on your system. vlan-id The VLAN ID for the vif. The range is 0 to 4094. num The name of a defined PPPoE unit. The range is 0 to 15. Loopback loopback lo lo The name of the loopback interface. Multilink multilink mlx vif 1 mlx The identifier of the multilink bundle. You can create up to two multilink bundles. Supported values are ml0 ( em ell zero ) through ml23 ( em ell twenty-three ). 1 The identifier of the virtual interface. Currently, only one vif is supported for multilink interfaces, and the identifier must be 1. The vif must already have been defined. OpenVPN openvpn vtunx vtunx The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer. Pseudo-Ethernet pseudo-ethernet pethx pethx The name of a pseudo-ethernet interface. The range is peth0 through peth999. Serial Cisco HDLC serial wanx cisco-hdlc vif 1 wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. 1 The identifier of the virtual interface. Currently, only one vif is supported for Cisco HDLC interfaces, and the identifier must be 1. The vif must already have been defined. Serial Frame Relay serial wanx frame-relay vif dlci wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. dlci The identifier of the virtual interface. For Frame Relay interfaces, this is the DLCI number for the interface. the range is 16 to 991. The vif must already have been defined. Serial PPP serial wanx ppp vif 1 wanx The serial interface you are configuring: one of wan0 through wan23. The interface must already have been defined. 1 The identifier of the virtual interface. Currently, only one vif is supported for point-to-point interfaces, and the identifier must be 1. The vif must already have been defined. Tunnel tunnel tunx tunx An identifier for the tunnel interface you are defining. The range is tun0 to tun23. Wireless wireless wlanx wlanx The identifier for the wireless interface you are using. This may be wlan0 to wlan999.

Chapter 5: RIP Interface Commands RIP Interface Commands 60 Interface Type Syntax Parameters Wireless Modem wirelessmodem wlmx wlmx The identifier for the wirelessmodem interface you are using. This may be wlm0 to wlm999. Use the set form of this command to configure split-horizon and split-horizon poison-reverse on an interface running RIP. Use the delete form of this command to restore the default configuration. Use the show form of this command to display split-horizon configuration.

61 Glossary of Acronyms ACL ADSL API AS ARP BGP BIOS BPDU CA CHAP CLI DDNS DHCP DLCI DMI DMZ DN DNS DSCP access control list Asymmetric Digital Subscriber Line Application Programming Interface autonomous system Address Resolution Protocol Border Gateway Protocol Basic Input Output System Bridge Protocol Data Unit certificate authority Challenge Handshake Authentication Protocol command-line interface dynamic DNS Dynamic Host Configuration Protocol data-link connection identifier desktop management interface demilitarized zone distinguished name Domain Name System Differentiated Services Code Point

62 DSL ebgp EGP ECMP ESP FIB FTP GRE HDLC I/O ICMP IDS IEEE IGP IPS IKE IP IPOA IPsec Digital Subscriber Line external BGP Exterior Gateway Protocol equal-cost multipath Encapsulating Security Payload Forwarding Information Base File Transfer Protocol Generic Routing Encapsulation High-Level Data Link Control Input/Ouput Internet Control Message Protocol Intrusion Detection System Institute of Electrical and Electronics Engineers Interior Gateway Protocol Intrusion Protection System Internet Key Exchange Internet Protocol IP over ATM IP security IPv4 IP Version 4 IPv6 IP Version 6 ISP L2TP LACP LAN LDAP MAC Internet Service Provider Layer 2 Tunneling Protocol Link Aggregation Control Protocol local area network Lightweight Directory Access Protocol medium access control

63 MIB MLPPP MRRU MTU NAT ND NIC NTP OSPF Management Information Base multilink PPP maximum received reconstructed unit maximum transmission unit Network Address Translation Neighbor Discovery network interface card Network Time Protocol Open Shortest Path First OSPFv2 OSPF Version 2 OSPFv3 OSPF Version 3 PAM PAP PAT PCI PKI PPP PPPoA PPPoE PPTP PVC QoS RADIUS RIB RIP RIPng Rx Pluggable Authentication Module Password Authentication Protocol Port Address Translation peripheral component interconnect Public Key Infrastructure Point-to-Point Protocol PPP over ATM PPP over Ethernet Point-to-Point Tunneling Protocol permanent virtual circuit quality of service Remote Authentication Dial-In User Service Routing Information Base Routing Information Protocol RIP next generation receive

64 SNMP SMTP SONET SSH STP TACACS+ TCP ToS Tx UDP vif VLAN VPN VRRP WAN Simple Network Management Protocol Simple Mail Transfer Protocol Synchronous Optical Network Secure Shell Spanning Tree Protocol Terminal Access Controller Access Control System Plus Transmission Control Protocol Type of Service transmit User Datagram Protocol virtual interface virtual LAN Virtual Private Network Virtual Router Redundancy Protocol wide area network