Table Of Contents
mpls traffic-eng lsp attributes
mpls traffic-eng multicast-intact
mpls traffic-eng passive-interface
mpls traffic-eng path-option list
mpls traffic-eng path-selection metric
mpls traffic-eng reoptimize events
mpls traffic-eng reoptimize timers delay
mpls traffic-eng reoptimize timers frequency
mpls traffic-eng signalling advertise implicit-null
mpls traffic-eng topology holddown sigerr
mpls traffic-eng tunnels (global configuration)
mpls traffic-eng tunnels (interface configuration)
neighbor send-label explicit-null
neighbor (VPLS transport mode)
platform mpls load-balance ingress-port
mpls traffic-eng lsp attributes
To create or modify a label switched path (LSP) attribute list, use the mpls traffic-eng lsp attributes command in global configuration mode. To remove a specified LSP attribute list from the device configuration, use the no form of this command.
mpls traffic-eng lsp attributes string
no mpls traffic-eng lsp attributes string
Syntax Description
Command Default
An LSP attribute list is not created unless you create one.
Command Modes
Global configuration (config)
Command History
Usage Guidelines
This command sets up an LSP attribute list and enters LSP Attributes configuration mode, in which you can enter LSP attributes.
To associate the LSP attributes and LSP attribute list with a path option for an LSP, you must configure the tunnel mpls traffic-eng path option command with the attributes string keyword and argument, where string is the identifier for the specific LSP attribute list.
An LSP attribute referenced by the path option takes precedence over the values configured on the tunnel interface. If an attribute is not specified in the LSP attribute list, the devices takes the attribute from the tunnel configuration. LSP attribute lists do not have default values. If the attribute is not configured on the tunnel, then the device uses tunnel default values.
Once you type the mpls traffic-eng lsp attributes command, you enter the LSP Attributes configuration mode where you define the attributes for the LSP attribute list that you are creating.
The mode commands are as follows:
•affinity—Specifies attribute flags for links that make up an LSP.
•auto-bw—Specifies automatic bandwidth configuration.
•bandwidth—Specifies LSP bandwidth.
•lockdown—Disables reoptimization for the LSP.
•priority—Specifies LSP priority.
•protection—Enables failure protection.
•record-route—Records the route used by the LSP.
The following monitoring and management commands are also available in the LSP Attributes configuration mode:
•exit—Exits from LSP Attributes configuration mode.
•list—Relists all the entries in the LSP attribute list.
•no—Removes a specific attribute from the LSP attribute list.
Examples
The following example shows how to set up an LSP attribute list identified with the numeral 6 with the bandwidth and priority mode commands. The example also shows how to use the list mode command:
Router(config)# mpls traffic-eng lsp attributes 6Router(config-lsp-attr)# bandwidth 500Router(config-lsp-attr)# list
LIST 6bandwidth 500Router(config-lsp-attr)# priority 1 1Router(config-lsp-attr)# listLIST 6bandwidth 500priority 1 1Router(config-lsp-attr)# exitRelated Commands
mpls traffic-eng mesh-group
To configure a mesh group in an Interior Gateway Protocol (IGP) to allow Multiprotocol Label Switching (MPLS) traffic engineering (TE) label switch routers (LSRs) that belong to the same mesh group to signal tunnels to the local router, use the mpls traffic-eng mesh-group command in router configuration mode. To disable signaling of tunnels from LSRs in the same mesh group to the local router, use the no form of this command.
mpls traffic-eng mesh-group mesh-group-id type number area area-id
no mpls traffic-eng mesh-group mesh-group-id type number area area-id
Syntax Description
mesh-group-id
Number that identifies a specific mesh group.
type
Type of interface.
number
Interface number.
area area-id
Specifies an IGP area.
Command Default
No tunnels are signaled for routers in the same mesh group.
Command Modes
Router configuration (config-router)#
Command History
Usage Guidelines
Use this command to configure a mesh group in an IGP. This allows the MPLS TE LSRs that belong to the specified mesh group to signal tunnels to the local router. The IGP floods mesh group configuration to all routers belonging to the same mesh group. An autotemplate determines how a router participates in an autotunnel. A router can participate in a mesh group through two-way tunnels or one-way tunnels.
Open Shortest Path First (OSPF) is the only IGP supported for the MPLS Traffic Engineering—AutoTunnel Mesh Groups feature.
Examples
The following example shows how to configure OSPF to allow LSRs that belong to the same mesh group (mesh group 10) to signal tunnels to the local router:
Router(config)# router ospf 100Router(config-router)# mpls traffic-eng mesh-group 10 loopback 0 area 100Related Commands
Command Descriptiontunnel destination mesh-group
Configures an autotemplate to signal tunnels to all other members of a specified mesh group.
mpls traffic-eng multicast-intact
To configure a router running Intermediate System-to-Intermediate System (IS-IS) or Open Shortest Path First (OSPF) so that Protocol-Independent Multicast (PIM) and Multiprotocol Label Switching (MPLS) traffic engineering (TE) can work together, use the mpls traffic-eng multicast-intact command in router configuration mode. To disable interoperability between PIM and MPLS TE, use the no form of this command.
mpls traffic-eng multicast-intact
no mpls traffic-eng multicast-intact
Syntax Description
This command has no arguments or keywords.
Defaults
PIM and MPLS TE do not work together.
Command Modes
Router configuration
Command History
Usage Guidelines
The mpls traffic-eng multicast-intact command allows PIM to use the native hop-by-hop neighbors while unicast routing is using MPLS TE tunnels.
This command works only for OSPF and IS-IS protocols.
Examples
The following example shows how to enable PIM and MPLS TE to interoperate:
Router(config)# router ospf 1
Router(config-router)# mpls traffic-eng multicast-intact
Related Commands
mpls traffic-eng passive-interface
To configure a link as a passive interface between two Autonomous System Boundary Routers (ASBRs), use the mpls traffic-eng passive-interface command in interface configuration mode. To disable the passive link, use the no form of this command.
mpls traffic-eng passive-interface nbr-te-id te-router-id [nbr-if-addr if-addr] [nbr-igp-id {isis sysid | ospf sysid}]
no mpls traffic-eng passive-interface nbr-te-id te-router-id [nbr-if-addr if-addr] [nbr-igp-id{isis sysid | ospf sysid}]
Syntax Description
Command Default
None
Command Modes
Interface configuration
Command History
Usage Guidelines
The mpls traffic-eng passive-interface command sets the next-hop address for a passive interface. The command is required only for a broadcast link.
Enter the mpls traffic-eng passive-interface command only on the outgoing interface on which the label-switched path (LSP) will exit; you do not have to enter this command on both ends of the interautonomous system (Inter-AS) link.
On a point-to-point link or on a multiaccess link where there is only one neighbor, you do not have to enter the isis or ospf keyword (or the sysid argument).
If two autonomous systems use different IGPs and have more than one neighbor on the link, you must enter the nbr-igp-id keyword followed by isis or ospf and the sysid. The sysid must be unique for each neighbor.
For a broadcast link (that is, other Resource Reservation Protocol (RSVP)) features are using the passive link), you must enter the nbr-if-addr keyword.
For an RSVP Hello configuration on an Inter-AS link, all keywords are required.
Examples
In the following example there is only one neighbor:
Router(config-if)# mpls traffic-eng passive-interface nbr-te-id 10.10.10.10In the following example, two autonomous systems use different IGPs and have more than one neighbor on the link:
Router(config-if)# mpls traffic-eng passive-interface nbr-te-id 10.10.11.12 nbr-igp-id ospf 10.10.15.18If autonomous system 1 (AS1) is running IS-IS and AS2 is running OSPF, the unique ID on A1 must be in the system ID format. To form the system ID, we recommend that you append zeros to the router ID of the neighbor. For example, if the AS2 router is 10.20.20.20, then you could enter a system ID of 10.0020.0020.0020.00 for IS-IS on the AS1 router.
In the following example there is a remote ASBR and an IS-IS:
Router(config-if)# mpls traffic-eng passive-interface nbr-te-id 10.20.20.20 nbr-igp-id isis 10.0020.0020.0020.00In the following example, there is a broadcast link and the interface address of the remote ASBR is 10.0.0.2:
Router(config-if)# mpls traffic-eng passive-interface nbr-te-id 10.10.10.10 nbr-if-addr 10.0.0.2mpls traffic-eng path-option list
To configure a path option list, use the mpls traffic-eng path-option list command in global configuration mode. To disable this function, use the no form of this command.
mpls traffic-eng path-option list [name pathlist-name | identifier pathlist-number]
no mpls traffic-eng path-option list [name pathlist-name | identifier pathlist-number]
Syntax Description
name pathlist-name
Specifies the name of the path option list.
identifier pathlist-number
Specifies the identification number of the path option list. Valid values are from 1 through 65535.
Command Default
There are no path option lists.
Command Modes
Global configuration (config)
Command History
Usage Guidelines
A path option list contains a list of backup paths for a primary path option. You can specify a path option list by entering its name or identifier.
After you enter the mpls traffic-eng path-option list command, the router enters path option list configuration mode and you can enter the following commands:
•path-option—Specifies the name or identification number of the next path option to add, edit, or delete.
•list—Lists all path options.
•no—Deletes a specified path option.
•exit—Exits from path option list configuration mode.
Then you can specify explicit backup paths by entering their name or identifier.
Examples
The following example configures the path option list named pathlist-01, adds path option 10, lists the backup path that is in the path option list, and exits from path option list configuration mode:
Router(config)# mpls traffic-eng path-option list name pathlist-01 Router(cfg-pathoption-list)# path-option 10 explicit name bk-path-01 Router(cfg-pathoption-list)# listpath-option 10 explicit name bk-path-01Router(cfg-pathoption-list)# exitRelated Commands
mpls traffic-eng path-selection metric
To specify the metric type to use for path selection for tunnels for which the metric type has not been explicitly configured, use the mpls traffic-eng path-selection metric command in global configuration mode. To remove the specified metric type, use the no form of this command.
mpls traffic-eng path-selection metric {igp | te}
no mpls traffic-eng path-selection metric
Syntax Description
Defaults
The default is the te metric.
Command Modes
Global configuration
Command History
Usage Guidelines
Use this command to specify the metric type to be used for traffic engineering (TE) tunnels for which the tunnel mpls traffic-eng path-selection metric command has not been specified.
The metric type to be used for path calculation for a given tunnel is determined as follows:
•If the tunnel mpls traffic-eng path-selection metric command was entered to specify a metric type for the tunnel, use that metric type.
•Otherwise, if the mpls traffic-eng path-selection metric was entered to specify a metric type, use that metric type.
•Otherwise, use the default (te) metric.
Examples
The following command specifies that if a metric type was not specified for a given TE tunnel, the igp metric should be used for tunnel path calculation:
Router(config)# mpls traffic-eng path-selection metric igpRelated Commands
Command Descriptiontunnel mpls traffic-eng path-selection metric
Specifies the metric type to use when calculating a tunnel's path.
mpls traffic-eng reoptimize
To force immediate reoptimization of all traffic engineering tunnels, use the mpls traffic-eng reoptimize command in privileged EXEC mode.
mpls traffic-eng reoptimize
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Examples
The following example shows how to reoptimize all traffic engineering tunnels immediately:
Router# mpls traffic-eng reoptimizeRelated Commands
Command Descriptionmpls traffic-eng reoptimize timers delay
Delays removal of old LSPs or installation of new LSPs after tunnel reoptimization.
mpls traffic-eng reoptimize events
To turn on automatic reoptimization of Multiprotocol Label Switching (MPLS) traffic engineering when certain events occur, such as when an interface becomes operational, use the mpls traffic-eng reoptimize events command in global configuration mode. To disable automatic reoptimization, use the no form of this command.
mpls traffic-eng reoptimize events link-up
no mpls traffic-eng reoptimize events link-up
Syntax Description
Defaults
Event-based reoptimization is disabled.
Command Modes
Global configuration
Command History
Examples
The following example shows how to turn on automatic reoptimization whenever an interface becomes operational:
Router(config)# mpls traffic-eng reoptimize events link-upRelated Commands
mpls traffic-eng reoptimize timers delay
To delay removal of old label switched paths (LSPs) or installation of new LSPs after tunnel reoptimization, use the mpls traffic-eng reoptimize timers delay command in global configuration mode. To restore the default value, use the no form of this command.
mpls traffic-eng reoptimize timers delay {cleanup delay-time | installation delay-time}
no mpls traffic-eng reoptimize timers delay {cleanup delay-time | installation delay-time}
Syntax Description
Command Default
Removal of old LSPs and installation of new LSPs is not delayed.
Command Modes
Global configuration
Command History
Usage Guidelines
A device with Multiprotocol Label Switching traffic engineering (MPLS TE) tunnels periodically examines tunnels with established LSPs to discover if more efficient LSPs (paths) are available. If a better LSP is available, the device signals the more efficient LSP; if the signaling is successful, the device replaces the older LSP with the new, more efficient LSP.
Sometimes the slower router-point nodes may not yet utilize the new label's forwarding plane. In this case, if the headend node replaces the labels quickly, it can result in brief packet loss. By delaying the cleanup of the old LSP using the mpls traffic-eng reoptimize timers delay cleanup command, packet loss is avoided.
Examples
The following example shows how to set the reoptimization cleanup delay time to one minute:
Router# configureRouter(config)# mpls traffic-eng reoptimize timers delay cleanup 60The following example shows how to set the reoptimization installation delay time to one hour:
Router# configureRouter(config)# mpls traffic-eng reoptimize timers delay installation 5Related Commands
mpls traffic-eng reoptimize timers frequency
To control the frequency with which tunnels with established label switched paths (LSPs) are checked for better LSPs, use the mpls traffic-eng reoptimize timers frequency command in global configuration mode. To disable this function, use the no form of this command.
mpls traffic-eng reoptimize timers frequency seconds
no mpls traffic-eng reoptimize timers frequency
Syntax Description
seconds
Sets the frequency of reoptimization (in seconds). A value of 0 disables reoptimization. The range of values is 0 to 604800 seconds (1 week).
Defaults
3600 seconds (1 hour)
Command Modes
Global configuration
Command History
Usage Guidelines
A device with traffic engineering tunnels periodically examines tunnels with established LSPs to learn if better LSPs are available. If a better LSP seems to be available, the device attempts to signal the better LSP; if the signaling is successful, the device replaces the old, inferior LSP with the new, better LSP.
Note If the lockdown keyword is specified with the tunnel mpls traffic-eng path-option command, then a reoptimize check is not done on the tunnel.
If you configure a traffic engineering tunnel with an explicit path that is not fully specified (a series of router IDs or a combination of router IDs and interface addresses), then reoptimization may not occur.
Note If you specify a low reoptimization frequency (for example, less than 30 seconds), there may be an increase in CPU utilization for configurations with a large number of traffic engineering tunnels.
Examples
The following example shows how to set the reoptimization frequency to 1 day:
Router(config)# mpls traffic-eng reoptimize timers frequency 86400Related Commands
mpls traffic-eng router-id
To specify that the traffic engineering router identifier for the node is the IP address associated with a given interface, use the mpls traffic-eng router-id command in router configuration mode. To remove the traffic engineering router identifier, use the no form of this command.
mpls traffic-eng router-id interface-name
no mpls traffic-eng router-id
Syntax Description
Defaults
No traffic engineering router identifier is specified.
Command Modes
Router configuration
Command History
Usage Guidelines
This router identifier acts as a stable IP address for the traffic engineering configuration. This IP address is flooded to all nodes. For all traffic engineering tunnels originating at other nodes and ending at this node, you must set the tunnel destination to the traffic engineering router identifier of the destination node, because that is the address that the traffic engineering topology database at the tunnel head uses for its path calculation.
You should configure the same traffic engineering router id for all Interior Gateway Protocol (IGP) routing processes.
Examples
The following example shows how to specify the traffic engineering router identifier as the IP address associated with interface Loopback0:
Router(config-router)# mpls traffic-eng router-id Loopback0Related Commands
Command Descriptionmpls atm control-vc
Turns on flooding of MPLS traffic engineering link information in the indicated IGP level/area.
mpls traffic-eng scanner
To specify how often Intermediate System-to-Intermediate System (IS-IS) extracts traffic engineering type, length, values (TLVs) objects from flagged label switched paths (LSPs) and passes them to the traffic engineering topology database, and the maximum number of LSPs that the router can process immediately, use the mpls traffic-eng scanner command in router configuration mode. To disable the frequency that IS-IS extracts traffic engineering TLVs and the maximum number of LSPs IS-IS passes to the traffic engineering topology database, use the no form of this command.
mpls traffic-eng scanner [interval seconds] [max-flash LSPs]
no mpls traffic-eng scanner
Syntax Description
Command Default
IS-IS sends traffic engineering TLVs into the traffic engineering topology database every 5 seconds after the first 15 LSPs are processed.
Command Modes
Router configuration (config-router)
Command History
Usage Guidelines
When IS-IS receives a new LSP, it inserts it into the IS-IS database. If the LSP contains traffic engineering TLVs, IS-IS flags the LSPs for transmission to the traffic engineering database. Depending on the default or user-specified interval, traffic engineering TLVs are extracted and sent to the traffic engineering database. Users can also specify the maximum number of LSPs that the router can process immediately. Processing entails checking for traffic engineering TLVs, extracting them, and passing them to the traffic engineering database. If more than 50 LSPs need to be processed, there is a delay of 5 seconds for subsequent LSPs.
The first 15 LSPs are sent without a delay into the traffic engineering database. If more LSPs are received, the default delay of 5 seconds applies.
If you specify the no form of this command, there is a delay of 5 seconds before IS-IS scans its database and passes traffic engineering TLVs associated with flagged LSPs to the traffic engineering database
Examples
In the following example, the router is allowed to process up to 50 IS-IS LSPs without any delay.
Router(config)# router isisRouter(config-router)# mpls traffic-eng scanner interval 5 max-flash 50Related Commands
mpls traffic-eng signalling advertise implicit-null
To use the Multiprotocol Label Switching (MPLS) encoding for the implicit-null label in signaling messages sent to neighbors that match the specified access list, use the mpls traffic-eng signalling advertise implicit-null command in router configuration mode. To disable this feature, use the no form of this command.
mpls traffic-eng signalling advertise implicit-null [acl-name | acl-number]
no mpls traffic-eng signalling advertise implicit-null
Syntax Description
Defaults
Use the Cisco encoding for the implicit-null label in signaling messages.
Command Modes
Router configuration
Command History
Examples
The following example shows how to configure the router to use MPLS encoding for the implicit-null label when it sends signaling messages to certain peers:
Router(config-router)# mpls traffic-eng signalling advertise implicit-null
mpls traffic-eng srlg
To configure the Shared Risk Link Group (SRLG) membership of a link (interface), use the mpls traffic-eng srlg command in interface configuration mode. To remove a link from membership of one or more SRLGs, use the no form of this command.
mpls traffic-eng srlg [num]
no mpls traffic-eng srlg [num]
Syntax Description
Command Default
A link does not have membership in any SRLG.
Command Modes
Interface configuration (config-if)
Command History
Release Modification12.0(28)S
This command was introduced.
12.4(20)T
This command was integrated into Cisco IOS Release 12.4(20)T.
Usage Guidelines
You can enter the mpls traffic-eng srlg command multiple times to make a link a member of multiple SRLGs.
Examples
The following example makes the interface a member of SRLG 5:
Router(config-if)# mpls traffic-eng srlg 5If you enter the following commands, the interface is a member of both SRLG 5 and SRLG 6:
Router(config-if)# mpls traffic-eng srlg 5Router(config-if)# mpls traffic-eng srlg 6To remove a link from membership of SRLG 5, enter the following command:
Router(config-if)# no mpls traffic-eng srlg 5To remove a link from membership of all SRLGs, enter the following command:
Router(config-if)# no mpls traffic-eng srlgRelated Commands
Command Descriptionmpls traffic-eng auto-tunnel backup srlg exclude
Specifies that autocreated backup tunnels should avoid SRLGs of the protected interface.
mpls traffic-eng topology holddown sigerr
To specify the amount of time that a router ignores a link in its traffic engineering topology database in tunnel path Constrained Shortest Path First (CSPF) computations following a traffic engineering tunnel error on the link, use the mpls traffic-eng topology holddown sigerr command in global configuration mode. To disable the time set to ignore a ink following a traffic engineering tunnel error on the link, use the no form of this command.
mpls traffic-eng topology holddown sigerr seconds
no mpls traffic-eng topology holddown sigerr
Syntax Description
seconds
Length of time (in seconds) a router should ignore a link during tunnel path calculations following a traffic engineering tunnel error on the link. The value can be from 0 to 300.
Command Default
If you do not specify this command, tunnel path calculations ignore a link on which there is a traffic engineering error until either 10 seconds have elapsed or a topology update is received from the Interior Gateway Protocol (IGP).
Command Modes
Global configuration
Command History
Usage Guidelines
A router that is at the headend for traffic engineering tunnels might receive a Resource Reservation Protocol (RSVP) No Route error message for an existing tunnel or for one being signaled due to the failure of a link the tunnel traffic traverses before the router receives a topology update from the IGP routing protocol announcing that the link is down. In such a case, the headend router ignores the link in subsequent tunnel path calculations to avoid generating paths that include the link and are likely to fail when signaled. The link is ignored until the router receives a topology update from its IGP or a link hold-down timeout occurs. You can use the mpls traffic-eng topology holddown sigerr command to change the link hold-down time from its 10-second default value.
Examples
In the following example, the link hold-down time for signaling errors is set at 15 seconds:
Router(config)# mpls traffic-eng topology holddown sigerr 15Related Commands
Command Descriptionshow mpls traffic-eng topology
Displays the MPLS traffic engineering global topology as currently known at the node.
mpls traffic-eng tunnels (global configuration)
To enable Multiprotocol Label Switching (MPLS) traffic engineering tunnel signaling on a device, use the mpls traffic-eng tunnels command in global configuration mode. To disable MPLS traffic engineering tunnel signaling, use the no form of this command.
mpls traffic-eng tunnels
no mpls traffic-eng tunnels
Syntax Description
This command has no arguments or keywords.
Defaults
The command is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
This command enables MPLS traffic engineering on a device. For you to use the feature, MPLS traffic engineering must also be enabled on the desired interfaces.
Examples
The following example shows how to turn on MPLS traffic engineering tunnel signaling:
Router(config)# mpls traffic-eng tunnelsRelated Commands
Command Descriptionmpls traffic-eng tunnels (interface configuration)
Enables MPLS traffic engineering tunnel signaling on an interface.
mpls traffic-eng tunnels (interface configuration)
To enable Multiprotocol Label Switching (MPLS) traffic engineering (TE) tunnel signaling on an interface (assuming that it is enabled on the device), use the mpls traffic-eng tunnels command in interface configuration mode. To disable MPLS traffic engineering tunnel signaling on the interface, use the no form of this command.
mpls traffic-eng tunnels
no mpls traffic-eng tunnels
Syntax Description
This command has no arguments or keywords.
Command Default
The MPLS TE is disabled on all interfaces.
Command Modes
Interface configuration (config-if)
Command History
Usage Guidelines
Before you enable MPLS TE on the interface, you must enable MPLS TE on the device. An enabled interface has its resource information flooded into the appropriate Interior Gateway Protocol (IGP) link-state database and accepts traffic engineering tunnel signaling requests.
You can use this command to enable MPLS traffic engineering on an interface, thereby eliminating the need to use the ip rsvp bandwidth command. However, if your configuration includes Call Admission Control (CAC) for IPv4 Resource Reservation Protocol (RSVP) flows, you must use the ip rsvp bandwidth command.
Examples
The following example shows how to enable MPLS traffic engineering on Ethernet interface 0/0:
Router(config)# interface Ethernet0/0Router(config-if)# mpls traffic-eng tunnelsRelated Commands
Command Descriptionip rsvp bandwidth
Enables RSVP for IP on an interface.
mpls traffic-eng tunnels (global configuration)
Enables MPLS traffic engineering tunnel signaling on a device.
mpls ttl-dec
To specify standard Multiprotocol Label Switching (MPLS) tagging, use the mpls ttl-dec command in global configuration mode. To return to the default settings, use the no form of this command.
mpls ttl-dec
no mpls ttl-dec
Syntax Description
This command has no arguments or keywords.
Defaults
Optimized MPLS tagging (no mpls ttl-dec).
Command Modes
Global configuration
Command History
Release Modification12.2(18)SXE
This command was introduced on the Supervisor Engine 720.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Usage Guidelines
In Cisco IOS Release 12.2(18)SXE and later releases, MPLS tagging has been optimized to allow the rewriting of the original packet's IP type of service (ToS) and Time to Live (TTL) values before the MPLS label is pushed onto the packet header. This change can result in a slightly lower performance for certain types of traffic. If the packet's original ToS/TTL values are not significant, you enter the mpls ttl-dec command for standard MPLS tagging.
Examples
This example shows how to configure the Cisco 7600 series router to use standard MPLS tagging behavior:
Router(config)# mpls ttl-decRouter(config)#This example shows how to configure the Cisco 7600 series router to use optimized MPLS tagging behavior:
Router(config)# no mpls ttl-decRouter(config)#Related Commands
mtu
To adjust the maximum packet size or maximum transmission unit (MTU) size, use the mtu command in interface configuration mode, connect configuration mode, or xconnect subinterface configuration mode. To restore the MTU value to its original default value, use the no form of this command.
mtu bytes
no mtu
Syntax Description
Command Default
Table 4 lists default MTU values according to media type.
Table 4 Default Media MTU Values
Media Type Default MTU (Bytes)Ethernet
1500
Serial
1500
Token Ring
4464
ATM
4470
FDDI
4470
HSSI (HSA)
4470
Command Modes
Interface configuration (config-if)
Connect configuration (xconnect-conn-config)
xconnect subinterface configuration (config-if-xconn)Command History
Usage Guidelines
Each interface has a default maximum packet size or MTU size. This number generally defaults to the largest size possible for that interface type. On serial interfaces, the MTU size varies but cannot be set to a value less than 64 bytes.
Note The connect configuration mode is used only for Frame Relay Layer 2 interworking.
Changing the MTU Size
Changing the MTU size is not supported on a loopback interface.
Changing the MTU size on a Cisco 7500 series router results in the recarving of buffers and resetting of all interfaces. The following message is displayed:
.
RSP-3-Restart:cbus complexYou can configure native Gigabit Ethernet ports on the Cisco 7200 series router to a maximum MTU size of 9216 bytes. The MTU values range from 1500 to 9216 bytes. The MTU values can be configured to any range that is supported by the corresponding main interface.
Protocol-Specific Versions of the mtu Command
Changing the MTU value with the mtu interface configuration command can affect values for the protocol-specific versions of the command (the ip mtu command, for example). If the value specified with the ip mtu interface configuration command is the same as the value specified with the mtu interface configuration command, and you change the value for the mtu interface configuration command, the ip mtu value automatically matches the new mtu interface configuration command value. However, changing the values for the ip mtu configuration commands has no effect on the value for the mtu interface configuration command.
ATM and LANE Interfaces
ATM interfaces are not bound by what is configured on the major interface. By default, the MTU on a subinterface is equal to the default MTU (4490 bytes). A client is configured with the range supported by the corresponding main interface. The MTU can be changed on subinterfaces, but it may result in recarving of buffers to accommodate the new maximum MTU on the interface.
VRF-Aware Service Infrastructure Interfaces
The mtu command does not support the VRF-Aware Service Infrastructure (VASI) type interface.
Cisco 7600 Valid MTU Values
On the Cisco 7600 platform, the following valid values are applicable:
•For the SVI ports: from 64 to 9216 bytes
•For the GE-WAN+ ports: from 1500 to 9170 bytes
•For all other ports: from 1500 to 9216 bytes
You can receive jumbo frames on access subinterfaces also. The MTU values can be configured to any range that is supported by the corresponding main interface. If you enable the jumbo frames, the default is 64 bytes for the SVI ports and 9216 bytes for all other ports. The jumbo frames are disabled by default.
Cisco uBR10012 Universal Broadband Router
While configuring the interface MTU size on a Gigabit Ethernet SPA on a Cisco uBR10012 router, consider the following guidelines:
•The default interface MTU size accommodates a 1500-byte packet, plus 22 additional bytes to cover the following overhead:
–Layer 2 header—14 bytes
–Dot1Q header—4 bytes
–CRC—4 bytes
•If you are using MPLS, be sure that the mpls mtu command is configured with a value less than or equal to the interface MTU.
•If you are using MPLS labels, you should increase the default interface MTU size to accommodate the number of MPLS labels. Each MPLS label adds 4 bytes of overhead to a packet.
Note For the Gigabit Ethernet SPAs on the Cisco uBR10012 router, the default MTU size is 1500 bytes. When the interface is being used as a Layer 2 port, the maximum configurable MTU is 9000 bytes.
Examples
The following example shows how to specify an MTU of 1000 bytes:
Router(config)# interface serial 1Router(config-if)# mtu 1000Cisco uBR10012 Universal Broadband Router
The following example shows how to specify an MTU size on a Gigabit Ethernet SPA on the Cisco uBR10012 router:
Router(config)# interface GigabitEthernet3/0/0Router(config-if)# mtu 1800Related Commands
Command Descriptionencapsulation smds
Enables SMDS service on the desired interface.
ip mtu
Sets the MTU size of IP packets sent on an interface.
neighbor activate
To enable the exchange of information with a Border Gateway Protocol (BGP) neighbor, use the neighbor activate command in address family configuration mode or router configuration mode. To disable the exchange of an address with a BGP neighbor, use the no form of this command.
neighbor {ip-address | peer-group-name | ipv6-address} activate
no neighbor {ip-address | peer-group-name | ipv6-address} activate
Syntax Description
Command Default
The exchange of addresses with BGP neighbors is enabled for the IPv4 address family. Enabling address exchange for all other address families is disabled.
Note Address exchange for address family IPv4 is enabled by default for each BGP routing session configured with the neighbor remote-as command unless you configure the no bgp default ipv4-activate command before configuring the neighbor remote-as command, or you disable address exchange for address family IPv4 with a specific neighbor by using the no form of the neighbor activate command.
Command Modes
Address family configuration
Router configurationCommand History
Usage Guidelines
Use this command to advertise address information in the form of an IP or IPv6 prefix. The address prefix information is known as Network Layer Reachability Information (NLRI) in BGP.
Examples
Address Exchange Example for Address Family vpn4
The following example shows how to enable address exchange for address family vpnv4 for all neighbors in the BGP peer group named PEPEER and for the neighbor 10.0.0.44:
Router(config)# address-family vpnv4Router(config-router-af)# neighbor PEPEER activateRouter(config-router-af)# neighbor 10.0.0.44 activate
Router(config-router-af)# exit-address-familyAddress Exchange Example for Address Family IPv4 Unicast
The following example shows how to enable address exchange for address family IPv4 unicast for all neighbors in the BGP peer group named group1 and for the BGP neighbor 172.16.1.1:
Router(config)# address-family ipv4 unicastRouter(config-router-af)# neighbor group1 activateRouter(config-router-af)# neighbor 172.16.1.1 activateAddress Exchange Example for Address Family IPv6
The following example shows how to enable address exchange for address family IPv6 for all neighbors in the BGP peer group named group2 and for the BGP neighbor 7000::2:
Router(config)# address-family ipv6Router(config-router-af)# neighbor group2 activateRouter(config-router-af)# neighbor 7000::2 activateRelated Commands
neighbor allowas-in
To configure provider edge (PE) routers to allow readvertisement of all prefixes containing duplicate autonomous system numbers (ASNs), use the neighbor allowas-in command in router configuration mode. To disable the readvertisement of the ASN of the PE router, use the no form of this command.
neighbor ip-address allowas-in [number]
no neighbor allowas-in [number]
Syntax Description
Command Default
Readvertisement of all prefixes containing duplicate ASNs is disabled by default.
Command Modes
Router configuration
Command History
Usage Guidelines
In a hub and spoke configuration, a PE router readvertises all prefixes containing duplicate autonomous system numbers. Use the neighbor allowas-in command to configure two VRFs on each PE router to receive and readvertise prefixes are as follows:
•One Virtual Private Network routing and forwarding (VRF) instance receives prefixes with ASNs from all PE routers and then advertises them to neighboring PE routers.
•The other VRF receives prefixes with ASNs from the customer edge (CE) router and readvertises them to all PE routers in the hub and spoke configuration.
You control the number of times an ASN is advertised by specifying a number from 1 to 10.
Examples
The following example shows how to configure the PE router with ASN 100 to allow prefixes from the VRF address family Virtual Private Network (VPN) IPv4 vrf1. The neighboring PE router with the IP address 192.168.255.255 is set to be readvertised to other PE routers with the same ASN six times.
Router(config)# router bgp 100Router(config-router)# address-family ipv4 vrf vrf1Router(config-router)# neighbor 192.168.255.255 allowas-in 6Related Commands
Command Descriptionaddress-family
Enters the address family configuration submode used to configure routing protocols such as BGP, OSPF, RIP, and static routing.
neighbor as-override
To configure a provider edge (PE) router to override the autonomous system number (ASN) of a site with the ASN of a provider, use the neighbor as-override command in router configuration mode. To remove Virtual Private Network (VPN) IPv4 prefixes from a specified router, use the no form of this command.
neighbor ip-address as-override
no neighbor ip-address as-override
Syntax Description
Defaults
Automatic override of the ASN is disabled.
Command Modes
Router configuration
Command History
Usage Guidelines
This command is used in conjunction with the site-of-origin feature, identifying the site where a route originated, and preventing routing loops between routers within a VPN.
Examples
The following example shows how to configure a router to override the ASN of a site with the ASN of a provider:
Router(config)# router bgp 100Router(config-router)# neighbor 192.168.255.255 remote-as 109Router(config-router)# neighbor 192.168.255.255 update-source loopback0Router(config-router)# address-family ipv4 vrf vpn1Router(config-router)# neighbor 192.168.255.255 activateRouter(config-router)# neighbor 192.168.255.255 as-overrideRelated Commands
neighbor inter-as-hybrid
To configure the eBGP peer router (ASBR) as an Inter-AS Option AB peer, use the neighbor inter-as-hybrid command.
•Advertised routes have the route targets (RTs) that are configured on the VRF. Advertised routes do not have their original RTs.
•If any prefixes are imported into Option AB VRFs, then the imported paths are advertised to this peer.
neighbor {ip-address | peer-group-name} inter-as-hybrid
no neighbor {ip-address | peer-group-name} inter-as-hybrid
Syntax Description
ip-address
Specifies the IP address of the Inter-AS AB neighbor.
peer-group-name
Specifies the name of a BGP peer group.
inter-as-hybrid
Specifies that the neighbor is an Option AB neighbor.
Defaults
No Inter-AS AB neighbor eBGP (ASBR) router is specified.
Command Modes
Address family configuration (config-router-af)
Command History
Release Modification12.2(33)SRC
This command was introduced.
15.0(1)M
This command was modified. It was integrated into the release.
Examples
The following example specifies an Inter-AS AB neighbor eBGP (ASBR) router:
Router(config-router-af)# neighbor 10.0.0.1 inter-as-hybridRelated Commands
neighbor send-label
To enable a Border Gateway Protocol (BGP) router to send Multiprotocol Label Switching (MPLS) labels with BGP routes to a neighboring BGP router, use the neighbor send-label command in address family configuration mode or router configuration mode. To disable this feature, use the no form of this command.
neighbor {ip-address | ipv6-address | peer-group-name} send-label [explicit-null]
neighbor {ip-address | ipv6-address | peer-group-name} send-label [explicit-null]
Syntax Description
Command Default
BGP routers distribute only BGP routes.
Command Modes
Address family configuration (config-router-af)
Router configuration (config-router)Command History
Usage Guidelines
The neighbor send-label command enables a router to use BGP to distribute MPLS labels along with IPv4 routes to a peer router. You must issue this command on both the local and the neighboring router.
This command has the following restrictions:
•If a BGP session is running when you issue the neighbor send-label command, the BGP session flaps immediately after the command is issued.
•In router configuration mode, only IPv4 addresses are distributed.
Use the neighbor send-label command in address family configuration mode, to bind and advertise IPv6 prefix MPLS labels. Using this command in conjunction with the mpls ipv6 source-interface global configuration command allows IPv6 traffic to run over an IPv4 MPLS network without any software or hardware configuration changes in the backbone. Edge routers configured to run both IPv4 and IPv6 traffic forward IPv6 traffic using MPLS and multiprotocol internal BGP (MP-iBGP).
Cisco IOS software installs /32 routes for directly connected external BGP (eBGP) peers when the BGP session for such a peer comes up. The /32 routes are installed only when MPLS labels are exchanged between such peers. Directly connected eBGP peers exchange MPLS labels for:
•IP address families (IPv4 and IPv6) with the neighbor send-label command enabled for the peers
•VPN address families (VPNv4 and VPNv6)
A single BGP session can include multiple address families. If one of the families exchanges MPLS labels, the /32 neighbor route is installed for the connected peer.
Examples
The following example shows how to enable a router in autonomous system 65000 to send MPLS labels with BGP routes to the neighboring BGP router at 192.168.0.1:
Router(config)# router bgp 65000Router(config-router)# neighbor 192.168.0.1 remote-as 65001Router(config-router)# neighbor 192.168.0.1 send-labelThe following example shows how to enable a router in the autonomous system 65000 to bind and advertise IPv6 prefix MPLS labels and send the labels with BGP routes to the neighboring BGP router at 192.168.99.70:
Router(config)# router bgp 65000Router(config-router)# neighbor 192.168.99.70 remote-as 65000Router(config-router)# address-family ipv6Router(config-router-af)# neighbor 192.168.99.70 activateRouter(config-router-af)# neighbor 192.168.99.70 send-labelRelated Commands
neighbor send-label explicit-null
To enable a Border Gateway Protocol (BGP) router to send Multiprotocol Label Switching (MPLS) labels with explicit-null information for a CSC-CE router and BGP routes to a neighboring CSC-PE router, use the neighbor send-label explicit-null command in address family configuration mode or router configuration mode. To disable a BGP router from sending MPLS labels with explicit-null information, use the no form of this command.
neighbor ip-address send-label explicit-null
no neighbor ip-address send-label explicit-null
Syntax Description
Command Default
None
Command Modes
Address family configuration
Router configurationCommand History
Usage Guidelines
This command enables a CSC-CE router to use BGP to distribute MPLS labels with a value of zero for explicit-null instead of implicit-null along with IPv4 routes to a CSC-PE peer router.
You must issue this command only on the local CSC-CE router.
You can use this command only with IPv4 addresses.
Examples
In the following CSC-CE example, CSC is configured with BGP to distribute labels and to advertise explicit null for all its connected routes:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# router bgp 100Router(config-router)# neighbor 10.0.0.2 remote-as 300Router(config-router)# address-family ipv4Router(config-router-af)# neighbor 10.0.0.2 send-label explicit-nullIn the following CSC-PE example, CSC is configured with BGP to distribute labels:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# router bgp 300Router(config-router)# neighbor 10.0.0.1 remote-as 100Router(config-router)# address-family ipv4 vrf v1Router(config-router-af)# neighbor 10.0.0.1 send-label
Note Explicit null is not applicable on a CSC-PE router.
Related Commands
neighbor (VPLS transport mode)
To create pseudowires with specific provider edge (PE) routers in an L2VPN Advanced VPLS configuration, use the neighbor command in VPLS transport configuration mode. To remove the pseudowires, use the no form of this command.
neighbor remote-router-id [pw-class pw-class-name]
no neighbor remote-router-id
Syntax Description
Command Default
Pseudowires are not created.
Command Modes
VPLS transport configuration (config-if-transport)
Command History
Usage Guidelines
The neighbor command uses default values for the VFI name, VPN ID, and encapsulation type.
Examples
The following example shows how two pseudowires are created with PE routers 10.2.2.2 and 10.3.3.3:
Router(config)# interface virtual-ethernet 1
Router(config-if)# transport vpls mesh
Router(config-if-transport)# neighbor 10.2.2.2 pw-class 1
Router(config-if-transport)# neighbor 10.3.3.3 pw-class 1
Related Commands
Command Descriptiontransport vpls mesh
Creates a full mesh of pseudowires under a virtual private LAN switching (VPLS) domain.
next-address
To specify the next IP address in the explicit path, use the next-address command in IP explicit path configuration mode.
next-address [loose | strict] ip-address
Syntax Description
Command Default
The next IP address in the explicit path is not specified.
Command Modes
IP explicit path configuration
Command History
Usage Guidelines
To specify an explicit path that includes only the addresses specified, specify each address in sequence by using the next-address command without the loose keyword.
To configure an interarea traffic engineering (TE) tunnel, configure the tunnel path options as loose explicit paths. Specify that each Autonomous System Boundary Router (ASBR) traversed by the tunnel label switched path (LSP) is a loose hop by entering the loose keyword with the next-address command.
To use explicit paths for TE tunnels within an Interior Gateway Protocol (IGP) area, you can specify a combination of both loose and strict hops.
When specifying an explicit path for an MPLS TE tunnel, you can specify link or node addresses of the next-hop routers in an explicit path. You can also specify a mixture of link and node addresses. However, there are some restrictions:
•In Cisco IOS Releases 12.2(33)SRD and 12.4(24)T, and Cisco XE Release 2.4 and earlier releases, you cannot specify an explicit path that uses a link address as the first hop and then node addresses as the subsequent hops. However, you can use a node address as the first hop andlink addresses as the subsequent hops.
•In Cisco IOS Releases after 12.2(33)SRD, 12.4(24)T , and Cisco XE Release 2.4, you can use a link address as the first hop and then node addresses as the subsequent hops. There are no restrictions when specifying a mixture of link and node addresses.
When specifying an explicit path, if you specify the "forward" address (the address of the interface that forwards the traffic to the next router) as the next-hop address, the explicit path might not be used. Using the forward address allows that entry to be treated as a loose hop for path calculation. Cisco recommends that you use the "receive"address (the address of the interface that receives traffic from the sending router) as the next-hop address.
In the following example, router R3 sends traffic to router R1. The paths marked a,b and x,y between routers R1 and R2 are parallel paths.
R1(a)----(b)R2(c)--(d)R3(x)----(y)If you configure an explicit path from R3 to R1 using the "forward" addresses (addresses d and b), the tunnel might reroute traffic over the parallel path (x,y) instead of the explicit path. To ensure that the tunnel uses the explicit path, specify the "receive" addresses as part of the next-address command, as shown in the following example:
ip explicit-path name path1next-address (c)next-address (a)Examples
The following example shows how to assign the number 60 to the IP explicit path, enable the path, and specify 10.3.27.3 as the next IP address in the list of IP addresses:
Router(config)# ip explicit-path identifier 60 enableRouter(cfg-ip-expl-path)# next-address 10.3.27.3Explicit Path identifier 60:1: next-address 10.3.27.3The following example shows a loose IP explicit path with ID 60. An interarea TE tunnel has a destination of 10.3.29.3 and traverses ASBRs 10.3.27.3 and 10.3.28.3.
Router(config)# ip explicit-path identifier 60Router(cfg-ip-expl-path)# next-address loose 10.3.27.3Router(cfg-ip-expl-path)# next-address loose 10.3.28.3Router(cfg-ip-expl-path)# next-address loose 10.3.29.3Related Commands
oam retry
To configure parameters related to Operation, Administration, and Maintenance (OAM) management for an ATM permanent virtual circuit (PVC), switched virtual circuit (SVC), VC class, or VC bundle, or label-controlled ATM (LC-ATM) VC, use the oam retry command in the appropriate command mode. To remove OAM management parameters, use the no form of this command.
oam retry up-count down-count retry-frequency
no oam retry
Syntax Description
Defaults
ATM PVCs and SVCs
up-count: 3
down-count: 5
retry-frequency: 1 secondLC-ATM VCs
up-count: 2
down-count: 2
retry-frequency: 2 secondsCommand Modes
Bundle configuration mode (for a VC bundle)
Control-VC configuration (for an LC-ATM VC)
Interface-ATM-VC configuration (for an ATM PVC or SVC)
PVC range configuration (for an ATM PVC range)
PVC-in-range configuration (for an individual PVC within a PVC range)
VC-class configuration (for a VC class)Command History
Usage Guidelines
The following guidelines apply to PVCs, SVCs, and VC classes. They do not apply to LC-ATM VCs.
•For ATM PVCs, SVCs, or VC bundles, if the oam retry command is not explicitly configured, the VC inherits the following default configuration (listed in order of precedence):
–Configuration of the oam retry command in a VC class assigned to the PVC or SVC itself.
–Configuration of the oam retry command in a VC class assigned to the PVC's or SVC's ATM subinterface.
–Configuration of the oam retry command in a VC class assigned to the PVC's or SVC's ATM main interface.
–Global default: up-count = 3, down-count = 5, retry-frequency = 1 second. This set of defaults assumes that OAM management is enabled using the oam-pvc or oam-svc command. The up-count and retry-frequency arguments do not apply to SVCs.
•To use this command in bundle configuration mode, enter the bundle command to create the bundle or to specify an existing bundle before you enter this command.
•If you use the oam retry command to configure a VC bundle, you configure all VC members of that bundle. VCs in a VC bundle are further subject to the following inheritance rules (listed in order of precedence):
–VC configuration in bundle-vc mode
–Bundle configuration in bundle mode (with the effect of assigned VC-class configuration)
–Subinterface configuration in subinterface mode
Examples
The following example shows how to configure the OAM management parameters with an up count of 3, a down-count of 3, and the retry frequency set at 10 seconds:
Router(cfg-mpls-atm-cvc)# oam retry 3 3 10
Related Commands
oam-ac emulation-enable
To enable Operation, Administration, and Maintenance (OAM) cell emulation on ATM adaptation layer 5 (AAL5) over Multiprotocol Label Switching (MPLS) or Layer 2 Tunnel Protocol Version 3 (L2TPv3), use the oam-ac emulation-enable command in the appropriate configuration mode on both provider edge (PE) routers. To disable OAM cell emulation, use the no form of this command on both routers.
oam-ac emulation-enable [seconds]
no oam-ac emulation-enable [seconds]
Syntax Description
Command Default
OAM cell emulation is disabled.
Command Modes
L2transport VC configuration—for an ATM PVC
VC class configuration mode—for a VC classCommand History
Usage Guidelines
This command is used with AAL5 over MPLS or L2TPv3 and is not supported with ATM cell relay over MPLS or L2TPv3.
Examples
The following example shows how to enable OAM cell emulation on an ATM permanent virtual circuit (PVC):
Router# interface ATM 1/0/0
Router(config-if)# pvc 1/200 l2transport
Router(config-if-atm-l2trans-pvc)# oam-ac emulation-enable
The following example shows how to set the rate at which an AIS cell is sent every 30 seconds:
Router# interface ATM 1/0/0
Router(config-if)# pvc 1/200 l2transport
Router(config-if-atm-l2trans-pvc)# oam-ac emulation-enable 30
The following example configures OAM cell emulation for ATM AAL5 over MPLS in VC class configuration mode. The VC class is then applied to an interface.
Router> enable
Router# configure terminal
Router(config)# vc-class atm oamclass
Router(config-vc-class)# encapsulation aal5
Router(config-vc-class)# oam-ac emulation-enable 30
Router(config-vc-class)# oam-pvc manage
Router(config)# interface atm1/0
Router(config-if)# class-int oamclass
Router(config-if)# pvc 1/200 l2transport
Router(config-if-atm-l2trans-pvc)# xconnect 10.13.13.13 100 encapsulation mpls
Related Commands
oam-pvc
To enable end-to-end F5 Operation, Administration, and Maintenance (OAM) loopback cell generation and OAM management for an ATM permanent virtual circuit (PVC), virtual circuit (VC) class, or label-controlled ATM (LC-ATM) VC, use the oam-pvc command in the appropriate command mode. To disable generation of OAM loopback cells and OAM management, use the no form of this command.
ATM VC or VC Class
oam-pvc [manage] [frequency]
no oam-pvc [manage]
LC-ATM VC
oam-pvc manage [frequency]
no oam-pvc manage
Loopback Mode Detection
oam-pvc manage [frequency] loop-detection
no oam-pvc manage loop-detection
Cisco 10000 Series Router
oam-pvc manage [frequency] [auto-detect [optimum]] [keep-vc-up [seg aisrdi failure]]
no oam-pvc manage [frequency] [auto-detect [optimum]] [keep-vc-up [seg aisrdi failure]]
Syntax Description
Command Default
OAM management and loop detection are disabled.
Command Modes
ATM VC class configuration (for a VC class)
ATM VC configuration (for an ATM PVC or loopback mode detection)
Control-VC configuration (for enabling OAM management on an LC-ATM VC)
PVC-in-range configuration (for an individual PVC within a PVC range)Command History
Usage Guidelines
If OAM management is enabled, further control of OAM management is configured by using the oam retry command.
ATM VC or VC Classes
If the oam-pvc command is not explicitly configured on an ATM PVC, the PVC inherits the following default configuration (in order of precedence):
•Configuration from the oam-pvc command in a VC class assigned to the PVC itself.
•Configuration from the oam-pvc command in a VC class assigned to the ATM subinterface of the PVC.
•Configuration from the oam-pvc command in a VC class assigned to the ATM main interface of the PVC.
•Global default: End-to-end F5 OAM loopback cell generation and OAM management are disabled, but if OAM cells are received, they are looped back. The default value for the frequency argument is 10 seconds.
Loopback Mode Detection
When a PVC traverses an ATM cloud and OAM is enabled, the router sends a loopback cell to the other end and waits for a response to determine whether the circuit is up. If an intervening router within the ATM cloud is in loopback mode, however, the router considers the circuit to be up, when in fact the other end is not reachable.
When enabled, the Loopback Mode Detection Through OAM feature detects when an intervening router is in loopback mode, in which case it sets the OAM state to NOT_VERIFIED. This prevents traffic from being routed on the PVC for as long as any intervening router is detected as being in loopback mode.
Examples
The following example shows how to enable end-to-end F5 OAM loopback cell transmission and OAM management on an ATM PVC with a transmission frequency of 3 seconds:
Router(cfg-mpls-atm-cvc)# oam-pvc manage 3The following example shows how to enable end-to-end F5 OAM loopback cell transmission and OAM management on an LC-ATM interface with a transmission frequency of 2 seconds:
Router(config)# interface Switch1.10 mplsRouter(config-subif)# ip unnumbered Loopback0Router(config-subif)# mpls atm control-vc 0 32Router(cfg-mpls-atm-cvc)# oam-pvc manage 2The following example shows how to create a PVC and enable loopback detection:
Router(config)# interface ATM1/0Router(config-if)# pvc 4/100Router(config-if-atm-vc)# oam-pvc manage loop-detectionRelated Commands
ping mpls
To check Multiprotocol Label Switching (MPLS) label switched path (LSP) connectivity, use the ping mpls command in privileged EXEC mode.
ping mpls {ipv4 destination-address/destination-mask-length [destination address-start address-end increment] [ttl time-to-live] | pseudowire ipv4-address vc-id [segment [segment-number]] [destination address-start address-end increment] | traffic-eng tunnel-interface tunnel-number [ttl time-to-live]}
[revision {1 | 2 | 3 | 4}]
[source source-address]
[repeat count]
[timeout seconds]
[size packet-size | sweep minimum maximum size-increment]
[pad pattern]
[reply dscp dscp-value]
[reply pad-tlv]
[reply mode {ipv4 | router-alert}]
[interval ms]
[exp exp-bits]
[verbose]
[revision tlv-revision-number]
[force-explicit-null]
[output interface tx-interface [nexthop ip-address]]
[dsmap [hashkey {none | ipv4 bitmap bitmap-size}]]
[flags fec]Syntax Description
ipv4
Specifies the destination type as a Label Distribution Protocol (LDP) IPv4 address.
destination-address
Address prefix of the target to be tested.
/destination-mask-length
Number of bits in the network mask of the target address. The slash is required.
destination
(Optional) Specifies a network 127 address.
address-start
(Optional) Beginning network 127 address.
address-end
(Optional) Ending network 127 address.
increment
(Optional) Number by which to increment the network 127 address.
ttl time-to-live
(Optional) Specifies a time-to-live (TTL) value. The default is 225 seconds.
pseudowire
Specifies the destination type as an Any Transport over MPLS (AToM) virtual circuit (VC).
ipv4-address
IPv4 address of the AToM VC to be tested.
vc-id
Specifies the VC identifier of the AToM VC to be tested.
segment segment-number
(Optional) Specifies a segment of a multisegment pseudowire.
traffic-eng
Specifies the destination type as an MPLS traffic engineering (TE) tunnel.
tunnel-interface
Tunnel interface to be tested.
tunnel-number
Tunnel interface number.
revision {1 | 2 | 3 | 4}
(Optional) Selects the type, length, values (TLVs) version of the implementation. Use the revision 4 default unless attempting to interoperate with devices running Cisco IOS Release 12.0(27)S1 or 12.0(27)S2. If you do not select a revision keyword, the software uses the latest version.
See Table 5 in the "Revision Keyword Usage" section of the "Usage Guidelines" section for information on when to select the 1, 2, 3, and 4 keywords.
source source-address
(Optional) Specifies the source address or name. The default address is loopback0. This address is used as the destination address in the MPLS echo response.
repeat count
(Optional) Specifies the number of times to resend the same packet. The range is from 1 to 2147483647. The default is 1. If you do not enter the repeat keyword, the software resends the same packet five times.
timeout seconds
(Optional) Specifies the timeout interval in seconds for an MPLS request packet. The range is from 0 to 3600. The default is 2 seconds.
size packet-size
(Optional) Specifies the size of the packet with the label stack imposed. Packet size is the number of bytes in each ping. The range is from 40 to 18024. The default is 100.
sweep
(Optional) Enables you to send a number of packets of different sizes, ranging from a start size to an end size. This parameter is similar to the Internet Control Message Protocol (ICMP) ping sweep parameter.
minimum
(Optional) Minimum or start size for an MPLS echo packet. The lower boundary of the sweep range varies depending on the LSP type. The default is 100 bytes.
maximum
(Optional) Maximum or end size for an echo packet. The default is 17,986 bytes.
size-increment
(Optional) Number by which to increment the echo packet size. The default is 100 bytes.
pad pattern
(Optional) The pad TLV is used to fill the datagram so that the MPLS echo request (User Datagram Protocol [UDP] packet with a label stack) is the specified size. The default is 0xABCD.
reply dscp dscp-value
(Optional) Provides the capability to request a specific class of service (CoS) in an echo reply by providing a differentiated services code point (DSCP) value.
The echo reply is returned with the IP header type of service (ToS) byte set to the value specified in the reply dscp command.
reply pad-tlv
(Optional) Tests the ability of the sender of an echo reply to support the copy pad TLV to echo reply.
reply mode {ipv4 | router-alert}
(Optional) Specifies the reply mode for the echo request packet.
ipv4—Reply with an IPv4 UDP packet (default).
router-alert—Reply with an IPv4 UDP packet with router alert.
interval ms
(Optional) Specifies the time, in milliseconds (ms), between successive MPLS echo requests. This parameter allows you to pace the transmission of packets so that the receiving router does not drop packets. Default is 0.
exp exp-bits
(Optional) Specifies the MPLS experimental field value in the MPLS header for an MPLS echo reply. Valid values are from 0 to 7. Default is 0.
verbose
(Optional) Displays the MPLS echo reply sender address of the packet and displays return codes.
revision tlv-revision-number
(Optional) Cisco TLV revision number.
force-explicit-null
(Optional) Forces an explicit null label to be added to the MPLS label stack even though the label was unsolicited.
output interface tx-interface
(Optional) Specifies the output interface for echo requests.
nexthop ip-address
(Optional) Causes packets to go through the specified next-hop address.
dsmap
(Optional) Interrogates a transit router for downstream mapping (DSMAP) information.
hashkey {none | ipv4 bitmap bitmap-size}
(Optional) Allows you to control the hash key and multipath settings. Valid values are:
none—There is no multipath (type 0).
ipv4 bitmap bitmap-size—Size of the IPv4 addresses (type 8) bitmap.
If you enter the none keyword, multipath LSP traceroute acts like enhanced LSP traceroute; that is, it uses multipath LSP traceroute retry logic and consistency checking.
flags fec
(Optional) Allows Forward Equivalence Class (FEC) checking on the transit router. A downstream map TLV containing the correct received labels must be present in the echo request for target FEC stack checking to be performed.
Target FEC stack validation is always done at the egress router. Be sure to use this keyword in conjunction with the ttl keyword.
Command Default
You cannot check MPLS LSP connectivity.
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
Note It is recommended that you use the mpls oam global configuration command instead of this command.
Use the ping mpls command to validate, test, or troubleshoot IPv4 LDP LSPs, IPv4 Resource Reservation Protocol (RSVP) TE tunnels, and AToM VCs.
UDP Destination Address Usage
The destination address is a valid 127/8 address. You have the option to specify a single x.y.z-address or a range of numbers from 0.0.0 to x.y.z, where x, y, and z are numbers from 0 to 255 and correspond to the 127.x.y.z destination address.
The MPLS echo request destination address in the UDP packet is not used to forward the MPLS packet to the destination router. The label stack that is used to forward the echo request routes the MPLS packet to the destination router. The 127/8 address guarantees that the packets are routed to the local host (the default loopback address of the router processing the address) if the UDP packet destination address is used for forwarding.
In addition, the destination address is used to adjust load balancing when the destination address of the IP payload is used for load balancing.
Time-to-Live Usage
The time-to-live value indicates the maximum number of hops a packet should take to reach its destination. The value in the TTL field in a packet is decremented by 1 each time the packet travels through a router.
For MPLS LSP ping, the TTL is a value after which the packet is discarded and an MPLS echo reply is sent back to the originating router.
For MPLS multipath LSP traceroute, the TTL is a maximum time-to-live value and is used to discover the number of downstream hops to the destination router. MPLS LSP traceroute incrementally increases the TTL value in its MPLS echo requests (TTL = 1, 2, 3, 4, ...) to accomplish this.
Downstream Map TLVs
The presence of a downstream map in an echo request is interpreted by the responding transit (not egress) router to include downstream map information in the echo reply. Specify the ttl and dsmap keywords to cause TTL expiry during LSP ping to interrogate a transit router for downstream information.
Pseudowire Usage
The following keywords are not available with the ping mpls pseudowire command:
•dsmap
•flags
•force-explicit-null
•output
•revision
•ttl
Revision Keyword Usage
The revision keyword allows you to issue a ping mpls ipv4, ping mpls pseudowire, or trace mpls traffic-eng command based on the format of the TLV. Table 5 lists the revision option and usage guidelines for each option.
Table 5 Revision Options and Option Usage Guidelines
Revision Option Option Usage Guidelines11
Not supported in Cisco IOS Release 12.4(11)T or later releases.
Version 1 (draft-ietf-mpls-ping-03).
For a device running Cisco IOS Release 12.0(27)S3 or a later release, you must use the revision 1 keyword when you send LSP ping or LSP traceroute commands to devices running Cisco IOS Release 12.0(27)S1 or 12.0(27)S2.
2
Version 2 functionality was replaced by Version 3 functionality before an image was released.
3
Version 3 (draft-ietf-mpls-ping-03).
•For a device implementing Version 3 (Cisco IOS Release 12.0(27)S3 or a later release), you must use the revision 1 keyword when you send the LSP ping or LSP traceroute command to a device implementing Version 1 (that is, either Cisco IOS Release 12.0(27)S1 or Release 12.0(27)S2).
•A ping mpls pseudowire command does not work with devices running Cisco IOS Release 12.0(27)S1 or Release 12.0(27)S2.
4
•Version 8 (draft-ietf-mpls-ping-08)—Applicable before Cisco IOS Release 12.4(11)T. All echo packet's TLVs are formatted as specified in Version 8.
•RFC 4379 compliant—Applicable after Cisco IOS Release 12.4(11)T. All echo packet's TLVs are formatted as specified in RFC 4379.
This is the recommended version.
1 If you do not specify a revision keyword, the software uses the latest version.
Examples
The following example shows how to use the ping mpls command to test connectivity of an IPv4 LDP LSP:
Router# ping mpls ipv4 10.131.191.252/32 repeat 5 exp 5 verboseSending 5, 100-byte MPLS Echos to 10.131.191.252, timeout is 2 seconds:Codes:'!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.! 10.131.191.230, return code 3! 10.131.191.230, return code 3! 10.131.191.230, return code 3! 10.131.191.230, return code 3! 10.131.191.230, return code 3Success rate is 100 percent (5/5), round-trip min/avg/max = 100/102/112 msThe following example shows how to invoke the ping mpls command in the interactive mode to check MPLS LSP connectivity:
Router# pingProtocol [ip]: mplsTarget IPv4, pseudowire or traffic-eng [ipv4]: ipv4Target IPv4 address: 10.131.159.252Target mask: 255.255.255.255Repeat count [5]: 1Datagram size [100]:Timeout in seconds [2]:Send interval in msec [0]:Extended commands? [no]: yesDestination address or destination start address: 127.0.0.1Destination end address: 127.0.0.1Destination address increment: 0.0.0.1Source address:EXP bits in mpls header [0]:Pad TLV pattern [ABCD]:Time To Live [255]:Reply mode ( 2-ipv4 via udp, 3-ipv4 via udp with router alert) [2]:Reply ip header DSCP bits [0]:Verbose mode? [no]: yesSweep range of sizes? [no]:Sending 1, 100-byte MPLS Echos to 10.131.159.252/32,timeout is 2 seconds, send interval is 0 msec:Codes:'!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.Destination address 127.0.0.1! 10.131.159.245, return code 3Destination address 127.0.0.1! 10.131.159.245, return code 3Destination address 127.0.0.1! 10.131.159.245, return code 3Success rate is 100 percent (3/3), round-trip min/avg/max = 40/48/52 ms
Note The "Destination end address" and "Destination address increment" prompts display only if you enter an address at the "Destination address or destination start address" prompt. Also, the "Sweep min size," "Sweep max size," and "Sweep interval" prompts display only if you enter "yes" at the "Sweep range of sizes? [no]" prompt.
The following example shows how to determine the destination address of an AToM VC:
Router# show mpls l2transport vcLocal intf Local circuit Dest address VC ID Status------------- ----------------------- --------------- ---------- ----------Et2/0 Ethernet 10.131.191.252 333 UPRouter# show mpls l2transport vc detailLocal interface: Et2/0 up, line protocol up, Ethernet upDestination address: 10.131.191.252, VC ID: 333, VC status: upPreferred path: not configuredDefault path: activeTunnel label: imp-null, next hop 10.131.159.246Output interface: Et1/0, imposed label stack {16}Create time: 06:46:08, last status change time: 06:45:51Signaling protocol: LDP, peer 10.131.191.252:0 upMPLS VC labels: local 16, remote 16Group ID: local 0, remote 0MTU: local 1500, remote 1500Remote interface description:Sequencing: receive disabled, send disabledVC statistics:packet totals: receive 0, send 0byte totals: receive 0, send 0packet drops: receive 0, send 0This ping mpls command used with the pseudowire keyword can be used to test the connectivity of the AToM VC 333 discovered in the preceding show command:
Router# ping mpls pseudowire 10.131.191.252 333 repeat 200 size 1400Sending 1, 100-byte MPLS Echos to 10.131.191.252, timeout is 2 seconds:Codes:'!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.!Success rate is 100 percent (1/1), round-trip min/avg/max = 92/92/92 msThis ping is particularly useful because the VC might be up and the LDP session between the PE and its downstream neighbor might also be up, but LDP might be configured somewhere in between. In such cases, you can use an LSP ping to verify that the LSP is actually up.
A related point concerns the situation when a pseudowire has been configured to use a specific TE tunnel. For example:
Router# show running-config interface ethernet 2/0Building configuration...Current configuration : 129 bytes!interface Ethernet2/0no ip addressno ip directed-broadcastno cdp enablexconnect 10.131.191.252 333 pw-class test1
endRouter# show running-config | begin pseudowirepseudowire-class test1encapsulation mplspreferred-path interface Tunnel0
!In such cases, you can use an LSP ping to verify the connectivity of the LSP that a certain pseudowire is taking, be it LDP based or a TE tunnel:
Router# ping mpls pseudowire 10.131.191.252 333 repeat 200 size 1400
Sending 200, 1400-byte MPLS Echos to 10.131.191.252, timeout is 2 seconds:Codes:'!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Success rate is 100 percent (200/200), round-trip min/avg/max = 72/85/112 msYou can also use the ping mpls command to verify the maximum packet size that can be successfully sent. The following command uses a packet size of 1500 bytes:
Router# ping mpls pseudowire 10.131.191.252 333 repeat 5 size 1500Sending 5, 1500-byte MPLS Echos to 10.131.191.252, timeout is 2 seconds:Codes:'!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.QQQQQSuccess rate is 0 percent (0/5)The Qs indicate that the packets are not sent.
The following command uses a packet size of 1476 bytes:
Router# ping mpls pseudowire 10.131.191.252 333 repeat 5 size 1476Sending 5, 1476-byte MPLS Echos to 10.131.191.252, timeout is 2 seconds:Codes:'!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 80/83/92 msThe following example shows how to test the connectivity of an MPLS TE tunnel:
Router# ping mpls traffic-eng tunnel tun3 repeat 5 verboseSending 5, 100-byte MPLS Echos to Tunnel3,timeout is 2 seconds, send interval is 0 msec:Codes:'!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no rx label,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.! 10.131.159.198, return code 3! 10.131.159.198, return code 3! 10.131.159.198, return code 3! 10.131.159.198, return code 3! 10.131.159.198, return code 3Success rate is 100 percent (5/5), round-trip min/avg/max = 32/37/40 msThe MPLS LSP ping feature is useful if you want to verify TE tunnels before actually mapping traffic onto them.
The following example shows a ping mpls command that specifies segment 2 of a multisegment pseudowire:
Router# ping mpls pseudowire 10.131.191.252 333 segment 2Related Commands
Command Descriptionmpls oam
Customizes the default behavior of echo packets.
trace mpls
Discovers MPLS LSP routes that packets will actually take when traveling to their destinations.
ping mpls tp
To check Multiprotocol Label Switching (MPLS) transport protocol (TP) label switched path (LSP) connectivity, use the ping mpls tp command in privileged EXEC mode.
ping mpls tp tunnel-tp num lsp {working | protect | active}
[ddmap [hashkey ipv4 bitmap bitmap-size | none]
[dsmap [hashkey ipv4 bitmap bitmap-size | none]
[destination ip-addr]
[exp num]
[flags fec ]
[interval num]
[pad num]
[repeat num]
[reply dscp num | mode control channel]
[size num]
[source ip-addr]
[sweep num num num]
[timeout num]
[ttl num]
[verbose]Syntax Description
Command Default
Connectivity is not checked.
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
Use the ping mpls tp command to validate, test, or troubleshoot MPLS TP LSPs.
Note The ping mpls tp command does not support interactive mode.
You can use ping and trace in an MPLS-TP network without IP addressing. However, no IP addresses are displayed in the output.
The following rules determine the source IP address:
1. Use the IP address of the TP interface.
2. Use the global router ID.
3. Use the router ID: A.B.C.D local node ID in IPv4 address format. This is not an IP address; however, it is better to use a value rather than leave it as 0.0.0.0 and risk the packet being deemed invalid and dropped.
Examples
The following example checks connectivity of an MPLS-TP LSP:
Router# ping mpls tp tunnel-tp 1 repeat 1 ttl 2
Sending 1, 100-byte MPLS Echos to Tunnel-tp1,timeout is 2 seconds, send interval is 0 msec:Codes: '!' - success, 'Q' - request not sent, '.' - timeout,'L' - labeled output interface, 'B' - unlabeled output interface,'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,'P' - no rx intf label prot, 'p' - premature termination of LSP,'R' - transit router, 'I' - unknown upstream index,'X' - unknown return code, 'x' - return code 0Type escape sequence to abort.!Success rate is 100 percent (1/1), round-trip min/avg/max = 156/156/156 msRelated Commands
Command Descriptiontrace mpls tp
Displays the MPLS LSP routes that packets take to their destinations.
platform mpls load-balance ingress-port
To improve ingress port-based P router load balancing performance between two Cisco 7600 Series Ethernet Services Plus (ES+) and Ethernet Services Plus T (ES+T) line cards, use the platform mpls load-balance ingress-port command in Global configuration mode. Entering this command will enable this feature. To disable this feature, use the no form of the command.
to configure H-Virtual Private LAN Service (VPLS) within a port-channel core interface
platform mpls load-balance ingress-port
no platform mpls load-balance ingress-port
Syntax Description
This command has no arguments or keywords.
Defaults
Load balancing performance improvements are not enabled.
Command Modes
Global configuration (config)
Command History
Release Modification12.2(33)SRE
This command was introduced.
12.2(33)XNE
This command was introduced.
15.0M
This command was introduced.
Usage Guidelines
The H-VPLS with Port-Channel Core Interface feature provides support for VPLS to port-channels. You can use this feature to:
•Configure VPLS on the port channel interfaces of the ES+ line card using a load balancing mechanism.
•Match the capabilities and requirements of the VPLS in a single link. Due to multiple links in a link aggregation (LAG), the packets of a particular flow are always transmitted only to one link.
•Configure VPLS with port-channel interfaces as the core facing interface, where the member links of the port-channel are from a ES40 line card. The load-balancing is per-flow based, that is, traffic of a VPLS VC will be load-balanced across member links based on the flow.
Examples
This example shows how to enable improved load-balancing performance on a Cisco 7600 Series Ethernet Services Plus (ES+) and Ethernet Services Plus T (ES+T) line card:
Router(config)#
platform mpls load-balance ingress-portRelated Commands
preferred-path
To specify the path that traffic uses (a Multiprotocol Label Switching (MPLS) Traffic engineering (TE) tunnel or destination IP address and Domain Name Server (DNS) name), use the preferred-path command in pseudowire configuration mode. To disable tunnel selection, use the no form of this command.
preferred-path {interface tunnel tunnel-number | peer {ip-address | host-name}} [disable-fallback]
no preferred-path {interface tunnel tunnel-number | peer {ip-address | host-name}} [disable-fallback]
Syntax Description
Command Default
Tunnel selection is not enabled.
Command Modes
Pseudowire configuration
Command History
Usage Guidelines
The following guidelines provide more information about using this command:
•The destination IP address can be different from the peer router ID used in MPLS Label Distribution Protocol (LDP). For example, a peer PE router can have multiple loopback IP addresses, which can be reached by different paths, such as a TE tunnel, static IP route, or Interior Gateway Protocol (IGP) route.
•This command is available only if the pseudowire encapsulation type is MPLS.
•Tunnel selection is enabled when you exit from pseudowire configuration mode.
•The selected path should be an LSP destined to the peer PE router.
•The selected tunnel must be an MPLS traffic engineering tunnel.
•If you select a tunnel, the tunnel tailend must be on the remote PE router.
•If you specify an IP address, that address must be the IP address of the loopback interface on the remote PE. The address must have a /32 mask.
Examples
The following example creates a pseudowire class and specifies tunnel 1 as the preferred path:
Router(config)# pseudowire-class pw1
Router(config-pw)# encapsulation mplsRouter(config-pw)# preferred-path interface tunnel 1 disable-fallback
Related Commands
Command Descriptionshow mpls l2transport vc
Displays information about AToM VCs that have been enabled to route Layer 2 packets on a router.
priority (LSP Attributes)
To specify the label switched path (LSP) priority in an LSP attribute list, use the priority command in LSP Attributes configuration mode. To remove the specified priority, use the no form of this command.
priority setup-priority [hold-priority]
no priority
Syntax Description
Command Default
No priority is set in the attribute list.
Command Modes
LSP Attributes configuration (config-lsp-attr)
Command History
Usage Guidelines
Use this command to configure setup and hold priority for an LSP in an LSP attribute list. Setup priority and hold priority are typically configured to be equal, and setup priority cannot be better (numerically smaller) than the hold priority.
To associate the LSP priority attribute and the LSP attribute list with a path option for an LSP, you must configure the tunnel mpls traffic-eng path option command with the attributes string keyword and argument, where string is the identifier for the specific LSP attribute list.
Examples
The following example shows how to set the LSP hold and setup property to 0 in an LSP attribute list identified by the string hipriority:
configure terminal!mpls traffic-eng lsp attributes hiprioritypriority 0 0exitendRelated Commands
Command Descriptionmpls traffic-eng lsp attributes
Creates or modifies an LSP attribute list.
show mpls traffic-eng lsp attributes
Displays global LSP attribute lists.
protection (LSP Attributes)
To configure failure protection on the label switched path (LSP) in an LSP attribute list, use the protection command in LSP Attributes configuration mode. To disable failure protection, use the no form of this command.
protection fast-reroute
no protection
Syntax Description
Command Default
Failure protection is not enabled for the LSP in the LSP attribute list.
Command Modes
LSP Attributes configuration (config-lsp-attr)
Command History
Usage Guidelines
Use this command to set up LSP failure protection in an LSP attribute list.
To associate the LSP failure protection attribute and the LSP attribute list with a path option for an LSP, you must configure the tunnel mpls traffic-eng path option command with the attributes string keyword and argument, where string is the identifier for the specific LSP attribute list.
Examples
The following example shows how to enable failure protection on an LSP in an LSP attribute list:
configure terminal!mpls traffic-eng lsp attributes protectprotection fast-rerouteexitendRelated Commands
Command Descriptionmpls traffic-eng lsp attributes
Creates or modifies an LSP attribute list.
show mpls traffic-eng lsp attributes
Displays global LSP attribute lists.
protection local-prefixes
To enable provider edge (PE)-to-customer edge (CE) link protection by preserving the local label (due to a link failure that caused Border Gateway Protocol (BGP) to begin reconverging), use the protection local-prefixes in VRF configuration or in VRF address family configuration mode. To disable this form of link protection, use the no form of this command.
protection local-prefixes
no protection local-prefixes
Syntax Description
This command has no arguments or keywords.
Command Default
This protection is disabled by default.
Command Modes
VRF configuration (config-vrf)
VRF address family configuration (config-vrf-af)Command History
Usage Guidelines
Each Virtual Routing and Forwarding (VRF) that provides protection or a backup path must have a unique route distinguisher (RD) to ensure route reflectors advertise all available paths. Use the rd command to specify a route distinguisher for the VRF if none has been created previously.
If your Cisco IOS version includes support for IPv6 and IPv4, use the global configuration vrf definition and rd commands followed by the address-family ipv6 or address-family ipvv4 command before you use the protection local-prefixes command.
If your Cisco IOS version supports only IPv4, use the global configuration ip vrf command before you enter the rd and protection local-prefixes commands.
If VRF-lite has already been enabled, local protection will not take place. This is true even if entering the protection local-prefixes command does not trigger an error message.
Local link protection will only work properly if the failure is quickly detected and an alternate, backup route already exists. Therefore, in addition to the protection local-prefixes command, the use of Bidirectional Forwarding Detection (BFD) and topology-specific routing protocols are both required.
Examples
The following example enables local protection in an IPv6-supporting version of Cisco IOS software:
vrf definition vrf2rd 100:3address-family ipv6protection local-prefixesThe following example enables local protection in an IPv4-only version of Cisco IOS software:
ip vrf vpn1rd 100:3protection local-prefixesRelated Commands
pseudowire
To bind an attachment circuit to a Layer 2 pseudowire for xconnect service, use the pseudowire command in interface configuration mode.
pseudowire peer-ip-address vcid pw-class pw-class-name [sequencing {transmit | receive | both}]
Syntax Description
Defaults
No default behavior or values
Command Modes
Interface configuration
Command History
Usage Guidelines
The combination of the peer-ip-address and vcid arguments must be unique on the router. Each pseudowire configuration must have a unique combination of peer-ip-address and vcid configuration.
The same vcid value that identifies the attachment circuit must be configured using the pseudowire command on the local and remote router at each end of a Layer 2 session. The virtual circuit identifier creates the binding between a pseudowire and an attachment circuit.
The pw-class pw-class-name value binds the pseudowire configuration of an attachment circuit to a specific pseudowire class. In this way, the pseudowire class configuration serves as a template that contains settings used by all attachment circuits bound to it with the pseudowire command.
Examples
The following example creates a virtual-PPP interface with the number 1, configures PPP on the virtual-PPP interface, and binds the attachment circuit to a Layer 2 pseudowire for xconnect service for the pseudowire class named pwclass1:
interface virtual-ppp 1ppp authentication chapppp chap hostname peer1pseudowire 172.24.13.196 10 pw-class pwclass1Related Commands
pseudowire-class
To specify the name of a Layer 2 pseudowire class and enter pseudowire class configuration mode, use the pseudowire-class command in global configuration mode. To remove a pseudowire class configuration, use the no form of this command.
pseudowire-class [pw-class-name]
no pseudowire-class [pw-class-name]
Syntax Description
pw-class-name
(Optional) The name of a Layer 2 pseudowire class. If you want to configure more than one pseudowire class, you must enter a value for the pw-class-name argument.
Command Default
No pseudowire classes are defined.
Command Modes
Global configuration
Command History
Usage Guidelines
The pseudowire-class command allows you to configure a pseudowire class template that consists of configuration settings used by all attachment circuits bound to the class. A pseudowire class includes the following configuration settings:
•Data encapsulation type
•Control protocol
•Sequencing
•IP address of the local Layer 2 interface
•Type of service (ToS) value in IP headers
After you enter the pseudowire-class command, the router switches to pseudowire class configuration mode, where pseudowire settings may be configured.
Examples
The following example shows how to enter pseudowire class configuration mode to configure a pseudowire configuration template named "ether-pw":
Router(config)
# pseudowire-class ether-pwRouter(config-pw)#Related Commands
pseudowire-static-oam class
To create an Operations, Administration, and Maintenance (OAM) class and specify the timeout intervals, use the pseudowire-static-oam class command in global configuration mode. To remove the specified class, use the no form of this command.
pseudowire-static-oam class class-name
no pseudowire-static-oam class class-name
Syntax Description
Command Default
OAM classes are not created.
Command Modes
Global configuration (config)
Command History
Usage Guidelines
This command creates an OAM class and enters static pseudowire OAM configuration mode, from which you can enter timeout intervals.
Examples
The following example create the class oam-class3 and enters static pseudowire OAM configuration mode:
Router(config)# pseudowire-static-oam class oam-class3Router(config-st-pw-oam-class)# timeout refresh send ?<1-4095> Seconds, default is 30Router(config-st-pw-oam-class)# timeout refresh send 45Related Commands
Command Descriptionstatus protocol notification static
Invokes the specified class as part of the static pseudowire.
pseudowire-tlv template
To create a template of pseudowire type-length-value (TLV) parameters to use in an MPLS-TP configuration, use the pseudowire-tlv template command in privileged EXEC configuration mode. To remove the template, use the no form of this command.
pseudowire-tlv template template-name
no pseudowire-tlv template template-name
Syntax Description
Command Default
TLV values are not specified.
Command Modes
Privileged EXEC (config#)
Command History
Examples
The following example shows how to create a TLV template called tlv3:
Router(config)# pseudowire-tlv template tlv3Related Commands
Command Descriptiontlv template
Specifies a TLV template to use as part of local interface coniguration.
rd
To specify a route distinguisher (RD) for a VPN routing and forwarding (VRF) instance, use the rd command in VRF configuration submode.
rd route-distinguisher
Syntax Description
Command Default
There is no default. An RD must be configured for a VRF to be functional.
Command Modes
VRF configuration submode
Command History
Usage Guidelines
An RD creates routing and forwarding tables and specifies the default route distinguisher for a VPN. The RD is added to the beginning of the customer's IPv4 prefixes to change them into globally unique VPN-IPv4 prefixes.
An RD is either:
•ASN-related—Composed of an autonomous system number and an arbitrary number.
•IP-address-related—Composed of an IP address and an arbitrary number.
You can enter an RD in either of these formats:
16-bit autonomous-system-number:your 32-bit number
For example, 101:3.32-bit IP address:your 16-bit number
For example, 192.168.122.15:1.Examples
The following example shows how to configure a default RD for two VRFs. It illustrates the use of both autonomous-system-number-relative and IP-address-relative RDs:
Router(config)# ip vrf vrf1Router(config-vrf)# rd 100:3Router (config-vrf)# exitRouter(config)# ip vrf vrf2Router(config-vrf)# rd 10.13.0.12:200Related Commands
record-route (LSP Attributes)
To record the route used by the label switched path (LSP), use the record-route command in LSP Attributes configuration mode. To stop the recording the route used by the LSP, use the no form of this command.
record-route
no record-route
Syntax Description
This command has no arguments or keywords.
Command Default
The LSP route is not recorded.
Command Modes
LSP Attributes configuration (config-lsp-attr)
Command History
Usage Guidelines
Use this command to set up in an LSP attribute list the recording of the route taken by the LSP.
To associate the LSP record-route attribute and the LSP attribute list with a path option for an LSP, you must configure the tunnel mpls traffic-eng path option command with the attributes string keyword and argument, where string is the identifier for the specific LSP attribute list.
Examples
The following example shows how to set up LSP route recording in an LSP attribute list:
configure terminal!mpls traffic-eng lsp attributes 9record-routeexitendRelated Commands
Command Descriptionmpls traffic-eng lsp attributes
Creates or modifies an LSP attribute list.
show mpls traffic-eng lsp attributes
Displays global LSP attribute lists.
route-target
To create a route-target extended community for a Virtual Private Network (VPN) routing and forwarding (VRF) instance, use the route-target command in VRF configuration submode. To disable the configuration of a route-target community option, use the no form of this command.
route-target {import | export | both} route-target-ext-community
no route-target {import | export | both} route-target-ext-community
Syntax Description
Command Default
A VRF has no route-target extended community attributes associated with it until specified by the route-target command.
Command Modes
VRF configuration submode (config-vrf)
Command History
Usage Guidelines
The route-target command creates lists of import and export route target extended communities for the specified VRF. Enter the command one time for each target community. Learned routes that carry a specific route-target extended community are imported into all VRFs configured with that extended community as an import route target. Routes learned from a VRF site (for example, by Border Gateway Protocol (BGP), Routing Information Protocol (RIP), or static route configuration) contain export route targets for extended communities configured for the VRF added as route attributes to control the VRFs into which the route is imported.
The route target specifies a target VPN extended community. Like a route-distinguisher, an extended community is composed of either an autonomous system number and an arbitrary number or an IP address and an arbitrary number. You can enter the numbers in either of these formats:
•16-bit autonomous-system-number:your 32-bit number
For example, 101:3.•32-bit IP address:your 16-bit number
For example, 192.168.122.15:1.In Cisco IOS Release 12.0(32)SY8, 12.2(33)SXI1, 12.0(33)S3, Cisco IOS XE Release 2.4, and later releases, the Cisco implementation of 4-byte autonomous system numbers uses asplain—65538 for example—as the default regular expression match and output display format for autonomous system numbers, but you can configure 4-byte autonomous system numbers in both the asplain format and the asdot format as described in RFC 5396. To change the default regular expression match and output display of 4-byte autonomous system numbers to asdot format, use the bgp asnotation dot command followed by the clear ip bgp * command to perform a hard reset of all current BGP sessions.
In Cisco IOS Release 12.0(32)S12, 12.4(24)T, and Cisco IOS XE Release 2.3, the Cisco implementation of 4-byte autonomous system numbers uses asdot—1.2 for example—as the only configuration format, regular expression match, and output display, with no asplain support.
Examples
The following example shows how to configure route-target extended community attributes for a VRF in IPv4. The result of the command sequence is that VRF named vrf1 has two export extended communities (1000:1 and 1000:2) and two import extended communities (1000:1 and 10.27.0.130:200):
ip vrf vrf1route-target both 1000:1route-target export 1000:2route-target import 10.27.0.130:200The following example shows how to configure route-target extended community attributes for a VRF that includes IPv4 and IPv6 address families:
vrf definition site1rd 1000:1address-family ipv4route-target export 100:1route-target import 100:1address-family ipv6route-target export 200:1route-target import 200:1The following example available in Cisco IOS Release 12.0(32)SY8, 12.2(33)SXI1, 12.0(33)S3, Cisco IOS XE Release 2.4, and later releases, shows how to create a VRF with a route-target that uses a 4-byte autonomous system number in asplain format—65537—and how to set the route-target to extended community value 65537:100 for routes that are permitted by the route map.
ip vrf vpn_redrd 64500:100route-target both 65537:100exitroute-map red_map permit 10set extcommunity rt 65537:100endAfter the configuration is completed, use the show route-map command to verify that the extended community is set to the route target containing the 4-byte autonomous system number of 65537.
Router# show route-map red_maproute-map red_map, permit, sequence 10Match clauses:Set clauses:extended community RT:65537:100Policy routing matches: 0 packets, 0 bytesThe following example available in Cisco IOS Release 12.0(32)SY8, 12.0(32)S12, 12.2(33)SXI1, 12.4(24)T, Cisco IOS XE Release 2.3, and later releases, shows how to create a VRF with a route-target that uses a 4-byte autonomous system number in asdot format—1.1—and how to set the route-target to extended community value 1.1:100 for routes that are permitted by the route map.
ip vrf vpn_redrd 64500:100route-target both 1.1:100exitroute-map red_map permit 10set extcommunity rt 1.1:100endRelated Commands