命令看不了,实际测试一下吧
通过同步的情况看
display ldap scheme命令用来查看LDAP方案的配置信息。
【举例】
# 查看所有LDAP方案的配置信息。
<Sysname> display ldap scheme
Total 1 LDAP schemes
------------------------------------------------------------------
LDAP scheme name : aaa
Authentication server : aaa
IP : 1.1.1.1
Port : 111
VPN instance : Not configured
SSL client policy : Policy1
Source IP : Provided by interface
GigabitEthernet1/0/1
LDAP protocol version : LDAPv3
Server timeout interval : 10 seconds
Login account DN : Not configured
Base DN : Not configured
Search scope : all-level
User searching parameters:
User object class : Not configured
Username attribute : cn
Username format : with-domain
Group filter : (objectclass=group)
Character encoding : UTF-8
Multi-connection : Disabled
TCP idle timeout : 600 seconds
Authorization server : aaa
IP : 1.1.1.1
Port : 111
VPN instance : Not configured
SSL client policy : Policy1
Source IP : 2.2.2.2
LDAP protocol version : LDAPv3
Server timeout interval : 10 seconds
Login account DN : Not configured
Base DN : Not configured
Search scope : all-level
User searching parameters:
User object class : Not configured
Username attribute : cn
Username format : with-domain
Group filter : (objectclass=group)
Character encoding : GB18030
Multi-connection : Disabled
TCP idle timeout : 600 seconds
Attribute map : map1
Search-result-reference : Ignored
------------------------------------------------------------------
表1-16 display ldap scheme命令显示信息描述表
字段 | 描述 |
Total 1 LDAP schemes | 总共有1个LDAP方案 |
LDAP Scheme Name | LDAP方案名称 |
Authentication Server | LDAP认证服务器名称 未配置时,显示为Not configured |
Authorization server | LDAP授权服务器名称 未配置时,显示为Not configured |
IP | LDAP认证服务器的IP地址 未配置认证服务器IP时,IP地址显示为Not configured |
Port | LDAP认证服务器的端口号 未配置认证服务器IP时,端口号显示为缺省值 |
VPN Instance | VPN实例名称 未配置时,显示为Not configured |
SSL client policy | SSL客户端策略名 未配置时,显示为Not configured |
Source IP | 向LDAP服务器发送LDAP报文使用的源IP地址 未配置时,显示为Not configured |
LDAP Protocol Version | LDAP协议的版本号(LDAPv2、LDAPv3) |
Server Timeout Interval | LDAP服务器连接超时时间(单位为秒) |
Login Account DN | 管理员用户的DN |
Base DN | 用户DN查询的起始DN |
Search Scope | 用户DN查询的范围(all-level:所有子目录查询,single-level:下级目录查询) |
User Searching Parameters | 用户查询参数 |
User Object Class | 查询用户DN时使用的用户对象类型 未配置时,显示为Not configured |
Username Attribute | 用户登录账号的属性类型 |
Username Format | 发送给服务器的用户名格式 |
Group filter | LDAP用户组过滤条件 |
Character encoding | LDAP服务器使用的字符编码格式(GB18030、UTF-8) 未配置时,不显示该信息 |
Multi-conneciont | TCP多连接模式的开启状态 · Enabled · Disabled |
TCP idle timeout | TCP连接空闲超时定时器的值,单位为秒 |
Attribute map | 引用的LDAP属性映射表名称 未配置时,显示为Not configured |
Search-result-reference | 是否忽略LDAP响应报文中SearchResultReference字段 · Ingored:忽略 · Not ingnored:正常处理 |
就是通过这个命令看的
display ldap scheme命令用来查看LDAP方案的配置信息。
【命令】
display ldap scheme [ ldap-scheme-name ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
ldap-scheme-name:LDAP方案的名称,为1~32个字符的字符串,不区分大小写。如果不指定该参数,则显示所有LDAP方案的配置信息。
【举例】
# 查看所有LDAP方案的配置信息。
<Sysname> display ldap scheme
Total 1 LDAP schemes
------------------------------------------------------------------
LDAP scheme name : aaa
Authentication server : aaa
IP : 1.1.1.1
Port : 111
VPN instance : Not configured
Source IP : Provided by interface
GigabitEthernet1/0/1
LDAP protocol version : LDAPv3
Server timeout interval : 10 seconds
Login account DN : Not configured
Base DN : Not configured
Search scope : all-level
User searching parameters:
User object class : Not configured
Username attribute : cn
Username format : with-domain
Group filter : (objectclass=group)
Character encoding : UTF-8
Authorization server : aaa
IP : 1.1.1.1
Port : 111
VPN instance : Not configured
Source IP : 2.2.2.2
LDAP protocol version : LDAPv3
Server timeout interval : 10 seconds
Login account DN : Not configured
Base DN : Not configured
Search scope : all-level
User searching parameters:
User object class : Not configured
Username attribute : cn
Username format : with-domain
Group filter : (objectclass=group)
Character encoding : GB18030
Attribute map : map1
Search-result-reference : Ignored
------------------------------------------------------------------
表1-17 display ldap scheme命令显示信息描述表
字段 | 描述 |
Total 1 LDAP schemes | 总共有1个LDAP方案 |
LDAP Scheme Name | LDAP方案名称 |
Authentication Server | LDAP认证服务器名称 未配置时,显示为Not configured |
Authorization server | LDAP授权服务器名称 未配置时,显示为Not configured |
IP | LDAP认证服务器的IP地址 未配置认证服务器IP时,IP地址显示为Not configured |
Port | LDAP认证服务器的端口号 未配置认证服务器IP时,端口号显示为缺省值 |
VPN Instance | VPN实例名称 未配置时,显示为Not configured |
Source IP | 向LDAP服务器发送LDAP报文使用的源IP地址 未配置时,显示为Not configured |
LDAP Protocol Version | LDAP协议的版本号(LDAPv2、LDAPv3) |
Server Timeout Interval | LDAP服务器连接超时时间(单位为秒) |
Login Account DN | 管理员用户的DN |
Base DN | 用户DN查询的起始DN |
Search Scope | 用户DN查询的范围(all-level:所有子目录查询,single-level:下级目录查询) |
User Searching Parameters | 用户查询参数 |
User Object Class | 查询用户DN时使用的用户对象类型 未配置时,显示为Not configured |
Username Attribute | 用户登录账号的属性类型 |
Username Format | 发送给服务器的用户名格式 |
Group filter | LDAP用户组过滤条件 |
Character encoding | LDAP服务器使用的字符编码格式(GB18030、UTF-8) 未配置时,不显示该信息 |
Attribute map | 引用的LDAP属性映射表名称 未配置时,显示为Not configured |
Search-result-reference | 是否忽略LDAP响应报文中SearchResultReference字段 · Ingored:忽略 · Not ingnored:正常处理 |
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论