Vous êtes sur la page 1sur 16

RGOS Layer 2 Feature Configuration

RGOS L2 Features

Ethernet Virtual LAN (VLAN)


Network Redundancy : STP
Network Redundancy : RLDP
Network Redundancy : Bridge Aggregation
Network Redundancy : VSU

Innovation • Simplicity • Experience


RGOS Layer 2 Features Configuration

Ethernet Virtual LAN Overview

Common Virtual LAN type


§ Port-Based VLAN
§ Protocol-Based VLAN
§ Hybrid VLAN
§ Voice VLAN

Where Port-Based VLAN (dot1Q) was the most common technology


used on Ethernet switch application.

Innovation • Simplicity • Experience


RGOS Layer 2 Features Configuration

Port-Base VLAN Characteristic


Characteristic and usage of Port-Base
VLAN : Switch
1 2 3 4

§ A VLAN is an allocated logical network


and it is a L2 network.
Broadcast
frame
Broadcast
frame

§ A VLAN port is not restricted by the


physical location. Broadcast
Broadcast

§ A VLAN can be used to isolate


domain
domain

broadcast domains.

Innovation • Simplicity • Experience


RGOS Layer 2 Features Configuration

Port-Base VLAN (802.1Q Data Frame)


Tag protocol identifier (TPID)
The fixed value is 0x8100, indicating that
the frame carries the 802.1Q tag
information.
Tag control information (TCI)
Priority: It has three bits. It indicates the
priority.
Canonical format indicator: It has one bit.
It indicates the bus Ethernet, FDDI, and
token ring network.
VlanID: It has 12 bits. It indicates the VID,
ranging from 1 to 4094.

Innovation • Simplicity • Experience


RGOS Layer 2 Features Configuration

Port-Base VLAN (Dot1Q operation)

Tag

Data
frame
Data Trunk Trunk
frame

A B

802.1Q workflow:
Ø The Trunk port forwards all the VLAN data on the switch by default.
Ø Before forwarding data over the Trunk port, the switch adds the tags to the data.
Ø After the data reaches the peer end, the peer end switch removes the tags.

Innovation • Simplicity • Experience


RGOS Layer 2 Features Configuration

VLAN 3 VLAN 3
Hub

VLAN 2 Trunk Trunk VLAN 2

VLAN 1 VLAN 1

VLAN traffic (Native VLAN) without the VLAN tag

802.1Q workflow:
Ø The Native VLAN is used to achieve compatibility with devices that do not support 802.1Q
frames.
Ø 802.1Q does not tag frames from the Native VLAN, By default, Native VLAN = Default VLAN
= VLAN1
Innovation • Simplicity • Experience
RGOS Layer 2 Features Configuration

VLAN Configuration : VLAN ID creation


CLI configuration step(s)
• Step 1: Enter the global configuration mode.

• Switch#configure terminal

• Step 2: Create a VLAN.

• Switch(config)#vlan vlan-id

• Step 3: (Optional) Name the VLAN.

• Switch(config-vlan)#name vlan-name

Innovation • Simplicity • Experience


RGOS Layer 2 Features Configuration

VLAN Configuration : Associate port with VLAN ID


CLI configuration step(s)
• Step 1: Enter the port configuration mode.

• Swtich(config)#interface interface-id

• Step 2: Set the port mode to the access mode.

• Switch(config-if)#switchport mode access

• Step 3: Add the port to the specified VLAN.

• Switch(config-if)#switchport access vlan vlan-id

Innovation • Simplicity • Experience


Port-Base VLAN Configuration

VLAN Configuration : Associate port with VLAN ID


CLI configuration step(s)

• Example: Add the port GigabitEthernet 0/1 to the VLAN.

• Switch#configure terminal
• Switch(config)#interface GigabitEthernet 0/1
• Switch(config-if)#switchport mode access
• Switch(config-if)#switchport access vlan 10
• Switch(config-if)#end

Innovation • Simplicity • Experience


Port-Base VLAN Configuration

VLAN Configuration : Associate Group of ports to an VLAN ID


CLI configuration step(s)
Step 1: Enter the group of ports to be added to the VLAN.

• Switch(config)#interface range interface-range

Step 2: Set the port mode to the access mode.

• Switch(config-range-if)#switchport mode access

Step 3: Add the group of ports to the specified VLAN.

• Switch(config-range-if)#swtichport access vlan vlan-id

Innovation • Simplicity • Experience


Port-Base VLAN Configuration

VLAN Configuration : VLAN Trunk & Native VLAN


CLI configuration step(s)
Set the cascading port as the Trunk port.
Step 1: Enter the port to be configured.
• S57H(config)#interface interface

Step 2: Set the port mode to Trunk.


• S57H(config-if)#switchport mode trunk

Innovation • Simplicity • Experience


Port-Base VLAN Configuration

VLAN Configuration : VLAN Trunk & Native VLAN


CLI configuration step(s)

Configure the Native VLAN.


Step 1: Enter the Trunk port to be configured.

• S57H(config)#interface interface

Step 2: Configure the Native VLAN of the Trunk port.

• S57H(config-if)#switchport trunk native vlan vlan-id

Innovation • Simplicity • Experience


Port-Base VLAN Configuration

VLAN Configuration : VLAN Prune Configuration


CLI configuration step(s)

Define the list of allowed VLANs for the Trunk port.


• S57H(config-if)#switchport trunk allowed vlan { all | [add | remove | except ] } vlan-list

Delete a VLAN.
• S57H(config)#no vlan VLAN-id

Delete range of VLAN IDs.


• S57H(config)#no vlan VLAN-id#1 -VLAN-id#n

Innovation • Simplicity • Experience


Port-Base VLAN Configuration

VLAN Configuration : VLAN ID Deletion & Verify


CLI configuration step(s)
• Verify the configuration information.

• Switch# show interfaces gigabitethernet0/20


Interface Switchport Mode Access Native Protected VLAN lists

--------- ---------- --------- --------- -------- --------- -----------

Ga0/20 Enabled Trunk 1 1 Enabled 1,3-4094

Innovation • Simplicity • Experience


Port-Base VLAN Configuration

VLAN Configuration : VLAN ID Deletion & Verify


CLI configuration step(s)
• Verify the configuration information.
• Switch# show vlan

VLAN Name Status Ports

---- -------- -------- ---------------

1 default active Ga0/1, Ga0/2, Ga0/3, Ga0/4,

Innovation • Simplicity • Experience

Vous aimerez peut-être aussi