XORP CLICK 可用配置文件

interfaces {
 interface eth3 {
 
 /*default-system-config*/
 vif eth3 {
  disable:false
  address 192.168.2.101{
  prefix-length:24
  broadcast:192.168.1.255
  disable:false
  }
  
 }
 }
 interface eth2 {

        /*default-system-config*/
        vif eth2 {
                disable:false
                address 192.168.1.101{
                prefix-length:24
                broadcast:192.168.2.255
                disable:false
                }

        }
        }

}
protocols {
 static {

  route 192.168.2.0/24 {
   next-hop:192.168.2.101
   metric:1
  }
  route 192.168.1.0/24{
   next-hop:192.168.1.101
   metric:1
  }
 }
}
fea {
 unicast-forwarding4 {
 disable: false
 }
 click {
 disable: false
 duplicate-routes-to-kernel: false
  user-click {
  disable: false
  command-file: "/usr/local/bin/click"
  command-extra-arguments: "-R"
  command-execute-on-startup: true
  control-address: 127.0.0.1
  control-socket-port: 13000
  startup-config-file: "/dev/null"
  user-click-config-generator-file: "/usr/libexec/xorp-1.6/fea/xorp_fea_click_config_generator"
  }  
 }
}

posted on 2010-09-10 16:47  yangyh  阅读(356)  评论(0编辑  收藏  举报