Table Of Contents
Mobile Ad Hoc Networks for Router-to-Radio Communications
Prerequisites for Mobile Ad Hoc Networks for Router-to-Radio Communications
Restrictions for Mobile Ad Hoc Networks for Router-to-Radio Communications
Information About Mobile Ad Hoc Networks for Router-to-Radio Communications
MANETs for Router-to-Radio Communications
PPPoE Interfaces for Mobile Radio Communications
Link Quality Metrics Reporting for OSPFv3 and EIGRP with VMI Interfaces
Neighbor Up/Down Signaling for OSFPv3 and EIGRP
PPPoE Credit-based Flow Control
How to Configure Router-to-Radio Links Using VMI PPPoE
Implementing the VMI Infrastructure Using PPPoE
Implementing the VMI and Configuring the Routing Protocol
Configuration Examples for VMI PPPoE
Basic VMI PPPoE Configuration with EIGRP IPv4: Example
Basic VMI PPPoE Configuration Using EIGRP for IPv6: Example
VMI PPPoE Configuration Using EIGRP for IPv4 and IPv6: Example
VMI PPPoE Configuration for OSPFv3: Example
VMI PPPoE Configuration Using Multiple Virtual Templates: Example
Marking and Queuing Packets over VMI: Example
Feature Information About the Mobile Ad Hoc Networks for Router-to-Radio Communications
Mobile Ad Hoc Networks for Router-to-Radio Communications
First Published: May 17, 2007
Last Updated: May 17, 2007Mobile Ad Hoc Networks (MANET) for router-to-radio communications address the challenges faced when merging IP routing and mobile radio communications in ad hoc networking applications. the Cisco solution for MANETs provides capabilities that enable
•
Optimal route selection based on Layer 2 feedback from the radio network
•
Faster convergence when nodes join and leave the network
•
Efficient integration of point-to-point, directional radio topologies with multi hop routing
•
Flow-controlled communications between each radio and its partner router
Through the router-to-radio link, the radio can inform the router immediately when a node joins or leaves, and this enables the router to recognize topology changes more quickly than if it had to rely on timers. Without this link-status notification from the radio, the router would likely time out while waiting for traffic. The link-status notification from the radio enables the router to respond faster to network topology changes. Metric information regarding the quality of a link is passed between the router and radio, enabling the router to more intelligently decide on which link to use.
With the link-status signaling provided by the router-to-radio link, applications such voice and video work better because outages caused by topology changes are reduced or eliminated. Sessions are more stable and remain active longer.
Key features of Cisco's mobile ad hoc networks for router-to-radio communications include the following:
Link Quality Metrics Reporting
The PPPoE protocol has been extended to enable a router or radio to query or report link-quality metric information. Cisco routers have been enhanced so that OSPFv3 or EIGRP routing protocols can factor link quality metrics into route cost calculations.
Neighbor Up or Down Signaling
Neighbor up or down signaling enables Cisco routers to use link establishment or termination signals from the radio to update routing topology.
PPPoE Credit-based Flow Control
This extension to the PPPoE protocol allows a receiver to control the rate at which a sender can transmit data for each PPPoE session, so that the need for queuing in the radio is minimized.
Virtual Multipoint Interface (VMI)
This Cisco router enhancement maps multiple PPPoE sessions (each representing a point-to-point neighbor connection) into a single broadcast-capable, multi-access interface.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the " "Command Reference" section.
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for Mobile Ad Hoc Networks for Router-to-Radio Communications
•
Information About Mobile Ad Hoc Networks for Router-to-Radio Communications
•
How to Configure Router-to-Radio Links Using VMI PPPoE
•
Configuration Examples for VMI PPPoE
•
Feature Information About the Mobile Ad Hoc Networks for Router-to-Radio Communications
Prerequisites for Mobile Ad Hoc Networks for Router-to-Radio Communications
The features described in this document require one of the following router platforms:
•
Cisco 2800 Series (2801, 2811, 2821, or 2851)
•
Cisco 3250 and Cisco 3270
•
Cisco 3800 Series (3825 or 3845)
To use the PPPoE and virtual multipoint interface (VMI) features described in this document, a radio device that implements the PPPoE functionality enhancements described in the draft RFC 2516 is required. Users can optionally implement draft-bberry-pppoe-credit-06.txt for PPP Over Ethernet (PPPoE) Extensions for Credit Flow and Link Metrics, but this draft must be implemented if you plan to use VMI features.
Restrictions for Mobile Ad Hoc Networks for Router-to-Radio Communications
VMI on Routed Ports
VMIs can be configured only on routed ports. VMIs are not supported on VLAN or switched ports.
Quality of Service
Of the Quality of Service (QoS) queueing features available from Cisco, only class-based Weighted Fair Queueing (WFQ) is supported on VMIs. The VMI can identify Differentiated Services Code Point (DSCP) values, and perform network-based application recognition (NBAR), but no policing or policy mapping occurs on those matches.
Information About Mobile Ad Hoc Networks for Router-to-Radio Communications
This section describes VMI PPPoE. The following sections are included:
•
MANETs for Router-to-Radio Communications
•
PPPoE Interfaces for Mobile Radio Communications
•
Link Quality Metrics Reporting for OSPFv3 and EIGRP with VMI Interfaces
Benefits of Router-to-Radio Links Using Virtual Multipoint Interfaces with PPPoE in Cisco IOS Software
As the global leader in mission-critical networking and IP communications, Cisco is uniquely positioned to deliver reliable and efficient converged voice, video, and data solutions to organizations around the world. Benefits of this technology include the following:
•
Optimal route selection is based on Layer 2 feedback from the radio network.
•
Efficient integration of point-to-point, directional radio topologies with multi hop routing.
•
Convergence is faster when nodes join and leave the network because routers are able to respond faster to network topology changes.
•
Flow-controlled communications between the radio and its partner router enables applications such voice and video to work better because outages caused by moving links are reduced or eliminated. Sessions are more stable and remain active longer.
MANETs for Router-to-Radio Communications
Mobile Ad Hoc Networks (MANETs) enable users deployed in areas with no fixed communications infrastructure to access critical voice, video, and data services. Soldiers in the field can employ unified communications, multimedia applications, and real-time information dissemination to improve situational awareness and respond quickly to changing battlefield conditions. Disaster managers can use video conferences, database access, and collaborative tools to coordinate multi-agency responses within an Incident Command System (ICS) framework. For event planners and trade show managers, MANETs represent a cost-effective way to accommodate mobile end users on a short term basis. MANETs set the stage for more timely information sharing and faster, more effective decision-making.
In MANET environments, highly mobile nodes communicate with each other across bandwidth-constrained radio links. An individual node includes both a radio and a network router, with the two devices interconnected over an Ethernet. Since these nodes can rapidly join or leave the network, MANET routing topologies are highly dynamic. Fast convergence in a MANET becomes a challenge because the state of a node can change well before the event is detected by the normal timing mechanisms of the routing protocol.
Radio link quality in a MANET can vary dramatically because it can be affected by a variety of factors such as noise, fading, interference, and power fluctuation. As a result, avoiding congestion and determining optimal routing paths also pose significant challenges for the router network. Finally, directional radios that operate on a narrow beam tend to model the network as a series of physical point-to-point connections with neighbor nodes. This point-to-point model does not translate gracefully to multi-hop, multipoint router environments, as it increases the size of each router's topology database and reduces routing efficiency.
Effective networking in a MANET environment therefore requires mechanisms by which
•
routers and radios can interoperate efficiently, and without impacting operation of the radio network
•
radio point-to-point and router point-to-multipoint paradigms can be rationalized
•
radios can report status to routers for each link and each neighbor, and
•
routers can use this information to optimize routing decisions.
PPPoE Interfaces for Mobile Radio Communications
The Cisco MANET solution employs PPP-over-Ethernet (PPPoE) sessions to enable intra-nodal communications between a router and its partner radio. Each radio initiates the PPPoE session as soon as the radio establishes a radio link to another radio. After the PPPoE sessions are active, a PPP session is established end-to-end (router-to-router); This is duplicated each time a radio establishes a new radio link. The Virtual Multipoint Interface (VMI) on the router aggregates multiple PPPoE sessions and multiplexes these to look like a single interface to the routing processes. This interface collects the series of PPP/PPPoE connections. Underneath the VMI interface there are virtual access interfaces that are associated with each of the PPP/PPPoE connections.
A PPPoE session is established between a router and a radio on behalf of every other router/radio neighbor located in the MANET. These Layer 2 sessions are the means by which radio network status gets reported to the Layer 3 processes in the router. Figure 1 illustrates the PPPoE session exchange between mobile routers and directional radios in a MANET network.
Figure 1 PPPoE Session Exchange Between Mobile Routers and Directional Radios
This capability assumes that a PPPoE-equipped radio connects to a router using Ethernet. The router always considers the Ethernet link to be up. If the radio side of the link goes down, the router will wait until a routing update time-out has occurred to declare the route down and then update the routing table. Figure 2 illustrates a simple router-to-radio link topology.
Figure 2 Router-to-Radio Link
Routing protocols used for VMI PPPoE are EIGRP (IPv4, IPv6) and OSPFv3 (IPv6).
Virtual Multipoint Interface
The VMI interface provides services that map outgoing packets to the appropriate PPPoE sessions based on the next-hop forwarding address for that packet. The VMI interface also provides a broadcast service that emulates a set of point-to-point connections as a point-to-multipoint interface with broadcast ability. When a packet with a multicast address is forwarded through the VMI interface, VMI replicates the packet and unicasts it to each of its neighbors.
Directional radios are frequently used in applications that require greater bandwidth, increased power-to-transmission range, or reduced probability of detection. These radios operate in a point-to-point mode, and generally have no broadcast capability. On the other hand, the routing processes in Cisco's MANET solution operate most efficiently when viewing the network link as point-to-multipoint, with broadcast capability. For the router, modeling the MANET as a collection of point-to-point nodes would have a dramatic impact on the size of its internal database.
The Virtual Multipoint Interface (VMI) within the router aggregates all of the per-neighbor PPPoE sessions from the Radio Ethernet connection. The VMI maps the sessions to appear to Layer 3 routing protocols and applications as a single point-to-multipoint, multi-access, broadcast-capable network. However, the VMI preserves the integrity of the PPPoE sessions on the radio side, so that each point-to-point connection can have its own Quality of Service (QoS) queue.
The VMI also relays the link quality metric and neighbor up/down signaling from the radio to the routing protocols. Currently, VMI signals are used by EIGRP (for IPv4 and IPv6 neighbors) and OSPFv3 (for IPv6 neighbors).
Link Quality Metrics Reporting for OSPFv3 and EIGRP with VMI Interfaces
The quality of a radio link has a direct impact on the throughput that can be achieved by router-router traffic. The PPPoE protocol has been extended to provide a process by which a router can request, or a radio can report, link quality metric information. Cisco's OSFPv3 and EIGRP implementations have been enhanced so that the route cost to a neighbor is dynamically updated based on metrics reported by the radio, thus allowing the best route to be chosen within a given set of radio links.
The routing protocols receive raw radio link data, and compute a composite quality metric for each link. In computing these metrics, the following factors may be considered:
•
Maximum Data Rate - the theoretical maximum data rate of the radio link, in bytes per second
•
Current Data Rate - the current data rate achieved on the link, in bytes per second
•
Latency - the transmission delay packets encounter, in milliseconds
•
Resources - a percentage (0-100) that can represent the remaining amount of a resource (such as battery power)
•
Relative Link Quality - a numeric value (0-100) representing relative quality, with 100 being the highest quality
Metrics can be weighted during the configuration process to emphasize or de-emphasize particular characteristics. For example, if throughput is a particular concern, the current data rate metric could be weighted so that it is factored more heavily into the composite metric. Similarly, a metric that is of no concern can be omitted from the composite calculation.
Link metrics can change rapidly, often by very small degrees, which could result in a flood of meaningless routing updates. In a worst case scenario, the network would be churning almost continuously as it struggled to react to minor variations in link quality. To alleviate this concern, Cisco provides a tunable dampening mechanism that allows the user to configure threshold values. Any metric change that falls below the threshold is ignored.The quality of a connection to a neighbor varies, based on various characteristics of the interface when OSPF or EIGRP is used as the routing protocol. The routing protocol receives dynamic raw radio link characteristics and computes a composite metric that is used to reduce the effect of frequent routing changes.
A tunable hysteresis mechanism allows users to adjust the threshold to the routing changes that occur when the router receives a signal that a new peer has been discovered, or that an existing peer is unreachable. The tunable metric is weighted and is adjusted dynamically to account for the following characteristics:
•
Current and Maximum Bandwidth
•
Latency
•
Resources
•
Hysteresis
Individual weights can be deconfigured and all weights can be cleared so that the cost is set back to the default value for the interface type. Based on the routing changes that occur, cost can be determined by the application of these metrics. The following sections provide more details about OSPF and EIGRP metrics:
•
VMI Metric to EIGRP Metric Conversion
•
Dynamic Cost Metric for Interfaces
OSPF Cost Calculation
Because cost components can change rapidly, it might be necessary to dampen the volume of changes to reduce network-wide churn. The recommended values for S2, S3, and S4 are based on network simulations that may reduce the rate of network changes. The recommended value for S1 is zero to eliminate this variable from the route cost calculation.
The overall link cost is computed using the following formula:
Table 1 defines the symbols used in the OSPF cost calculation.
While each network might have unique characteristics that require different settings to optimize actual network performance, these are recommended values intended as a starting point for optimizing a OSPFv3 network. Table 2 lists the recommended value settings for OSPF cost metrics.
Using this formula, the default path costs were calculated as noted in the following list. If these values do not suit your network, you can use your own method of calculating path costs.
•
56-kbps serial link—Default cost is 1785.
•
64-kbps serial link—Default cost is 1562.
•
T1 (1.544-Mbps serial link)—Default cost is 64.
•
E1 (2.048-Mbps serial link)—Default cost is 48.
•
4-Mbps Token Ring—Default cost is 25.
•
Ethernet—Default cost is 10.
•
16-Mbps Token Ring—Default cost is 6.
•
FDDI—Default cost is 1.
•
X25—Default cost is 5208.
•
Asynchronous—Default cost is 10,000.
•
ATM— Default cost is 1.
To illustrate these settings, the following example shows how OSPF cost metrics might be defined for a VMI interface:
interface vmi1ipv6 ospf cost dynamic weight throughput 0ipv6 ospf cost dynamic weight resources 29ipv6 ospf cost dynamic weight latency 29ipv6 ospf cost dynamic weight L2-factor 29EIGRP Cost Metrics
When EIGRP is used as the routing protocol, metrics allow EIGRP to respond to routing changes. The link-state metric is advertised as the link cost in the router link advertisement.The reply sent to any routing query will always contain the latest metric information. Exceptions which will result in immediate update being sent:
•
A down interface
•
A down route
•
Any change in metric which results in the router selecting a new next hop
EIGRP uses the metric weights along with a set of vector metrics to compute the composite metric for local RIB installation and route selections. The EIGRP composite metric is calculated using the formula:
EIGRP Metric = 256*((K1*Bw) + (K2*Bw)/(256-Load) + (K3*Delay)*(K5/(Reliability + K4)))
Table 3 lists the EIGRP vector metrics and their descriptions.
EIGRP monitors metric weights on an interface to allow for the tuning of EIGRP metric calculations and indicate type of service (TOS). Table 4 lists the K-values and their default.
Most configurations use the first two metrics -delay and bandwidth, with bandwidth taking precedence. The default formula of 256*(BW +Delay) is the EIGRP metric.
Note
You can change the weights (as with IGRP), but these weights must be the same on all the routers.
For example, look at an IGRP link whose bandwidth to a particular destination is 128k and the delay is 84000 microseconds.
Using the cut-down formula, the EIGRP metric calculation would simplify to 256*(BW + Delay), resulting in the following value:
Metric = 256*(10^7/128 + 84000/10)= 256*86525 = 22150400
VMI Metric to EIGRP Metric Conversion
The quality of connection to a VMI neighbor will vary based on various characteristics computed dynamically based on the feedback from L2 to L3. Table 5 lists the EIGRP metrics and their significance.
These EIGRP metric values map to the basic EIGRP interface parameters as indicated in Table 6
Note
If the current data rate = 0; then (current data rate / max data rate) is defined to be 1.
Dynamic Cost Metric for Interfaces
The dynamic cost metric used for interfaces is computed based on the Layer 2 (L2) feedback to Layer 3 (L3). The dynamic cost is calculated using the following formula:
L2L3API
Where the metric calculations are
S1 = ipv6 ospf dynamic weight throughput
S2 = ipv6 ospf dynamic weight resources
S3 = ipv6 ospf dynamic weight latency
S4 = ipv6 ospf dynamic weight L2 factor
OC = standard cost of a non-VMI routeThroughput = (current-data-rate)/(maximum-data-rate)
Router-dynamic cost= OC + (S1) + (S2) + (S3) + (S4)
For a dynamic cost to have the same cost as a default cost, all parameters must equal zero.
Each Layer 2 feedback can contribute a cost in the range of 0 to 65535. To tune down this cost range, use the optional weight keyword in conjunction with the throughput, resources, latency, or L2-factor keyword. Each of these weights has a default value of 100% and can be configured in the range from 0 to 100. When 0 is configured for a specific weight, that weight does not contribute to the Open Shortest Path First (OSPF) cost.
Because cost components can change rapidly, you may need to dampen the amount of changes in order to reduce network-wide churn. Use the optional hysteresis keyword with the threshold threshold-value keyword and argument to set a cost change threshold. Any cost change below this threshold is ignored
EIGRP Metric Dampening
Because metric components could be changing rapidly, the frequency of the changes can have an impact on the network. Frequent changes require that prefixes learned though the VMI interface be updated and sent to all adjacencies. This update can result in further updates and, in a worst-case scenario, cause network-wide churn. To prevent such effects, metrics can be dampened, or thresholds set, so that any change that does not exceed the dampening threshold is ignored.
Network changes that cause an immediate update include
•
a down interface
•
a down route
•
any change in a metric which results in the router selecting a new nexthop
Dampening the metric changes can be configured based on change or time intervals.
If the dampening method is change-based, changes in routes learned though a specific interface, or in the metrics for a specific interface, will not be advertised to adjacencies until the computed metric changes from the last advertised value significantly enough to cause an update to be sent.
If this dampening method is interval-based, changes in routes learned though a specific interface, or in the metrics for a specific interface, will not be advertised to adjacencies until the specified interval is met, unless the change results in a new route path selection.
When the timer expires, any routes, which have outstanding changes to report, will be sent out. If a route changes, such that the final metric of the route matches the last updated metric, no update will be sent.
Neighbor Up/Down Signaling for OSFPv3 and EIGRP
MANETs are highly dynamic environments. Nodes may move into, or out of, radio range at a fast pace. Each time a node joins or leaves, of course, the network topology must be logically reconstructed by the routers. Routing protocols normally use timer-driven "hello" messages or neighbor timeouts to track topology changes, but for MANETs reliance on these mechanisms can result in unacceptably slow convergence.
This signaling capability provides faster network convergence by using link-status signals generated by the radio. The radio notifies the router each time a link to another neighbor is established or terminated by the creation and termination of PPPoE sessions. In the router, the routing protocols (OSPFv3 or EIGRP) respond immediately to these signals by expediting formation of a new adjacency (for a new neighbor) or tearing down an existing adjacency (if a neighbor is lost). For example, if a vehicle drives behind a building and loses its connection, the router will immediately sense the loss and establish a new route to the vehicle through neighbors that are not blocked. This high speed network convergence is essential for minimizing dropped voice calls and disruptions to video sessions.
When VMI with PPPoE is used and a partner node has left or a new one has joined, the radio informs the router immediately of the topology change. Upon receiving the signal, the router immediately declares the change and updates the routing tables.
The signaling capability reduces routing delays and prevents applications from timing out; enables network-based applications and information to be delivered reliably and quickly over directional radio links; provides faster convergence and optimal route selection so that delay-sensitive traffic such as voice and video are not disrupted; and reduces impact on radio equipment by minimizing the need for internal queuing/buffering; also provides consistent Quality of Service for networks with multiple radios.
The messaging allows for flexible rerouting when necessary because of
•
Noise on the Radio links
•
Fading of the Radio links
•
Congestion of the Radio links
•
Radio link power fade
•
Utilization of the Radio
Figure 3 illustrates the signaling sequence that occurs when radio links go up and down.
Figure 3 Up and Down Signaling Sequence
PPPoE Credit-based Flow Control
Each radio initiates a PPPoE session with its local router as soon as the radio establishes a link to another radio. Once the PPPoE sessions are active for each node, a PPP session is then established end-to-end (router-to-router). This process is duplicated each time a radio establishes a new link.
The carrying capacity of each radio link may vary due to location changes or environmental conditions, and many radio transmission systems have limited buffering capabilities. To minimize the need for packet queuing in the radio, Cisco has implemented extensions to the PPPoE protocol that enable the router to control traffic buffering in congestion situations. Implementing flow-control on these router-to-radio sessions also will allow use of quality of service features such as fair queuing.
The solution utilizes a credit-granting mechanism documented in an IETF informational draft. When the PPPoE session is established, the radio can request a flow-controlled session. If the router acknowledges the request, all subsequent traffic must be flow-controlled. If a flow control session has been requested and cannot be supported by the router, the session is terminated. Typically, both the radio and the router initially grant credits during session discovery. Once a device exhausts its credits, it must stop sending until additional credits have been granted. Credits can be added incrementally over the course of a session.
IPv6 Addresses
You can configure VMI interfaces with IPv6 addresses only, IPv4 addresses only, or both IPv4 and IPv6 addresses.
IPv6 addresses are assigned to individual router interfaces and enable the forwarding of IPv6 traffic globally on the router. By default, IPv6 addresses are not configured and IPv6 routing is disabled.
Note
The ipv6-address argument in the ipv6 address command must be in the form documented in RFC 2373 where the address is specified in hexadecimal using 16-bit values between colons.
The /prefix-length argument in the ipv6 address command is a decimal value that indicates how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address) A slash mark must precede the decimal value.Restrictions for IPv6 Addressing
In Cisco IOS Release 12.2(4)T or later releases, Cisco IOS Release 12.0(21)ST, and Cisco IOS Release 12.0(22)S or later releases, the ipv6 address or ipv6 address eui-64 command can be used to configure multiple IPv6 global addresses within the same prefix on an interface. Multiple IPv6 link-local addresses on an interface are not supported.
Prior to Cisco IOS Releases 12.2(4)T, 12.0(21)ST, and 12.0(22)S, the Cisco IOS command-line interface (CLI) displays the following error message when multiple IPv6 addresses within the same prefix on an interface are configured as:
Prefix <prefix-number> already assigned to <interface-type>For additional information about IPv6 addressing, see Implementing IPv6 Addressing in the Cisco IOS IPv6 Configuration Guide at the following URL:
http://www.cisco.com/en/US/products/ps6441/products_configuration_guide_chapter09186a00806f3a6a.html
How to Configure Router-to-Radio Links Using VMI PPPoE
This section identifies the tasks that will be used to configure VMI PPPoE. Configuring the VMI PPPoE involves implementing the infrastructure, establishing the IPv4 and IPv6 addressing schemes, and configuring the routing environment. This document contains configuration guidelines only for configuration of PPPoE as it relates to VMIs. For details about configuring PPPoE, refer to the Cisco IOS Broadband and DSL Configuration Guide. For details about PPPoE commands, refer to the Cisco IOS Broadband and DSL Command Reference.
The following sections are included:
•
Implementing the VMI Infrastructure Using PPPoE
•
Configuration Examples for VMI PPPoE
Implementing the VMI Infrastructure Using PPPoE
The PPPoE protocol provides the transport for the mobile network. The following tasks are required to configure PPPoE to support the VMI.
•
Creating a Subscriber Profile for PPPoE Service Selection (Required)
•
Configuring the PPPoE Profile for PPPoE Service Selection (Required)
•
Configuring PPPoE on an Ethernet Interface (Required)
Creating a Subscriber Profile for PPPoE Service Selection
Perform this task to configure a subscriber profile for PPPoE service selection.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
subscriber profile profile-name
4.
pppoe service manet_radio
5.
subscriber authorization enable
6.
exit
DETAILED STEPS
What to Do Next
After you have defined the PPPoE subscriber profile and service, you must apply the definitions to a BBA group
Configuring the PPPoE Profile for PPPoE Service Selection
Perform this task to associate a subscriber profile with a PPPoE profile. In this configuration, the BBA group name should match the subscriber profile name previously defined in the subscriber profile. In this case, the profile name used as the service name is manet_radio.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
bba-group pppoe {group-name | global}
4.
virtual-template template-number
5.
service profile subscriber-profile-name [refresh minutes]
6.
end
DETAILED STEPS
Troubleshooting Tips
Use the show pppoe session and debug pppoe commands to troubleshoot PPPoE sessions.
Configuring PPPoE on an Ethernet Interface
Perform this task to assign a PPPoE profile to an Ethernet interface.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface fastethernet slot/port
4.
pppoe enable [group group-name]
5.
end
DETAILED STEPS
Implementing the VMI and Configuring the Routing Protocol
The configuration guidelines in this section are all optional, depending on the method and routing protocol that you choose to support the VMI interface.
•
Creating and Configuring a Virtual Template for VMI PPPoE
•
Creating and Configuring a VMI Interface for EIGRP IPv4 (Optional)
•
Creating and Configuring a VMI interface for EIGRP IPv6 (Optional)
•
Creating and Configuring a VMI Interface for OSPFv3
•
Verifying the OSPF Cost Dynamic for a VMI Interface
•
Verifying the VMI Configuration
Creating and Configuring a Virtual Template for VMI PPPoE
To create and configure a virtual template, use the following commands beginning in global configuration mode. Cisco recommends that, when using the virtual template, you turn off the PPP keepalive messages to make CPU usage more efficient and to help avoid the potential for the router to terminate the connection if PPP keepalive packets are missed over a lossy Radio Frequency (RF) link.
You can configure multiple virtual template interfaces for your VMI PPPoE connections. The selection of which virtual template to use is predicated on the service name sent by the radio during PPPoE session establishment. As an example, consider the following configuration:
subscriber authorization enable!subscriber profile onepppoe service manet_radio_over_x_band!!subscriber profile twopppoe service manet_radio_over_c_band!!!bba-group pppoe onevirtual-template 1service profile one!!bba-group pppoe twovirtual-template 2service profile two!!interface Virtual-Template1...!!interface Virtual-Template2...Using this configuration, any PPPoE request for a session (presentation of a PPPoE Active Discovery Initiate, or PADI packet) with the service name of "manet_radio_over_x_band" would use Virtual-Template1 as the interface to be cloned. Conversely, any PADI presented by the radio with the service name of "manet_radio_over_c_band" would use Virtual-Template2.
Note
All service names used for MANET implementations must begin with the string "manet_radio".
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface virtual-template number
4.
ip unnumbered interface-type interface-number
or
ipv6 enable
or both if both IPv4 and IPv6 are used.DETAILED STEPS
Where To Go Next
Refer to the "Virtual Interface Template Service" chapter in the Cisco IOS Dial Solutions Configuration Guide for additional information about configuring the virtual templates
Creating and Configuring a VMI Interface for EIGRP IPv4
Perform this task to create the VMI interface and associate it with the Ethernet interface on which PPPoE is enabled. When you create a VMI interface, assign the IPv6 or IPv4 address to that VMI interface definition. Do not assign any addresses to the corresponding physical interface.
The radio alerts the router with PADT messages that the layer-2 radio frequency (RF) connection is no longer alive. Cisco recommends that you turn off the PPP keepalive messages to make CPU usage more efficient and to help avoid the potential for the router to terminate the connection if PPP keepalive packets are missed over a lossy RF link.
Note
This configuration includes Quality of Service (QoS) fair queueing and service policy applied to the VMI interface. Make certain that any fair queueing left over from any previous configurations is removed before applying the new policy map to the virtual template in the VMI configuration.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip routing
4.
no virtual-template subinterface
5.
policy-map fair-queue
6.
class class-default
7.
fair-queue
8.
interface virtual-template 1
9.
ip unnumbered vmi1
10.
service-policy output fair-queue
11.
no keepalive
12.
interface vmi interface-number
13.
ip address address mask
14.
no ip redirects
15.
no ip split-horizon eigrp autonomous-system-number
16.
physical-interface interface-type/slot
17.
exit
18.
router eigrp autonomous-system-number
19.
network network-number ip-mask
20.
redistribute connected
21.
end
DETAILED STEPS
Creating and Configuring a VMI interface for EIGRP IPv6
Perform this task to create the VMI interface and associate it with the Ethernet interface on which PPPoE is enabled. When you create a VMI interface, assign the IPv6 address to that VMI interface definition. Do not assign any addresses to the corresponding physical interface.
The radio alerts the router with PADT messages that the layer-2 radio frequency (RF) connection is no longer alive. If you turn off the PPP keepalive messages, it can make CPU usage more efficient and help to avoid the potential for the router to terminate the connection if PPP keepalive packets are missed over a lossy RF link.
Note
This configuration includes Quality of Service (QoS) fair queueing and service policy applied to the VMI interface. Make certain that any fair queueing left over from any previous configurations is removed before applying the new policy map to the virtual template in the VMI configuration.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ipv6 unicast-routing
4.
ipv6 cef
5.
policy-map fair-queue
6.
class class-default
7.
fair-queue
8.
interface virtual-template 1
9.
ipv6 enable
10.
no keepalive
11.
service-policy output fair-queue
12.
interface vmi interface-number
13.
no keepalive
14.
ipv6 address address/prefix-length
15.
ipv6 enable
16.
ipv6 eigrp as-number
17.
no ipv6 redirects
18.
no ipv6 split-horizon eigrp as-number
19.
physical-interface interface-type/slot
20.
ipv6 router eigrp
21.
no shutdown
22.
redistribute connected
23.
end
DETAILED STEPS
Creating and Configuring a VMI Interface for OSPFv3
Perform this task to create the VMI interface and associate it with the Ethernet interface on which PPPoE is enabled. When you create a VMI interface, assign the IPv6 or IPv4 address to that VMI interface definition. Do not assign any addresses to the corresponding physical interface.
Cisco recommends that IPv6 global addresses not be assigned to VMI for OSPFv3 to decrease convergence times. Instead, OSPFv3 will use the IPv6 Link Local address to form a neighbor relationship. Additionally, you should decrease the OSPF SPF change and hold timers to 1 second each. Doing so will decrease convergence times at a cost of increased activity on the link.
The radio alerts the router with PADT messages that the layer-2 radio frequency (RF) connection is no longer alive. If you turn off the PPP keepalive messages, it can make CPU usage more efficient and help to avoid the potential for the router to terminate the connection if PPP keepalives are missed over a lossy RF link.
Note
This configuration includes Quality of Service (QoS) fair queueing and service policy applied to the VMI interface. Make certain that any fair queueing left over from any previous configurations is removed before applying the new policy map to the virtual template in the VMI configuration.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ipv6 unicast-routing
4.
ipv6 cef
5.
ipv6 enable
6.
policy-map fair-queue
7.
class class-default
8.
fair-queue
9.
interface virtual-template 1
10.
no keepalive
11.
service-policy output fair-queue
12.
interface vmi interface-number
13.
no keepalive
14.
ipv6 enable
15.
ipv6 ospf 1 area 0
16.
ipv6 ospf network point-to-multipoint
17.
ipv6 ospf cost hysterisys 1000
18.
ipv6 ospf cost dynamic weight throughput percent
19.
ipv6 ospf cost dynamic weight resources percent
20.
ipv6 ospf cost dynamic weight latency percent
21.
ipv6 ospf cost dynamic weight L2-factor percent
22.
ipv6 ospf process-id area area-id [instance instance-id]
23.
physical-interface interface-type/slot
24.
ipv6 router ospf1
25.
router-id ip-address
26.
redistribute connected metric type 1
27.
timers spf spf-delay spf-hold
28.
end
DETAILED STEPS
Verifying the OSPF Cost Dynamic for a VMI Interface
The following shows a sample output display when the OSPF cost dynamic is configured on a VMI.
Router1# show ipv6 ospf interface serial2/0Serial2/0 is up, line protocol is upLink Local Address FE80::A8BB:CCFF:FE00:100, Interface ID 10Area 1, Process ID 1, Instance ID 0, Router ID 200.1.1.1Network Type POINT_TO_MULTIPOINT, Cost: 64 (dynamic), Cost Hysteresis: 200Cost Weights: Throughput 100, Resources 20, Latency 80, L2-factor 100Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT,Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5Hello due in 00:00:19Index 1/2/3, flood queue length 0Next 0x0(0)/0x0(0)/0x0(0)Last flood scan length is 0, maximum is 0Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 0, Adjacent neighbor count is 0Suppress hello for 0 neighbor(s)Verifying the VMI Configuration
Possible commands to use in verifying the configuration include:
•
show pppoe session all
•
show interface vmi
•
show vmi neighbors
•
show vmi neighbors detail
•
show ip eigrp interfaces
•
show ip eigrp neighbors
•
show ipv6 eigrp interfaces
•
show ipv6 eigrp neighbors
•
show ipv6 ospf interface
Configuration Examples for VMI PPPoE
•
Basic VMI PPPoE Configuration with EIGRP IPv4: Example
•
Basic VMI PPPoE Configuration with EIGRP IPv4: Example
•
Basic VMI PPPoE Configuration Using EIGRP for IPv6: Example
•
VMI PPPoE Configuration Using EIGRP for IPv4 and IPv6: Example
•
VMI PPPoE Configuration for OSPFv3: Example
•
VMI PPPoE Configuration Using Multiple Virtual Templates: Example
•
VMI PPPoE Configuration Using Multiple Virtual Templates: Example
•
PPPoE Configuration: Example
•
Configuring Two VMIs: Example
•
Marking and Queuing Packets over VMI: Example
Basic VMI PPPoE Configuration with EIGRP IPv4: Example
This example illustrates the simplest configuration using EIGRP as the routing protocol. This configuration includes one VMI interface.
version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname host1!logging buffered 3000000no logging consoleenable password test!no aaa new-modelclock timezone EST -5ip cef!no ip domain lookupsubscriber authorization enable!subscriber profile host1pppoe service manet_radio!subscriber profile testpppoe service manet_radio!!multilink bundle-name authenticatedno virtual-template subinterface!archivelog config!policy-map FQclass class-defaultfair-queue!bba-group pppoe testvirtual-template 1service profile test!bba-group pppoe VMI1virtual-template 1service profile host1!!interface Loopback1ip address 10.9.1.1 255.255.255.0no ip proxy-arpload-interval 30!interface FastEthernet0/0no ip addressno ip mroute-cacheload-interval 30speed 100full-duplexpppoe enable group VMI1!interface Serial1/0no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/1no ip addressno ip mroute-cacheshutdownclock rate 2000000!!interface Serial1/2no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/3no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface FastEthernet2/0switchport access vlan 2duplex fullspeed 100!interface FastEthernet2/1switchport access vlan 503load-interval 30duplex fullspeed 100!interface FastEthernet2/2shutdown!interface FastEthernet2/3shutdown!interface Virtual-Template1ip unnumbered vmi1load-interval 30no keepaliveservice-policy output FQ!interface Vlan1no ip addressno ip mroute-cacheshutdown!interface Vlan2ip address 10.15.60.144 255.255.255.0no ip mroute-cacheload-interval 30!interface Vlan503ip address 10.2.2.2 255.255.255.0load-interval 30!interface vmi1ip address 10.3.3.1 255.255.255.0no ip redirectsno ip split-horizon eigrp 1load-interval 30eigrp 1 interface dampening-change 50physical-interface FastEthernet0/0!router eigrp 1redistribute connectednetwork 10.2.0.0 0.0.255.255network 10.3.0.0 0.0.255.255auto-summary!no ip http serverno ip http secure-server!control-plane!!line con 0exec-timeout 0 0stopbits 1line aux 0line vty 0 4login!endBasic VMI PPPoE Configuration Using EIGRP for IPv6: Example
This example shows the basic requirements for configuring a VMI interface that uses EIGRP for IPv6 as the routing protocol. It includes one VMI interface.
version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname host1!logging buffered 3000000no logging consoleenable password lab!no aaa new-modelclock timezone EST -5ip cef!!!!no ip domain lookupipv6 unicast-routingipv6 cefsubscriber authorization enable!subscriber profile host1pppoe service manet_radio!subscriber profile testpppoe service manet_radio!!multilink bundle-name authenticatedno virtual-template subinterface!!!!archivelog config!!policy-map FQclass class-defaultfair-queue!!!!!bba-group pppoe testvirtual-template 1service profile test!bba-group pppoe VMI1virtual-template 1service profile host1!!!interface Loopback1ip address 10.9.1.1 255.255.255.0no ip proxy-arpload-interval 30ipv6 address 2001:0DB1:1::1/64ipv6 enableipv6 eigrp 1!interface FastEthernet0/0no ip addressno ip mroute-cacheload-interval 30speed 100full-duplexpppoe enable group VMI1!interface Serial1/0no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/1no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/2no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/3no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface FastEthernet2/0switchport access vlan 2duplex fullspeed 100!interface FastEthernet2/1switchport access vlan 503load-interval 30duplex fullspeed 100!interface FastEthernet2/2shutdown!interface FastEthernet2/3shutdown!interface Virtual-Template1no ip addressload-interval 30ipv6 enableno keepaliveservice-policy output FQ!interface Vlan1no ip addressno ip mroute-cacheshutdown!interface Vlan2ip address 10.15.60.144 255.255.255.0no ip mroute-cacheload-interval 30!interface Vlan503ip address 10.2.2.2 255.255.255.0load-interval 30ipv6 address 2001:0DB1:8::1/64ipv6 enableipv6 eigrp 1!interface vmi1no ip addressload-interval 30ipv6 enableno ipv6 redirectsipv6 eigrp 1no ipv6 split-horizon eigrp 1physical-interface FastEthernet0/0!no ip http serverno ip http secure-server!ipv6 router eigrp 1router-id 10.9.1.1no shutdownredistribute connected!control-plane!line con 0exec-timeout 0 0stopbits 1line aux 0line vty 0 4login!endVMI PPPoE Configuration Using EIGRP for IPv4 and IPv6: Example
The following examples shows how to configure VMI PPPoE using EIGRP as the IP routing protocol when you have both IPv4 and IPv6 addresses configured on the interface. This configuration includes one VMI interface.
version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname host1!logging buffered 3000000no logging consoleenable password lab!no aaa new-modelclock timezone EST -5ip cef!no ip domain lookupipv6 unicast-routingipv6 cefsubscriber authorization enable!subscriber profile host1pppoe service manet_radio!subscriber profile testpppoe service manet_radio!!multilink bundle-name authenticatedno virtual-template subinterface!archivelog config!policy-map FQclass class-defaultfair-queue!bba-group pppoe testvirtual-template 1service profile test!bba-group pppoe VMI1virtual-template 1service profile host1!!interface Loopback1ip address 10.9.1.1 255.255.255.0no ip proxy-arpload-interval 30ipv6 address 2001:0DB1:1::1/64ipv6 enableipv6 eigrp 1!interface FastEthernet0/0no ip addressno ip mroute-cacheload-interval 30speed 100full-duplexpppoe enable group VMI1!interface Serial1/0no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/1no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/2no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface Serial1/3no ip addressno ip mroute-cacheshutdownclock rate 2000000!interface FastEthernet2/0switchport access vlan 2duplex fullspeed 100!interface FastEthernet2/1switchport access vlan 503load-interval 30duplex fullspeed 100!interface FastEthernet2/2shutdown!interface FastEthernet2/3shutdown!interface Virtual-Template1ip unnumbered vmi1load-interval 30ipv6 enableno keepaliveservice-policy output FQ!interface Vlan1no ip addressno ip mroute-cacheshutdown!interface Vlan2ip address 10.15.60.144 255.255.255.0no ip mroute-cacheload-interval 30!interface Vlan503ip address 10.2.2.2 255.255.255.0load-interval 30ipv6 address 2001:0DB1:8::1/64ipv6 enableipv6 eigrp 1!interface vmi1ip address 10.3.3.1 255.255.255.0no ip redirectsno ip split-horizon eigrp 1load-interval 30ipv6 address 2001:0DB1:2::1/64ipv6 enableno ipv6 redirectsipv6 eigrp 1no ipv6 split-horizon eigrp 1eigrp 1 interface dampening-interval 30physical-interface FastEthernet0/0!router eigrp 1redistribute connectednetwork 10.2.0.0 0.0.255.255network 10.3.0.0 0.0.255.255auto-summary!!!no ip http serverno ip http secure-server!ipv6 router eigrp 1router-id 10.9.1.1no shutdownredistribute connected!control-plane!!line con 0exec-timeout 0 0stopbits 1line aux 0line vty 0 4login!endVMI PPPoE Configuration for OSPFv3: Example
The following example shows how to configure VMI PPPoE using OSPFv3 as the routing protocol. This configuration includes three VMI interfaces.
Building configuration...Current configuration : 3568 bytes!! Last configuration change at 00:03:01 EST Thu Jan 1 2004!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname host2!boot-start-markerboot system flash:c3270-adventerprisek9-mz.124-11.3.PI6bboot-end-marker!logging buffered 3000000no logging consoleenable password lab!no aaa new-modelclock timezone EST -5!!ip cef!!no ip domain lookupipv6 unicast-routingipv6 cefsubscriber authorization enable!subscriber profile host2pppoe service manet_radio!!multilink bundle-name authenticatedno virtual-template subinterface!policy-map FQclass class-defaultfair-queue!bba-group pppoe VMI1virtual-template 1service profile host2!bba-group pppoe VMI2virtual-template 2service profile host2!bba-group pppoe VMI3virtual-template 3service profile host2!!interface Loopback1ip address 10.16.1.1 255.255.255.0no ip proxy-arpload-interval 30ipv6 address 2001:0DB1:1::1/64ipv6 enableipv6 ospf 1 area 0!interface FastEthernet0/0no ip addressload-interval 30duplex fullspeed 100pppoe enable group VMI3!interface GigabitEthernet0/0no ip addressload-interval 30duplex fullspeed 100pppoe enable group VMI1!interface FastEthernet0/1no ip addressshutdownduplex autospeed auto!interface GigabitEthernet0/1no ip addressload-interval 30duplex fullspeed 100pppoe enable group VMI2!interface Serial1/0no ip addressshutdown!interface Serial1/1no ip addressshutdown!interface Serial1/2no ip addressshutdownclock rate 2000000!interface Serial1/3no ip addressshutdownclock rate 2000000!interface FastEthernet2/0switchport access vlan 2duplex fullspeed 100!interface FastEthernet2/1switchport access vlan 503load-interval 30duplex fullspeed 100!interface FastEthernet2/2shutdown!interface FastEthernet2/3shutdown!interface Virtual-Template1no ip addressload-interval 30ipv6 enableno keepaliveservice-policy output FQ!interface Virtual-Template2no ip addressload-interval 30ipv6 enableno keepaliveservice-policy output FQ!interface Virtual-Template3no ip addressload-interval 30ipv6 enableno keepaliveservice-policy output FQ!interface Vlan1no ip addressshutdown!interface Vlan2ip address 10.15.60.146 255.255.255.0load-interval 30!interface Vlan503ip address 10.2.2.2 255.255.255.0load-interval 30ipv6 address 2001:0DB1:8::1/64ipv6 enableipv6 ospf 1 area 0!interface vmi1no ip addressload-interval 30ipv6 address 2001:0DB1:2::1/64ipv6 enableipv6 ospf network point-to-multipointipv6 ospf cost dynamic hysteresis threshold 1000ipv6 ospf cost dynamic weight throughput 0ipv6 ospf cost dynamic weight resources 29ipv6 ospf cost dynamic weight latency 29ipv6 ospf cost dynamic weight L2-factor 29ipv6 ospf 1 area 0physical-interface GigabitEthernet0/0!interface vmi2no ip addressload-interval 30ipv6 address 2001:0DB1:3::1/64ipv6 enableipv6 ospf network point-to-multipointipv6 ospf cost dynamic hysteresis threshold 1000ipv6 ospf cost dynamic weight throughput 0ipv6 ospf cost dynamic weight resources 29ipv6 ospf cost dynamic weight latency 29ipv6 ospf cost dynamic weight L2-factor 29ipv6 ospf 1 area 0physical-interface GigabitEthernet0/1!interface vmi3no ip addressload-interval 30ipv6 address 2001:0DB1:4::1/64ipv6 enableipv6 ospf network point-to-multipointipv6 ospf cost dynamic hysteresis threshold 1000ipv6 ospf cost dynamic weight throughput 0ipv6 ospf cost dynamic weight resources 29ipv6 ospf cost dynamic weight latency 29ipv6 ospf cost dynamic weight L2-factor 29ipv6 ospf 1 area 0physical-interface FastEthernet0/0!!!no ip http serverno ip http secure-server!ipv6 router ospf 1router-id 10.16.1.1log-adjacency-changesredistribute connected metric-type 1timers spf 1 1!!!!!control-plane!!line con 0exec-timeout 0 0line aux 0line vty 0 4login!endendVMI PPPoE Configuration Using Multiple Virtual Templates: Example
The following example shows how to configure VMI using multiple virtual templates. This example shows two VMIs, each with a different service name.
version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname router1!boot-start-markerboot-end-marker!!no aaa new-model!resource policy!clock timezone EST -5ip cefno ip domain lookup!!subscriber authorization enable!subscriber profile router1_groundpppoe service manet_radio_ground!subscriber profile router1_satellitepppoe service manet_radio_satellite!ipv6 unicast-routingpolicy-map fair -class class-defaultfair-queue!!!bba-group pppoe router1_groundvirtual-template 1service profile router1_ground!bba-group pppoe router1_satellitevirtual-template 2service profile router1_satelliteservice-policy output fair-queue!!interface Ethernet0/0pppoe enable group router1_ground!interface Ethernet0/1pppoe enable group router1_satellite!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Ethernet1/0no ip addressshutdown!interface Ethernet1/1no ip addressshutdown!interface Ethernet1/2no ip addressshutdown!interface Ethernet1/3no ip addressshutdown!interface Serial2/0no ip addressshutdownserial restart-delay 0!interface Serial2/1no ip addressshutdownserial restart-delay 0!interface Serial2/2no ip addressshutdownserial restart-delay 0!interface Serial2/3no ip addressshutdownserial restart-delay 0!interface Serial3/0no ip addressshutdownserial restart-delay 0!interface Serial3/1no ip addressshutdownserial restart-delay 0!interface Serial3/2no ip addressshutdownserial restart-delay 0!interface Serial3/3no ip addressshutdownserial restart-delay 0!interface Virtual-Template1ip unnumbered vmi1load-interval 30no peer default ip addressno keepalivefair-queue!interface Virtual-Template2ip unnumbered vmi1load-interval 30no peer default ip addressno keepalivefair-queue!interface vmi1description ground connectionip address 10.2.2.1 255.255.255.0physical-interface Ethernet0/0!interface vmi2description satellite connectionip address 10.2.3.1 255.255.255.0physical-interface Ethernet0/1!router eigrp 1network 10.2.2.0 0.0.0.255network 10.2.3.0 0.0.0.255auto-summary!!no ip http server!!!!!control-plane!!line con 0exec-timeout 0 0logging synchronousline aux 0line vty 0 4login!endPPPoE Configuration: Example
In the following example, the subscriber profile uses a predefined string manet_radio to determine whether an inbound PPPoE session is coming from a device that supports VMI. All IP definitions are configured on the VMI interface rather than on the FastEthernet or Virtual-Template interfaces; when those interfaces are configured, do not specify either an IP address or an IPv6 address.
No IP address is specified and IPv6 is enabled by default on the VMI interface.
subscriber profile list1pppoe service service1subscriber authorization enable!bba-group pppoe bba1virtual-template 1service profile list1!interface FastEthernet0/1no ip addresspppoe enable group bba1!interface Virtual-Template 1no ip addressno peer default ip-address!interface vmi 1no ip addressphysical-interface FastEthernet0/1Configuring Two VMIs: Example
The following example shows a configuration that includes two VMIs, each having different service names.
version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname router1!boot-start-markerboot-end-marker!!no aaa new-model!resource policy!clock timezone EST -5ip cefno ip domain lookup!!subscriber authorization enable!subscriber profile router1_groundpppoe service manet_radio_ground!subscriber profile router1_satellitepppoe service manet_radio_satellite!ipv6 unicast-routing!!!bba-group pppoe router1_groundvirtual-template 1service profile router1_ground!bba-group pppoe router1_satellitevirtual-template 2service profile router1_satellite!!interface Ethernet0/0pppoe enable group router1_ground!interface Ethernet0/1pppoe enable group router1_satellite!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Ethernet1/0no ip addressshutdown!interface Ethernet1/1no ip addressshutdown!interface Ethernet1/2no ip addressshutdown!interface Ethernet1/3no ip addressshutdown!interface Serial2/0no ip addressshutdownserial restart-delay 0!interface Serial2/1no ip addressshutdownserial restart-delay 0!interface Serial2/2no ip addressshutdownserial restart-delay 0!interface Serial2/3no ip addressshutdownserial restart-delay 0!interface Serial3/0no ip addressshutdownserial restart-delay 0!interface Serial3/1no ip addressshutdownserial restart-delay 0!interface Serial3/2no ip addressshutdownserial restart-delay 0!interface Serial3/3no ip addressshutdownserial restart-delay 0!interface Virtual-Template1ip unnumbered vmi1load-interval 30no peer default ip addressno keepalivefair-queue!interface Virtual-Template2ip unnumbered vmi2load-interval 30no peer default ip addressno keepalivefair-queue!interface vmi1description ground connectionip address 2.2.2.1 255.255.255.0physical-interface Ethernet0/0!interface vmi2description satellite connectionip address 2.2.3.1 255.255.255.0physical-interface Ethernet0/1!router eigrp 1network 2.2.2.0 0.0.0.255network 2.2.3.0 0.0.0.255auto-summary!!no ip http server!!!!!control-plane!!line con 0exec-timeout 0 0logging synchronousline aux 0line vty 0 4login!endMarking and Queuing Packets over VMI: Example
This configuration example includes QoS features in use with a VMI. Packets are marked either outbound or inbound over the VMI according to a policy map defined on the interface. This configuration differs slightly from standard QoS configurations because it requires that two different policies be applied to two different interfaces.
You apply the fair queue policy to the virtual template to define the queueing mechanism. To mark packets, you create a another policy and apply it to VMI to mark the traffic. The two policy maps work in tandem to provide the QoS support on the radio interface
Note
Packets will not be marked if you use the standard fair queue class or use hierarchical policy maps applied to the virtual templates.
The examples that follow show the device configurations that support the marking and queueing on a VMI.
Output Configuration of VMI and Policy Map Configured on Router 1
!!!class-map match-all udp-trafficmatch access-group 100!!policy-map FQclass class-defaultfair-queuepolicy-map my-markerclass udp-trafficset dscp af41!!interface Virtual-Template1...service-policy output FQ!!interface vmi1...service-policy output my-marker...!access-list 100 permit udp any any!Input Configuration for VMI and Policy Map configured on Router 2
!!!class-map match-all udp-trafficmatch access-group 100!!policy-map FQclass class-defaultfair-queuepolicy-map my-markerclass udp-trafficset dscp ef!interface Virtual-Template1...service-policy output FQ!interface vmi1...service-policy input my-marker!access-list 100 permit udp any any!This display is output from the show policy-map command for the VMI and policy map configured on on Router 1.
Router1# show policy-map int vmi1vmi1Service-policy output: my-markerClass-map: udp-traffic (match-all)5937331 packets, 6234197550 bytes30 second offered rate 840000 bps, drop rate 0 bpsMatch: access-group 100QoS Setdscp af41Packets marked 5937331Class-map: class-default (match-any)12829 packets, 769740 bytes30 second offered rate 0 bps, drop rate 0 bpsMatch: any!!!This display is output from the show policy-map command for the VMI and policy map configured on on Router 2.
Router2# show policy-map int vmi1vmi1Service-policy input: my-markerClass-map: udp-traffic (match-all)5971417 packets, 6150560540 bytes30 second offered rate 824000 bps, drop rate 0 bpsMatch: access-group 100QoS Setdscp efPackets marked 5971418Class-map: class-default (match-any)26167 packets, 1623087 bytes30 second offered rate 0 bps, drop rate 0 bpsMatch: anyAdditional References
The following sections provide references related to <<Feature>>.
Related Documents
Standards
Standard TitleDraft
IETF drafts:
- draft-bberry-pppoe-credit-06.txt for PPP Over Ethernet (PPPoE) Extensions for Credit Flow and Link Metrics
\
MIBs
RFCs
Technical Assistance
Command Reference
This section documents new and modified commands.
debug eigrp notifications
To debug notifications sent from the L2L3 API interface, use the debug eigrp notifications command in privileged EXEC mode. To turn off debugging, use the no form of this command.
debug eigrp notifications {rib | interface}
Syntax Description
rib
Captures notifications from the routing information base (RIB)
interface
Captures notifications from the interface.
Command Default
Debugging of EIGRP notifications for the L2L3 API interface is not enabled.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Consult Cisco technical support before using this command.
CautionUse of debug commands can have severe performance penalties and should be used with extreme caution. For this reason, Cisco recommends that you contact Cisco technical support before enabling a debug command.
Examples
The following example displays information about the L2L3 API Interface:
Router# debug eigrp notifications ribdebug vmi
To display debugging output for virtual multipoint interfaces (VMIs), use the debug vmi command in privileged EXEC mode. To disable debugging output, use the no form of this command.
debug vmi {error | multicast | neighbor | packet | pppoe}
no debug vmi {error | multicast | neighbor | packet | pppoe}
Syntax Description
Command Default
Debugging is disabled by default.
Command Modes
Privileged EXEC
Command History
Examples
The following is sample output from the debug vmi command when the VMI interface is working correctly:
Router# debug vmi neighborJan 6 07:01:54.601: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to upJan 6 07:01:54.605: vmi_create_neighbor: event=VMI_PPPOE_IPV4_UP, addr=10.3.3.2Jan 6 07:01:54.605: vmi_create_neighbor: V4-- nbr=0, key=::4.3.3.2Jan 6 07:01:54.605: vmi_create_neighbor: V6-- nbr=0, key=::Jan 6 07:01:54.605: vmi_create_neighbor: VMI_PPPOE_IPV4_UP -- neighbor addr=0Jan 6 07:01:54.605: vmi_nbr_add: Begin. nbr=8381D104 nbr->IPv6linkPtr = 0, nbr->IPv4linkPtr = 0Jan 6 07:01:54.605: VMI: Begin dump of Neighbor RBTreeJan 6 07:01:54.605: VMI: vmiLink_t(838368E0),key=::10.3.3.2,V4Jan 6 07:01:54.605: VMI: nbr addresses: :: 10.3.3.2Jan 6 07:01:54.605: mtu=1484,insertAttempts=0 0,neighbor_up_deferred=FALSEJan 6 07:01:54.605: VMI: NO L2 STRUCT FOUNDJan 6 07:01:54.605: VMI: End dump of Neighbor RBTreeJan 6 07:01:54.609: vmi1 new nbr ::/10.3.3.2Jan 6 07:01:54.609: %LINEPROTO-5-UPDOWN: Line protocol on Interface vmi1, changed state to upJan 6 07:01:54.609: vmi_create_route_tbl_entry: Interface up on vmi1Jan 6 07:01:54.609: vmi_send_neighbor_up_indicators: MANET_LINK_UP on 10.3.3.2Jan 6 07:01:54.609: vmi_send_neighbor_up_indicators: MANET_LINK_UP on 10.3.3.2Jan 6 07:01:54.617: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.3.3.2 (vmi1) is up: new adjacencyJan 6 07:01:55.601: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to upThe following is sample output from the debug vmi command for a periodic status update:
Router# debug vmi neighborJan 6 07:02:24.609: vmi_nbr_calculate_load: load=0, nbr ::/10.3.3.2Jan 6 07:02:24.609: cur_tx_bytes = 776, old_tx_bytes = 0, tx_delta = 776Jan 6 07:02:24.609: msec_clock_diff = 30004, clock_diff = 30, rate = 102400000Jan 6 07:02:24.609: max_traffic = 2207566340The following is sample output from the debug vmi command when the loss of a neighbor is reported:
Router# debug vmi neighborJan 6 07:02:33.781: vmi_destroy_neighbor: Delete route 10.3.3.2 returned RC_IPROUTEDEL_DBJan 6 07:02:33.781: vmi_destroy_neighbor: VMI_IPV4 nbr=8381D104Jan 6 07:02:33.781: vmi_nbr_delete: deleting V4 linkPtr=838368E0, nbr=8381D104Jan 6 07:02:33.781: vmiFreeNeighbor: Freeing nbr=8381D104Jan 6 07:02:33.781: %LINEPROTO-5-UPDOWN: Line protocol on Interface vmi1, changed state to downJan 6 07:02:33.781: vmi_hwif_goingdown: called for vmi1Jan 6 07:02:33.781: vmi_hwif_goingdown: No corresponding VMI interface found for vmi1Jan 6 07:02:33.785: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.3.3.2 (vmi1) is down: igrp2 peer state - DOWNJan 6 07:02:33.793: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to downJan 6 07:02:34.793: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to downJan 6 07:02:35.785: %LINK-5-CHANGED: Interface vmi1, changed state to administratively downThe following example shows the status of a VMI peer relationship:
Router# debug vmi neighborJan 6 07:03:37.737: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to upJan 6 07:03:37.769: vmi_create_neighbor: event=VMI_PPPOE_IPV4_UP, addr=10.3.3.1Jan 6 07:03:37.769: vmi_create_neighbor: V4-- nbr=0, key=::10.3.3.1Jan 6 07:03:37.769: vmi_create_neighbor: V6-- nbr=0, key=::Jan 6 07:03:37.769: vmi_create_neighbor: VMI_PPPOE_IPV4_UP -- neighbor addr=0Jan 6 07:03:37.769: vmi_nbr_add: Begin. nbr=7004A304 nbr->IPv6linkPtr = 0, nbr->IPv4linkPtr = 0Jan 6 07:03:37.769: VMI: Begin dump of Neighbor RBTreeJan 6 07:03:37.769: VMI: vmiLink_t(70EF96A8),key=::10.3.3.1,V4Jan 6 07:03:37.769: VMI: nbr addresses: :: 10.3.3.1Jan 6 07:03:37.769: mtu=1484,insertAttempts=0 0,neighbor_up_deferred=FALSEJan 6 07:03:37.769: VMI: NO L2 STRUCT FOUNDJan 6 07:03:37.769: VMI: End dump of Neighbor RBTreeJan 6 07:03:37.769: vmi1 new nbr ::/10.3.3.1Jan 6 07:03:37.769: %LINEPROTO-5-UPDOWN: Line protocol on Interface vmi1, changed state to upJan 6 07:03:37.769: vmi_create_route_tbl_entry: Interface up on vmi1Jan 6 07:03:37.769: vmi_send_neighbor_up_indicators: MANET_LINK_UP on 10.3.3.1Jan 6 07:03:37.769: vmi_send_neighbor_up_indicators: MANET_LINK_UP on 10.3.3.1Jan 6 07:03:37.781: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.3.3.1 (vmi1) is up: new adjacencyJan 6 07:03:38.737: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to upJan 6 07:04:07.769: vmi_nbr_calculate_load: load=0, nbr ::/10.3.3.1Jan 6 07:04:07.769: cur_tx_bytes = 640, old_tx_bytes = 0, tx_delta = 640Jan 6 07:04:07.769: msec_clock_diff = 30000, clock_diff = 30, rate = 102400000Jan 6 07:04:07.769: max_traffic = 57600Jan 6 07:04:16.953: vmi_destroy_neighbor: Delete route 10.3.3.1 returned RC_IPROUTEDEL_DBJan 6 07:04:16.953: vmi_destroy_neighbor: VMI_IPV4 nbr=7004A304Jan 6 07:04:16.953: vmi_nbr_delete: deleting V4 linkPtr=70EF96A8, nbr=7004A304Jan 6 07:04:16.953: vmiFreeNeighbor: Freeing nbr=7004A304Jan 6 07:04:16.953: %LINEPROTO-5-UPDOWN: Line protocol on Interface vmi1, changed state to downJan 6 07:04:16.957: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 10.3.3.1 (vmi1) is down: igrp2 peer state - DOWNJan 6 07:04:16.961: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to downJan 6 07:04:17.953: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to downeigrp interface
To set a threshold value to minimize hysteresis in a router-to-radio configuration, use the eigrp interface command in interface configuration mode. To reset the hysteresis threshold to the default value, use the no form of this command.
eigrp vmi-interface-number interface [dampening-change value] [dampening-interval value]
no eigrp vmi-interface-number interface [dampening-change value] [dampening-interval value]
Syntax Description
Command Default
Default for change-based dampening is 50 percent of the computed metric.
Default for interval-based dampening is 30 seconds.
Command Modes
Interface configuration
Command History
Usage Guidelines
This command advertises routing changes for EIGRP traffic only.
The REPLY sent to any QUERY will always contain the latest metric information. Exceptions which will result in immediate UPDATE being sent:
•
A down interface
•
A down route
•
Any change in metric which results in the router selecting a new next hop
Change-based Dampening
The default value for the change tolerance will be 50% of the computed metric. It can be configured in the range from 0 to 100 percent. If the metric change of the interface is not greater (or less) than the current metric plus or minus the specified amount, the change will not result in a routing change, and no update will be sent to other adjacencies.
Interval-based Dampening
The default value for the update intervals is 30 seconds. It can be configured in the range from 0 to 64535 seconds. If this option is specified, changes in routes learned though this interface, or in the interface metrics, will not be advertised to adjacencies until the specified interval is met. When the timer expires, any changes detected in any routes learned through the interface, or the metric reported by the interfaces will be sent out.
Examples
Change-based Dampening Example
The following example sets the threshold to 50 percent tolerance routing updates involving VMI interfaces and peers:
interface vmi1ip address 10.2.2.1 255.255.255.0ipv6 address 2001:0DB1:2::1/96ipv6 enableeigrp 1 interface dampening-change 50physical-interface Ethernet0/0Interval-based Dampening Example
The following example sets the interval to 30 seconds at which updates occur for topology changes that affect VMI interfaces and peers:
interface vmi1ip address 10.2.2.1 255.255.255.0ipv6 address 2001:0DB1:2::1/96ipv6 enableeigrp 1 interface dampening-interval 30physical-interface Ethernet0/0interface vmi
To create a virtual multipoint interface (VMI) that can be configured and applied dynamically, use the interface vmi command in global configuration mode. Use the no form of this command to remove a VMI interface.
interface vmi interface-number
no interface vmi
Syntax Description
interface-number
Number assigned to the VMI. The value range for VMI interface numbers is from 1 to 2147483647
Command Default
No virtual template number is defined.
Command Modes
Global configuration
Command History
Usage Guidelines
VMI Interface -Aggregation Point
The VMI interface acts as an aggregation point for multiple PPPoE connections from one or more radios over one or more physical interfaces.
OSPFv3 and EIGRP Route Advertisements
All OSPFv3, EIGRPv4, and EIGRPv6 route advertisements that are received over the PPPoE connections are reported to the routing protocol as coming from a single interface, thus simplifying the routing protocol topology table and providing scalability benefits of each of the routing protocols.
Examples
The following example shows how to create a VMI interface:
interface vmi 1ip address 10.2.1.1 255.255.255.0no ip redirectsno ip split-horizon eigrp 1load-interval 30ipv6 address 2001:0DB8:1:1:FFFF:FFFF:FFFF:FFFE/64ipv6 enableno ipv6 redirectsipv6 eigrp 1no ipv6 split-horizon eigrp 1physical-interface GigabitEthernet 0/0endipv6 ospf cost
To explicitly specify the cost of sending a packet on an interface, use the ipv6 ospf cost command in interface configuration mode. To reset the interface cost to the default value, use the no form of this command.
ipv6 ospf cost interface-cost | dynamic [weight {throughput percent | resources percent | latency percent | L2-factor percent] | [hysteresis [threshold threshold-value]]
no ipv6 ospf cost
Syntax Description
Command Default
Default cost is based on the bandwidth.
Default cost on VMI interfaces is dynamic.
Command Modes
Interface configuration
Command History
Usage Guidelines
You can set the metric manually using the ipv6 ospf cost command, if you need to change the default. Using the bandwidth command changes the link cost as long as the ipv6 ospf cost command is not used.
The link-state metric is advertised as the link cost in the router link advertisement.
Dynamic Cost Metric for Interfaces
The dynamic cost metric used for interfaces is computed based on the Layer 2 (L2) feedback to Layer 3 (L3).
In general, the path cost is calculated using the following formula:
Using this formula, the default path costs were calculated as noted in the following list. If these values do not suit your network, you can use your own method of calculating path costs.
•
56-kbps serial link—Default cost is 1785.
•
64-kbps serial link—Default cost is 1562.
•
T1 (1.544-Mbps serial link)—Default cost is 64.
•
E1 (2.048-Mbps serial link)—Default cost is 48.
•
4-Mbps Token Ring—Default cost is 25.
•
Ethernet—Default cost is 10.
•
16-Mbps Token Ring—Default cost is 6.
•
FDDI—Default cost is 1.
•
X25—Default cost is 5208.
•
Asynchronous—Default cost is 10,000.
•
ATM— Default cost is 1.The dynamic cost is calculated using the following formula:
L2L3API
Where the metric calculations are
S1 = ipv6 ospf dynamic weight throughput
S2 = ipv6 ospf dynamic weight resources
S3 = ipv6 ospf dynamic weight latency
S4 = ipv6 ospf dynamic weight L2 factor
OC = standard cost of a non-VMI routeThroughput = (current-data-rate)/(maximum-data-rate)
Router-dynamic cost= OC + (S1) + (S2) + (S3) + (S4)
For a dynamic cost to have the same cost as a default cost, all parameters must equal zero.
Each Layer 2 feedback can contribute a cost in the range of 0 to 65535. To tune down this cost range, use the optional weight keyword in conjunction with the throughput, resources, latency, or L2-factor keyword. Each of these weights has a default value of 100% and can be configured in the range from 0 to 100. When 0 is configured for a specific weight, that weight does not contribute to the Open Shortest Path First (OSPF) cost.
Because cost components can change rapidly, you may need to dampen the amount of changes in order to reduce network-wide churn. Use the optional hysteresis keyword with the threshold threshold-value keyword and argument to set a cost change threshold. Any cost change below this threshold is ignored.
Examples
The following example sets the interface cost value to 65:
ipv6 ospf cost 65The following example sets the interface cost value for a VMI interface:
interface vmi 0ipv6 ospf cost dynamic hysteresis threshold 30ipv6 ospf cost dynamic weight throughput 75ipv6 ospf cost dynamic weight resources 70ipv6 ospf cost dynamic weight latency 80ipv6 ospf cost dynamic weight L2-factor 10ipv6 ospf network
To configure the OSPF network type to a type other than the default for a given medium, use the ipv6 ospf network command in interface configuration mode. To return to the default type, use the no form of this command.
ipv6 ospf network {broadcast | non-broadcast | {point-to-multipoint [non-broadcast] | point-to-point}}
no ipv6 ospf network
Syntax Description
Command Default
Default depends on the network type.
Command Modes
Interface configuration
Command History
Usage Guidelines
NBMA Networks
Using this feature, you can configure broadcast networks as NBMA networks when, for example, routers in your network do not support multicast addressing. You can also configure NBMA networks (such as X.25, Frame Relay, and Switched Multimegabit Data Service [SMDS]) as broadcast networks. This feature saves you from needing to configure neighbors.
Configuring NBMA networks as either broadcast or nonbroadcast assumes that there are virtual circuits from every router to every router or fully meshed networks. However, the assumption is not true for other configurations, such as for a partially meshed network. In these cases, you can configure the OSPF network type as a point-to-multipoint network. Routing between two routers that are not directly connected will go through the router that has virtual circuits to both routers. You need not configure neighbors when using this feature.
Point-to-Multipoint Networks
OSPFv3 for IPv6 has two features related to point-to-multipoint networks. One feature applies to broadcast networks; the other feature applies to nonbroadcast networks:
•
On point-to-multipoint, broadcast networks, you can use the neighbor command, and you must specify a cost to that neighbor.
•
On point-to-multipoint, nonbroadcast networks, you must use the neighbor command to identify neighbors. Assigning a cost to a neighbor is optional.
Examples
The following example sets your OSPF network as a broadcast network:
interface serial 0ipv6 enableipv6 ospf 1 area 0ipv6 ospf network broadcastencapsulation frame-relayThe following example illustrates a point-to-multipoint network with broadcast:
interface serial 0ipv6 enableipv6 ospf 1 area 0encapsulation frame-relayipv6 ospf cost 100ipv6 ospf network point-to-multipointframe-relay map ipv6 2001:0DB1::A8BB:CCFF:FE00:C01 broadcastframe-relay map ipv6 2001:0DB1B:CCFF:FE00:C02 broadcastframe-relay local-dlci 200ipv6 ospf neighbor 2001:0DB1B:CCFF:FE00:C01ipv6 ospf neighbor2001:0DB1B:CCFF:FE00:C02Related Commands
mode bypass
To enable Virtual Multipoint Interfaces (VMI) to support multicast traffic, use the mode bypass command in interface configuration mode. To return the interface to the default mode of aggregate, use the no form of this command.
mode [aggregate | bypass]
no mode bypass
Syntax Description
aggregate
Sets the mode to aggregate. All virtual-access interfaces created by PPPoE sessions are logically aggregated under the VMI.
bypass
Sets the mode to bypass.
Command Default
No mode
Command Modes
Interface configuration
Command History
Release Modification12.4(15)XF
This command was introduced to support multicast traffic on Virtual Multipoint Interfaces (VMIs).
Usage Guidelines
Use the mode bypass command when you need to support multicast traffic in router-to-radio configurations..
Aggregate Mode
The default mode for operation of the VMI is aggregate mode. In aggregate mode, all of the virtual-access interfaces created by PPPoE sessions are logically aggregated under the VMI. As such, applications above Layer 2, such as, EIGRP and OSPFv3, should be defined on the VMI interface only. Packets sent to the VMI will be correctly forwarded to the correct virtual-access interface.
Bypass Mode
Using bypass mode is recommended for multicast applications.
In bypass mode, the virtual-access interfaces are directly exposed to applications running above Layer2. In bypass mode, definition of a VMI is still required because the VMI will continue to manage presentation of cross-layer signals, such as, neighbor up, neighbor down, and metrics. However, applications will still be aware on the actual underlying virtual-access interfaces and send packets to them directly.
Using bypass mode can cause databases in the applications to be larger because knowledge of more interfaces are required for normal operation.
After you enter the mode bypass command, Cisco recommends that you copy the running configuration to NVRAM. because the default mode of operation for VMI is to logically aggregate the virtual-access interfaces.
Examples
The following example sets the interface mode to bypass:
Router# enableRouter# configure terminalRouter(config)# interface vmi1Router(config-if)# mode bypassRelated Commands
physical-interface
To create a physical subinterface to be associated with the Virtual Multipoint Interfaces (VMI) on a router, use the physical-interface command in interface configuration mode. To return the interface to the default mode of synchronous, use the no form of this command.
physical-interface interface-type/slot
no physical-interface
Syntax Description
interface-type
Specifies the type of interface or subinterface; value can be Ethernet, Fast Ethernet, or Gigabit Ethernet.
slot
Indicates the slot in which the interface is present.
Command Default
No physical interface exists until created
Command Modes
Interface configuration
Command History
Release Modification12.4(15)XF
This command was introduced to support Virtual Multipoint Interfaces (VMIs).
Usage Guidelines
Use the physical-interface command to create a physical subinterface.
Only one physical interface can be assigned to a VMI interface. Because there is very high number of VMI interfaces that can be used, assign a new VMI for each physical interface.
Examples
The following example shows how to change a low-speed serial interface from synchronous to asynchronous mode:
Router(config)# interface vmi1Router(config-if)# physical-interface fe0/1Related Commands
show ipv6 ospf
To display general information about Open Shortest Path First (OSPF) routing processes, use the show ipv6 ospf command in user EXEC or privileged EXEC mode.
show ipv6 ospf [process-id] [area-id]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Examples
show ipv6 ospf Output Example
The following is sample output from the show ipv6 ospf command:
Router# show ipv6 ospfRouting Process "ospfv3 1" with ID 10.10.10.1SPF schedule delay 5 secs, Hold time between two SPFs 10 secsMinimum LSA interval 5 secs. Minimum LSA arrival 1 secsLSA group pacing timer 240 secsInterface flood pacing timer 33 msecsRetransmission pacing timer 66 msecsNumber of external LSA 0. Checksum Sum 0x000000Number of areas in this router is 1. 1 normal 0 stub 0 nssaArea BACKBONE(0)Number of interfaces in this area is 1MD5 Authentication, SPI 1000SPF algorithm executed 2 timesNumber of LSA 5. Checksum Sum 0x02A005Number of DCbitless LSA 0Number of indication LSA 0Number of DoNotAge LSA 0Flood list length 0Table 7 describes the significant fields shown in the display.
show ipv6 ospf With Area Encryption Example
The following sample output shows the show ipv6 ospf command with area encryption information:
Router# show ipv6 ospfRouting Process "ospfv3 1" with ID 10.0.0.1It is an area border routerSPF schedule delay 5 secs, Hold time between two SPFs 10 secsMinimum LSA interval 5 secs. Minimum LSA arrival 1 secsLSA group pacing timer 240 secsInterface flood pacing timer 33 msecsRetransmission pacing timer 66 msecsNumber of external LSA 0. Checksum Sum 0x000000Number of areas in this router is 2. 2 normal 0 stub 0 nssaReference bandwidth unit is 100 mbpsArea BACKBONE(0)Number of interfaces in this area is 2SPF algorithm executed 3 timesNumber of LSA 31. Checksum Sum 0x107493Number of DCbitless LSA 0Number of indication LSA 0Number of DoNotAge LSA 20Flood list length 0Area 1Number of interfaces in this area is 2NULL Encryption SHA-1 Auth, SPI 1001SPF algorithm executed 7 timesNumber of LSA 20. Checksum Sum 0x095E6ANumber of DCbitless LSA 0Number of indication LSA 0Number of DoNotAge LSA 0Flood list length 0Table 8 describes the significant fields shown in the display.
show ipv6 ospf interface
To display Open Shortest Path First (OSPF)-related interface information, use the show ipv6 ospf interface command in user EXEC or privileged mode.
show ipv6 ospf [process-id] [area-id] interface [interface-type interface-number] [brief]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Examples
show ipv6 ospf interface Standard Output Example
The following is sample output from the show ipv6 ospf interface command:
Router# show ipv6 ospf interfaceATM3/0 is up, line protocol is upLink Local Address 2001:0DB1:205:5FFF:FED3:5808, Interface ID 13Area 1, Process ID 1, Instance ID 0, Router ID 172.16.3.3Network Type POINT_TO_POINT, Cost: 1Transmit Delay is 1 sec, State POINT_TO_POINT,Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5Hello due in 00:00:06Index 1/2/2, flood queue length 0Next 0x0(0)/0x0(0)/0x0(0)Last flood scan length is 12, maximum is 12Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 1, Adjacent neighbor count is 1Adjacent with neighbor 172.16.4.4Suppress hello for 0 neighbor(s)FastEthernet0/0 is up, line protocol is upLink Local Address 2001:0DB1:205:5FFF:FED3:5808, Interface ID 3Area 1, Process ID 1, Instance ID 0, Router ID 172.16.3.3Network Type BROADCAST, Cost: 1Transmit Delay is 1 sec, State BDR, Priority 1Designated Router (ID) 172.16.6.6, local address 2001:0DB1:205:5FFF:FED3:6408Backup Designated router (ID) 172.16.3.3, local address 2001:0DB1:205:5FFF:FED3:5808Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5Hello due in 00:00:05Index 1/1/1, flood queue length 0Next 0x0(0)/0x0(0)/0x0(0)Last flood scan length is 12, maximum is 12Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 1, Adjacent neighbor count is 1Adjacent with neighbor 172.16.6.6 (Designated Router)Suppress hello for 0 neighbor(s)Table 9 describes the significant fields shown in the display.
Cisco IOS Release 12.2(33)SRB Example
The following is sample output of the show ipv6 ospf interface command when the brief keyword is entered.
Router# show ipv6 ospf interface briefInterface PID Area Intf ID Cost State Nbrs F/CVL0 6 0 21 65535 DOWN 0/0Se3/0 6 0 14 64 P2P 0/0Lo1 6 0 20 1 LOOP 0/0Se2/0 6 6 10 62 P2P 0/0Tu0 1000 0 19 11111 DOWN 0/0OSPF with Authenticaion on the Interface Example
The following is sample output from the show ipv6 ospf interface command with authentication enabled on the interface:
Router# show ipv6 ospf interfaceEthernet0/0 is up, line protocol is upLink Local Address 2001:0DB1:A8BB:CCFF:FE00:6E00, Interface ID 2Area 0, Process ID 1, Instance ID 0, Router ID 10.10.10.1Network Type BROADCAST, Cost:10MD5 Authentication SPI 500, secure socket state UP (errors:0)Transmit Delay is 1 sec, State BDR, Priority 1Designated Router (ID) 10.11.11.1, local address 2001:0DB1:A8BB:CCFF:FE00:6F00Backup Designated router (ID) 10.10.10.1, local address2001:0DB1:A8BB:CCFF:FE00:6E00Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5Hello due in 00:00:01Index 1/1/1, flood queue length 0Next 0x0(0)/0x0(0)/0x0(0)Last flood scan length is 1, maximum is 1Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 1, Adjacent neighbor count is 1Adjacent with neighbor 10.11.11.1 (Designated Router)Suppress hello for 0 neighbor(s)OSPF with Null Authenticaion Example
The following is sample output from the show ipv6 ospf interface command with null authentication configured on the interface:
Router# show ipv6 ospf interfaceEthernet0/0 is up, line protocol is upLink Local Address 2001:0DB1:A8BB:CCFF:FE00:6E00, Interface ID 2Area 0, Process ID 1, Instance ID 0, Router ID 10.10.10.1Network Type BROADCAST, Cost:10Authentication NULLTransmit Delay is 1 sec, State BDR, Priority 1Designated Router (ID) 10.11.11.1, local address 2001:0DB1:A8BB:CCFF:FE00:6F00Backup Designated router (ID) 10.10.10.1, local address2001:0DB1:A8BB:CCFF:FE00:6E00Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5Hello due in 00:00:03Index 1/1/1, flood queue length 0Next 0x0(0)/0x0(0)/0x0(0)Last flood scan length is 1, maximum is 1Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 1, Adjacent neighbor count is 1Adjacent with neighbor 10.11.11.1 (Designated Router)Suppress hello for 0 neighbor(s)OSPF with Authentication for The Area Example
The following is sample output from the show ipv6 ospf interface command with authentication configured for the area:
Router# show ipv6 ospf interfaceEthernet0/0 is up, line protocol is upLink Local Address 2001:0DB1:A8BB:CCFF:FE00:6E00, Interface ID 2Area 0, Process ID 1, Instance ID 0, Router ID 10.10.10.1Network Type BROADCAST, Cost:10MD5 Authentication (Area) SPI 1000, secure socket state UP (errors:0)Transmit Delay is 1 sec, State BDR, Priority 1Designated Router (ID) 10.11.11.1, local address 2001:0DB1:A8BB:CCFF:FE00:6F00Backup Designated router (ID) 10.10.10.1, local addressFE80::A8BB:CCFF:FE00:6E00Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5Hello due in 00:00:03Index 1/1/1, flood queue length 0Next 0x0(0)/0x0(0)/0x0(0)Last flood scan length is 1, maximum is 1Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 1, Adjacent neighbor count is 1Adjacent with neighbor 10.11.11.1 (Designated Router)Suppress hello for 0 neighbor(s)OSPF with Dynamic Cost Example
The following display shows sample output from the show ipv6 ospf interface command when the OSPF cost dynamic is configured.
Router1# show ipv6 ospf interface serial2/0Serial2/0 is up, line protocol is upLink Local Address 2001:0DB1:A8BB:CCFF:FE00:100, Interface ID 10Area 1, Process ID 1, Instance ID 0, Router ID 172.1.1.1Network Type POINT_TO_MULTIPOINT, Cost: 64 (dynamic), Cost Hysteresis: 200Cost Weights: Throughput 100, Resources 20, Latency 80, L2-factor 100Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT,Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5Hello due in 00:00:19Index 1/2/3, flood queue length 0Next 0x0(0)/0x0(0)/0x0(0)Last flood scan length is 0, maximum is 0Last flood scan time is 0 msec, maximum is 0 msecNeighbor Count is 0, Adjacent neighbor count is 0Suppress hello for 0 neighbor(s)show pppoe
Use the show pppoe command to display information about currently active PPPoE sessions.
show pppoe {session | all | derived | packets | relay}
Syntax Description
Command DefaultDefault
None.Command Modes
User EXEC
Command History
Examples
PPPoE Session Examples
The following example shows output for the show pppoe session command:Router# show pppoe session1 session in LOCALLY_TERMINATED (PTA) State1 session totalUniq ID PPPoE RemMAC Port VT VA StateSID LocMAC VA-st84 79 0014.a922.b941 Fa0/0 1 Vi3 PTA000a.8a8e.75f8 UPThe following is sample output from the show pppoe session command:
Router# show pppoe session1 session in FORWARDED (FWDED) State1 session total
Uniq ID PPPoE SID RemMAC Port VT VA State LocMAC VA-st 26 19 0001.96da.a2c0 Et0/0.1 5 N/A RELFWD 000c.8670.1006 VLAN:3434
PPPoE Session with IWF and ppp-max-payload Tag Example
The following is sample output from the show pppoe session command when there is an IWF session and the ppp-max-payload tag is accepted in the discovery frame (available in Cisco IOS Release 12.2(31)SB2):
Router# show pppoe session1 session in LOCALLY_TERMINATED (PTA) State1 session total. 1 session of it is IWF type
Uniq ID PPPoE SID RemMAC Port VT VA State LocMAC VA-st Type 26 21 0001.c9f2.a81e Et1/2 1 Vi2.1 PTA 0006.52a4.901e UP IWF
Router# show pppoe session allTotal PPPoE sessions 1session id: 21local MAC address: 0006.52a4.901e, remote MAC address: 0001.c9f2.a81evirtual access interface: Vi2.1, outgoing interface: Et1/2, IWFPPP-Max-Payload tag: 150015942 packets sent, 15924 received224561 bytes sent, 222948 receivedTable 10 describes the significant fields shown in the displays.
PPPoE Session Including Credit Flow Statistics Example
The following example shows the output from the show pppoe session all command. This version of the display includes PPPoE credit flow statistics for the session.
Router# show pppoe session allTotal PPPoE sessions 1session id: 1local MAC address: aabb.cc00.0100, remote MAC address: aabb.cc00.0200virtual access interface: Vi2, outgoing interface: Et0/017 packets sent, 24 received1459 bytes sent, 2561 receivedPPPoE Flow Control StatsLocal Credits: 65504 Peer Credits: 65478Credit Grant Threshold: 28000 Max Credits per grant: 65534PADG Seq Num: 7 PADG Timer index: 0PADG last rcvd Seq Num: 7PADG last nonzero Seq Num: 0PADG last nonzero rcvd amount: 0PADG Timers: [0]-1000 [1]-2000 [2]-3000 [3]-4000PADG xmit: 7 rcvd: 7PADC xmit: 7 rcvd: 7PADQ xmit: 0 rcvd: 0Related Commands
show vmi neighbors
To display information about neighbor connections to the Virtual Multipoint Interface (VMI ), use the show vmi neighbors command in User EXEC mode.
show vmi neighbors [detail] [vmi-interface]
Syntax Description
detail
(Optional) Displays details about the VMI neighbors.
vmi-interface
(Optional) Number of the VMI interface
Command Default
If no arguments are specified, information about all neighbors for all VMI interfaces is displayed.
Command Modes
User EXEC
Command History
Usage Guidelines
If no arguments are specified, information about all neighbors for all VMI interfaces is displayed.
The show vmi neighbors command provides a list of devices that have been dynamically discovered by the connected radio devices in a router-to-radio network, and for which connectivity has been achieved through PPPoE and the radio network.
Examples
The following is sample output from the show vmi neighbors command used to display dynamically created neighbors on a VMI interface.
Router# show vmi neighbors vmi11 vmi1 NeighborsIPV6 IPV4 Transmit ReceiveInterface Address Address Uptime Packets Packetsvmi1 :: 10.3.3.2 00:02:11 0000000008 0000000073Table 11 describes the significant fields shown in the show vmi neighbors command display.
show vmi neighbors command with detail keyword: Example
The following example shows the details about the known VMI neighbors.
Router# show vmi neighbors detail1 vmi1 Neighborsvmi1 IPV6 Address=::IPV4 Address=10.3.3.2, Uptime=00:02:16Output pkts=8, Input pkts=75No Session Metrics have been received for this neighbor.Transport PPPoE, Session ID=79INTERFACE STATS:VMI Interface=vmi1,Input qcount=0, drops=0, Output qcount=0, drops=0V-Access intf=Virtual-Access3,Input qcount=0, drops=0, Output qcount=0, drops=0Physical intf=FastEthernet0/0,Input qcount=0, drops=0, Output qcount=0, drops=0PPPoE Flow Control StatsLocal Credits: 65442 Peer Credits: 65443Credit Grant Threshold: 28000 Max Credits per grant: 65534PADG Seq Num: 133 PADG Timer index: 0PADG last rcvd Seq Num: 133PADG last nonzero Seq Num: 0PADG last nonzero rcvd amount: 0PADG Timers: [0]-1000 [1]-2000 [2]-3000 [3]-4000PADG xmit: 133 rcvd: 133PADC xmit: 133 rcvd: 133PADQ xmit: 0 rcvd: 0
Table 12 describes the significant fields shown in the show vmi neighbors detail command display.
Feature Information About the Mobile Ad Hoc Networks for Router-to-Radio Communications
Table 13 lists the features in this module and provides links to specific configuration information. Only features that were introduced or modified in Cisco IOS Release 12.3(14)T or a later release appear in the table., page 43
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 13 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Table 13 Feature Information for Mobil Ad Hoc Networks for Router-to-Radio Communications
Feature Name Releases Feature InformationPPPoE Support for Credit Flow and Metrics on Router-to-Radio Links Feature
12.4(15)XF
Credit-based flow control provides in-band and out-of-band credit grants in each direction. Link Quality Metrics are used to report link performance statistics that are then used to influence routing.
The following sections provide information about this feature:
•
PPPoE Interfaces for Mobile Radio Communications
•
PPPoE Credit-based Flow Control
OSPFv3 Dynamic Interface Cost Support
12.4(15)XF
OSPFv3 Dynamic Interface Cost Support provides enhancements to the OSPFv3 cost metric for supporting Mobile Adhoc Networking.
The following section provides information about this feature;
EIGRP L2/L3 API and Tunable Metric for Mobile Adhoc Networks
12.4(15)XF
EIGRP uses dynamic raw radio link characteristics (current and maximum bandwidth, latency, and resources) to compute a composite EIGRP metric. A tunable Hysteresis mechanism helps to avoid churn in the network as a result of the change in the link characteristics.
In addition to the link characteristics, the L2L3 API provides an indication when a new adjacency is discovered, or an existing unreachable adjacency is again reachable. When EIGRP receives the adjacency signals, it responds with an immediate Hello out the specified interface to expedite the discovery of the EIGRP peer.
The following section provides information about this feature:
•
Link Quality Metrics Reporting for OSPFv3 and EIGRP with VMI Interfaces
•
Basic VMI PPPoE Configuration Using EIGRP for IPv6: Example
•
VMI PPPoE Configuration Using EIGRP for IPv4 and IPv6: Example






