首页 > 其他分享 >10.有线802.1x.1

10.有线802.1x.1

时间:2024-08-18 23:08:42浏览次数:7  
标签:x.1 10 vlan access authentication 802.1 voice port

802.1x的三大角色

with ieee 802.1x port-based authentication,the devices in the network have specific roles:

client

switch access point(ap)

authentication server

802.1x认证过程介绍

pc接上来,交换机就会给打招呼请求你是否能够支持,如果支持就回eaport-start开始,然后把包发给交换机,交换机把包做一个access-request告诉ise,ise做一个请求要求客户输入认证,可以通过peap,eap-fast,eap-tls安全把的用户名密码交给服务器,服务器判断用户名是那个组的,根据相应的组给你相应的授权交给交换机,交换机就会把相应的接口做一个处理,后续客户就可以通过访问这个网络.

认证初始化

when the linke state changes from down to up,the witch sends an esp request/identity frame to the client to request its idenity.

however,if during bootup,the client does not reccive an eap-request/idenity frame from the switch,the client can initiate authentication by sending an eapol-start frame,

交换机或者客户没有激活802.1x的处理

if the client does not receive an eap-request/identity frame after three attempts to start authentication,the client sends frames as if the port is in the authorized state.

端口状态

you control the port authorization state by using the dot1x port-control interface configuration command and these keywords:

force-authorized-disables ieee 802.1x authentication and causes the port to change to the authorized state without any authentication exchange required

force-unauthorized-causes the port to remain in the unauthorized state,ignoring all attempts by the client to authenticate

auto-enables ieee 802.1x authentication and causes the port to begin in the unauthorized state,allowing only eapol frames to be sent and received through the port in high security mode.

802.1x和语音vlan

a voice vlan port is a special access port associated with two vlan identifiers:

wid to carry voice trffic to and from the ip phone;

the wid is used to configure the ip phone that is connected to the port.

pvid to carry the data traffic to and from the workstation connected to the switch through the ip phone;

the pvid is the native vlan of the port

wid-voice vlan id-voice domain

pvid-port vlan id-data domain

3750x-sw1:

int g1/0/4

sw voice vlan 10(语音vlan)

per-user acls的802.1x

you can enable per-user access control lists(acls) to provide different levels of network access and service to an ieee802.1x-authenticated user.

when the radius server authenticates a user that is connected to an ieee 802.1x port,it retrieves the acl attributes based on the user identity and sends them to the switch.

the switch applies the attributes to the ieee802.1x port for the duration of the user session.

the switch removes the per-user acl configuration when the session is over,if authentication fails,or if a link-down condition occurs.

802.1x配置指南

when ieee 802.1x is enable,ports are authenticated before any other layer 2 or layer 3 features are enable.

the ieee802.1x portocol is supported on layer 2 static-access port,voice vlan ports,and layer 3 routed ports,but it is not supported on these port types:

trunk port

dynamic ports

dynamic-access ports

etherchanel port

switched port analyzer(span) and remote span(rspan) destination ports

when ieee 802.1x is enable on a port,you cannot configure a port vlan that is equal to a voice vlan.

配置eap

1.配置win7-1所连接的g1/0/2

3750-sw1:

int g1/0/2

description ise-mab-dot1x-webauth

switch access vlan 2

switchport mode access

ip access-group acl-default in

authentication event fail action next-method

authentication event server dead action authorize vlan 10

authentication event server alive action reinitialize

authentication host-mode multi-auth

authentication open

authentication order mab dot1x

authentication priority dot1x mab

authentication port-control auto

authentication violation restrict

mab

dot1x pae authenticator

spanning-tree portfast

启动wired autoconfig服务

启用用户或计算机身份验证

设置peap认证

配置allowed protocols只允许peap

配置认证策略

注销win-7进行测试

3750-sw1:

int g1/0/2

sh

no sh

show authentication sessions interface g1/0/2

配置peap用的authorization profiles

配置授权策略

标签:x.1,10,vlan,access,authentication,802.1,voice,port
From: https://www.cnblogs.com/smoke520/p/18366289

