安奈特中文操作指南

上传人:工**** 文档编号:431675063 上传时间:2023-06-29 格式:DOC 页数:34 大小:654.50KB
返回 下载 相关 举报
安奈特中文操作指南_第1页
第1页 / 共34页
安奈特中文操作指南_第2页
第2页 / 共34页
安奈特中文操作指南_第3页
第3页 / 共34页
安奈特中文操作指南_第4页
第4页 / 共34页
安奈特中文操作指南_第5页
第5页 / 共34页
点击查看更多>>
资源描述

《安奈特中文操作指南》由会员分享,可在线阅读,更多相关《安奈特中文操作指南(34页珍藏版)》请在金锄头文库上搜索。

1、目 录初始登录设置:2预备操作知识:2三层交换机vlan基本配置:3IP基本配置:6IP Helper设置(广播转发):7DHCP(动态主机配置协议)服务器设置:7IP Filter的配置(访问控制列表,ACL):8Hardware Filter的设置(硬件包过滤,HWF):10IP NAT的配置(网络地址转换,标准IP NAT只适用于路由器):13SNMP(简单网络管理协议)设置:13Ping Polling的设置:16Trigger(触发器)的设置:17Test工具之Virtual Cable Test Facility:18OSPF(开放式最短路径优先)的设置:19VRRP(虚拟路由器冗

2、余协议)的设置:23QoS(服务质量)的设置:24物理端口速率限制:25各种二层隧道协议及IPSec VPN设置:25配置文件的保存及设置:31上传下载文件至路由器/三层交换机:31#初始登录设置:#使用超级终端通过串口登录进入路由器/三层交换机。超级终端设置:9600波特率,8数据位,1停止位,No奇偶校验,硬件流控制。在login:状态输入用户名:manager密码:friend如果有相应权限,也可通过telnet路由器/三层交换机的任意活跃接口的IP地址访问设备。安奈特路由器/三层交换机的配置环境是不区分层次化的,不存在类似Cisco的“全局配置模式”、“接口配置模式”、“路由协议配置模

3、式”,所有的配置命令均在同一模式/界面下执行,其提示符为:登录用户级别 设备名称例如,使用Manager权限用户登录名称为Test的设备,则显示为:Manager Test使用SecurityOfficer权限用户登录名称为CoreSwitch的设备,则显示为:SecOff CoreSwitch然后即可配置所有内容。%#预备操作知识:#安奈特路由器/三层交换机的主要配置命令包括五个:createdestroycreate:创建原本并不存在的实体。例如,缺省所有交换机端口属于仅有的一个vlan1,不存在其他的vlan。如果要创建其他的vlan,则需使用create vlan=vlan-name

4、vid=vlan-iddestroy:删除通过create创建的实体,在删除之前,需先删除其他的关联配置内容。例如,如果要删除vlan2,则需先删除vlan2中所有的port,删除vlan2的ip地址(如果有),删除其他地方对于interface vlan2的引用,等等。add deleteadd:对已有的实体增加属性。例如,vlan1缺省存在,不能用create创建,也不能用destroy删除,如果要对vlan1增加端口,则:add vlan=1 port=port-list;如果要对vlan1增加ip地址,则:add ip int=vlan1 ip=ip-address mask=ip-m

5、ask;如果对已经创建的vlan2增加ip地址,则:add ip int=vlan2 ip=ip-address mask=ip-mask;如果要增加路由,则:add ip route=dest-ip-segment mask=dest-ip-segment-mask int=out-interface-name nexthop=nexthop-ip-address;delete:对已有的实体删除某些属性。例如,将某些端口从vlan3删除,则:delete vlan=3 port=port-list;如果要删除vlan4的ip地址设置,则:delete ip int=vlan4 ip=ip-a

6、ddress;如果要删除已存在的防火墙规则条目10,则:delete firewall policy=fire rule=10;setset:对已有的实体属性进行修改。例如,直接修改接口vlan2的ip地址,则:set ip int=vlan2 ip=new-ip-address mask=new-ip-mask;设置用户自身的密码,则:set password;设置其他用户的密码(需具备高级权限),则:set user=user-name password=password;注意:create与destroy对应,add与delete对应。因此,如果通过create创建的实体,不能使用del

7、ete删除;如果通过add增加的属性,不能使用destroy删除。%#三层交换机vlan基本配置:#Port-Based VLAN with Untagged Ports设置需求:VLAN name VLAN ID PortsMarketing VID=2 PORT 1-3Training VID=3 PORT 14-16配置示例:1. Create VLANs.#Create the two VLANs using the following commands on the switch:create vlan=marketing vid=2create vlan=training vid=

8、32. Add ports to VLANs.#Add the ports to these VLANs on the switch by using the following commands:add vlan=marketing port=1-3add vlan=training port=14-16#Check the VLAN configuration by using the command:show vlan3. Check the switch.#Check that the switch is switching across the ports. Traffic on t

9、he switch can be monitored using the command:show switch counterVLAN with Tagged Ports设置需求:Switch A Switch BVLAN name VID Tagged portsUntagged ports Tagged ports Untagged portsAdmin VID=2 PORT 2 PORT 1Training VID=3 PORT 26 PORT 3 PORT 25 PORT 21,22Marketing VID=4 PORT 2,26 PORT 4 PORT 25 PORT 23To

10、configure Switch A1. Create VLANs.#Create the three VLANs using the following commands on the switch:create vlan=admin vid=2create vlan=training vid=3create vlan=marketing vid=42. Add ports to VLANs.#Add the ports to these VLANs on the switch by using the following commands:add vlan=admin port=2 fra

11、me=taggedadd vlan=admin port=1 frame=untaggedadd vlan=training port=26 frame=taggedadd vlan=training port=3 frame=untaggedadd vlan=marketing port=2,26 frame=taggedadd vlan=marketing port=4 frame=untagged#Check the VLAN configuration by using the command:show vlanTo configure Switch B1. Create VLANs.

12、#Create the two VLANs using the following commands on the switch:create vlan=training vid=3create vlan=marketing vid=42. Add ports to VLANs.#Add the ports to these VLANs on the switch by using the following commands:add vlan=training port=5 frame=taggedadd vlan=training port=1,2 frame=untaggedadd vl

13、an=marketing port=5 frame=taggedadd vlan=marketing port=3 frame=untagged#Check the VLAN configuration by using the command:show vlanCheck#Check that the switch is switching across the ports. Traffic on Switch A can be monitored using the command:show switch counter=1-4,26#Traffic on Switch B can be monitored using the command:show switch counter=21-23,25#IP基本配置:#

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 工作计划

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号