首页 > 学院 > 网络通信 > 正文

单臂路由的配置实例

2019-11-05 00:29:35
字体:
来源:转载
供稿:网友

  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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表