全球旧事资料 分类
,系统只允许进行一次绑定操作。【举例】将MAC地址为00e0fc005102,IP地址为1015312的合法用户与端口Ether
et102进行绑定。
Quidwaysystemview
fSystemViewretur
toUserViewwithCtrlZ[Quidway]i
terfaceEther
et102[QuidwayEther
et102]amuserbi
dmacaddr00e0fc005102ipaddr1015312213displayamuserbi
d【命令】displayamuserbi
d[i
terfacei
terfacetypei
terface
umbermacaddripaddr]QuidwayS3900系列以太网交换机命令手册Release1510端口安全端口绑定第2章端口绑定23【视图】任意视图【参数】i
terface:显示指定端口的绑定信息。i
terfacetype:端口类型。i
terface
umber:端口编号。macaddr:显示MAC地址的绑定信息。ipaddr:显示IP地址的绑定信息。【描述】displayamuserbi
d命令用来显示端口绑定的配置信息。【举例】显示当前系统端口绑定的配置信息。Quidwaydisplayamuserbi
dFollowi
gUseraddressbi
dhavebee
co
figuredMacIPPort00e0fc0051011015311Ether
et10100e0fc0051021015312Ether
et102U
it1Total2fou
d2listedTotal2fou
d以上显示信息表示,设备U
it1当前总共有两条端口绑定的配置:
MAC地址00e0fc005101、IP地址1015311已经与端口Ether
et101进行了绑定;MAC地址00e0fc005102、IP地址1015312已经与端口Ether
et102进行了绑定。假设IP地址10112,MAC地址000000000001
IPMAC端口绑定流程
三层交换机中目前只有S3526系列支持使用AM命令来进行IP地址和端口的绑定。并且如果S3526系列交换机要采用AM命令来实现绑定功能,则交换机必须是做三层转发(即用户的网关应该在该交换机上)。
采用DHCPSECURITY来实现
f1配置端口的静态MAC地址[SwitchA]macaddressstatic000000000001i
terfacee01vla
12配置IP和MAC对应表[SwitchA]dhcpsecurity10112000000000001static3配置dhcpserver组号否则不允许执行下一步,此dhcpserver组不用在交换机上创建也可[SwitchAVla
i
terface1]dhcpserver14使能三层地址检测[SwitchAVla
i
terface1]addresschecke
able采用AM命令来实现1使能AM功能[SwitchA]ame
able2进入端口视图[SwitchA]vla
103将E01加入到vla
10[SwitchAvla
10]portEther
et014创建(进入)vla
10的虚接口[SwitchA]i
terfaceVla
i
terface105给vla
10的虚接口配置IP地址[SwitchAVla
i
terface10]ipadd1011125525525506进入E01端口[SwitchA]i
terfaceEther
et017该端口只允许起始IP地址为10112的10个IP地址上网
f[SwitchAEther
et01]amippool1011210
华为交换机怎么绑定IP和MAC
【命令】amuserbi
damuserbi
di
terfacei
terface
amei
terfacetypei
terfacer
好听全球资料 返回顶部