Juniper SRX 1firefly-perimeter 2.1X47-D20.7 端口交换机属性配置

1)端口交换机属性 配置

edit vlans Test                //创建vlan,名称为Test

 set vlan-id 3               //设置vlan-id

 set l3-interface vlan.3          //绑定3层子接口

 set description "Test VLAN"        //设置vlan描述

 

 set interface ge-0/0/1.0        //将接口ge-0/0/1.0 加入到vlan中

 set interface ge-0/0/2.0        //将接口ge-0/0/2.0 加入到vlan中


2)set interfaces vlan.3 family inet address 202.100.2.10  //配置3层子接口IP地址


3)将接口改为access模式,并加入到新创建的vlan中

 set int ge-0/0/1.0 family ethernet-switching port-mode access

 set int ge-0/0/1.0 family ethernet-switching vlan members 3

#set int ge-0/0/1 vlan-tagging unit 0 vlan-id 3


 set int ge-0/0/2.0 family ethernet-switching port-mode access

 set int ge-0/0/2.0 family ethernet-switching vlan members 3

#set int ge-0/0/2 vlan-tagging unit 0 vlan-id 3

你可能感兴趣的:(srx)