You are on page 1of 20

Interface Support,

Configuration, and
Monitoring

4-1
Copyright 2005 Juniper Networks, Inc.

Proprietary and Confidential

www.juniper.net

EX-series Interfaces
Network interfaces
24 or 48 Ethernet ports, copper or fiber, depending on
the model

Uplink interfaces
4x1 Gigabit Ethernet SFPs or 2x10 Gigabit Ethernet XFPs
4x1 Gigabit Ethernet ports and 4 highest-numbered network
ports are mutually exclusive on EX 3200 models (20+4 or 44+4)

Typical uses include:


Uplink connection between access and distribution layer
Virtual Chassis extender port2X10 Gigabit Ethernet ports (EX
4200)

Management Ethernet interface


Included on all EX-series platforms

Loopback interface

Virtual interface that is always up

2008 Juniper Networks, Inc. All rights reserved.

EX-series Interface Naming


Network interfaces use a three-level naming
convention
Based on a type-slot/pic/port model, where:

type = The interface media type (ge and xe)


slot = The slot number; all standalone switches use slot 0, member
switches within a Virtual Chassis system use the member ID
pic = The PIC number, fixed interfaces use 0, uplink modules use 1
port = The port number

Examples:

Example 1:
ge-0/0/47

Example 2:
ge-9/1/0

Example 3:
xe-5/1/1

Management Ethernet interface = me0,vme


Virtual Chassis ports = vcp-0, vcp-1, vcp-255/1/X

2008 Juniper Networks, Inc. All rights reserved.

Logical Units
ge-0/0/14.0
Logical units are like subinterfaces in other
vendors equipment
In JUNOS software, a logical unit is always required

Logical units support multiple protocol


addresses
Typing in additional addresses does not override
previous address
Watch for multiple addresses when correcting
addressing mistakes!

2008 Juniper Networks, Inc. All rights reserved.

Interface Properties
Physical property examples include:
Speed (10 Mbps, 100 Mbps, or 1 Gbps)
Link mode (half duplex, full duplex)
MAC address

Logical property examples include:


Protocol family (inet, Ethernet switching)
Addresses

2008 Juniper Networks, Inc. All rights reserved.

Configuration Hierarchy
Physical and logical interface hierarchy
levels:
interfaces {
interface-name {
physical-properties;
[]
unit unit-number {
logical-properties;
[]
}
}
}

2008 Juniper Networks, Inc. All rights reserved.

Physical and logical


properties are configured
at their respective levels

Configuration Options
You can configure network interfaces for
Layer 2 or Layer 3 operation
Protocol family determines operational layer and
is configured under the logical unit hierarchy level
Use family ethernet-switching for Layer 2 (default)
Use family inet for Layer 3
[edit interfaces ge-0/0/10 unit 0]
user@switch# set family ?
Possible completions:

> ethernet-switching
> inet
IPv4 parameters

2008 Juniper Networks, Inc. All rights reserved.

Layer 2 Configuration Example


Basic Layer 2 configuration example:
[edit interfaces ge-0/0/10]
user@switch# show
ether-options {
auto-negotiation;
}
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members orange;
}
}
}

2008 Juniper Networks, Inc. All rights reserved.

Protocol family
ethernet-switching
used for Layer 2
interfaces

Layer 3 Configuration Example


Basic Layer 3 configuration example:
[edit interfaces ge-0/0/10]
user@switch# show
ether-options {
no-auto-negotiation;
link-mode full-duplex;
speed {
1g;
}
}
unit 0 {
family inet {
address 172.18.101.1/24;
}
}

2008 Juniper Networks, Inc. All rights reserved.

Protocol family inet


used for Layer 3
interfaces

Verifying Interface Status


Use the show interfaces command to
verify interface status
Command options include terse, brief, detail,
and extensive

Details displayed vary depending on the command


option used
Use the interface name option to view details for a
specific
user@switch>
show interface
interfaces ge-0/0/10 ?
Possible completions:
<[Enter]>
brief
descriptions
detail
extensive
media
routing-instance
snmp-index
statistics
terse
|
2008 Juniper Networks, Inc. All rights reserved.

Execute this command


Display brief output
Display interface description strings
Display detailed output
Display extensive output
Display media information
Name of routing instance
SNMP index of interface
Display statistics and detailed output
Display terse output
Pipe through a command
10

Terse Output Example


Use the show interfaces terse command
to quickly view the state of all physical and
logical interfaces
user@switch> show interfaces terse
Interface
Admin Link

ge-0/0/10
up
up
ge-0/0/10.0
up
up
ge-0/0/11
up
up
ge-0/0/11.0
up
up
ge-0/0/12
up
down
ge-0/0/12.0
up
down
ge-0/0/13
down down
ge-0/0/13.0
up
down

2008 Juniper Networks, Inc. All rights reserved.

