电脑技术学习

单臂路由的配置实例

dn001

  2600 IOS需求:IP Plus (c2600-ik8s-mz-122.15.T.bin)
  

  Current configuration:
  !
  version 12.1
  service timestamps debug uptime
  service timestamps log uptime
  no service passWord-encryption
  !
  hostname c2600
  !
  no logging console
  enable password mysecret
  !
  !
  !
  !
  !
  ip subnet-zero
  !
  !
  !
  !
  !
  !
  !
  !
  !
  !
  interface FastEthernet0/0
  no ip address
  duplex auto
  speed auto
  !
  interface FastEthernet0/0.1
  encapsulation isl 1
  ip address 10.10.10.1 255.255.255.0
  no ip redirects
  !
  
  !-- If 802.1Q is configured,
  !-- you will instead see the following output
  !-- under interface FastEthernet0/0.1:
  !-- interface FastEthernet0/0.1
  !-- encapsulation dot1Q 1 native
  !-- ip address 10.10.10.1 255.255.255.0
  
  !
  !
  interface FastEthernet0/0.2
  encapsulation isl 2
  ip address 10.10.11.1 255.255.255.0
  no ip redirects
  !
  
  !-- If 802.1Q is configured,
  !-- you will instead see the following output
  !-- under interface FastEthernet0/0.2:
  !-- interface FastEthernet0/0.2
  !-- encapsulation dot1Q 2
  !-- ip address 10.10.11.1 255.255.255.0
  
  !
  interface FastEthernet0/1
  no ip address
  shutdown
  duplex auto
  speed auto
  !
  ip classless
  no ip http server
  !
  !
  !
  line con 0
  transport input none
  line aux 0
  line vty 0 4
  password mysecret
  login
  !
  no scheduler allocate
  end