云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > JUNIPER_EX3200交换机配置

JUNIPER_EX3200交换机配置

  • 62 次阅读
  • 3 次下载
  • 2025/5/28 11:13:06

2.11配置VLAN

初始化配置时候,所有端口属于default VLAN,default vlan 的默认ID是0 user@host# set interfaces name unit 0 family ethernet-switching port-mode access #配置端口的access模式,默认端口就是access模式。 user@host#set vlans vlan-name vlan-id number #配置VLAN分配vlan ID

EX支持2种方式来配置access接口分配到VLAN,采用其中一种就可以实现端口VLAN的划分。

方式一:

user@host#set vlans vlan-name interface interface_name 直接在VLAN中添加多个物理端口 方式二:

或是在物理接口下:

user@host#set interfaces interface-name unit 0 family ethernet-switching vlan members

vlan-name or vlan-id #添加端口到特定VLAN

user@host# show vlans vlan-name detail #查看VLAN信息 Example(例如): root@host> edit

Entering configuration mode [edit]

root@host# set vlans sales vlan-id 100 [edit]

root@host# set vlans sales interface ge-0/0/1 #或者可以如下配置,实现相同的配置效果 [edit]

root@host# set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members sales

2.12配置Vlan trunk

配置端口作trunk端口,支持802.1Q的标准封装。

user@host# set interfaces name unit 0 family ethernet-switching port-mode trunk #配置端口的VLAN模式为trunk模式

user@host# set interfaces name unit 0 family ethernet-switching vlan members all|number

#配置trunk端口的允许通过的VLAN,9.1版本目前不支持vlan-range,预期在9.2版本支持。

Example: root@host> edit

Entering configuration mode [edit]

root@host#show interfaces { ge-0/0/3 { unit 0 {

family ethernet-switching { port-mode trunk; vlan {

members [ orange blue ]; } } } } ge-0/0/4 { unit 0 {

family ethernet-switching { port-mode trunk; vlan {

members [ 100 200 ]; }

} } } }

2.13配置 native-vlan-id

EX在trunk端口下支持native-vlan 的配置: root@host> edit

Entering configuration mode [edit]

root@host# set interface ge-0/0/8 unit 0 family Ethernet-switch native-vlan-id purple [edit]

root@host#show interface ge-0/0/8 { unit 0 {

family ethernet-switching { port-mode trunk; vlan {

members [ orange blue purple ]; }

native-vlan-id purple; } }

2.14 静态路由协议

手工添加到路由表 下一跳必须有效

所以的配置在routing-options 级别 Syntax(语法):

[edit]

routing-options { static { defaults { static-options; }

route destination-prefix { next-hop next-hop;

qualified-next-hop address { metric metric;

preference preference; }

static-options; } } }

Example(例如): [edit]

user@host# show routing-options { static {

route 0.0.0.0/0 next-hop 192.168.0.1; } } 2.15 OSPF

单区域 [edit]

user@host# set protocols ospf area 0 interface ge-0/0/0 [edit]

user@host# show protocols ospf

搜索更多关于: JUNIPER_EX3200交换机配置 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

2.11配置VLAN 初始化配置时候,所有端口属于default VLAN,default vlan 的默认ID是0 user@host# set interfaces name unit 0 family ethernet-switching port-mode access #配置端口的access模式,默认端口就是access模式。 user@host#set vlans vlan-name vlan-id number #配置VLAN分配vlan ID EX支持2种方式来配置access接口分配到VLAN,采用其中一种就可以实现端口VLAN的划分。 方式一: user@host#set vlans vlan-name interface interface_name 直接在VLAN中添加多个物理端口 方式二: <

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com