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

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.lryc.cn/news/252029.html

相关文章:

  • 2.1 Linux C 编程
  • 服务器数据恢复—ocfs2文件系统被格式化为其他文件系统如何恢复数据?
  • 海云安参与制定《信息安全技术 移动互联网应用程序(App)软件开发工具包(SDK)安全要求》标准正式发布
  • 如何调用 API | 学习笔记
  • 关于云备份项目的HTTP协议字段理解
  • 掉落的俄罗斯方块
  • 医院不良事件报告系统源码带鱼骨图分析
  • 数据库相关算法题 V3
  • 第二证券:本周3只新股申购,大豆蛋白行业领军企业来了!
  • 【go语言开发】loglus日志框架的使用
  • 【Unity动画】Unity 动画播放的流程
  • 深度学习——第3章 Python程序设计语言(3.2 Python程序流程控制)
  • EasyExcel生成多sheet页的excel
  • 家用小型洗衣机哪款性价比高?内衣洗衣机品牌推荐
  • 为何Go爬虫依然远没有Python爬虫流行
  • 【华为OD题库-057】MELON的难题-java
  • OGG实现Oracle19C到postgreSQL14的实时同步
  • windows 你的电脑不能投影到其他屏幕,请尝试重新安装驱动程序
  • 2023-简单点-树莓派中的硬件通讯
  • 游戏反Frida注入检测方案
  • 观海微电子---AF、AG、AR 的差别和作用
  • 颠覆性语音识别:单词级时间戳和说话人分离
  • 吉利展厅 | 透明OLED拼接2x2:科技与艺术的完美融合
  • qnx修改tcp和udp缓冲区默认大小
  • vscode的eslint检查代码格式不严谨的快速修复
  • OpenAI GPT-4 Turbo发布:开创AI新时代
  • 基于c 实现 FIFO
  • tortoisegit 报错:server refused to start a shell/command
  • 电商平台API接口指南,京东商品详情接口,京东详情页接口,宝贝详情页接口,商品属性接口,商品信息查询,商品详细信息接口,h5实时详情页数据展示
  • 什么是迁移学习