Documente Academic
Documente Profesional
Documente Cultură
4-1
Copyright 2005 Juniper Networks, Inc.
www.juniper.net
Overview of Ethernet
Ethernet defined:
Family of LAN specifications, standardized in IEEE
802.3 Examples include:
10Base-T (802.3i)10 Mbps
100Base-TX (802.3u)100 Mbps
1000Base-T (802.3ab)1000 Mbps
Ethernet LANs (1 of 2)
Shared
medium
Characteristics:
Shared medium
Single collision domain
Nodes can transmit
simultaneously
2008 Juniper Networks, Inc. All rights reserved.
Collision
domain
Nodes can
transmit
simultaneously
Problems:
1. Traffic is seen by everyone
2. Collisions can occur
3. Unwanted resource consumption
3
Ethernet LANs (2 of 2)
As the network grows, the likelihood of
collisions increases
As collisions increase, overall LAN efficiency
decreases
Overview of Bridging
Bridging:
Is defined in the IEEE 802.1D-2004 standard
Segments a single collision domain
Isolates the physical layer
Learns and maintains a forwarding table (bridge
table)
Performs intelligent forwarding decisions based on
the bridge table
Forwarding:
Forwards packets out proper egress interface towards
destination
Flooding:
Replicates packets out other ports for unknown destination
MAC addresses; also used when passing multicast and
broadcast traffic
Filtering:
Limits traffic to its associated network segment
Aging:
Ensures bridge table entries are current
2008 Juniper Networks, Inc. All rights reserved.
SA Type
Data
FCS
A1
0140.5501.1111
0140.5501.2222
0140.5501.3333
0140.5501.4444
0140.5501.1111
0140.5501.3333
ge-0/0/0
A2
0140.5501.2222
B1
ge-0/0/1
B2
0140.5501.4444
= Hub
A1 sends a
frame to
B2
A1
0140.5501.1111
Switch checks
forwarding
table
ge-0/0/0
A2 receives
A2
and
discards 0140.5501.2222
the frame
from A1
B1
0140.5501.3333
ge-0/0/1
B2
0140.5501.4444
= Hub
Switch forwards
frame from A1 to
B2
8
A1 sends a
frame to
A2
A1
0140.5501.1111
Switch checks
forwarding
table
ge-0/0/0
B1
0140.5501.3333
ge-0/0/1
A2 processes
A2
the frame from
A1
0140.5501.2222
B2
0140.5501.4444
= Hub
Switch filters
frame from A1 to
A2
2008 Juniper Networks, Inc. All rights reserved.
B1
ge-0/0/1: 0140.5501.4444
0140.5501.3333
0140.5501.1111
ge-0/0/0
ge-0/0/1
A2
B2
0140.5501.2222
0140.5501.4444
= Hub
10
Age
48
42
38
Interfaces
All-members
ge-0/0/10.0
All-members
ge-0/0/13.0
All-members
ge-0/0/16.0
12
Overview of VLANs
VLANs:
VLAN Orange
VLAN Orange
VLAN Orange
VLAN Blue
VLAN Blue
VLAN Blue
13
14
Trunk mode:
Connects to other switches or a router
Typically transmits tagged Ethernet frames for multiple
VLANs; the exception is when the native VLAN option is
configured or control traffic is sent
Must be explicitly configured
15
802.1QEthernet Frame
4-byte tag inserted into Ethernet frame
(max 1522 bytes)
Tag Protocol Identifier (TPID): 16 bits, default
0x8100
Priority: 3 bits, 802.1p
Canonical Format Indicator (CFI): 1 bit, default 0
Unique VLAN identifier (VID): 12 bits
DestinationSource TAG Type/
MAC
MAC
Length
Data
FCS
VID
16
802.1QTrunk Links
A trunk is a single Ethernet link that can
carry traffic for multiple VLANs
VLAN Orange
VLAN Blue
VLAN Orange
VLAN Blue
VLAN Blue
VLAN Orange
VLAN Orange
VLAN Blue
VLAN Blue
VLAN Orange
VLAN Orange
VLAN Blue
17
VLAN Orange
VLAN Blue
VLAN Purple
[edit]
user@switch# show interfaces
ge-0/0/13 {
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members orange;
}
}
}
}
VLAN
Referenced
[edit]
user@switch# show vlans
orange {
vlan-id 101;
}
VLAN
Defined
2008 Juniper Networks, Inc. All rights reserved.
18
19
[edit]
user@switch# show vlans
blue {
vlan-id 100;
}
orange {
vlan-id 101;
}
20
Interface is
802.1Q trunk for
both VLANs
Interface
belongs to
both VLANs
2008 Juniper Networks, Inc. All rights reserved.
21
VLAN Orange
VLAN Blue
VLAN Purple
22
vlan {
unit 101 {
family inet {
address 10.1.2.1/24;
}
}
}
[edit]
user@switch# show vlans
blue {
vlan-id 100;
l3-interface vlan.100;
}
orange {
vlan-id 101;
l3-interface vlan.101;
}
purple {
vlan-id 102;
l3-interface vlan.102;
}
Monitoring an RVI
user@switch> show interfaces terse
Interface
Admin Link
vlan
up
up
vlan.100
up
up
vlan.101
up
up
vlan.102
up
up
vlan
Proto
Local
inet
inet
inet
10.1.1.1/24
10.1.2.1/24
10.1.3.1/24
Remote
24