相关文章

  • 洛谷P1020 [NOIP1999 提高组] 导弹拦截(未完)
    传送门:P1020[NOIP1999提高组]导弹拦截题目大意:一个拦截导弹的系统,每次只能拦截高度不超过上一个的导弹求出:一个系统最多能拦截的导弹数量;要拦截所有导弹最少需要的该系统的数量。思路:第一问:一眼就是最长单调不上升子序列,朴素DP求解,复杂度为O(n^2);请参考,能过掉50%......
  • Win7/Win10/Win11开启本地内核调试的方法
    具体内容微软官方文档上都有:https://learn.microsoft.com/zh-cn/windows-hardware/drivers/debugger/performing-local-kernel-debugginghttps://learn.microsoft.com/zh-cn/windows-hardware/drivers/debugger/setting-up-local-kernel-debugging-of-a-single-computer-manually......
  • 代码随想录算法训练营第10天|栈与队列part02
    150.逆波兰表达式求值本题不难,但第一次做的话,会很难想到,所以先看视频,了解思路再去做题classSolution{public:intevalRPN(vector<string>&tokens){stack<longlong>st;for(conststring&token:tokens){if(token=="+......
  • P10660 BZOJ2759 一个动态树好题 题解
    从题目名字看出此题需要用动态树解决对于任意\(i\),都有唯一的\(p_i\)与之对应,由\(p_i\)向\(i\)连边,\(n\)种关系显然构成一基环树森林。对于环上的节点,一个点可以自己表示自己,所以可以直接解出该点的权值,其他点从环上的点直接推出即可。考虑如何动态维护这个过程,一个点上......
  • P10238 [yLCPC2024] F. PANDORA PARADOXXX
    这里主要是了解一下套路,首先说一下树的直径的性质。1.任何一个点到它所在的联通块中距离最远的点一定是树的直径两点之一。2.两个连通块合并以后,新的树的直径一定为原先两个连通块中树的直径中的两个。了解完这个,我们来看这道题,根据树的直径的性质,我们可以来维护连通块,那一个......
  • win10数据恢复软件下载
    该版本R-Studio已授权,可以使用全部功能。R-Studio是一个功能强大的反删除和数据恢复软件。它采用独特的数据恢复新技术,为恢复FAT12/16/32、NTFS、NTFS5(由Windows2000/XP/2003/Vista/Windows8/Windows10创建或更新)、Ext2FS/Ext3FS(OSXLINUX文件系统)以及UFS1/UFS2(FreeBSD/......
  • 洛谷P1083 [NOIP2012 提高组] 借教室 && 差分学习笔记
    传送门:P1083[NOIP2012提高组]借教室"八骏日行三万里,穆王何事不重来。"可惜啊,他再也没有回来……题目大意:给你每天能够租借的教室数量和几份租借申请每份申请包含租界时间(从第几天到第几天)和每天需要租借的教室数量问你能否满足所有的租借要求,如果不能,驳回一份最前......
  • 基于VSC的MVDC微电网(±10kV)转换器的互连通过等效RL电缆模块实现,此外,在电缆侧引入了
     ......
  • P10693 [SNCPC2024] 换座位
    [SNCPC2024]换座位题目描述树王国在筹备着举办一次盛大的庆典!Shirost作为树王国的庆典设计师,准备邀请\(n\)个嘉宾来参加本次庆典。庆典上一共准备了\(2n\)个座位,一个座位最多只能坐一个人且一个人恰好坐一个座位。Shirost初步计划将第\(i\)个嘉宾安排在第\(i\)个座......
  • DrissionPage实战之采集猫眼电影top100榜
    在当今信息化的时代,数据的获取与分析变得愈发重要。电影行业作为一个充满活力的领域,吸引了大量观众和投资者。猫眼电影作为中国领先的电影票务平台之一,提供了丰富的电影信息和用户评价,成为了研究电影市场趋势和观众偏好的重要数据源。通过抓取猫眼电影的Top100榜单,开发者可以......