当前位置: 首页 > article >正文

Juniper EX系列交换机端口配置操作

配置物理端口参数

user@host#set interface ge-slot/pic/port decription description

#配置端口描述

user@host#set interface ge-slot/pic/port mtu mtu-number

#配置端口MTU

user@host#set interface ge-slot/pic/port ether-options speed (10m | 100m | 1g)

#配置端口速率

user@host#set interface ge-slot/pic/port ether-options link-mode (automatic | full-duplex | half-duplex )

#配置端口双工

user@host#set interface ge-slot/pic/port ether-options (auto-negotiation | no-auto-negotiation )

#配置端口自动协商

Example: 

root@host> edit

Entering configuration mode

[edit]

root@host# set interfaces ge-3/0/0 description “to_BJ-4200-1”

[edit]

root@host# set interfaces ge-3/0/0 mtu 9216

[edit]

root@host# set interfaces ge-3/0/0 ether-options speed 1g

[edit]

root@host# set interfaces ge-3/0/0 ether-options link-mode full-duplex

[edit]

root@host# set interfaces ge-3/0/0 ether-options auto-negotiation

[edit]

root@host# commit

配置物理端口二层接口

[edit]

root@host# set interfaces ge-0/0/16 unit 0 family ethernet-switching port-mode access

#配置物理端口作为二层access模式的接口,端口默认情况下就是二层access端口。

[edit]

user@host # show interfaces

ge-0/0/16 {

    unit 0 {

        family ethernet-switching;

    }

}

配置物理端口三层接口

EX交换机物理接口可以支持三层路由接口功能,直接可以在接口上配置三层地址

[edit]

root@host# set interfaces ge-0/0/17 unit 0 family inet address 192.168.20.1/24

查看配置

[edit]

user@host # show interfaces ge0/0/17                                        

unit 0 {

    family inet {

        address 192.168.20.1/24;

    }

}


http://www.kler.cn/a/153126.html

相关文章:

  • 【爬虫逆向分析实战】某笔登录算法分析——本地替换分析法
  • Linux--2.6内核调度和环境变量
  • Openwrt 启用未分配的硬盘空间
  • 公共英语三级阅读理解一篇,附带答案
  • Unity UGUI控件之Horizontal Layout Group
  • 6款热门用户旅程图模板分享,可免费下载导出!
  • 【Openstack Train安装】五、Memcached/Etcd安装
  • JS 的二进制家族三
  • 手把手教你Spring Security Oauth2自定义授权模式
  • Oracle数据库中的PDB snapshot 与 snapshot copy PDB
  • [Android]AlertDialog对话框
  • 【Java】12. 方法
  • 【数据库】数据库并发控制的目标,可串行化序列的分析,并发控制调度器模型
  • linux下编译OpenCV
  • WireMock让你根据接口文档,轻松快速的模拟接口服务?
  • csv文件EXCEL默认打开乱码问题
  • call()与apply()
  • 【已解决】Cannot find project Scala library 2.11.8 for module XXX
  • 安防行业2023年度盘点:当前安防市场常见的视频监控系统及视频分析技术
  • golang strings包的基本操作