Proto

Local

inet

172.18.101.1/24

Remote

eth-switch
eth-switch
eth-switch

11

Extensive Output Example


Use the show interfaces extensive
command to view interface status, physical
and logical properties, and interface
statistics
Useful tool when troubleshooting interfaces

user@switch> show interfaces ge-0/0/11 extensive


Physical interface: ge-0/0/11, Enabled, Physical link is Up
Interface index: 140, SNMP ifIndex: 23, Generation: 192
Link-level type: Ethernet, MTU: 1514, Speed: Auto, MAC-REWRITE Error: None,
Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled,
Auto-negotiation: Enabled, Remote fault: Online
Device flags
: Present Running
Interface flags: SNMP-Traps Internal: 0x0
Link flags
: None
CoS queues
: 8 supported, 8 maximum usable queues
Hold-times
: Up 0 ms, Down 0 ms
Current address: 00:19:e2:55:36:0c, Hardware address: 00:19:e2:55:36:0c
Last flapped
: 2008-07-15 04:33:27 UTC (08:32:47 ago)

2008 Juniper Networks, Inc. All rights reserved.

12

Monitoring Interfaces
Use the monitor interface interfacename command to view interface usage
switch
Seconds: 14
Time: 05:37:02
details
in real time:
Delay: 26/0/29
Interface: ge-0/0/10, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 10mbps
Traffic statistics:
Input bytes:
265088 (0 bps)
Output bytes:
29424 (0 bps)
Input packets:
3700 (0 pps)
Output packets:
459 (0 pps)
Error statistics:
Input errors:
0
Input drops:
0
Input framing errors:
0
Policed discards:
0
L3 incompletes:
0
L2 channel errors:
0
L2 mismatch timeouts:
0 Carrier transiti

Current delta
[512]
[64]
[8]
[1]
[0]
[0]
[0]
[0]
[0]
[0]
[0]

Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'

2008 Juniper Networks, Inc. All rights reserved.

13

Interface Features Overview


Interface features include:
Variable speed (10/100/1000 Mbps)
Full and half duplex
Autonegotiation
Flow control
Auto-MDI and auto-MDIX sensing
Jumbo frames
802.3ad (LAG and LACP)

2008 Juniper Networks, Inc. All rights reserved.

14

802.3ad Link Aggregation


Definition: Method of grouping multiple
Ethernet interfaces to form a single link layer
interface, also known as a link aggregation
group (LAG) or bundle
Uses 802.3ad LACP as its discovery protocol
Participating interfaces are known as member links
Commonly used to aggregate trunk links

Usage and benefits:


Increases bandwidth
Provides link efficiency
Creates physical layer redundancy

2008 Juniper Networks, Inc. All rights reserved.

15

Requirements and Considerations


Hardware:

Duplex and speed must match


Up to eight member links per LAG
Up to 64 LAGs are supported on the EX 4200 switch, and up
to 32 LAGs are supported on the EX 3200 switch
Member links can be on different Virtual Chassis system
members
Member links are not required to be contiguous ports

Software:

IP traffic hashing uses Layer 2, Layer 3, and Layer 4


Non-IP traffic hashing uses source and destination MAC
addresses
CPU control packets are always sent on the lowest member
link
LACP mode can be set to active or passive
Active mode initiates transmission of LACP packets; at least one
device must be configured for active mode
Passive mode responds to LACP packets

2008 Juniper Networks, Inc. All rights reserved.

16

Configuring a LAG (1 of 2)
[edit chassis]
user@switch# show
aggregated-devices {
ethernet {
device-count 1;
}
}

Creates logical
aggregated
Ethernet interface
(ae0)

[edit interfaces ae0]


user@switch# show
aggregated-ether-options {
Requires LACP
lacp {
configuration on the
passive;
other side to use active
}
mode
}
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [ orange purple blue ];
}
}
}
2008 Juniper Networks, Inc. All rights reserved.

17

Configuring a LAG (2 of 2)
[edit interfaces]
user@switch# show

ge-0/0/10 {
ether-options {
802.3ad ae0;
}
}
ge-0/0/11 {
ether-options {
802.3ad ae0;
}
}
ge-0/0/12 {
ether-options {
802.3ad ae0;
}
}

2008 Juniper Networks, Inc. All rights reserved.

Associates member
links with LAG (ae0)

18

Monitoring a LAG
Use the show interfaces output to
determine state information for aggregated
interfaces
user@switch> show interfaces terse |match ae0
ge-0/0/10.0
up
up
aenet
--> ae0.0
ge-0/0/11.0
up
up
aenet
--> ae0.0
ge-0/0/12.0
up
up
aenet
--> ae0.0
ae0
up
up
ae0.0
up
up
eth-switch

2008 Juniper Networks, Inc. All rights reserved.

19

You might also like