source-interface (LDAP)

Configures the LDAP server on specific VRF with source interface.

Syntax

source-interface [ ethernet | loopback | management | ve ]
no source-interface

Parameters

ethernet
Uses Ethernet interface as source interface.
loopback
Uses Loopback interface as source interface.
management
Uses Management (chassis IP) as source address.
ve
Uses VE interface as source interface.

Modes

Global configuration mode

Usage Guidelines

If the source-interface is not up or the IP address is not configured for the source-interface, the device acts like the source-interface is not configured.

no source-interface removes the configured source interface on the LDAP server.

You must configure a source interface number for the given source-interface name which is the interface number configured and viewed using the show ip interface brief command.

Examples

The following example shows configuration of IP address for source-interface.

SLX(config-host-10.1.1.100/mgmt-vrf)# source-interface ethernet 0/1
SLX(config-host-10.1.1.100/mgmt-vrf)# do show running-config ldap-server
ldap-server host 10.1.1.100 use-vrf mgmt-vrf
port 389
source-interface ethernet 0/1
!
SLX(config-host-10.1.1.100/mgmt-vrf)# source-interface ve 10
SLX(config-host-10.1.1.100/mgmt-vrf)# do show running-config ldap-server
ldap-server host 10.1.1.100 use-vrf mgmt-vrf
port 389
source-interface ve 10
!
SLX(config-host-10.1.1.100/mgmt-vrf)# source-interface loopback 5
SLX(config-host-10.1.1.100/mgmt-vrf)# do show running-config ldap-server
ldap-server host 10.1.1.100 use-vrf mgmt-vrf
port 389
source-interface loopback 5
!
SLX(config-host-10.1.1.100/mgmt-vrf)# no source-interface
SLX(config-host-10.1.1.100/mgmt-vrf)# do show running-config ldap-server
ldap-server host 10.1.1.100 use-vrf mgmt-vrf
port 389
!