配置Kerberos Snooping示例
组网需求
如图5-3所示,某公司办公区内PC通过Switch接入公司内部网络。Switch上的接口GE0/0/1与办公区内PC直接相连,Switch上的接口GE0/0/2通过内部网络与Kerberos服务器、应用服务器相连。
为了满足企业的高安全性需求,办公区内PC通过Kerberos服务器进行认证并获取访问应用服务器的权限。另外需在Switch上控制用户的网络访问权限,未认证通过的用户无法访问网络资源。
操作步骤
- 配置Kerberos Snooping模板相关参数。
<HUAWEI> system-view [HUAWEI] sysname Switch [Switch] kerberos-snooping-profile name profile1 [Switch-krb-snooping-profile-profile1] server-ip 10.3.1.3 [Switch-krb-snooping-profile-profile1] port 88 [Switch-krb-snooping-profile-profile1] quit
- 配置认证模板绑定的Kerberos Snooping模板。
[Switch] authentication-profile name authen1 [Switch-authen-profile-authen1] kerberos-snooping-profile profile1 [Switch-authen-profile-authen1] quit
- 在接口上应用认证模板。
[Switch] interface gigabitethernet 0/0/1 [Switch-GigabitEthernet0/0/1] authentication-profile authen1 [Switch-GigabitEthernet0/0/1] quit
- 检查配置结果。
- 执行命令display kerberos-snooping-profile,查看Kerberos Snooping模板的配置信息是否正确。
- 用户认证通过后,可以执行命令display access-user access-type kerberos-snooping,查看Kerberos用户的信息。