Professional Documents
Culture Documents
BCM - Ethernet Features Forwarding - Draft
BCM - Ethernet Features Forwarding - Draft
BCM - Ethernet Features Forwarding - Draft
BCM
ETHERNET FEATURES
FORWARDING
Customer bridge [CB]: transports C-Tagged frames (TPID 0x8100) whitout adding any additional S-VLAN Tag. Untagged frames are
tranported using port default PVID.
VLAN table considers C-TAG frame field
Customer bridge supports Customer Bridge Ports
Following commands are used to disable protocols befare changing bridge type
Commands Description
conf t Enters configuration mode
set gmrp disable Disables protocols
set gvrp disable
shutdown garp
shutdown spanning-tree
no ethernet cfm start
exit Exits configuration mode
1.2.6. EXAMPLE
-
1.3. VLAN CONFIGURATION
VLANs can be configured to transport C-Tagged (TPID 0x8100) frames. Once a port is member set of a created VLAN, the same port can be
configured as untagged for the VLAN itself: this allows to remove tag out of the port for the selected VLANs.
VLANs can be also used to transport untagged frames (TPID ≠ 0x8100) by definition of PVID (Port VLAN Identifier): it represents the VLAN ID
that is to be assigned to untagged frames or priority-tagged or C-VLAN frames received on the port. The PVID is used for port based VLAN type
membership classification. The PVID configuration done is used based on the acceptable frame type of the port. The packets are processed
against PVID, if the packets accepted at ingress is not having a tag.
Following commands are used to add a port as memberset of already created VLAN
Commands Description
conf t Enters configuration mode
vlan <VLAN_ID> Enters in configure <VLAN_ID>
ports add <ingress_egress ports> Add new ports to previously created VLAN
exit Exits configuration mode
Following commands are used to remove ports memberset untagged of a specified VLAN
Commands Description
conf t Enters configuration mode
vlan <VLAN_ID> Enters in configure <VLAN_ID>
no ports <ports> untagged <ports> Remove ports to previously created VLAN
exit Exits configuration mode
Following commands are used to assign a PVID @ingress port to trasport untagged incoming traffic
Commands Description
conf t Enters configuration mode
vlan <VLAN_ID> Enters in configure <VLAN_ID>
ports <ports> name <NAME> Defines the ports <ingress_egress> memberset of the <VLAN_ID> and a <name>
exit Exits configuration mode
interface <ingress_port> Enters interface configuration menu
switchport pvid <VLAN_ID> Defines a PVID value for the ingress port: this value is added as C-TAG for
all untagge traffic coming into <ingress_port>. Once the PVID is added as
C-TAG frames follow the VLAN table forwarding for the VLAN_ID.
1.3.6. EXAMPLE
#Configure vlan 100 to transport C-Tagged VLAN ID 100 g 0/9 <-> g 0/6
conf t
vlan 100
ports gigabitethernet 0/9 gigabitethernet 0/6 name VLAN100
end
#Configure vlan 200 to transport C-Tagged VLAN ID 200 g 0/9 <-> g 0/6 and remove C-TAG out of g 0/9
conf t
vlan 200
ports gigabitethernet 0/9 gigabitethernet 0/6 untagged gigabitethernet 0/9 name VLAN200
end
#Configure PVID @ ingress g 0/9 to transport untagged traffic by adding VLAN ID 200 and remove C-TAG out of g 0/9
conf t
vlan 200
ports gigabitethernet 0/9 gigabitethernet 0/6 untagged gigabitethernet 0/9 name VLAN200
exit
interface gigabitethernet 0/9
switchport pvid 200
end
1.4. INGRESS FILTER
DISABLE
- Tagged traffic
Incoming traffic is forwarded out of port memberset of incoming VLAN. It is not necessary ingress port is memberset of VLAN.
- Untagged or priority tagged traffic
Follows rules defined by PVID and VLAN associated that can be specified only in egress ports
It is strongly suggested to always enable this parameters in all ports to have the complete control of all kind of incoming traffic.
1.4.6. EXAMPLE
#Enable ingress-filter on g 0/9
conf t
interface gigabitethernet 0/9
switchport ingress-filter enable
end
1.5. ACCEPTABLE INGRESS FRAMES
Provider Bridge [PB]: transports S-Tagged frames (default TPID 0x88A8) whitout adding any additional S-VLAN Tag.
VLAN table is considers S-TAG frame field
Provider Bridge supports Provider Network Ports [PNP]
Following commands are used to disable protocols befare changing bridge type
Commands Description
conf t Enters configuration mode
set gmrp disable Disables protocols
set gvrp disable
shutdown garp
shutdown spanning-tree
no ethernet cfm start
exit Exits configuration mode
1.7.6. EXAMPLE
#Configure bridge mode to Customer Bridge
conf t
bridge-mode customer
exit
Following commands are used to disable protocols befare changing bridge type
Commands Description
conf t Enters configuration mode
set gmrp disable Disables protocols
set gvrp disable
shutdown garp
shutdown spanning-tree
no ethernet cfm start
exit Exits configuration mode
1.8.5. EXAMPLE
#Configure bridge mode to Customer Bridge
conf t
bridge-mode customer
exit
PROVIDER EDGE BRIDGE – CUSTOMER NETWORK PORT
Provider Edge Bridge [PEB]: transports Untagged and C-Tagged frames (TPID 0x8100) by adding additional S-VLAN Tag.
VLAN table is considers S-TAG frame field
Provider Edge Bridge supports Customer Network Ports [CNP]
Following commands are used to disable protocols befare changing bridge type
Commands Description
conf t Enters configuration mode
set gmrp disable Disables protocols
set gvrp disable
shutdown garp
shutdown spanning-tree
no ethernet cfm start
exit Exits configuration mode
Following commands are used to disable protocols befare changing bridge type
Commands Description
conf t Enters configuration mode
set gmrp disable Disables protocols
set gvrp disable
shutdown garp
shutdown spanning-tree
no ethernet cfm start
exit Exits configuration mode
1.10.5. EXAMPLE
#Configure bridge mode to Customer Bridge
conf t
bridge-mode customer
exit
PROVIDER EDGE BRIDGE – CUSTOMER EDGE PORT
Provider Edge Bridge [PEB]: transports Untagged and C-Tagged frames (TPID 0x8100) by adding additional S-VLAN Tag.
VLAN table is considers S-TAG frame field
Provider Edge Bridge supports Customer Edge Ports [CEP]
Following commands are used to disable protocols befare changing bridge type
Commands Description
conf t Enters configuration mode
set gmrp disable Disables protocols
set gvrp disable
shutdown garp
shutdown spanning-tree
no ethernet cfm start
exit Exits configuration mode
Following commands are used to disable protocols befare changing bridge type
Commands Description
conf t Enters configuration mode
set gmrp disable Disables protocols
set gvrp disable
shutdown garp
shutdown spanning-tree
no ethernet cfm start
exit Exits configuration mode
1.12.5. EXAMPLE
#Configure bridge mode to Customer Bridge
conf t
bridge-mode customer
exit