阿尔卡特交换机配置_阿尔卡特交换机常用命令"/>
阿尔卡特交换机配置_阿尔卡特交换机常用命令
OmniSwitch查看日志的命令是:
格式:show log swlog [timestamp start_time [end_time]]
show log swlog timestamp 05/21/2015 11:30 05/21/2015 12:30
发现私自添加路由器导致DHCP分发
确认路由器IP,查到MAC,交换机搜寻到MAC对应的端口,关闭此端口
搜寻此路由器位置,掌握其管理员账户和密码,关闭DHCP功能。
show configuration snapshot
show vlan rules
添加网管交换机,MAC地址绑定0网段,ARP绑定
aaa authentication default local #开启所有服务,默认是关需要console进去设置
aaa authentication http local #开启http服务,默认是关需要console进去设置
aaa authentication telnet local #开启telnet服务,默认是关需要console进去设置
aaa authentication ftp local #开启ftp服务,默认是关需要console进去设置
ip interface "vlan 1" address 10.6.0.143 mask 255.255.255.0 vlan 1 ifindex 1
vlan port mobile 2/38 bpdu ignore enable
MAC地址绑定
arp 10.6.0.136 00:e0:b1:d8:16:19
vlan no port mobile 1/21
vlan 100 port default 1/21
mac-address-table permanent 00:1b:82:ff:03:e5 1/21 100
no mac-address-table permanent 00:1b:82:ff:03:e5 1/21 100
policy condition c1 source vlan 1000 destination ip 10.6.0.0 mask 255.255.0.0
policy condition c2 source vlan 101 destination ip 10.6.0.100
policy condition c3 source vlan 1010 destination ip 10.6.0.0 mask 255.255.0.0
policy condition c4 source vlan 20 destination ip 10.6.100.0 mask 255.255.255.0
policy condition c5 source vlan 1020 destination ip 10.6.0.0 mask 255.255.0.0
policy condition c6 source vlan 30 destination ip 10.6.100.0 mask 255.255.255.0
policy action a1 disposition drop
policy action a2 maximum bandwidth 128K
policy action a3 disposition deny
policy action flowshape maximum bandwidth 128K
policy rule r1 condition c1 action a1
policy rule r2 condition c3 action a1
policy rule r3 condition c4 action a3
policy rule r4 condition c2 action a3
policy rule r5 condition c5 action a1
policy rule r6 condition c6 action a3
qos apply
policy condition source1 source ip 10.6.1.253 mask 255.255.255.255
policy condition dest1 destination ip 10.6.1.253 mask 255.255.255.255
policy action
更多推荐
阿尔卡特交换机配置_阿尔卡特交换机常用命令
发布评论