IP source interface

Syntax

ip source-interface tunneled-node-server [<IP_ADDRESS> | loopback <LOOPBACK_INTERFACE> | vlan <VLAN_ID>]

Description

Defines source IP address or interface for specified protocol.

NOTE:
  • If interface has multiple addresses, lowest address is used.

  • Protocols not configured with a specific address will use the IP address of outbound interface as source.

Command context

config

Parameters

<IP_ADDRESS>

Specifies the IP address.

<LOOPBACK_INTERFACE>

Specifies a loopback interface.

<VLAN_ID>

Specifies the VLAN ID.

Example

Running configuration:

; J9850A Configuration Editor; Created on release #KB.16.05.0000x
; Ver #12:08.1f.fb.7f.bf.bb.ff.7c.59.fc.7b.ff.ff.fc.ff.ff.3f.ef:f4
hostname "switch"
module A type j9989a
module B type j9986a
module C type j9989a
module D type j9986a
module E type j9986a
module F type j9986a
class ipv4 "testclass"
    10 match ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
    20 match tcp 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
  exit
policy user "testpolicy"
    10 class ipv4 "testclass" action permit
  exit
radius-server host 90.90.90.1
ip routing
ip source-interface tunneled-node-server loopback 1
tunneled-node-server
    controller-ip 21.1.1.2
    mode role-based
  exit