cisco basics – acl layer 3 vlan example _ d4d's local

4
Just another Just another WordPress.com WordPress.com site site Isolation Between Two Layer 3 VLANs When you create a VLAN and assign an IP address with the interface vlan <vlan_number> command, the VLAN becomes a Layer 3 VLAN. In Layer 3 switches, the hosts between the two VLANs can communicate with each other (if the hosts are configured with the default gateway as the VLAN interface IP address). You can use ACLs to deny communication between the VLANs. This section shows an example of how to isolate the communication between a newly created Layer 3 VLAN and an older VLAN. In this example, the 3750 switch has two old VLANs (VLAN 1 and VLAN 2). The newly created VLAN is VLAN 5. VLAN 1, VLAN 2 and VLAN 5 are Layer 3 VLANs. ACLs are implemented to deny traffic so that VLAN 1 and VLAN 2 cannot communicate with VLAN 5 and so that VLAN 5 does not communicate either with VLAN 1 or VLAN 2. VLAN 1 – 10.10.10.0 /24 VLAN 2 – 172.16.1.0 /24 VLAN 5 – 192.168.1.0 /24 Create the new VLAN in the database. In this case the new VLAN is VLAN 5. When you exit vlan database mode, the configuration changes are applied. 1. 2. Set an IP address for the newly created VLAN. 3. Cisco Basics – ACL Layer 3 VLAN example | D4D's LOcaL http://d4d4u1.wordpress.com/2010/07/29/cisco-basics-acl-layer-3-vlan-... 1 of 4 8/16/2014 1:57 PM

Upload: irfan-haris

Post on 26-Dec-2015

43 views

Category:

Documents


2 download

DESCRIPTION

cisco basic

TRANSCRIPT

Page 1: Cisco Basics – ACL Layer 3 VLAN Example _ D4D's LOcaL

Just another Just another WordPress.comWordPress.com site site

Isolation Between Two Layer 3 VLANs

When you create a VLAN and assign an IP address with the interface vlan <vlan_number> command, the VLAN

becomes a Layer 3 VLAN. In Layer 3 switches, the hosts between the two VLANs can communicate with each other (if the

hosts are configured with the default gateway as the VLAN interface IP address). You can use ACLs to deny

communication between the VLANs.

This section shows an example of how to isolate the communication between a newly created Layer 3 VLAN and an older

VLAN.

In this example, the 3750 switch has two old VLANs (VLAN 1 and VLAN 2). The newly created VLAN is VLAN 5. VLAN 1,

VLAN 2 and VLAN 5 are Layer 3 VLANs. ACLs are implemented to deny traffic so that VLAN 1 and VLAN 2 cannot

communicate with VLAN 5 and so that VLAN 5 does not communicate either with VLAN 1 or VLAN 2.

VLAN 1 – 10.10.10.0 /24

VLAN 2 – 172.16.1.0 /24

VLAN 5 – 192.168.1.0 /24

Create the new VLAN in the database. In this case the new VLAN is VLAN 5. When you exit vlan database mode,

the configuration changes are applied.

1.

2.

Set an IP address for the newly created VLAN.3.

Cisco Basics – ACL Layer 3 VLAN example | D4D's LOcaL http://d4d4u1.wordpress.com/2010/07/29/cisco-basics-acl-layer-3-vlan-...

1 of 4 8/16/2014 1:57 PM

Page 2: Cisco Basics – ACL Layer 3 VLAN Example _ D4D's LOcaL

This access list denies traffic that comes from VLAN 1 to get to VLAN 5.1.

2.

3.

4.

Cisco Basics – ACL Layer 3 VLAN example | D4D's LOcaL http://d4d4u1.wordpress.com/2010/07/29/cisco-basics-acl-layer-3-vlan-...

2 of 4 8/16/2014 1:57 PM

Page 3: Cisco Basics – ACL Layer 3 VLAN Example _ D4D's LOcaL

And once they are configured, apply the access lists to interface VLAN 1, interface VLAN 2 and interface VLAN 5.

You May Like

1.

Be the first to like this.

Cisco Basics - create a VLAN Cisco Basics - multi port -

rename-remove vlans

Layer 2 / Layer 3

Cisco Basics – ACL Layer 3 VLAN example | D4D's LOcaL http://d4d4u1.wordpress.com/2010/07/29/cisco-basics-acl-layer-3-vlan-...

3 of 4 8/16/2014 1:57 PM

Page 4: Cisco Basics – ACL Layer 3 VLAN Example _ D4D's LOcaL