Appendix A Cisco 3825 Mobile Wireless Edge Router RAN-O Command Reference

ip local interface

ip local interface

To configure the IP address of the provider edge (PE) router interface to be used as the source IP address for sending tunneled packets, use the ip local interface command in the pseudowire-class configuration mode. To remove the IP address, use the no form of this command.

ip local interface interface-nameno ip local interface interface-name

Syntax Description

 

interface-name

Name of the PE interface whose IP address is used as the source IP address

 

 

 

 

 

for sending tunneled packets over a Layer 2 PW.

 

 

 

 

 

 

 

 

 

 

 

 

 

Defaults

 

No IP address is configured.

 

 

 

 

 

 

Command Modes

 

Pseudowire-class configuration

 

 

 

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

 

 

 

 

12.0(23)S

This command was introduced.

 

 

 

 

 

 

 

 

 

 

12.3(2)T

This command was integrated into Cisco IOS Release 12.3(2)T.

 

 

 

 

 

 

 

 

 

 

12.4(12)MR2

This command was integrated into Cisco IOS Release 12.4(12)MR2.

 

 

 

 

 

 

 

 

 

 

 

 

 

Usage Guidelines

 

Use the same local interface name for all pseudowire-classes configured between a pair of PE routers. It

 

 

 

 

is highly recommended that you configure a loopback interface with this command. If you do not, the

 

 

 

 

router chooses the “best available local address,” which could be any IP address configured on a

 

 

 

 

core-facing interface. This configuration could prevent a control channel from being established.

 

 

 

 

 

 

Note

 

This command must be configured for pseudowire-class configurations using L2TPv3 as the data

 

 

 

 

encapsulation method.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Examples

 

The following example shows how to configure the IP address of the local loopback 0 as the source IP

 

 

 

 

address for sending packets through an L2TPv3 session:

Router# config t

Router(config)# pseudowire-class l2tp

Router(config-pw-class)#ip local interface loopback 0

Router(config-pw-class)# exit

Router(config)# exit

 

Cisco 3825 Mobile Wireless Edge Router Software Configuration Guide

A-38

OL-15667-03

Page 170
Image 170
Cisco Systems 3825 manual Ip local interface, Routerconfig-pw-class# exit Routerconfig# exit