cisco 6509配置,6509配置命令展示

6509配置命令展示 - 硬件外设 - 电脑教程网

6509配置命令展示

日期:2006-04-06   荐:
  Directory   I. CONNECTIVITY 2   II. 6509 CONFIGURATION 2   A. Administering the Switch 2   B. set the ip address and dns 4   C. set the default gateway 5   D. set the password 5   E. configure the port (Omit) 6   F. test the connectivity 7   G. Configuring an EtherChannel 7   H. Configuring VTP 7   I. Configuring VLANs 9   J. Configuring Ethernet VLAN Trunks 9   K. Checking Port Status and Connectivity 10   L. Check the flash or tftp 11   M. Configuring IP Permit List 13   N. Configuring SNMP 14       I. Connectivity   GSR A GSR B 6509 A 6509 B   GSR A 6 6 6 6   GSR B Single ModePos2/3- Pos2/3 6 6 6   6509 A Multi Mode3/1- G4 6 6 6   6509 B 6 Multi Mode3/1- G4 Multi Mode1/1-1/1 6     II. 6509 configuration   A. Administering the Switch   Console> enable   Console> (enable)   Console> (enable) set system name Shenyang Catalyst 6509 A ( B)   System name set.   Console> (enable) set prompt SY_6509_A>   Catalyst 6000> (enable) set system contact [email protected]   System contact set.   Catalyst 6000> (enable) set system location Shenyang Huanxiang Buliding, Liaoning, China   System location set.   Catalyst 6000> (enable) show system   PS1-Status PS2-Status Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout   ---------- ---------- ---------- ---------- ---------- -------------- ---------   ok none ok off ok 0,04:04:07 20 min     PS1-Type PS2-Type Modem Baud Traffic Peak Peak-Time   ---------- ---------- ------- ----- ------- ---- -------------------------   other none disable 9600 0% 0% Tue Jun 23 1998, 16:51:36     System Name System Location System Contact   ------------------------ ------------------------ ------------------------   Catalyst 6000 Sunnyvale CA [email protected]   Catalyst 6000> (enable)     Console> (enable) set time Mon 06/15/98 12:30:00   Mon Jun 15 1998, 12:30:00   Console> (enable) show time   Mon Jun 15 1998, 12:30:02   Console> (enable)     Console> (enable) set banner motd #   Welcome to the Liaoning Shenyang Catalyst 6509 A Switch!   #   MOTD banner set   Console> (enable)     Console> (enable) set ip alias gsra 202.110.59.163   Console> (enable) set ip alias gsrb 202.110.59.164   Console> (enable) set ip alias switcha 202.110.59.168   Console> (enable) set ip alias switchb 202.110.59.169   IP alias added.   Console> (enable) show ip alias   default 0.0.0.0   sparc 172.20.52.3   cat6509 172.20.52.71   B. set the ip address and dns   Console> (enable) set interface sc0 202.110.59.168/28 (202.110.59.169/28 for 6509 B)   Interface sc0 IP address and netmask set.     Console> (enable) set interface sc0 10   Interface sc0 vlan set.     Console> (enable)   Console> (enable) show interface   sl0: flags=51    slip 0.0.0.0 dest 0.0.0.0   sc0: flags=63    vlan 5 inet 172.20.52.124 netmask 255.255.255.248 broadcast 172.20.52.17   Console> (enable)     Console> (enable) set ip dns server 202.96.75.68 primary   added to DNS server table as primary server.   Console> (enable) set ip dns server 202.96.64.68   added to DNS server table as backup server.   Console> (enable) set ip dns domain sy.ln.cn   Default DNS domain name set to sy.ln.cn   Console> (enable) set ip dns enable   DNS is enabled   Console> (enable) show ip dns   DNS is currently enabled.   The default DNS domain name is: corp.com     DNS name server status   ---------------------------------------- -------   dns_serv2   dns_serv1 primary   C. set the default gateway   Console> (enable) set ip route default 202.110.59.163 primary   Route added.   Console> (enable) set ip route default 202.110.59.164   Route added.   Console> (enable) show ip route   Fragmentation Redirect Unreachable   ------------- -------- -----------   enabled enabled enabled   The primary gateway: 10.1.1.1   Destination Gateway Flags Use Interface   ----------------------- ----------------------- ------ ---------- ---------   default 10.1.1.20 G 0 sc0   default 10.1.1.10 G 0 sc0   default 10.1.1.1 UG 12 sc0   10.0.0.0 10.1.1.100 U 0 sc0   default default UH 0 sl0   D. set the password   Console> (enable) set password   Enter old password:   Enter new password:   Retype new password:   Password changed.   Console> (enable) set enablepass   Enter old password:   Enter new password:   Retype new password:   Password changed.   Console> (enable)   E. configure the port (Omit)   Console> (enable) set port name 1/1 Router Connection   Port 1/1 name set.   Console> (enable) set port name 1/2 Server Link   Port 1/2 name set.   Console> (enable) show port 1   Port Name Status Vlan Duplex Speed Type   ----- ------------------ ---------- ---------- ------ ----- ------------   1/1 Router Connection connected trunk full 1000 1000BaseSX   1/2 Server Link connected trunk full 1000 1000BaseSX        Last-Time-Cleared   --------------------------   Wed Jun 16 1999, 16:25:57   Console> (enable)     Console> (enable) set port speed 2/1 auto   Port 2/1 speed set to auto-sensing mode.   Console> (enable)     Console> (enable) set port negotiation 2/1 disable   Port 2/1 negotiation enabled   Console> (enable) show port negotiation 2/1   Port Link Negotiation   ----- ----------------   2/1 enabled   Console> (enable)   F. test the connectivity   Console> (enable) ping somehost   somehost is alive   Console> (enable) traceroute somehost   traceroute to somehost.company.com (10.1.2.3), 30 hops max, 40 byte packets   1 engineering-1.company.com (173.31.192.206) 2 ms 1 ms 1 ms   2 engineering-2.company.com (173.31.196.204) 2 ms 3 ms 2 ms   3 gateway_a.company.com (173.16.1.201) 6 ms 3 ms 3 ms   4 somehost.company.com (10.1.2.3) 3 ms * 2 ms   G. Configuring an EtherChannel   Console> (enable) set port channel 2/2-8 desirable   Ports 2/2-8 left admin_group 1.   Ports 2/2-8 joined admin_group 2.   Console> (enable)   H. Configuring VTP   Console> (enable) set vtp domain Shenyang_Internet_Backbone   VTP domain Lab_Network modified   Console> (enable) set vtp mode server set vtp mode client on other 6509   VTP domain Lab_Network modified   Console> (enable) show vtp domain   Domain Name Domain Index VTP Version Local Mode Password   -------------------------------- ------------ ----------- ----------- ----------   Lab_Network 1
标签: