Cisco IOS Router Instrukcja Użytkownika Strona 11

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 16
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 10
The Cisco IOS v1.22 – Aaron Balchunas
* * *
All original material copyright © 2007 by
Aaron Balchunas (aaron@routeralley.com),
unless otherwise noted. All other material copyright © of their respective owners.
This material may be copied and used freely, but may not be altered or sold without the expressed written
consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.
11
Router Interfaces
Recall that, to configure an interface, one must specify both the type of
interface, and the interface number (which always begins at “0”). Thus, to
configure the first Ethernet interface on a router:
Router(config)# interface ethernet 0
Router(config-if)#
Certain router families (such as the 3600 series) are modular, and have
multiple “slots” for interfaces. All commands must reflect both the module
number and the interface number, formatted as: module/interface
Thus, to configure the third Fast Ethernet interface off of the first module:
Router(config)# interface fastethernet 0/2
Router(config-if)#
By default, all router interfaces are administratively shutdown. To take an
interface out of an administratively shutdown state:
Router(config)# interface fa 0/0
Router(config-if)# no shutdown
Notice the use of fa as a shortcut for fastethernet in the above example. To
manually force an interface into a shutdown state:
Router(config-if)# shutdown
To assign an IP address to an interface:
Router(config-if)# ip address 192.168.1.1 255.255.255.0
An additional secondary IP Address can be assigned to an interface:
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# ip address 192.168.1.2 255.255.255.0 secondary
Serial interfaces require special consideration. The DCE (Data
Communication Equipment) side of a serial connection must set the speed,
or clock rate, for the DTE (Data Terminal Equipment) side. Clock rate is
measured in BPS (bits-per-second).
To set the clock rate, if you are the DCE side of a serial connection:
Router(config)# interface serial 0
Router(config-if)# clock rate 64000
Przeglądanie stron 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16

Komentarze do niniejszej Instrukcji

Brak uwag