文档详情

Juniper交换机配置手册.pdf

发布:2017-05-26约2.78千字共6页下载文档
文本预览下载声明
Juniper 交换机配置手册 一、交换机配置部分 1. 使用console 线连接至交换机 COM 参数: 2 .使用root 账号登陆,默认为空密码 login: root JUNOS 9.1R2.10 built 2008-07-01 04:34:43 UTC root@% 开启交换机命令行: root@% cli //%为unix shell 提示符 root //为cli 提示符 3 . 进入configuration 模式 root configure [edit] root# juniper 交换机有3 种命令行模式 Root 模式:当以root 密码登陆console 时默认进入该模式 用户模式:在 root 模式中输入 cli 命令进入该模式,该模式主要用于检查交换机配置、 状态使用。 配置模式:在用户模式中输入configure 进入。该模式下主要用于更改交换机配置。 4 . 设置交换机root 账号密码 [edit] root# set system root-authentication plain-text-password New password: Retype new password: 5 . 配置网络管理参数 [edit] root# edit system [edit system] root# set services telnet //配置使用telnet 服务登陆交换机 [edit system] root# set services ssh [edit system] root# set services web-management http [edit system] root# commit and-quit commit complete Exiting configuration mode root@switch 6 . 配置其他管理员账号密码, 以添加一个admin 账号为例 [edit] Set system login user admin class super-user authentication plain-text-password New password: Retype new password: 7 . 提交配置文件使配置生效 [edit] commit 8. 配置VLAN ,三层VLAN 虚拟地址及VLAN 接口 以配置valn10 为例,下面为配置命令: [edit] set vlans vlan_10 vlan-id 10 set vlans vlan_10 l3-interface vlan.10 set interface vlan unit 10 family inet address 67/24 将接口划入到VLAN 中 set interface ge-0/0/10 unit 0 family ethernet-switching vlan members vlan_10 将接口配置成trunk 方法 Set interface ge-0/0/23 unit 0 family ethernet-switching port-mode trunk vlan members all //将ge-0/0/23 接口配置成为VLAN,并允许所有VLAN 数据通过 9. 配置链路捆绑 具体命令如下: set chassis aggregated-devices ethernet device-count 5 //配置链路聚合端口 数目为5 个(ae0-ae4) set interface ae0 aggregated-ether-options lacp active //配置ae0 接口链路聚合的 模式 set interface ae0 unit 0 family ethernet-switching port mode trunk vlan members all //配置ae0 为trunk 并允许所有VLAN 通过 delete interface ge-0/0/4 //删除ge-0/0/4 的默认配置 delete interface ge-1/0/4 set interface ge-0/0/4 ether-op
显示全部
相似文档