Vyatta Encapsulations R6.3 v01

99
Vyatta Suite 200 1301 Shoreway Road Belmont,  CA 94002 vyatta.com 650 413 7200 1 888 VYATTA 1 (US and Canada) VYATTA,  INC. | Vyatta System Encapsulations REFERENCE GUIDE Cisco HDLC Frame Relay Classical  IPoA Bridged Ethernet

Transcript of Vyatta Encapsulations R6.3 v01

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    1/99

    Vyatta

    Suite200

    1301ShorewayRoad

    Belmont,CA94002

    vyatta.com

    6504137200

    1888VYATTA1(USandCanada)

    VYATTA,INC.

    |

    VyattaSystem

    EncapsulationsREFERENCE GUIDECiscoHDLC

    FrameRelay

    ClassicalIPoA

    BridgedEthernet

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    2/99

    COPYRIGHT

    Copyright20052011Vyatta,Inc.Allrightsreserved.

    Vyattareservestherighttomakechangestosoftware,hardware,anddocumentationwithoutnotice.Forthemostrecentversionof

    documentation,visittheVyattawebsiteatvyatta.com.

    PROPRIETARYNOTICES

    VyattaisaregisteredtrademarkofVyatta,Inc.

    VMware,VMwareESX,andVMwareserveraretrademarksofVMware,Inc.

    XenServer,andXenCenteraretrademarksofCitrixSystems,Inc.

    Allothertrademarksarethepropertyoftheirrespectiveowners.

    RELEASEDATE:July2011

    DOCUMENTREVISION.R6.3v01

    RELEASEDWITH:R6.3.0

    PARTNO.A00227100008

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    3/99

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    4/99

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    5/99

    http://using%20the%20cli.pdf/
  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    6/99

    Encapsulations R6.3v01 Vyatta

    vi

    interfacesserialframerelayvifdescription ...................................................42

    interfacesserialframerelayvifpvcrxinversearp....................................................44

    interfacesserialframerelayvifpvctxinversearp ............................................46

    showinterfacesserialciscohdlc ........................................................................21

    showinterfacesserialframerelay ......................................................................48

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    7/99

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    8/99

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    9/99

    ix

    Encapsulations R6.3v01 Vyatta

    Preface

    This document describes the various deployment, installation, and upgrade options

    for Vyatta software.This preface provides information about using this guide. The following topics arepresented:

    Intended Audience

    Organization of This Guide

    Document Conventions

    Vyatta Publications

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    10/99

    IntendedAudience x

    Encapsulations R6.3v01 Vyatta

    IntendedAudience

    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

    IP services

    OrganizationofThisGuide

    This guide has the following aid to help you find the information you are looking for:

    Quick Reference to Commands

    Use this list to help you quickly locate commands.

    Quick List of Examples

    Use this list to help you locate examples youd like to try or look at.

    This guide has the following chapters:

    Chapter Description Page

    Chapter 1:CiscoHDLC ThischapterdescribescommandsforCisco

    HDLCencapsulationonserialinterfacesonthe

    Vyattasystem.

    1

    Chapter 2:FrameRelay Thischapterdescribescommandsfor

    configuringFrameRelayencapsulationon

    serialinterfacesontheVyattasystem.

    22

    Chapter 3:Classical

    IPoA This

    chapter

    describes

    the

    commands

    for

    settingupClassicalIPoAencapsulationon

    ADSLinterfacesontheVyattasystem.

    49

    Chapter 4:BridgedEthernet Thischapterdescribesthecommandsfor

    settingupBridgedEthernetencapsulation(RFC

    1483)onADSLinterfacesontheVyattasystem.

    67

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    11/99

    DocumentConventions xi

    Encapsulations R6.3v01 Vyatta

    Document

    ConventionsThis guide uses the following advisory paragraphs, as follows.

    NOTE Notesprovideinformationyoumightneedtoavoidproblemsorconfigurationerrors.This document uses the following typographic conventions.

    GlossaryofAcronyms 83

    WARNING Warningsalertyoutosituationsthatmayposeathreattopersonalsafety.

    CAUTION Cautionsalertyoutosituationsthatmightcauseharmtoyoursystemordamagetoequipment,orthatmayaffectservice.

    Monospace Examples, command-line output, and representations ofconfiguration nodes.

    boldMonospace Your input: something you type at a command line.

    bold Commands, keywords, and file names, when mentionedinline.

    Objects in the user interface, such as tabs, buttons, screens,and panes.

    italics An argument or variable where you supply a value.

    A key on your keyboard, such as . Combinations of keys are joined by plus signs (+), as in +c.

    [ key1 | key2] Enumerated options for completing a syntax. An example is[enable | disable].

    num1numN A inclusive range of numbers. An example is 165535, whichmeans 1 through 65535, inclusive.

    arg1..argN A range of enumerated values. An example is eth0..eth3,

    which means eth0, eth1, eth2, or eth3.

    arg[ arg...]arg[,arg...]

    A value that can optionally represent a list of elements (aspace-separated list and a comma-separated list, respectively).

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    12/99

    VyattaPublications xii

    Encapsulations R6.3v01 Vyatta

    VyattaPublications

    Full product documentation is provided in the Vyatta technical library. To see whatdocumentation is available for your release, see the Guide to Vyatta Documentation.

    This guide is posted with every release of Vyatta software and provides a greatstarting point for finding the information you need.

    Additional information is available on www.vyatta.com and www.vyatta.org.

    http://www.vyatta.com/http://www.vyatta.org/http://www.vyatta.org/http://www.vyatta.com/
  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    13/99

    1

    Encapsulations R6.3v01 Vyatta

    Chapter1:CiscoHDLC

    This chapter describes commands for Cisco HDLC encapsulation on serial interfaces

    on the Vyatta system.

    This chapter presents the following topics:

    Cisco HDLC Commands

    This feature is available only in the Vyatta Subscription Edition.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    14/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 2

    Encapsulations R6.3v01 Vyatta

    CiscoHDLCCommands

    This chapter contains the following commands.

    Commands for using other system features with Cisco HDLCencapsulatedinterfaces can be found in the following locations.

    ConfigurationCommands

    interfacesserialciscohdlc DefinesthecharacteristicsofCiscoHighLevelData

    LinkControlencapsulationforaserialinterface.

    interfacesserialciscohdlckeepalives Setthecharacteristicsofkeepalivemessagesfora

    CiscoHDLCserialinterface.

    interfacesserialciscohdlcmtu SpecifytheMaximumTransmitUnit(MTU)sizefora

    CiscoHDLCserialinterface.

    interfacesserialciscohdlcvif1address

    localaddress

    AssignanIPaddresstoaCiscoHDLCvirtual

    interface.

    interfacesserialciscohdlcvif1addressprefixlength

    Specifiestheprefixdefiningthenetworkservedby

    avirtualinterfaceonaCiscoHDLCserialinterface.

    interfacesserialciscohdlcvif1address

    remoteaddress

    SpecifiestheIPaddressoftheremoteendpointona

    CiscoHDLCserialconnection.

    interfacesserialciscohdlcvif1description SpecifiesadescriptionforaCiscoHDLCvirtual

    interface.

    OperationalCommands

    clearinterfacesserialcountersciscohdlc ClearscountersforCiscoHDLCencapsulatedserial

    interfaces

    showinterfacesserialciscohdlc DisplaysCiscoHDLCserialinterfaceinformation.

    RelatedCommandsDocumentedElsewhere

    Serialinterfaces Commandsforclearingandconfiguringserialinterfacesanddisplayingserialinterface

    informationaredescribedintheVyattaWANInterfacesReferenceGuide.

    Firewall

    Commandsfor

    configuring

    firewall

    on

    serial

    interfaces

    are

    described

    in

    the

    Vyatta

    FirewallReferenceGuide.

    OSPF CommandsforconfiguringtheOpenShortestPathFirstroutingprotocolonserial

    interfacesaredescribedintheVyattaOSPFReferenceGuide.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    15/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 3

    Encapsulations R6.3v01 Vyatta

    RIP CommandsforconfiguringtheRoutingInformationProtocolonserialinterfacesare

    describedintheVyattaRIPReferenceGuide.

    QoS Commandsforconfiguringqualityofserviceonserialinterfacesaredescribedinthe

    VyattaQoSReferenceGuide.

    Systeminterfaces CommandsforshowingthephysicalinterfacesavailableonyoursystemaredescribedintheVyattaBasicSystemReferenceGuide.

    VRRP CommandsforconfiguringVirtualRouterRedundancyProtocolonserialinterfacesare

    describedintheVyattaHighAvailabilityReferenceGuide.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    16/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 4

    Encapsulations R6.3v01 Vyatta

    clearinterfacesserialcountersciscohdlc

    Clears counters for Cisco HDLCencapsulated serial interfaces

    Syntax

    clear interfaces serial wanxcounters cisco-hdl]

    CommandMode

    Operational mode.

    Parameters

    UsageGuidelines

    Use this command to clear statistics for a Cisco HDLCencapsulated serial interface.

    Example 1-1 shows the result of using this command.

    Example11 ClearingaCiscoHDLCinterface.

    vyatta@R1>clearinterfacesserialwan0countersciscohdlc

    DSU/CSUPerfomanceMonitoringcounterswereflushed.

    Performancemonitoringcountersflushed

    wan0.1:SLARPSTATISTICS

    SLARPframetransmission/receptionstatistics

    SLARPrequestpacketstransmitted: 0

    SLARPrequestpacketsreceived: 0

    SLARPReplypacketstransmitted: 0

    SLARPReplypacketsreceived: 0

    SLARPkeepalivepacketstransmitted: 0

    SLARP

    keepalive

    packets

    received:

    0

    IncomingSLARPPacketswithformaterrors

    InvalidSLARPCode: 0

    ReplieswithbadIPaddr: 0

    Replieswithbadnetmask: 0

    SLARPtimeout/retrystatistics

    SLARPRequesttimeouts: 0

    wanx The identifier of a configured serial interface.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    17/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 5

    Encapsulations R6.3v01 Vyatta

    keepalivereceptiontimeouts: 0

    CiscoDiscoveryProtocolframes

    Transmitted: 0

    Received: 0

    DSU/CSUPerfomanceMonitoringcounterswereflushed.

    vyatta@R1>

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    18/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 6

    Encapsulations R6.3v01 Vyatta

    interfacesserialciscohdlc

    Defines the characteristics of Cisco High-Level Data Link Control encapsulation fora serial interface.

    Syntax

    set interfaces serial wanxcisco-hdlc

    delete interfaces serial wanxcisco-hdlc

    show interfaces serial wanxcisco-hdlc

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    ciscohdlc{

    }

    }

    }

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to define the Cisco High-Level Data Link Control characteristicsof the line.

    Note that on Cisco HDLC interfaces, IP addresses are assigned to virtual interfaces,not directly to the interface. Currently, only one vif is supported, but multipleaddresses may be defined for the vif.

    wanx Mandatory. The identifier for the serial interface you aredefining. This may be wan0 to wan23, depending on what serialinterfaces that are actually available on the system.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    19/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 7

    Encapsulations R6.3v01 Vyatta

    The full identifier of an HDLC interface is intcisco-hdlc vifvif. For example, the fullidentifier of the HDLC vif on wan1 is wan1 cisco-hdlc vif 1. Note that subsequentto initial definition, the notation for referring to this is int.vifthat is, wan1.1.

    Use the set form of this command to create a cisco-hdlc serial interface, provided theinterface physically exists on your system.

    To see the interfaces available to the system kernel, use the system option of use theshow interfaces system command, which is described in the Vyatta Basic SystemReference Guide.

    Note that you cannot use set to change the identifier of configuration nodes. Tochange the identifier of a configuration node, you must delete the old configurationnode and create a new one with the correct identifier.

    Use the delete form of this command to remove all configuration for a Cisco HDLCserial interface.

    Use the show form of this command to view Cisco HDLC serial interfaceconfiguration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    20/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 8

    Encapsulations R6.3v01 Vyatta

    interfacesserialciscohdlckeepalives

    Set the characteristics of keep-alive messages for a Cisco HDLC serial interface.

    Syntax

    set interfaces serial wanxcisco-hdlc keepalives [require-rx {enable | disable} | timerinterval]

    delete interfaces serial wanxcisco-hdlc keepalives require-rx

    show interfaces serial wanxcisco-hdlc keepalives require-rx

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    ciscohdlc{

    keepalives{

    requirerx[enable|disable]

    timerinterval

    }

    }

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    require-rx Specifies whether or not to require receiving keep-alive messagefrom the Cisco HDLC peer. Supported values are as follows:

    enable: Requires keep-alive messages. If keep-alive messages arenot received, the peer interface is declared down.

    disable: Does not require keep-alive messages.

    timerinterval Specifies the interval at which keep-alive messages are to be sent.The range is 10 to 60000. The default is 10.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    21/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 9

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to set the characteristics of keep-alive messages on a Cisco HDLCinterface.

    Use the set form of this command to specify keep-alive information.

    Use the delete form of this command to restore the default keep-alive configuration.

    Use the show form of this command to view keep-alive configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    22/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 10

    Encapsulations R6.3v01 Vyatta

    interfacesserialciscohdlcmtu

    Specify the Maximum Transmit Unit (MTU) size for a Cisco HDLC serial interface.

    Syntax

    set interfaces serial wanxcisco-hdlc mtu mtu

    delete interfaces serial wanxcisco-hdlc mtu

    show interfaces serial wanxcisco-hdlc mtu

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    ciscohdlc{

    mtumtu

    }

    }

    }

    Parameters

    Default

    The MTU is 1500.

    UsageGuidelines

    Use this command to specify the Maximum Transmit Unit. This is the maximumpacket size the interface will send.

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    mtu The maximum packet size that the interface will send. The rangeis 8 to 8188. The default is 1500.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    23/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 11

    Encapsulations R6.3v01 Vyatta

    Use the set form of this command to specify the MTU.

    Use the delete form of this command to restore the default MTU.

    Use the show form of this command to view MTU configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    24/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 12

    Encapsulations R6.3v01 Vyatta

    interfacesserialciscohdlcvif1address

    localaddress

    Assign an IP address to a Cisco HDLC virtual interface.

    Syntax

    set interfaces serial wanxcisco-hdlc vif 1 address local-address ipv4

    delete interfaces serial wanxcisco-hdlc vif 1 address local-address

    show interfaces serial wanxcisco-hdlc vif 1 address local-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    ciscohdlc{

    vif1{

    address{

    localaddressipv4

    }

    }

    }}

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    1 The identifier of the virtual interface. Currently, only one vif is

    supported for Cisco HDLC interfaces, and the identifier must be1.

    ipv4 Mandatory. The IPv4 address for this vif. Each serial vif cansupport exactly one IP address.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    25/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 13

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify an IP address for a Cisco HDLC virtual interface.

    Use the set form of this command to set the IP address.

    Use the delete form of this command to remove IP address configuration.

    Use the show form of this command to view IP address configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    26/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 14

    Encapsulations R6.3v01 Vyatta

    interfacesserialciscohdlcvif1address

    prefixlength

    Specifies the prefix defining the network served by a virtual interface on a CiscoHDLC serial interface.

    Syntax

    set interfaces serial wanxcisco-hdlc vif 1 address prefix-lengthprefix

    delete interfaces serial wanxcisco-hdlc vif 1 address prefix-length

    show interfaces serial wanxcisco-hdlc vif 1 address prefix-length

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    ciscohdlc{

    vif1{

    address{

    prefixlengthprefix

    }

    }}

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    1 The identifier of the virtual interface. Currently, only one vif issupported for Cisco HDLC interfaces, and the identifier must be1.

    prefix Mandatory. The prefix defining the network served by thisinterface. The range is 0 to 32.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    27/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 15

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify the prefix defining the network served by this virtualinterface.

    Use the set form of this command to specify the network prefix.

    Use the delete form of this command to remove network prefix configuration.

    Use the show form of this command to view network prefix configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    28/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 16

    Encapsulations R6.3v01 Vyatta

    interfacesserialciscohdlcvif1address

    remoteaddress

    Specifies the IP address of the remote endpoint on a Cisco HDLC serial connection.

    Syntax

    set interfaces serial wanxcisco-hdlc vif 1 address remote-address ipv4

    delete interfaces serial wanxcisco-hdlc vif 1 address remote-address

    show interfaces serial wanxcisco-hdlc vif 1 address remote-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    ciscohdlc{

    vif1{

    address{

    remoteaddressipv4

    }

    }

    }}

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    1 The identifier of the virtual interface. Currently, only one vif is

    supported for Cisco HDLC interfaces, and the identifier must be1.

    ipv4 Mandatory. An IP address representing the remote endpoint.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    29/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 17

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify the IP address representing the remote endpoint.

    Use the set form of this command to set the remote endpoints IP address.

    Use the delete form of this command to remove remote address configuration.

    Use the show form of this command to view remote address configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    30/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 18

    Encapsulations R6.3v01 Vyatta

    interfacesserialciscohdlcvif1description

    Specifies a description for a Cisco HDLC virtual interface.

    Syntax

    set interfaces serial wanxcisco-hdlc vif 1description desc

    delete interfaces serial wanxcisco-hdlc vif 1 description

    show interfaces serial wanxcisco-hdlc vif 1 description

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    ciscohdlc{

    vif1{

    descriptiondesc

    }

    }

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    1 The identifier of the virtual interface. Currently, only one vif issupported for Cisco HDLC interfaces, and the identifier must be1.

    desc Optional. A brief description for the virtual interface. If thedescription contains spaces, it must be enclosed in doublequotes.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    31/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 19

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify a description for the virtual interface.

    Use the set form of this command to set the description for the virtual interface.

    Use the delete form of this command to remove description configuration.

    Use the show form of this command to view description configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    32/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 20

    Encapsulations R6.3v01 Vyatta

    interfacesserialencapsulationciscohdlc

    Sets the Cisco HDLC as the encapsulation type for a serial interface.

    Syntax

    set interfaces serial wanxencapsulation cisco-hdlc

    delete interfaces serial wanxencapsulation

    show interfaces serial wanxencapsulation

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    encapsulationciscohdlc

    }

    }

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to specify Cisco HDLC as the encapsulation type for a serial

    interface.

    Use the set form of this command to set the encapsulation type.

    Use the delete form of this command to remove encapsulation type configuration.

    Use the show form of this command to view encapsulation type configuration.

    wanx Mandatory. Multi-node. The identifier for the serial interface

    you are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    33/99

    Chapter1:CiscoHDLC CiscoHDLCCommands 21

    Encapsulations R6.3v01 Vyatta

    showinterfacesserialciscohdlc

    Displays Cisco HDLC serial interface information.

    Syntax

    show interfaces serialwanxcisco-hdlc

    CommandMode

    Operational mode.

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to view the operational status of a Cisco HDLCencapsulatedserial interface.

    wanx The name of a serial interface. If an interface is specified, youmust also specify one of the cisco-hdlc, frame-relay, physical,ppp, or trace options.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    34/99

    22

    Encapsulations R6.3v01 Vyatta

    Chapter2:FrameRelay

    This chapter describes commands for configuring Frame Relay encapsulation on

    serial interfaces on the Vyatta system.

    This chapter presents the following topics:

    Frame Relay Commands

    This feature is available only in the Vyatta Subscription Edition.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    35/99

    Chapter2:FrameRelay FrameRelayCommands 23

    Encapsulations R6.3v01 Vyatta

    FrameRelayCommands

    This chapter contains the following commands.

    ConfigurationCommands

    interfacesserialencapsulationframerelay SetstheFrameRelayastheencapsulationtypefora

    serialinterface.

    interfacesserialframerelay DefinesthecharacteristicsofFrameRelay

    encapsulationonaserialinterface.

    interfacesserialframerelaymtu SpecifiestheMaximumTransmitUnit(MTU)sizefor

    aFrameRelayserialinterface.

    interfacesserialframerelaysignaling Specifiesthesignalingvariant(LMItype)fora

    FrameRelayserialinterface.

    interfacesserialframerelaysignalingoptions SpecifiesthesignalingoptionsforaFrameRelay

    serialinterface.

    interfacesserialframerelayvifaddress

    localaddress

    SetstheIPaddressforaFrameRelayvirtual

    interface.

    interfacesserialframerelayvifaddress

    prefixlength

    Specifiestheprefixdefiningthenetworkservedby

    aFrameRelayvirtualinterface.

    interfacesserialframerelayvifaddress

    remoteaddress

    SetstheIPaddressfortheremoteendpointofa

    FrameRelayconnection.

    interfaces

    serial

    frame

    relay

    vif

    description

    Specifies

    a

    description

    for

    a

    Frame

    Relay

    virtual

    interface.

    interfacesserialframerelayvifpvc

    rxinversearp

    EnablesordisablesreceivingofinverseARP

    messagesonaFrameRelayvirtualinterface.

    interfacesserialframerelayvifpvc

    txinversearp

    SpecifiesthenumberofinverseARPmessagestobe

    sentbyaFrameRelayvirtualinterface.

    OperationalCommands

    clearinterfacesserialcountersframerelay ClearscountersforFrameRelayencapsulatedserial

    interfaces

    showinterfaces

    serial

    frame

    relay Displays

    Frame

    Relay

    serial

    interface

    information.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    36/99

    Chapter2:FrameRelay FrameRelayCommands 24

    Encapsulations R6.3v01 Vyatta

    Commands for using other system features with Frame Relayencapsulatedinterfaces can be found in the following locations.

    RelatedCommandsDocumentedElsewhere

    Serialinterfaces Commandsforclearingandconfiguringserialinterfacesanddisplayingserialinterface

    informationare

    described

    in

    the

    Vyatta

    WAN

    Interfaces

    Reference

    Guide.

    Firewall CommandsforconfiguringfirewallonserialinterfacesaredescribedintheVyatta

    FirewallReferenceGuide.

    OSPF CommandsforconfiguringtheOpenShortestPathFirstroutingprotocolonserial

    interfacesaredescribedintheVyattaOSPFReferenceGuide.

    RIP CommandsforconfiguringtheRoutingInformationProtocolonserialinterfacesare

    describedintheVyattaRIPReferenceGuide.

    QoS Commandsforconfiguringqualityofserviceonserialinterfacesaredescribedinthe

    VyattaQoSReferenceGuide.

    Systeminterfaces Commandsforshowingthephysicalinterfacesavailableonyoursystemaredescribed

    intheVyattaBasicSystemReferenceGuide.

    VRRP CommandsforconfiguringVirtualRouterRedundancyProtocolonserialinterfacesare

    describedintheVyattaHighAvailabilityReferenceGuide.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    37/99

    Chapter2:FrameRelay FrameRelayCommands 25

    Encapsulations R6.3v01 Vyatta

    clearinterfacesserialcountersframerelay

    Clears counters for Frame Relayencapsulated serial interfaces

    Syntax

    clear interfaces serial wanxcounters frame-relay

    CommandMode

    Operational mode.

    Parameters

    UsageGuidelines

    Use this command to clear statistics for a specified Frame Relayencapsulated serialinterface.

    wanx The identifier of a configured serial interface.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    38/99

    Chapter2:FrameRelay FrameRelayCommands 26

    Encapsulations R6.3v01 Vyatta

    interfacesserialencapsulationframerelay

    Sets the Frame Relay as the encapsulation type for a serial interface.

    Syntax

    set interfaces serial wanxencapsulation frame-relay

    delete interfaces serial wanxencapsulation

    show interfaces serial wanxencapsulation

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    encapsulationframerelay

    }

    }

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to specify Frame Relay as the encapsulation type for a serial

    interface.

    Use the set form of this command to set the encapsulation type.

    Use the delete form of this command to remove encapsulation type configuration.

    Use the show form of this command to view encapsulation type configuration.

    wanx Mandatory. Multi-node. The identifier for the serial interface

    you are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    39/99

    Chapter2:FrameRelay FrameRelayCommands 27

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelay

    Defines the characteristics of Frame Relay encapsulation on a serial interface.

    Syntax

    set interfaces serial wanxframe-relay

    delete interfaces serial wanxframe-relay

    show interfaces serial wanxframe-relay

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    }

    }

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to define Frame Relay settings on an interface. This consists

    primarily of defining the signaling variant, the PVC characteristics, and thekeep-alive (health checking) characteristics of the line.

    The full identifier of an Frame Relay interface is intframe-relay vifvif. For example,the full identifier of the Frame Relay vif 16 on wan0 is wan0 frame-relay vif 16. Notethat subsequent to initial definition, the notation for referring to this is int.vifthatis, wan0.16.

    wanx Mandatory. Multi-node. The identifier for the serial interface

    you are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    40/99

    Chapter2:FrameRelay FrameRelayCommands 28

    Encapsulations R6.3v01 Vyatta

    Use the set form of this command to set Frame Relay characteristics.

    Use the delete form of this command to remove all configuration for a Frame Relayserial interface.

    Use the show form of this command to view a Frame Relay serial interface

    configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    41/99

    Chapter2:FrameRelay FrameRelayCommands 29

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelaymtu

    Specifies the Maximum Transmit Unit (MTU) size for a Frame Relay serial interface.

    Syntax

    set interfaces serial wanxframe-relay mtu mtu

    delete interfaces serial wanxframe-relay mtu

    show interfaces serial wanxframe-relay mtu

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    mtumtu

    }

    }

    }

    Parameters

    Default

    The MTU is 1500.

    UsageGuidelines

    Use this command to specify the Maximum Transfer Unit (MTU) for a Frame Relayserial interface. This is the maximum packet size the interface will send.

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    mtu The maximum packet size that the interface will send. The rangeis 8 to 8188. The default is 1500.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    42/99

    Chapter2:FrameRelay FrameRelayCommands 30

    Encapsulations R6.3v01 Vyatta

    Use the set form of this command to set the MTU.

    Use the delete form of this command to restore the default MTU configuration.

    Use the show form of this command to view MTU configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    43/99

    Chapter2:FrameRelay FrameRelayCommands 31

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelaysignaling

    Specifies the signaling variant (LMI type) for a Frame Relay serial interface.

    Syntax

    set interfaces serial wanxframe-relay signaling value

    delete interfaces serial wanxframe-relay signaling

    show interfaces serial wanxframe-relay signaling

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    signalingvalue

    }

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.Sets the full status message polling interval.

    value Specifies the Frame Relay signaling variant (LMI type).Supported values are as follows:

    auto: Autonegotiates the LMI type.

    ansi: Uses ANSI-617d Annex D LMI type.

    q933: Uses the Q.933 (ITU-T (CCIT) Q.933 annex A) LMI type.lmi: Uses Cisco proprietary LMI type.

    The default is auto.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    44/99

    Chapter2:FrameRelay FrameRelayCommands 32

    Encapsulations R6.3v01 Vyatta

    Default

    LMI type is automatically negotiated.

    UsageGuidelines

    Use this command to specify the signaling variant (LMI type) for a Frame Relay serialinterface.

    Use the set form of this command to set the signaling variant.

    Use the delete form of this command to restore the default signaling variant.

    Use the show form of this command to view signaling variant configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    45/99

    Chapter2:FrameRelay FrameRelayCommands 33

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelaysignalingoptions

    Specifies the signaling options for a Frame Relay serial interface.

    Syntax

    set interfaces serial wanxframe-relay signaling-options [n391dte value | n392dtevalue | n393dte value | t391dte value | t392 value]

    delete interfaces serial wanxframe-relay signaling-options

    show interfaces serial wanxframe-relay signaling-options

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    signalingoptions{

    n391dtevalue

    n392dtevalue

    n393dtevalue

    t391dtevalue

    t392value

    }}

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    46/99

    Chapter2:FrameRelay FrameRelayCommands 34

    Encapsulations R6.3v01 Vyatta

    Default

    The default value for each parameter is used.

    n391dtevalue

    Optional. Sets the frequency at which the DTE expects a fullstatus message in response to keep-alive messages. The DTEsends a keep-alive request to the DCE at the interval specified bythe t391dte parameter. This parameter, n391dte, specifies thefrequency at which the DTE expects the response. For example,

    ifn391dte is set to 6 it means that the DTE expects a full statusmessage to be sent in response to every 6th status enquiry.

    The range is 1 to 255. The default is 6.

    n392dtevalue

    Optional. Sets the DTE error threshold, which is the number oferrors which, if they occur within the event count specified bythe n393dte parameter, the link will be declared down.

    The range is 1 to 100. The default is 6.

    n393dtevalue

    Optional. Sets the DTE monitored event count. This parameteris used in conjunction with the number of errors specified in the

    n392dte parameter to determine whether a link should bedeclared down. Ifn392dte errors occur within n393dte events,the link is considered down.

    The range is 1 to 10. The default is 4.

    t391dte value Optional. Sets the DTE keep-alive timer. This is the interval, inseconds, at which the interface sends out a keep-alive request tothe DCE interface, which should respond with a keep-alivemessage.

    At the interval defined by the n391dte option, the DCE will senda full status report instead of just a keep-alive message.

    The range is 5 to 30. The default is 10.

    t392 value Optional. Sets the DCE timer variable.This is the maximumtime, in seconds, that the DCE will wait for a keep-alive requestfrom the DTE interface. If this condition occurs a time-out iscounted.

    This value must be greater than the DTE keep-alive intervalspecified by the t391dte parameter.

    The range is 5 to 30. The default is 16.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    47/99

    Chapter2:FrameRelay FrameRelayCommands 35

    Encapsulations R6.3v01 Vyatta

    UsageGuidelines

    Use this command to specify the Frame Relay signaling options. These optionscontrol how often the keepalive and full status enquiries are sent and expected.

    Use the set form of this command to specify the signaling option for the interface.Use the delete form of this command to remove the configuration.

    Use the show form of this command to view the configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    48/99

    Chapter2:FrameRelay FrameRelayCommands 36

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelayvifaddress

    localaddress

    Sets the IP address for a Frame Relay virtual interface.

    Syntax

    set interfaces serial wanxframe-relay vifdlci address local-address ipv4

    delete interfaces serial wanxframe-relay vifdlci address local-address

    show interfaces serial wanxframe-relay vifdlci address local-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    vifdlci{

    address{

    localaddressipv4

    }

    }

    }}

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    dlci The identifier of the virtual interface. For Frame Relay

    interfaces, this is the DLCI number for the interface. The rangeis 16 to 991.

    ipv4 Mandatory. The IPv4 address for this vif. Each serial vif cansupport exactly one IP address.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    49/99

    Chapter2:FrameRelay FrameRelayCommands 37

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify the IP address for a Frame Relay virtual interface.

    Use the set form of this command to set the IP address.

    Use the delete form of this command to remove IP address configuration.

    Use the show form of this command to view IP address configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    50/99

    Chapter2:FrameRelay FrameRelayCommands 38

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelayvifaddress

    prefixlength

    Specifies the prefix defining the network served by a Frame Relay virtual interface.

    Syntax

    set interfaces serial wanxframe-relay vifdlci address prefix-lengthprefix

    delete interfaces serial wanxframe-relay vifdlci address prefix-length

    show interfaces serial wanxframe-relay vifdlci address prefix-length

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    vifdlci{

    address{

    prefixlengthprefix

    }

    }

    }}

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    dlci The identifier of the virtual interface. For Frame Relay

    interfaces, this is the DLCI number for the interface. The rangeis 16 to 991.

    prefix Mandatory. The prefix defining the network served by thisinterface. The range is 0 to 32.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    51/99

    Chapter2:FrameRelay FrameRelayCommands 39

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify the prefix defining the network served by this virtualinterface.

    Use the set form of this command to set the network prefix.

    Use the delete form of this command to remove network prefix configuration.

    Use the show form of this command to view network prefix configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    52/99

    Chapter2:FrameRelay FrameRelayCommands 40

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelayvifaddress

    remoteaddress

    Sets the IP address for the remote endpoint of a Frame Relay connection.

    Syntax

    set interfaces serial wanxframe-relay vifdlci address remote-address ipv4

    delete interfaces serial wanxframe-relay vifdlci address remote-address

    show interfaces serial wanxframe-relay vifdlci address remote-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    vifdlci{

    address{

    remoteaddressipv4

    }

    }

    }}

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    dlci The identifier of the virtual interface. For Frame Relay

    interfaces, this is the DLCI number for the interface. The rangeis 16 to 991.

    ipv4 Mandatory. The IP address of the remote endpoint.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    53/99

    Chapter2:FrameRelay FrameRelayCommands 41

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify the IP address of the remote endpoint of a Frame Relayconnection.

    Use the set form of this command to set the remote address.

    Use the delete form of this command to remove remote address configuration.

    Use the show form of this command to view remote address configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    54/99

    Chapter2:FrameRelay FrameRelayCommands 42

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelayvif

    description

    Specifies a description for a Frame Relay virtual interface.

    Syntax

    set interfaces serial wanxframe-relay vifdlci description desc

    delete interfaces serial wanxframe-relay vifdlci description

    show interfaces serial wanxframe-relay vifdlci description

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    vifdlci{

    descriptiondesc

    }

    }

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    dlci The identifier of the virtual interface. For Frame Relayinterfaces, this is the DLCI number for the interface. The rangeis 16 to 991.

    desc Optional. A brief description for the virtual interface. If thedescription contains spaces, it must be enclosed in doublequotes.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    55/99

    Chapter2:FrameRelay FrameRelayCommands 43

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify a description for a Frame Relay virtual interface.

    Use the set form of this command to specify the description.

    Use the delete form of this command to remove description configuration.

    Use the show form of this command to view description configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    56/99

    Chapter2:FrameRelay FrameRelayCommands 44

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelayvifpvc

    rxinversearp

    Enables or disables receiving of inverse ARP messages on a Frame Relay virtualinterface.

    Syntax

    set interfaces serial wanxframe-relay vifdlci pvc rx-inverse-arp state

    delete interfaces serial wanxframe-relay vifdlci pvc rx-inverse-arp

    show interfaces serial wanxframe-relay vifdlci pvc rx-inverse-arp

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    vifdlci{

    pvc{

    rxinversearpstate

    }

    }}

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    vlan-id The identifier of the virtual interface. For Frame Relayinterfaces, this is the DLCI number for the interface. The rangeis 16 to 991.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    57/99

    Chapter2:FrameRelay FrameRelayCommands 45

    Encapsulations R6.3v01 Vyatta

    Default

    Receiving of inverse ARP messages is disabled.

    UsageGuidelines

    Use this command to enable or disable inverse Address Resolution Protocol (inverseARP) on this virtual interface. Inverse ARP allows you to determine a hostshardware address from its network address.

    Use the set form of this command to enable or disable receiving inverse ARP on thevirtual interface.

    Use the delete form of this command to restore the default inverse ARP receptionbehavior.

    Use the show form of this command to view inverse ARP reception configuration.

    state Enables or disables inverse ARP on this DLCI. Supported valuesare as follows:

    enable: Enables inverse ARP on this DLCI.

    disable: Disables inverse ARP on this DLCI.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    58/99

    Chapter2:FrameRelay FrameRelayCommands 46

    Encapsulations R6.3v01 Vyatta

    interfacesserialframerelayvifpvc

    txinversearp

    Specifies the number of inverse ARP messages to be sent by a Frame Relay virtualinterface.

    Syntax

    set interfaces serial wanxframe-relay vifdlci pvc tx-inverse-arp value

    delete interfaces serial wanxframe-relay vifdlci pvc tx-inverse-arp

    show interfaces serial wanxframe-relay vifdlci pvc tx-inverse-arp

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    serialwanx{

    framerelay{

    vifdlci{

    pvc{

    txinversearpvalue

    }

    }}

    }

    }

    Parameters

    wanx Mandatory. Multi-node. The identifier for the serial interfaceyou are defining. This may be wan0 to wan23, depending onwhat serial interfaces that are actually available on the system.

    vlan-id The identifier of the virtual interface. For Frame Relayinterfaces, this is the DLCI number for the interface. The rangeis 16 to 991.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    59/99

    Chapter2:FrameRelay FrameRelayCommands 47

    Encapsulations R6.3v01 Vyatta

    Default

    There is no limit to the number of inverse ARP messages that can be sent from theinterface.

    UsageGuidelines

    Use this command to set the maximum number of inverse Address ResolutionProtocol (inverse ARP) messages that can be sent from a Frame Relay virtualinterface. Inverse ARP allows you to determine a hosts hardware address from its

    network address.

    Use the set form of this command to set the inverse ARP transmission limit.

    Use the delete form of this command to restore the default inverse ARP transmissionlimit behavior.

    Use the show form of this command to view inverse ARP transmission limitconfiguration.

    value Sets a limit on the number of inverse ARP messages that will besent by the system for use in dynamic address-to-DLCImapping. The range is 0 to 86400, where 0 means there is nolimit.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    60/99

    Chapter2:FrameRelay FrameRelayCommands 48

    Encapsulations R6.3v01 Vyatta

    showinterfacesserialframerelay

    Displays Frame Relay serial interface information.

    Syntax

    show interfaces serialwanxframe-relay [pvc | pvc-list [active]]

    CommandMode

    Operational mode.

    Parameters

    Default

    Information is shown for all PVCs on the Frame Relay interface.

    UsageGuidelines

    Use this command to view the operational status of a Frame Relayencapsulatedserial interface.

    wanx The name of a serial interface. If an interface is specified, youmust also specify one of the cisco-hdlc, frame-relay, physical,ppp, or trace options.

    pvc Displays details for Frame Relay PVCs.

    pvc-list Lists Frame Relay permanent virtual circuits (PVCs). When usedwith no option, displays all configured PVCs.

    active Lists only active Frame Relay PVCs.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    61/99

    49

    Encapsulations R6.3v01 Vyatta

    Chapter3:ClassicalIPoA

    This chapter describes the commands for setting up Classical IPoA encapsulation on

    ADSL interfaces on the Vyatta system.

    This chapter presents the following topics:

    Classical IPoA Configuration

    Classical IPoA Commands

    This feature is available only in the Vyatta Subscription Edition.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    62/99

    Chapter3:ClassicalIPoA ClassicalIPoAConfiguration 50

    Encapsulations R6.3v01 Vyatta

    ClassicalIPoAConfiguration

    This section presents the following topics:

    Classical IPoA Overview

    Classical IPoA Configuration Example

    ClassicalIPoAOverviewClassical IPoA encapsulation for a permanent virtual circuit (PVC) on an ADSLinterface is defined in RFC 1577. This type of interface is modeled as point-to-pointand is used to connect to an IPoA endpoint.

    ClassicalIPoAConfigurationExampleFigure 3-1 shows a typical ADSL configuration with IPoA used as an access protocolbetween a customer premise and an Internet Service Provider (ISP). In this example,the ADSL interface is configured using Classical IPoA.

    Figure31 TypicalADSLnetworkconfiguration

    Example 3-1 sets up a Classical IPoA encapsulation on interface adsl0. In thisexample:

    A Sangoma S518 ADSL network interface card (NIC) is connected to theinterface.

    adsl0

    .65

    R1ADSL Link

    192.0.2.0/24

    INTERNET

    .70

    192.168.1.0/24

    eth0

    .254

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    63/99

    Chapter3:ClassicalIPoA ClassicalIPoAConfiguration 51

    Encapsulations R6.3v01 Vyatta

    Tip:WherepublicIP

    addresses

    wouldnormally

    beused,the

    exampleuses

    RFC3330

    TESTNETIP

    addresses

    (192.0.2.0/24)

    The interface has one PVC. The PVC identifier is automatically detected.

    The local IP address is 192.0.2.65, on a network with a prefix length of 24. Thisis in the public IP range, since this interface will connect over the wide areanetwork.

    The IP address of the far end is 192.0.2.70. This is on the same network as thelocal interface.

    To create and configure this ADSL interface, perform the following steps inconfiguration mode:

    Example31 CreatingandconfiguringanADSLinterfaceforClassicalIPoAencapsulation

    Step Command

    Specifythatthesystemshould

    autodetectanidentifierforthe

    pvc.

    vyatta@R1#setinterfacesadsladsl0pvcauto

    Setthe

    line

    encapsulation

    to

    ClassicalIPoA.vyatta@R1#

    set

    interfaces

    adsl

    adsl0

    pvc

    auto

    classical

    ipoa

    AssignthelocalIPaddresstothe

    interface.

    vyatta@R1#setinterfacesadsladsl0pvcautoclassicalipoalocaladdress192.0.2.65

    Setthenetworkmask(prefix

    length)fortheinterface.

    vyatta@R1#setinterfacesadsladsl0pvcautoclassicalipoaprefixlength24

    SettheIPaddressofthefarend

    oftheconnection.

    vyatta@R1#setinterfacesadsladsl0pvcautoclassicalipoaremoteaddress192.0.2.70

    Committheconfiguration. vyatta@R1#commit

    Viewtheconfiguration. vyatta@R1#showinterfacesadsladsl0

    pvcauto{

    classicalipoa{

    localaddress192.0.2.65

    prefixlength24

    remoteaddress192.0.2.70

    }

    }

    vyatta@R1#

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    64/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 52

    Encapsulations R6.3v01 Vyatta

    ClassicalIPoACommands

    This chapter contains the following commands.

    Commands for using other system features with Classical IPoAencapsulatedinterfaces can be found in the following locations.

    ConfigurationCommands

    interfacesadslpvcclassicalipoa SpecifiesRFC1577ClassicalIPoAencapsulationforaPVC

    onanADSLinterface.

    interfacesadslpvcclassicalipoa

    localaddress

    AssignanIPaddresstoaPVCwithRFC1577ClassicalIPoA

    encapsulationonanADSLinterface.

    interfacesadslpvcclassicalipoa

    mtu

    SpecifytheMaximumTransmitUnit(MTU)sizeforaPVC

    withRFC1577ClassicalIPoAencapsulationonanADSL

    interface.

    interfacesadslpvcclassicalipoa

    prefixlength

    SpecifiestheprefixdefiningthenetworkservedbyaPVC

    withRFC

    1577

    Classical

    IPoA

    encapsulation

    on

    an

    ADSL

    interface.

    interfacesadslpvcclassicalipoa

    remoteaddress

    SetstheIPaddressoftheremoteendofaPVCwithRFC

    1577ClassicalIPoAencapsulationonanADSLinterface.

    OperationalCommands

    clearinterfacesconnection BringsaClassicalIPoAencapsulatedDSLinterfacedown

    thenup.

    connectinterface BringsaClassicalIPoAencapsulatedDSLinterfaceup.

    disconnectinterface

    Brings

    aClassical

    IPoA

    encapsulated

    DSL

    interface

    down.

    RelatedCommandsDocumentedElsewhere

    Serialinterfaces Commandsforclearingandconfiguringserialinterfacesanddisplayingserialinterface

    informationaredescribedintheVyattaWANInterfacesReferenceGuide.

    Firewall CommandsforconfiguringfirewallonClassicalIPoAencapsulatedinterfacesare

    describedintheVyattaFirewallReferenceGuide.

    OSPF CommandsforconfiguringtheOpenShortestPathFirstroutingprotocolon

    ClassicalIPoAencapsulatedinterfacesaredescribedintheVyattaOSPFReference

    Guide.

    RIP CommandsforconfiguringtheRoutingInformationProtocolon

    ClassicalIPoAencapsulated interfacesaredescribedintheVyattaRIPReferenceGuide.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    65/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 53

    Encapsulations R6.3v01 Vyatta

    QoS CommandsforconfiguringqualityofserviceonClassicalIPoAencapsulatedinterfaces

    aredescribedintheVyattaQoSReferenceGuide.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    66/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 54

    Encapsulations R6.3v01 Vyatta

    clearinterfacesconnection

    Brings a Classical IPoAencapsulated DSL interface down then up.

    Syntax

    clear interfaces connectionadslx

    CommandMode

    Operational mode.

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to operationally bring a Classical IP over Asynchronous TransferMode (IPoA) interface down and then up.

    adslx Mandatory. The interface to be operationally brought down,then up. The interface is the name of a ClassicalIPoA-encapsulated DSL interface; that is the interface name canbe adslx.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    67/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 55

    Encapsulations R6.3v01 Vyatta

    connectinterface

    Brings a Classical IPoAencapsulated DSL interface up.

    Syntax

    connect interfaceadslx

    CommandMode

    Operational mode.

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to operationally bring a Classical IP over Asynchronous TransferMode (IPoA) interface up.

    adslx Mandatory. The name of the interface. This is the name of aClassical IPoA-encapsulated DSL interface; that is the interfacename can be adslx.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    68/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 56

    Encapsulations R6.3v01 Vyatta

    disconnectinterface

    Brings a Classical IPoA-encapsulated DSL interface down.

    Syntax

    disconnect interfaceadslx

    CommandMode

    Operational mode.

    Parameters

    Default

    None.

    UsageGuidelines

    Use this command to operationally bring a Classical IP over Asynchronous TransferMode (IPoA) DSL interface down.

    adslx Mandatory. The name of the interface. This is the name of aClassical IPoA-encapsulated DSL interface; that is the interfacename can be adslx.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    69/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 57

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcclassicalipoa

    Specifies RFC 1577 Classical IPoA encapsulation for a PVC on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idclassical-ipoa

    delete interfaces adsl adslxpvcpvc-idclassical-ipoa

    show interfaces adsl adslxpvcpvc-idclassical-ipoa

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    classicalipoa{}

    }

    }

    }

    Parameters

    Default

    None.

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/vci pair or the keyword auto, where vpi is a Virtual PathIndex from 0 to 255, vci is a Virtual Circuit Index from from 0to 65535, and auto directs the system to detect the Virtual PathIndex and Virtual Circuit Index automatically.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    70/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 58

    Encapsulations R6.3v01 Vyatta

    UsageGuidelines

    Use this command to specify Classical IP over Asynchronous Transfer Mode (IPoA)encapsulation for a PVC on an ADSL interface as defined in RFC 1577. This type ofinterface is modeled as point-to-point.

    Use the set form of this command to specify Classical IPoA encapsulation.

    Use the delete form of this command to remove all configuration for Classical IPoAencapsulation.

    Use the show form of this command to view Classical IPoA configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    71/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 59

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcclassicalipoa

    localaddress

    Assign an IP address to a PVC with RFC 1577 Classical IPoA encapsulation on anADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idclassical-ipoa local-address ipv4

    delete interfaces adsl adslxpvcpvc-idclassical-ipoa local-address

    show interfaces adsl adslxpvcpvc-idclassical-ipoa local-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    classicalipoa{

    localaddressipv4

    }

    }

    }}

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/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 0to 65535, and auto directs the system to detect the Virtual PathIndex and Virtual Circuit Index automatically.

    ipv4 Mandatory. The IPv4 address for this interface.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    72/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 60

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify an IP address for a PVC with Classical IP overAsynchronous Transfer Mode (IPoA) encapsulation on an ADSL interface.

    Use the set form of this command to set the IP address for an IPoA-encapsulatedADSL interface.

    Use the delete form of this command to remove IP address configuration for anIPoA-encapsulated ADSL interface.

    Use the show form of this command to view IP address configuration for anIPoA-encapsulated ADSL interface.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    73/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 61

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcclassicalipoamtu

    Specify the Maximum Transmit Unit (MTU) size for a PVC with RFC 1577 ClassicalIPoA encapsulation on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idclassical-ipoa mtu mtu

    delete interfaces adsl adslxpvcpvc-idclassical-ipoa mtu

    show interfaces adsl adslxpvcpvc-idclassical-ipoa mtu

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    classicalipoa{

    mtumtu

    }

    }

    }}

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/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 0to 65535, and auto directs the system to detect the Virtual PathIndex and Virtual Circuit Index automatically.

    mtu The maximum packet size that the interface will send. The rangeis 8 to 8188.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    74/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 62

    Encapsulations R6.3v01 Vyatta

    Default

    The default MTU is 1500.

    UsageGuidelines

    Use this command to specify the Maximum Transmit Unit for an ADSL interfaceencapsulated with RFC 1577 Classical IP over Asynchronous Transfer Mode (IPoA).This is the maximum packet size the interface will send.

    Use the set form of this command to specify the MTU.

    Use the delete form of this command to restore the default MTU.

    Use the show form of this command to view MTU configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    75/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 63

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcclassicalipoa

    prefixlength

    Specifies the prefix defining the network served by a PVC with RFC 1577 ClassicalIPoA encapsulation on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idclassical-ipoa prefix-lengthprefix

    delete interfaces adsl adslxpvcpvc-idclassical-ipoa prefix-length

    show interfaces adsl adslxpvcpvc-idclassical-ipoa prefix-length

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    classicalipoa{

    prefixlengthprefix

    }

    }

    }}

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/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 0to 65535, and auto directs the system to detect the Virtual PathIndex and Virtual Circuit Index automatically.

    prefix Mandatory. The prefix defining the network served by thisinterface. The range is 0 to 32.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    76/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 64

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify the prefix defining the network served by an ADSLinterface encapsulated with RFC 1577 Classical IP over Asynchronous TransferMode (IPoA).

    Use the set form of this command to specify the network prefix.

    Use the delete form of this command to remove network prefix configuration.

    Use the show form of this command to view network prefix configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    77/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 65

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcclassicalipoa

    remoteaddress

    Sets the IP address of the remote end of a PVC with RFC 1577 Classical IPoAencapsulation on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idclassical-ipoaremote-addressipv4

    delete interfaces adsl adslxpvcpvc-idclassical-ipoaremote-address

    show interfaces adsl adslxpvcpvc-idclassical-ipoaremote-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    classicalipoa{

    remoteaddressipv4

    }

    }

    }

    }

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSLinterface you are defining. This may be adsl0 to adslx,depending on what physical ADSL ports are actuallyavailable on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/vci pair or the keyword auto, where vpi is a Virtual PathIndex from 0 to 255, vci is a Virtual Circuit Index from from0 to 65535, and auto directs the system to detect the VirtualPath Index and Virtual Circuit Index automatically.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    78/99

    Chapter3:ClassicalIPoA ClassicalIPoACommands 66

    Encapsulations R6.3v01 Vyatta

    Default

    If not set, the remote address is negotiated.

    UsageGuidelines

    Use this command to set the IP address of the remote endpoint of an RFC 1577Classical IP over Asynchronous Transfer Mode (IPoA) connection.

    Use the set form of this command to specify the remote address.

    Use the delete form of this command to remove the remote address.

    Use the show form of this command to display remote address configuration.

    ipv4 Mandatory. The IP address of the remote end of theClassical IPoA link. Only one remote address can bespecified.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    79/99

    67

    Encapsulations R6.3v01 Vyatta

    Chapter4:BridgedEthernet

    This chapter describes the commands for setting up Bridged Ethernet encapsulation

    (RFC 1483) on ADSL interfaces on the Vyatta system.

    This chapter presents the following topics:

    Bridged Ethernet Configuration

    Bridged Ethernet Commands

    This feature is available only in the Vyatta Subscription Edition.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    80/99

    Chapter4:BridgedEthernet BridgedEthernetConfiguration 68

    Encapsulations R6.3v01 Vyatta

    BridgedEthernetConfiguration

    This section presents the following topics:

    Bridged Ethernet Overview

    Bridged Ethernet Configuration Example

    BridgedEthernetOverviewBridged Ethernet encapsulation for a permanent virtual circuit (PVC) on an ADSLinterface is defined in RFC 1483. This type of interface is modeled as a virtualEthernet.

    BridgedEthernetConfigurationExampleFigure 4-1 shows a typical ADSL configuration with Bridged Ethernet used as anaccess protocol between a customer premise and an Internet Service Provider (ISP).In this example, the ADSL interface is configured using Bridged Ethernet.

    Figure41 TypicalADSLnetworkconfiguration

    Example 4-1 sets up a Bridged Ethernet encapsulation on interface adsl0. In thisexample:

    A Sangoma S518 ADSL network interface card (NIC) is connected to theinterface.

    adsl0

    .65

    R1ADSL Link

    192.0.2.0/24

    INTERNET

    .70

    192.168.1.0/24

    eth0

    .254

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    81/99

    Chapter4:BridgedEthernet BridgedEthernetConfiguration 69

    Encapsulations R6.3v01 Vyatta

    Tip:WherepublicIP

    addresses

    wouldnormally

    beused,the

    exampleuses

    RFC3330

    TESTNETIP

    addresses

    (192.0.2.0/24)

    The interface has one PVC (0/35).

    The local IP address is 192.0.2.65, on a network with a prefix length of 24. Thisis in the public IP range, since this interface will connect over the wide areanetwork.

    To create and configure this ADSL interface, perform the following steps inconfiguration mode:

    Example41 CreatingandconfiguringanADSLinterfaceforBridgedEthernetencapsulation

    Step Command

    Specifythatthesystemshould

    useVPI/VCIof0/35(typicalfor

    mostISPs)

    vyatta@R1#setinterfacesadsladsl0pvc0/35

    Setthelineencapsulationto

    BridgedEthernet.

    vyatta@R1#setinterfacesadsladsl0pvc0/35bridgedethernet

    AssignthelocalIPaddresstothe

    interface.

    vyatta@R1#setinterfacesadsladsl0pvc0/35bridgedethernetlocaladdress192.0.2.65

    Setthenetworkmask(prefix

    length)fortheinterface.

    vyatta@R1#setinterfacesadsladsl0pvc0/35bridgedethernetprefixlength24

    Committheconfiguration. vyatta@R1#commit

    Viewtheconfiguration. vyatta@R1#showinterfacesadsladsl0

    pvc0/35{

    bridgedethernet{

    localaddress

    192.0.2.65

    prefixlength24

    }

    }

    vyatta@R1#

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    82/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 70

    Encapsulations R6.3v01 Vyatta

    BridgedEthernetCommands

    This chapter contains the following commands.

    Commands for using other system features with Bridged Ethernetencapsulated

    interfaces can be found in the following locations.

    ConfigurationCommands

    interfacesadslpvcbridgedethernet SpecifiesRFC1483BridgedEthernetencapsulationfora

    PVConanADSLinterface.

    interfacesadslpvcbridgedethernet

    disablelinkdetect

    DirectsaPVCwithRFC1483BridgedEthernet

    encapsulationonanADSLinterfacenottodetectphysical

    linkstatechanges.

    interfacesadslpvcbridgedethernet

    localaddress

    AssignanIPaddresstoaPVCwithRFC1483Bridged

    EthernetencapsulationonanADSLinterface.

    interfacesadslpvcbridgedethernet

    mtu

    SpecifytheMaximumTransmitUnit(MTU)sizeforaPVC

    withRFC

    1483

    Bridged

    Ethernet

    encapsulation

    on

    an

    ADSL

    interface.

    interfacesadslpvcbridgedethernet

    prefixlength

    SpecifiestheprefixdefiningthenetworkservedbyaPVC

    withRFC1483BridgedEthernetencapsulationonanADSL

    interface.

    interfacesadslpvcbridgedethernet

    remoteaddress

    SetstheIPaddressoftheremoteendofaPVCwithRFC

    1483BridgedEthernetencapsulationonanADSLinterface.

    RelatedCommandsDocumentedElsewhere

    Firewall CommandsforconfiguringfirewallonBridgedEthernetencapsulatedinterfacesare

    describedintheVyattaFirewallReferenceGuide.

    OSPF CommandsforconfiguringtheOpenShortestPathFirstroutingprotocolonBridged

    EthernetencapsulatedinterfacesaredescribedintheVyattaOSPFReferenceGuide.

    RIP CommandsforconfiguringtheRoutingInformationProtocolonBridgedEthernet

    encapsulatedinterfacesaredescribedintheVyattaRIPReferenceGuide.

    QoS CommandsforconfiguringqualityofserviceonBridgedEthernetencapsulated

    interfacesare

    described

    in

    the

    Vyatta

    QoS

    Reference

    Guide.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    83/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 71

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcbridgedethernet

    Specifies RFC 1483 Bridged Ethernet encapsulation for a PVC on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idbridged-ethernet

    delete interfaces adsl adslxpvcpvc-idbridged-ethernet

    show interfaces adsl adslxpvcpvc-idbridged-ethernet

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    bridgedethernet{}

    }

    }

    }

    Parameters

    Default

    None.

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/vci pair (e.g., 0/35) or the keyword auto, where vpi is aVirtual Path Index from 0 to 255, vci is a Virtual Circuit Indexfrom from 0 to 65535, and auto directs the system to detect theVirtual Path Index and Virtual Circuit Index automatically.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    84/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 72

    Encapsulations R6.3v01 Vyatta

    UsageGuidelines

    Use this command to specify Bridged Ethernet encapsulation for a PVC on an ADSLinterface as defined in RFC 1483. This type of interface is modeled as a virtualEthernet.

    Use the set form of this command to specify Bridged Ethernet encapsulation.

    Use the delete form of this command to remove all configuration for BridgedEthernet encapsulation.

    Use the show form of this command to view Bridged Ethernet configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    85/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 73

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcbridgedethernet

    disablelinkdetect

    Directs a PVC with RFC 1483 Bridged Ethernet encapsulation on an ADSL interfacenot to detect physical link-state changes.

    Syntax

    set interfaces adsl adslxpvcpvc-idbridged-ethernetdisable-link-detect

    delete interfaces adsl adslxpvcpvc-idbridged-ethernetdisable-link-detect

    show interfaces adsl adslxpvcpvc-idbridged-ethernet

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    bridgedethernet{

    disablelinkdetect

    }

    }

    }}

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSLinterface you are defining. This may be adsl0 to adslx,depending on what physical ADSL ports are actuallyavailable on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be

    the vpi/vci pair (e.g., 0/35) or the keyword auto, wherevpi is a Virtual Path Index from 0 to 255, vci is a VirtualCircuit Index from from 0 to 65535, and auto directs thesystem to detect the Virtual Path Index and VirtualCircuit Index automatically.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    86/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 74

    Encapsulations R6.3v01 Vyatta

    Default

    The interface detects physical link state changes.

    UsageGuidelines

    Use this command to direct a PVC with RFC 1483 Bridged Ethernet encapsulationon an ADSL interface to not detect physical state change to the link (for example,when the cable is unplugged).

    Use the set form of this command to disable detection of physical state changes.

    Use the delete form of this command to enable detection of physical state changes.

    Use the show form of this command to view bridge group configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    87/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 75

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcbridgedethernet

    localaddress

    Assign an IP address to a PVC with RFC 1483 Bridged Ethernet encapsulation on anADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idbridged-ethernet local-address ipv4

    delete interfaces adsl adslx pvcpvc-idbridged-ethernet local-address

    show interfaces adsl adslx pvcpvc-idbridged-ethernet local-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    bridgedethernet{

    localaddressipv4

    }

    }

    }}

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/vci pair (e.g., 0/35) or the keyword auto, where vpi is a

    Virtual Path Index from 0 to 255, vci is a Virtual Circuit Indexfrom from 0 to 65535, and auto directs the system to detect theVirtual Path Index and Virtual Circuit Index automatically.

    ipv4 Mandatory. The IPv4 address for this interface.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    88/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 76

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify an IP address for a PVC with Bridged Ethernetencapsulation on an ADSL interface.

    Use the set form of this command to set the IP address for a BridgedEthernet-encapsulated ADSL interface.

    Use the delete form of this command to remove IP address configuration for aBridged Ethernet-encapsulated ADSL interface.

    Use the show form of this command to view IP address configuration for a BridgedEthernet-encapsulated ADSL interface.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    89/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 77

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcbridgedethernet

    mtu

    Specify the Maximum Transmit Unit (MTU) size for a PVC with RFC 1483 BridgedEthernet encapsulation on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idbridged-ethernet mtu mtu

    delete interfaces adsl adslxpvcpvc-idbridged-ethernet mtu

    show interfaces adsl adslxpvcpvc-idbridged-ethernet mtu

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    bridgedethernet{

    mtumtu

    }

    }

    }}

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/vci pair (e.g., 0/35) or the keyword auto, where vpi is a

    Virtual Path Index from 0 to 255, vci is a Virtual Circuit Indexfrom from 0 to 65535, and auto directs the system to detect theVirtual Path Index and Virtual Circuit Index automatically.

    mtu The maximum packet size that the interface will send. The rangeis 68 to 1500.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    90/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 78

    Encapsulations R6.3v01 Vyatta

    Default

    The default MTU is 1500.

    UsageGuidelines

    Use this command to specify the Maximum Transmit Unit for an ADSL interfaceencapsulated with RFC 1483 Bridged Ethernet. This is the maximum packet size theinterface will send.

    Use the set form of this command to specify the MTU.

    Use the delete form of this command to restore the default MTU.

    Use the show form of this command to view MTU configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    91/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 79

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcbridgedethernet

    prefixlength

    Specifies the prefix defining the network served by a PVC with RFC 1483 BridgedEthernet encapsulation on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idbridged-ethernet prefix-lengthprefix

    delete interfaces adsl adslxpvcpvc-idbridged-ethernet prefix-length

    show interfaces adsl adslxpvcpvc-idbridged-ethernet prefix-length

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    bridgedethernet{

    prefixlengthprefix

    }

    }

    }}

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSL interfaceyou are defining. This may be adsl0 to adslx, depending on whatphysical ADSL ports are actually available on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/vci pair (e.g., 0/35) or the keyword auto, where vpi is a

    Virtual Path Index from 0 to 255, vci is a Virtual Circuit Indexfrom from 0 to 65535, and auto directs the system to detect theVirtual Path Index and Virtual Circuit Index automatically.

    prefix Mandatory. The prefix defining the network served by thisinterface. The range is 0 to 32.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    92/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 80

    Encapsulations R6.3v01 Vyatta

    Default

    None.

    UsageGuidelines

    Use this command to specify the prefix defining the network served by an ADSLinterface encapsulated with RFC 1483 Bridged Ethernet.

    Use the set form of this command to specify the network prefix.

    Use the delete form of this command to remove network prefix configuration.

    Use the show form of this command to view network prefix configuration.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    93/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 81

    Encapsulations R6.3v01 Vyatta

    interfacesadslpvcbridgedethernet

    remoteaddress

    Sets the IP address of the remote end of a PVC with RFC 1483 Bridged Ethernetencapsulation on an ADSL interface.

    Syntax

    set interfaces adsl adslxpvcpvc-idbridged-ethernetremote-addressipv4

    delete interfaces adsl adslxpvcpvc-idbridged-ethernetremote-address

    show interfaces adsl adslxpvcpvc-idbridged-ethernetremote-address

    CommandMode

    Configuration mode.

    ConfigurationStatement

    interfaces{

    adsladslx{

    pvcpvcid{

    bridgedethernet{

    remoteaddressipv4

    }

    }

    }

    }

    Parameters

    adslx Mandatory. Multi-node. The identifier for the ADSLinterface you are defining. This may be adsl0 to adslx,depending on what physical ADSL ports are actuallyavailable on the system.

    pvc-id Mandatory. The identifier for the PVC. It can either be thevpi/vci pair (e.g., 0/35) or the keyword auto, where vpi is aVirtual Path Index from 0 to 255, vci is a Virtual CircuitIndex from from 0 to 65535, and auto directs the system todetect the Virtual Path Index and Virtual Circuit Indexautomatically.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    94/99

    Chapter4:BridgedEthernet BridgedEthernetCommands 82

    Encapsulations R6.3v01 Vyatta

    DefaultIf not set, the remote address is negotiated.

    UsageGuidelines

    Use this command to set the IP address of the remote endpoint of an RFC 1483Bridged Ethernet connection.

    Use the set form of this command to specify the remote address.

    Use the delete form of this command to remove the remote address.

    Use the show form of this command to display remote address configuration.

    ipv4 Mandatory. The IP address of the remote end of the BridgedEthernet link. Only one remote address can be specified.

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    95/99

    83

    Encapsulations R6.3v01 Vyatta

    GlossaryofAcronyms

    ACL access control list

    ADSL Asymmetric Digital Subscriber Line

    API Application Programming Interface

    AS autonomous system

    ARP Address Resolution Protocol

    BGP Border Gateway Protocol

    BIOS Basic Input Output System

    BPDU Bridge Protocol Data Unit

    CA certificate authority

    CCMP AES in counter mode with CBC-MAC

    CHAP Challenge Handshake Authentication Protocol

    CLI command-line interface

    DDNS dynamic DNS

    DHCP Dynamic Host Configuration Protocol

    DHCPv6 Dynamic Host Configuration Protocol version 6

    DLCI data-link connection identifier

    DMI desktop management interface

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    96/99

    84

    Encapsulations R6.3v01 Vyatta

    DMZ demilitarized zone

    DN distinguished name

    DNS Domain Name System

    DSCP Differentiated Services Code Point

    DSL Digital Subscriber Line

    eBGP external BGP

    EGP Exterior Gateway Protocol

    ECMP equal-cost multipath

    ESP Encapsulating Security Payload

    FIB Forwarding Information Base

    FTP File Transfer Protocol

    GRE Generic Routing Encapsulation

    HDLC High-Level Data Link Control

    I/O Input/Ouput

    ICMP Internet Control Message Protocol

    IDS Intrusion Detection System

    IEEE Institute of Electrical and Electronics Engineers

    IGP Interior Gateway Protocol

    IPS Intrusion Protection System

    IKE Internet Key Exchange

    IP Internet Protocol

    IPOA IP over ATM

    IPsec IP security

    IPv4 IP Version 4

    IPv6 IP Version 6

    ISP Internet Service Provider

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    97/99

    85

    Encapsulations R6.3v01 Vyatta

    L2TP Layer 2 Tunneling Protocol

    LACP Link Aggregation Control Protocol

    LAN local area network

    LDAP Lightweight Directory Access Protocol

    LLDP Link Layer Discovery Protocol

    MAC medium access control

    MIB Management Information Base

    MLPPP multilink PPP

    MRRU maximum received reconstructed unit

    MTU maximum transmission unit

    NAT Network Address Translation

    ND Neighbor Discovery

    NIC network interface card

    NTP Network Time Protocol

    OSPF Open Shortest Path First

    OSPFv2 OSPF Version 2

    OSPFv3 OSPF Version 3

    PAM Pluggable Authentication Module

    PAP Password Authentication Protocol

    PAT Port Address Translation

    PCI peripheral component interconnect

    PKI Public Key Infrastructure

    PPP Point-to-Point Protocol

    PPPoA PPP over ATM

    PPPoE PPP over Ethernet

    PPTP Point-to-Point Tunneling Protocol

  • 7/31/2019 Vyatta Encapsulations R6.3 v01

    98/99

    86

    Encapsulations R6.3v01 Vyatt