Cisco路由技术:静态路由的应用配置实例思科认证

文章作者 100test 发表时间 2009:06:15 07:19:21
来源 100Test.Com百考试题网


  静态路由的应用
  Switch 0 的配置:
  Switch>.en
  Switch>.enable
  Switch#conf
  Switch#configure
  Switch#configure terminal
  Enter configuration commands, one per line. End with CNTL/Z.
  Switch(config)#int
  Switch(config)#interface f0/1
  Switch(config-if)#no swi
  Switch(config-if)#no switchport
  %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
  %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#
  Switch(config-if)#ip add
  Switch(config-if)#ip address 1.1.1.1 255.0.0.0
  Switch(config-if)#no shut
  Switch(config-if)#no shutdown
  Switch(config-if)#exit
  Switch(config)#int
  Switch(config)#interface f
  Switch(config)#interface fastEthernet 0/2
  Switch(config-if)#ip add
  Switch(config-if)#no sw
  Switch(config-if)#no switchport
  %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
  %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSwitch(config-if)#
  Switch(config-if)#ip addre
  Switch(config-if)#ip address 2.2.2.1 255.0.0.0
  Switch(config-if)#no shut
  Switch(config-if)#no shutdown
  Switch(config-if)#exit
  Switch(config)#ip route 4.0.0.0 255.0.0.0 f
  Switch(config)#ip route 4.0.0.0 255.0.0.0 f?
  FastEthernet
  Switch(config)#ip route 4.0.0.0 255.0.0.0 fa
  Switch(config)#ip route 4.0.0.0 255.0.0.0 fastEthernet 0/2
  Switch(config)#no shut
  Switch(config)#exit
  %SYS-5-CONFIG_I: Configured from console by console
  Switch#show ip route
  Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
  D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
  N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
  E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
  i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
  * - candidate default, U - per-user static route, o - ODR
  P - periodic downloaded static route
  Gateway of last resort is not set
  C 1.0.0.0/8 is directly connected, FastEthernet0/1
  C 2.0.0.0/8 is directly connected, FastEthernet0/2
  S 4.0.0.0/8 is directly connected, FastEthernet0/2
  Switch#
  Switch#show ?
  access-lists List access lists
  adjacency Adjacent nodes
  arp Arp table
  cdp CDP information
  clock Display the system clock
  controllers Interface controllers status
  crypto Encryption module
  debugging State of each debugging option
  dhcp Dynamic Host Configuration Protocol status
  etherchannel EtherChannel information
  flash: display information about flash: file system
  frame-relay Frame-Relay information
  history Display the session command history
  hosts IP domain-name, lookup style, nameservers, and host table
  interfaces Interface status and configuration
  ip IP information
  ipv6 IPv6 information
  mac-address-table MAC forwarding table
  ospf For OSPF debug only
  ospfv3 For OSPFv3 debug only
  processes Active process statistics
  protocols Active network routing protocols
  running-config Current operating configuration
  sessions Information about Telnet connections
  spanning-tree Spanning tree topology
  ssh Status of SSH server connections
  startup-config Contents of startup configuration
  tcp Status of TCP connections
  terminal Display terminal configuration parameters
  users Display information about terminal lines
  version System hardware and software status
  vlan VTP VLAN status
  vtp Configure VLAN database
  Switch#show ip ?
  access-lists List access lists
  arp IP ARP table
  cef Cisco Express Forwarding
  dhcp Show items in the DHCP database
  eigrp IP-EIGRP show commands
  interface IP interface status and configuration
  nat IP NAT information
  ospf OSPF information
  protocols IP routing protocol process parameters and statistics
  rip IP RIP show commands
  route IP routing table
  ssh Information on SSH
  Switch#show ip int
  Switch#show ip interface ?
  Ethernet IEEE 802.3
  FastEthernet FastEthernet IEEE 802.3
  GigabitEthernet GigabitEthernet IEEE 802.3z
  Loopback Loopback interface
  Serial Serial
  Vlan Catalyst Vlans
  brief Brief summary of IP status and configuration
  <.cr>.

相关文章


ADSL或被VDSL2替代网速将提升数十倍思科认证
IPv6突如其来企业准备好应对了吗?思科认证
思科认证辅导:十法打造安全VoIP思科认证
按图索骥初始配置CISCOWSC2950T24交换机思科认证
Cisco路由技术:静态路由的应用配置实例思科认证
OSPF实验:基本的OSPF配置思科认证
浅谈经济危机提高企业安全性的十种方法思科认证
VLAN实验:三层交换原理思科认证
思科认证辅导:让黑客远离DNS和SMTP服务器攻击思科认证
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