1. Trang chủ
  2. » Công Nghệ Thông Tin

cisco press ccna portable command guide 2nd edition 640 802 phần 4 pps

38 698 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 38
Dung lượng 5,04 MB

Nội dung

Configuration Example: EIGRP 89 Houston(config-if)#cc cc ll ll oo oo cc cc kk kk rr rr aa aa tt tt ee ee 55 55 66 66 00 00 00 00 00 00 Sets the clock rate. Houston(config-if)#nn nn oo oo ss ss hh hh uu uu tt tt dd dd oo oo ww ww nn nn Enables the interface. Houston(config-if)#ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee ff ff aa aa ss ss tt tt ee ee tt tt hh hh ee ee rr rr nn nn ee ee tt tt 00 00 // // 1 1 11 Enters interface configuration mode. Houston(config-if)#ii ii pp pp aa aa dd dd dd dd rr rr ee ee ss ss ss ss 11 11 77 77 22 22 11 11 66 66 33 33 00 00 11 11 22 22 55 55 5 5 55 22 22 55 55 55 55 22 22 55 55 55 55 00 00 Assigns the IP address and netmask. Houston(config-if)#nn nn oo oo ss ss hh hh uu uu tt tt dd dd oo oo ww ww nn nn Enables the interface. Houston(config-if)#rr rr oo oo uu uu tt tt ee ee rr rr ee ee ii ii gg gg rr rr pp pp 11 11 00 00 00 00 Enables EIGRP routing. Houston(config-router)#nn nn oo oo aa aa uu uu tt tt oo oo ss ss uu uu mm mm mm mm aa aa rr rr yy yy Disables auto-summarization. Houston(config-router)#ee ee ii ii gg gg rr rr pp pp ll ll oo oo gg gg nn nn ee ee ii ii gg gg hh hh bb bb oo oo rr rr cc cc hh hh aa aa nn nn gg gg ee ee s s ss Changes with neighbors will be displayed. Houston(config-router)#nn nn ee ee tt tt ww ww oo oo rr rr kk kk 11 11 77 77 22 22 11 11 66 66 00 00 00 00 Advertises directly connected networks (classful address only). Houston(config-router)#kk kk ee ee yy yy cc cc hh hh aa aa ii ii nn nn ee ee dd dd dd dd ii ii ee ee Identifies a key chain name, which must match the name configured in interface configuration mode. Houston(config-keychain)#kk kk ee ee yy yy 11 11 Identifies the key number. Houston(config-keychain-key)#kk kk ee ee yy yy ss ss tt tt rr rr ii ii nn nn gg gg tt tt oo oo ww ww ee ee rr rr Identifies the key string. Houston(config-keychain-key)#aa aa cc cc cc cc ee ee pp pp tt tt ll ll ii ii ff ff ee ee tt tt ii ii mm mm ee ee 00 00 66 66 :: :: 33 33 00 00 :: :: 00 00 00 00 A A AA pp pp rr rr 11 11 99 99 22 22 00 00 00 00 77 77 ii ii nn nn ff ff ii ii nn nn ii ii tt tt ee ee Specifies the period during which the key can be received. Houston(config-keychain-key)#ss ss ee ee nn nn dd dd ll ll ii ii ff ff ee ee tt tt ii ii mm mm ee ee 00 00 66 66 :: :: 33 33 00 00 :: :: 00 00 00 00 AA AA pp pp r r rr 11 11 99 99 22 22 00 00 00 00 77 77 00 00 99 99 :: :: 44 44 55 55 :: :: 00 00 00 00 AA AA pp pp rr rr 11 11 99 99 22 22 00 00 00 00 77 77 Specifies the period during which the key can be sent. Houston(config-keychain-key)#ee ee xx xx ii ii tt tt Returns to global configuration mode. Houston(config)#ee ee xx xx ii ii tt tt Returns to privileged mode. Houston#cc cc oo oo pp pp yy yy rr rr uu uu nn nn nn nn ii ii nn nn gg gg cc cc oo oo nn nn ff ff ii ii gg gg ss ss tt tt aa aa rr rr tt tt uu uu pp pp cc cc oo oo nn nn ff ff ii ii gg gg Saves the configuration to NVRAM. This page intentionally left blank CHAPTER 10 Single Area OSPF This chapter provides information and commands concerning the following topics: • Configuring OSPF: Mandatory commands • Using wildcard masks with OSPF areas • Configuring OSPF: Optional commands — Loopback interfaces — Router ID — DR/BDR elections — Modifying cost metrics — Authentication: Simple — Authentication: Using MD5 encryption — Timers — Propagating a default route • Verifying OSPF configuration • Troubleshooting OSPF • Configuration example: Single area OSPF Configuring OSPF: Mandatory Commands Router(config)#rr rr oo oo uu uu tt tt ee ee rr rr oo oo ss ss pp pp ff ff 11 11 22 22 33 33 Starts OSPF process 123. The process ID is any positive integer value between 1 and 65,535. The process ID is not related to the OSPF area. The process ID merely distinguishes one process from another within the device. Router(config-router)#nn nn ee ee tt tt ww ww oo oo rr rr kk kk 11 11 77 77 22 22 11 11 66 66 11 11 00 00 00 00 00 00 00 00 00 00 . . 22 22 55 55 55 55 aa aa rr rr ee ee aa aa 00 00 OSPF advertises interfaces, not networks. Uses the wildcard mask to determine which interfaces to advertise. Read this line to say “Any interface with an address of 172.16.10.x is to be put into area 0.” 92 Using Wildcard Masks with OSPF Areas Using Wildcard Masks with OSPF Areas When compared to an IP address, a wildcard mask identifies which addresses get matched for placement into an area: • A 0 (zero) in a wildcard mask means to check the corresponding bit in the address for an exact match. • A 1 (one) in a wildcard mask means to ignore the corresponding bit in the address— can be either 1 or 0. Example 1: 172.16.0.0 0.0.255.255 172.16.0.0 = 10101100.00010000.00000000.00000000 0.0.255.255 = 00000000.00000000.11111111.11111111 result = 10101100.00010000.xxxxxxxx.xxxxxxxx 172.16.x.x (Anything between 172.16.0.0 and 172.16.255.255 will match the example statement.) TIP: An octet of all 0s means that the octet has to match exactly to the address. An octet of all 1s means that the octet can be ignored. NOTE: The process ID number of one router does not have to match the process ID of any other router. Unlike Enhanced Interior Gateway Routing Protocol (EIGRP), matching this number across all routers does not ensure that network adjacencies will form. Router(config-router)#ll ll oo oo gg gg aa aa dd dd jj jj aa aa cc cc ee ee nn nn cc cc yy yy cc cc hh hh aa aa nn nn gg gg ee ee ss ss dd dd ee ee tt tt a a aa ii ii ll ll Configures the router to send a syslog message when there is a change of state between OSPF neighbors. TIP: Although the log-adjacency- changes command is on by default, only up/down events are reported unless you use the detail keyword. Configuring OSPF: Optional Commands 93 Example 2: 172.16.8.0 0.0.7.255 172.168.8.0 = 10101100.00010000.00001000.00000000 0.0.0.7.255 = 00000000.00000000.00000111.11111111 result = 10101100.00010000.00001xxx.xxxxxxxx 00001xxx = 00001000 to 00001111 = 8–15 xxxxxxxx = 00000000 to 11111111 = 0–255 Anything between 172.16.8.0 and 172.16.15.255 will match the example statement. Configuring OSPF: Optional Commands The following commands, although not mandatory, enable you to have a more controlled and efficient deployment of OSPF in your network. Loopback Interfaces Router(config-router)#nn nn ee ee tt tt ww ww oo oo rr rr kk kk 11 11 77 77 22 22 11 11 66 66 11 11 00 00 11 11 00 00 00 00 00 00 . . 00 00 aa aa rr rr ee ee aa aa 00 00 Read this line to say “Any interface with an exact address of 172.16.10.1 is to be put into area 0.” Router(config-router)#nn nn ee ee tt tt ww ww oo oo rr rr kk kk 11 11 77 77 22 22 11 11 66 66 11 11 00 00 00 00 00 00 00 00 22 22 5 5 55 55 55 22 22 55 55 55 55 aa aa rr rr ee ee aa aa 00 00 Read this line to say “Any interface with an address of 172.16.x.x is to be put into area 0.” Router(config-router)#nn nn ee ee tt tt ww ww oo oo rr rr kk kk 00 00 00 00 00 00 00 00 22 22 55 55 55 55 22 22 55 55 55 55 22 22 5 5 55 55 55 22 22 55 55 55 55 aa aa rr rr ee ee aa aa 00 00 Read this line to say “Any interface with any address is to be put into area 0.” Router(config)#ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee ll ll oo oo oo oo pp pp bb bb aa aa cc cc kk kk 00 00 Creates a virtual interface named loopback 0, and then moves the router to interface configuration mode. Router(config-if)#ii ii pp pp aa aa dd dd dd dd rr rr ee ee ss ss ss ss 11 11 99 99 22 22 11 11 66 66 88 88 11 11 00 00 00 00 11 11 2 2 22 55 55 55 55 22 22 55 55 55 55 22 22 55 55 55 55 22 22 55 55 55 55 Assigns the IP address to the interface. NOTE: Loopback interfaces are always “up and up” and do not go down unless manually shut down. This makes loopback interfaces great for use as OSPF router IDs. 94 Configuring OSPF: Optional Commands Router ID DR/BDR Elections Router(config)#rr rr oo oo uu uu tt tt ee ee rr rr oo oo ss ss pp pp ff ff 11 11 Starts OSPF process 1. Router(config-router)#rr rr oo oo uu uu tt tt ee ee rr rr ii ii dd dd 11 11 00 00 11 11 11 11 11 11 Sets the router ID to 10.1.1.1. If this command is used on an OSPF router process that is already active (has neighbors), the new router ID is used at the next reload or at a manual OSPF process restart. Router(config-router)#nn nn oo oo rr rr oo oo uu uu tt tt ee ee rr rr ii ii dd dd 11 11 00 00 11 11 11 11 11 11 Removes the static router ID from the configuration. If this command is used on an OSPF router process that is already active (has neighbors), the old router ID behavior is used at the next reload or at a manual OSPF process restart. Router(config)#ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee ss ss ee ee rr rr ii ii aa aa ll ll 00 00 // // 00 00 Changes the router to interface configuration mode. Router(config-if)#ii ii pp pp oo oo ss ss pp pp ff ff pp pp rr rr ii ii oo oo rr rr ii ii tt tt yy yy 55 55 00 00 Changes the OSPF interface priority to 50. NOTE: The assigned priority can be between 0 and 255. A priority of 0 makes the router ineligible to become a designated router (DR) or backup designated router BDR). The highest priority wins the election. A priority of 255 guarantees a tie in the election. If all routers have the same priority, regardless of the priority number, they tie. Ties are broken by the highest router ID. Configuring OSPF: Optional Commands 95 Modifying Cost Metrics Authentication: Simple Router(config)#ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee ss ss ee ee rr rr ii ii aa aa ll ll 00 00 // // 00 00 Changes the router to interface configuration mode. Router(config-if)#bb bb aa aa nn nn dd dd ww ww ii ii dd dd tt tt hh hh 11 11 22 22 88 88 If you change the bandwidth, OSPF recalculates the cost of the link. Or Router(config-if)#ii ii pp pp oo oo ss ss pp pp ff ff cc cc oo oo ss ss tt tt 11 11 55 55 66 66 44 44 Changes the cost to a value of 1564. NOTE: The cost of a link is determined by dividing the reference bandwidth by the interface bandwidth. The bandwidth of the interface is a number between 1 and 10,000,000. The unit of measurement is kilobits. The cost is a number between 1 and 65,535. The cost has no unit of measurement—it is just a number. Router(config)#rr rr oo oo uu uu tt tt ee ee rr rr oo oo ss ss pp pp ff ff 11 11 Starts OSPF process 1. Router(config-router)#aa aa rr rr ee ee aa aa 00 00 aa aa uu uu tt tt hh hh ee ee nn nn tt tt ii ii cc cc aa aa tt tt ii ii oo oo nn nn Enables simple authentication; password will be sent in clear text. Router(config-router)#ee ee xx xx ii ii tt tt Returns to global configuration mode. Router(config)#ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee ff ff aa aa ss ss tt tt ee ee tt tt hh hh ee ee rr rr nn nn ee ee tt tt 00 00 // // 0 0 00 Moves to interface configuration mode. Router(config-if)#ii ii pp pp oo oo ss ss pp pp ff ff aa aa uu uu tt tt hh hh ee ee nn nn tt tt ii ii cc cc aa aa tt tt ii ii oo oo nn nn kk kk ee ee y y yy ff ff rr rr ee ee dd dd Sets key (password) to fred. NOTE: The password can be any continuous string of characters that can be entered from the keyboard, up to 8 bytes in length. To be able to exchange OSPF information, all neighboring routers on the same network must have the same password. 96 Configuring OSPF: Optional Commands Authentication: Using MD5 Encryption Timers Propagating a Default Route Router(config)#rr rr oo oo uu uu tt tt ee ee rr rr oo oo ss ss pp pp ff ff 11 11 Starts OSPF process 1. Router(config-router)#aa aa rr rr ee ee aa aa 00 00 aa aa uu uu tt tt hh hh ee ee nn nn tt tt ii ii cc cc aa aa tt tt ii ii oo oo nn nn mm mm ee ee ss ss s s ss aa aa gg gg ee ee dd dd ii ii gg gg ee ee ss ss tt tt Enables authentication with MD5 password encryption. Router(config-router)#ee ee xx xx ii ii tt tt Returns to global configuration mode. Router(config)#ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee ff ff aa aa ss ss tt tt ee ee tt tt hh hh ee ee rr rr nn nn ee ee tt tt 00 00 // // 0 0 00 Moves to interface configuration mode. Router(config-if)#ii ii pp pp oo oo ss ss pp pp ff ff mm mm ee ee ss ss ss ss aa aa gg gg ee ee dd dd ii ii gg gg ee ee ss ss tt tt kk kk ee ee y y yy 11 11 mm mm dd dd 55 55 ff ff rr rr ee ee dd dd 1 is the key-id. This value must be the same as that of your neighboring router. md5 indicates that the MD5 hash algorithm will be used. fred is the key (password) and must be the same as that of your neighboring router. NOTE: If the service password- encryption command is not used when implementing OSPF MD5 authentication, the MD5 secret is stored as plain text in NVRAM. Router(config-if)#ii ii pp pp oo oo ss ss pp pp ff ff hh hh ee ee ll ll ll ll oo oo ii ii nn nn tt tt ee ee rr rr vv vv aa aa ll ll tt tt ii ii m m mm ee ee rr rr 22 22 00 00 Changes the Hello Interval timer to 20 seconds. Router(config-if)#ii ii pp pp oo oo ss ss pp pp ff ff dd dd ee ee aa aa dd dd ii ii nn nn tt tt ee ee rr rr vv vv aa aa ll ll 88 88 00 00 Changes the Dead Interval timer to 80 seconds. NOTE: Hello and Dead Interval timers must match for routers to become neighbors. Router(config)#ii ii pp pp rr rr oo oo uu uu tt tt ee ee 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 s s ss 00 00 // // 00 00 Creates a default route. Router(config)#rr rr oo oo uu uu tt tt ee ee rr rr oo oo ss ss pp pp ff ff 11 11 Starts OSPF process 1. Router(config-router)#dd dd ee ee ff ff aa aa uu uu ll ll tt tt ii ii nn nn ff ff oo oo rr rr mm mm aa aa tt tt ii ii oo oo nn nn oo oo rr rr ii ii gg gg ii ii n n nn aa aa tt tt ee ee Sets the default route to be propagated to all OSPF routers. Verifying OSPF Configuration 97 Verifying OSPF Configuration Router(config-router)#dd dd ee ee ff ff aa aa uu uu ll ll tt tt ii ii nn nn ff ff oo oo rr rr mm mm aa aa tt tt ii ii oo oo nn nn oo oo rr rr ii ii gg gg ii ii n n nn aa aa tt tt ee ee aa aa ll ll ww ww aa aa yy yy ss ss The always option propagates a default “quad-zero” route even if one is not configured on this router. NOTE: The default-information originate command or the default- information originate always command is usually only to be configured on your “entrance” or “gateway” router, the router that connects your network to the outside world—the Autonomous System Boundary Router (ASBR). Router#ss ss hh hh oo oo ww ww ii ii pp pp pp pp rr rr oo oo tt tt oo oo cc cc oo oo ll ll Displays parameters for all protocols running on the router Router#ss ss hh hh oo oo ww ww ii ii pp pp rr rr oo oo uu uu tt tt ee ee Displays a complete IP routing table Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff Displays basic information about OSPF routing processes Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee Displays OSPF info as it relates to all interfaces Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff ii ii nn nn tt tt ee ee rr rr ff ff aa aa cc cc ee ee ff ff aa aa s s ss tt tt ee ee tt tt hh hh ee ee rr rr nn nn ee ee tt tt 00 00 // // 00 00 Displays OSPF information for interface fastethernet 0/0 Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff bb bb oo oo rr rr dd dd ee ee rr rr rr rr oo oo uu uu tt tt ee ee rr rr ss ss Displays border and boundary router information Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff nn nn ee ee ii ii gg gg hh hh bb bb oo oo rr rr Lists all OSPF neighbors and their states Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff nn nn ee ee ii ii gg gg hh hh bb bb oo oo rr rr dd dd ee ee tt tt aa aa ii ii ll ll Displays a detailed list of neighbors Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff dd dd aa aa tt tt aa aa bb bb aa aa ss ss ee ee Displays contents of the OSPF database Router#ss ss hh hh oo oo ww ww ii ii pp pp oo oo ss ss pp pp ff ff dd dd aa aa tt tt aa aa bb bb aa aa ss ss ee ee nn nn ss ss ss ss a a aa ee ee xx xx tt tt ee ee rr rr nn nn aa aa ll ll Displays NSSA external link states 98 Configuration Example: Single Area OSPF Troubleshooting OSPF Configuration Example: Single Area OSPF Figure 10-1 illustrates the network topology for the configuration that follows, which shows how to configure Single Area OSPF using commands covered in this chapter. Figure 10-9 Network Topology for Single Area OSPF Configuration Router#cc cc ll ll ee ee aa aa rr rr ii ii pp pp rr rr oo oo uu uu tt tt ee ee ** ** Clears entire routing table, forcing it to rebuild Router#cc cc ll ll ee ee aa aa rr rr ii ii pp pp rr rr oo oo uu uu tt tt ee ee aa aa bb bb cc cc dd dd Clears specific route to network a.b.c.d Router#cc cc ll ll ee ee aa aa rr rr ii ii pp pp oo oo pp pp ss ss ff ff cc cc oo oo uu uu nn nn tt tt ee ee rr rr ss ss Resets OSPF counters Router#cc cc ll ll ee ee aa aa rr rr ii ii pp pp oo oo ss ss pp pp ff ff pp pp rr rr oo oo cc cc ee ee ss ss ss ss Resets entire OSPF process, forcing OSPF to re-create neighbors, database, and routing table Router#dd dd ee ee bb bb uu uu gg gg ii ii pp pp oo oo ss ss pp pp ff ff ee ee vv vv ee ee nn nn tt tt ss ss Displays all OSPF events Router#dd dd ee ee bb bb uu uu gg gg ii ii pp pp oo oo ss ss pp pp ff ff aa aa dd dd jj jj aa aa cc cc ee ee nn nn cc cc yy yy Displays various OSPF states and DR/ BDR election between adjacent routers Router#dd dd ee ee bb bb uu uu gg gg ii ii pp pp oo oo ss ss pp pp ff ff pp pp aa aa cc cc kk kk ee ee tt tt ss ss Displays OPSF packets 172.16.10.10 172.16.30.30 172.16.50.50 s0/0 172.16.40.1 s0/0 172.16.20.1 Network 172.16.20.0/30 DCEDCE s0/1 172.16.40.2 s0/1 172.16.20.2 Network 172.16.40.0/30 Network 172.16.50.0/24 Network 172.16.10.0/24 Network 172.16.30.0/24 fa0/0 172.16.10.1 fa0/0 172.16.30.1 fa0/0 172.16.50.1 Galveston Houston Austin [...]... configuration that follows, which shows how to configure VLANs using the commands covered in this chapter Figure 12-2 Network Topology for VLAN Configuration Example 10.1.1.0/ 24 Native VLAN 1 Admin VLAN 10 Ports: 1-8 10.1.10.0/ 24 2960 Accounting VLAN 20 Ports: 9-15 10.1.20.0/ 24 Engineering VLAN 30 WS1 10.1.30.10/ 24 Ports: 16- 24 10.1.30.0/ 24 122 Configuration Example: VLANs 2960 Switch e Switch>enable Moves... password checking p 2960Switch(config-line)#password cisco Sets the password to cisco e 2960Switch(config-line)#exit Exits line auxiliary mode l 2960Switch(config-line)#line vty 0 4 Enters line vty mode for all five virtual ports l 2960Switch(config-line)#login Enables password checking p 2960Switch(config-line)#password cisco Sets the password to cisco e 2960Switch(config-line)#exit Exits line vty mode... Configuring a Switch Chapter 12 VLANs Chapter 13 VLAN Trunking Protocol and Inter-VLAN Routing Chapter 14 STP and EtherChannel This page intentionally left blank CHAPTER 11 Configuring a Switch This chapter provides information and commands concerning the following topics: • Help commands • Command modes • Verifying commands • Resetting switch configuration • Setting host names • Setting passwords • Setting IP... for a router e 2960Switch(config)#enable password cisco Sets the enable password to cisco e 2960Switch(config)#enable secret class Sets the encrypted secret password to class l 2960Switch(config)#line console 0 Enters line console mode l 2960Switch(config-line)#login Enables password checking p 2960Switch(config-line)#password cisco Sets the password to cisco e 2960Switch(config-line)#exit Exits line... Verifying switch port security • Sticky MAC addresses • Configuration example Help Commands ? switch>? The ? works here the same as in a router Command Modes e switch>enable User mode, same as a router switch# Privileged mode d switch#disable Leaves privileged mode e switch>exit Leaves user mode 106 Verifying Commands Verifying Commands s switch#show version Displays information about software and hardware... Switch#clear mac address-table notification Clears MAC notification global counters NOTE: Beginning with Cisco IOS Software Release 12.1(11)EA1, the clear mac address-table command (no hyphen in mac address) replaces the clear macaddress-table command (with the hyphen in macaddress) The clear macaddress-table static command (with the hyphen in mac-address) will become obsolete in a future release Sticky MAC Addresses... slow you down h switch(config)#hostname 2960 Sets the host name e 2960(config)#enable secret cisco Sets the encrypted secret password to cisco l 2960(config)#line console 0 Enters line console mode l 2960(config-line)#logging synchronous Appends commands to a new line; router information will not interrupt 1 14 Configuration Example l 2960(config-line)#login User must log in to console before use p 2960(config-line)#password... changes to the VLAN database for the changes to take effect You must use either the apply command or the exit command to do so Using the Ç-Z command to exit out of the VLAN database does not work in this mode because it aborts all changes made to the VLAN database—you must either use exit or apply and then the exit command Assigning Ports to VLANs i Switch(config)#interface fastethernet 0/1 Moves to interface... Displays the interface configuration and status of line: up/up, up/down, admin down NOTE: This command is unsupported in some Cisco IOS Software releases, such as 12.2(25)FX s switch#show interface vlan1 Displays setting of virtual interface VLAN 1, the default VLAN on the switch NOTE: This command is unsupported in some Cisco IOS Software releases, such as 12.2(25)FX Setting Passwords 107 Resetting Switch... 113 Configuration Example Figure 11-1 shows the network topology for the basic configuration of a 2960 series switch using commands covered in this chapter Figure 11-1 Network Topology for 2960 Series Switch Configuration Network 192.168.1.0/ 24 Bismarck Fa0/0 192.168.1.1 2960Switch Fa0 /4 Workstation A 192.168.1.10 192.168.1.2 Fa0/1 Fa0/8 Workstation B 192.168.1.11 e switch>enable Enters privileged mode . 172.16.50.50 s0/0 172.16 .40 .1 s0/0 172.16.20.1 Network 172.16.20.0/30 DCEDCE s0/1 172.16 .40 .2 s0/1 172.16.20.2 Network 172.16 .40 .0/30 Network 172.16.50.0/ 24 Network 172.16.10.0/ 24 Network 172.16.30.0/ 24 fa0/0 172.16.10.1 fa0/0 172.16.30.1 fa0/0 172.16.50.1 Galveston Houston Austin Configuration. oo oo ss ss pp pp ff ff cc cc oo oo ss ss tt tt 11 11 55 55 66 66 44 44 Changes the cost to a value of 15 64. NOTE: The cost of a link is determined by dividing the reference bandwidth. 11 11 77 77 22 22 11 11 66 66 44 44 00 00 22 22 00 00 00 00 00 00 . . 00 00 aa aa rr rr ee ee aa aa 00 00 Any interface with an exact address of 172.16 .40 .2 is to be put into

Ngày đăng: 14/08/2014, 13:21

TỪ KHÓA LIÊN QUAN