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.
Syntax Description
interface-name
Defaults
No IP address is configured.
Command Modes
Pseudowire-class configuration
Command History
Release
12.0(23)S
12.3(2)T
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.
This command must be configured for pseudowire-class configurations using L2TPv3 as the data
Note
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
ip local interface interface-name
no ip local interface 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.
Modification
This command was introduced.
This command was integrated into Cisco IOS Release 12.3(2)T.
This command was integrated into Cisco IOS Release 12.4(12)MR2.
Appendix A
Cisco 3825 Mobile Wireless Edge Router RAN-O Command Reference
OL-15667-03