forked from spinesystemspublic/documentation
Update port-mode difference between switches
This commit is contained in:
+15
@@ -185,6 +185,7 @@ Disable flow control on all interfaces. Flow control in ISP environment is not r
|
||||
|
||||
Create VLAN name with associated VLAN ID
|
||||
Then set on interfaces the VLAN name and the port mode to trunk
|
||||
EX4600, QFX: interface-mode
|
||||
|
||||
```
|
||||
set vlans CUSTOMER100 vlan-id 100
|
||||
@@ -192,6 +193,13 @@ set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members CUSTOMER10
|
||||
set interfaces ge-0/0/0 unit 0 family ethernet-switching port mode trunk
|
||||
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members CUSTOMER100
|
||||
set interfaces ge-0/0/1 unit 0 family ethernet-switching port mode trunk
|
||||
|
||||
QFX, EX4600
|
||||
set vlans CUSTOMER100 vlan-id 100
|
||||
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members CUSTOMER100
|
||||
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk
|
||||
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members CUSTOMER100
|
||||
set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk
|
||||
```
|
||||
As you might notice, you can also set port mode to access, this means port will send traffic of vlan "untagged" (without vlan tag). If interface set to access, you cannot have more than one "member" VLAN.
|
||||
|
||||
@@ -207,6 +215,13 @@ set vlans CUSTOMER100 l3-interface vlan.100
|
||||
set interfaces vlan unit 100 family inet address 192.168.1.1/24
|
||||
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members CUSTOMER100
|
||||
set interfaces ge-0/0/0 unit 0 family ethernet-switching port mode access
|
||||
|
||||
QFX:
|
||||
set vlans CUSTOMER100 vlan-id 100
|
||||
set vlans CUSTOMER100 l3-interface vlan.100
|
||||
set interfaces vlan unit 100 family inet address 192.168.1.1/24
|
||||
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members CUSTOMER100
|
||||
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode access
|
||||
```
|
||||
|
||||
### Create tagged with native VLAN
|
||||
|
||||
Reference in New Issue
Block a user