Difference between revisions of "Cisco: VLAN"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Sumber: https://www.dummies.com/programming/networking/creating-a-vlan-for-cisco-networking/ When working with your Cisco network, you may want to separate users into differe...") |
Onnowpurbo (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
switchport mode access | switchport mode access | ||
switchport access vlan 2 | switchport access vlan 2 | ||
+ | |||
+ | |||
+ | Alternatif lain | ||
+ | |||
+ | enable | ||
+ | configure terminal | ||
+ | set vlan 20 | ||
+ | name Test_VLAN | ||
+ | end | ||
+ | |||
+ | Memberikan IP | ||
+ | |||
+ | enable | ||
+ | configure terminal | ||
+ | interface vlan 20 | ||
+ | description Test VLAN | ||
+ | ip address 192.168.20.1 255.255.255.0 | ||
+ | end | ||
+ | |||
+ | |||
If you are connecting two switches together, then you will want to allow all configured VLANs to pass between the two switches. This is accomplished by implementing a trunk port. To configure port 24 on your switch to be a trunk port, you will use the following code: | If you are connecting two switches together, then you will want to allow all configured VLANs to pass between the two switches. This is accomplished by implementing a trunk port. To configure port 24 on your switch to be a trunk port, you will use the following code: | ||
Line 27: | Line 47: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
+ | * [[TCP/IP: Advanced Routing]] | ||
* [[Quagga]] | * [[Quagga]] | ||
+ | * [[VyOS]] | ||
* [[Mikrotik]] | * [[Mikrotik]] | ||
* [[Cisco]] | * [[Cisco]] | ||
* [[Juniper]] | * [[Juniper]] | ||
+ | * [[BIRD: Routing]] | ||
+ | * [[BIRD2]] | ||
+ | * [[IPv6]] | ||
+ | |||
+ | |||
+ | * [[TCP/IP: Advanced Routing]] | ||
+ | * [[IPv6: Advanced Routing]] | ||
+ | * [[IPv6: Quagga]] | ||
+ | * [[IPv6: Mikrotik]] | ||
+ | * [[IPv6: Cisco]] | ||
+ | * [[IPv6: Juniper]] | ||
+ | * [[IPv6: BIRD: Routing]] | ||
+ | * [[IPv6]] |
Latest revision as of 03:38, 18 January 2019
Sumber: https://www.dummies.com/programming/networking/creating-a-vlan-for-cisco-networking/
When working with your Cisco network, you may want to separate users into different broadcast domains for security or traffic reduction. You can do this by implementing VLANs. The following example will create VLAN (VLAN2) and place the ports on a switch (from 1-12) into VLAN2.
enable configure terminal interface vlan 2 description Finance VLAN exit interface range FastEthernet 0/1 , FastEthernet 0/12 switchport mode access switchport access vlan 2
Alternatif lain
enable configure terminal set vlan 20 name Test_VLAN end
Memberikan IP
enable configure terminal interface vlan 20 description Test VLAN ip address 192.168.20.1 255.255.255.0 end
If you are connecting two switches together, then you will want to allow all configured VLANs to pass between the two switches. This is accomplished by implementing a trunk port. To configure port 24 on your switch to be a trunk port, you will use the following code:
enable configure terminal interface FastEthernet 0/24 switchport mode trunk
Referensi
Pranala Menarik