Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Objectives
3A-2
Interface Types
Interface Type
Modes
Possible
Default
Mode
Require
Creation
Physical
1-Gigabit Ethernet, 10-Gigabit Ethernet
interfaces, and SONET interfaces
L2, L3
Unset
No
Shutdown
(disabled)
N/A
N/A
No
Shutdown
(disabled)
L3
L3
Yes
No Shutdown
(enabled)
Null
Virtual interface that is always up, but no
traffic flows on this interface
N/A
N/A
No
Enabled
Port Channel
Virtual interface that provides redundancy
by allowing the aggregation of up to 16
physical interfaces
L2, L3
Unset
Yes
Shutdown
(disabled)
VLAN
Logical interfaces to separate broadcast
domains
L2, L3
L2
Yes
(except
Default)
Management
Located on the RPM and provides
management access
Loopback
Virtual interface in which the software
emulates a physical interface
Default State
Shutdown
(L2 Forwarding enabled
L3 Forwarding disabled)
3A-3
EXEC
EXEC (Privileged)
CONFIGURATION
Interface
FastEthernet
GigabitEthernet
TenGigabitEthernet
ManagementEthernet
Loopback
VLAN
(others not listed)
Protocol <L2 Protocol>
FVRP
Spanning-Tree
Router <L3 Protocol>
RIP
OSPF
BGP
ISIS
(others not listed)
3A-4
Physical Interfaces
Interface Type
Modes
Possible
Default
Mode
Require
Creation
Physical
1-Gigabit Ethernet, 10-Gigabit
Ethernet interfaces, and SONET
interfaces
L2, L3
Unset
No
Default State
Shutdown
(disabled)
3A-5
3A-6
Force10(conf-if-gi-5/1)#show config
!
interface GigabitEthernet 5/1
ip address 10.1.1.1 /24
no shutdown
Force10(conf-if-gi-5/1)#
Force10(conf-if-gi-5/1)# no ip address
Force10(conf-if-gi-5/1)# switchport
Force10(conf-if-gi-5/1)# show config
!
interface GigabitEthernet 5/1
no ip address
switchport
no shutdown
Force10(conf-if-gi-5/1)#
3A-7
Force10(conf-if-gi-5/1)#show conf
!
interface GigabitEthernet 5/1
ip address 10.1.1.1/24
no shutdown
Force10(conf-if-gi-5/1)#
3A-8
Simultaneously Configuring
More Than One Interface
Use the interface range command to configure multiple ports simultaneously
Force10(conf)# interface range {interface} slot/{port {|,}
port}
Use a hyphen (-) to specify contiguous ports
Use a comma (,) to specify non-contiguous ports
Force10(conf)#
Force10(conf)# interface range gig 5/1 5
(ports in sequence)
Force10(conf-if-range-gi-5/1-5)# exit
Force10(conf)#
Force10(conf)# interface range gig 5/1 , gig 5/3 , gig 5/20
Force10(conf-if-range-gi-5/1,gi-5/3,gi-5/20)#exit
Force10(conf)#
(non-contiguous)
Force10(conf)#
Force10(conf)#define interface-range DMZ_ports gig 5/1 5
Force10(conf)#int range macro DMZ_ports
Force10(conf-if-range-gi-5/1-5)#exit
Force10(conf)#exit
Force10#show running-config | grep range
define interface-range DMZ_ports gigabitethernet 5/1 - 5
Force10#
3A-10
3A-11
3A-12
RPMs
0&1
3A-13
A
B
C
D
3A-14
Destination
Gateway
----------------*S 0.0.0.0/0
via 1.2.3.4, Po 1
C 10.0.0.0/24
Direct, Gi 0/0
C 34.94.168.0/21 Direct, Vl 12
C 92.68.251.0/24 Direct, Gi 0/10
Dist/Metric
----------1/0
0/0
0/0
0/0
Last Change
----------00:00:06
1d19h
2d17h
2d17h
A
B
Gateway
------ManagementEthernet 0/0
10.11.80.254
10.11.80.254
10.11.80.254
3A-15
Loopback Interfaces
Virtual interface in which the software emulates an interface
Many of the same L3 commands as the physical interfaces
Create Loopback interface:
Force10(conf)# interface loopback number
Force10(conf)#int loop 0
Force10(conf-if-lo-0)#ip address 1.1.1.1/32
Force10(conf-if-lo-0)#show conf
!
interface Loopback 0
ip address 1.1.1.1/32
no shutdown
Force10(conf-if-lo-0)#
3A-16
State
----Connected
Active
Inactive
Active
Null 0 Interface
Virtual interface created by FTOS
software
Blackhole unwanted traffic
instead of using Access Lists
Only one Null interface
Null interface always up, but no
traffic flows on this interface
Only configurable command
Force10(conf-if-nu-0)# ip unreachable
3A-17
Summary
3A-18