第1段:交换机的启动 Catalyst 1900 Management Console Copyright (c) Cisco Systems, Inc. 1993-1999 All rights reserved. Emter[rose Edotopm Software Ethernet Address: 00-04-DD-4E-9C-80
PCA Number: 73-3122-04 PCA Serial Number: FAB0503D0B4 Model Number: WS-C1912-EN System Serial Number: FAB0503W0FA Power Supply S/N PHI044207FR PCB Serial Number: FAB0503D0B4,73-3122-04 1 user(s)now active on Management Console. User Interface Menu [M] Menus [K] Command Line [1] ip Configuration [P] Console PassWord
Enter Selection: 第2段:进行交换机基本配置 Enter Selection: K
CLI session with the switch is open. To end the CLI session, enter [Exit]. >? Exec commands: enable Turn on PRivileged commands exit Exit from the EXEC help Description of the interactive help system ping Send echo messages session Tunnel to module show Show running system information terminal Set terminal line parameters >enable # #conft
Enter configuration commands, one per line. End with CNTL/Z (config)#? Configure commands: address-violation Set address violation action back-pressure Enable back pressure banner Define a login banner bridge-group Configure port grouping using bridge groups cdp Global CDP configuration subcommands cgroup Enable CGMP cluster Cluster configuration commands ecc Enable enhanced congestion control enable Modift enable password parameters end Exit from configure mode exit Exit from configure mode help Description of the interactive help system hostname Set the system's network name interface Select an interface to configure ip Global IP configureation subcommands line Configure a terminal line login Configure options for logging in mac-address-table Configure the mac address table monitor-port Set port monitoring --More-- mlilticast-store-and-forward Enables multicast store and forward network-port Set the network port no Negate a cominand or set its defaults port-channel Configure Fast EtherChannel rip Routing information protocol configuration service Configuration Command sump-server Modify SNMP parameters spantree Spanning subsystem spantree-template Set bridge template parameter storm-control Configure broadcast storm contfolpirameters switching-mode Set the switching mode tacacs-server Modify TACACS query parameters tFTP Configure TFTP uplink-fast Enable Uplink fast vlan VLAN configuration vlan-membership VLAN membership server configuration vtp Global VTP configuration commands (config)#SiostBiame SW1912
SW1912#disable SW1912> SW1912>en Enter password: ***** ( 键入cisco ) SW1912#conf t Enter configuration commands, one per line. End with CNTL/Z SW1912(config)#ip address 192.168.1.1255.255.255.0 SW1912(config)#ip default-gateway 192.168.1.254
SW1912(config)#ip domain-name ? WORD Domain name SW1912(config)#ip domain-name cisco.com
SW1912(config)#ip name-server 200.1.1.1
SW1912(config)#end SW1912#sh version
Cisco Catalyst 1900/2820 Enterprise Edition Software Version V9.00,05 written from 192.168.000.005 Copyright (c) Cisco Systems, Inc. 1993-1999 SW1912 uptime is 0day(s)00hour(s)12minute(s)44secibd(s) cisco Catalyst 1900(486sxl)processor with 2048K/1024K bytes of memory Hardware board revision is 5 Upgrade Status: No upgrade currently in progress. Config File Status: No configuration upload/download is in progress 15 Fixed Ethernet/IEEE802.3interface(s) Base Ethernet Address: 00-04-DD-4E-9C-80