当前位置: 首页 > 工具软件 > XORP > 使用案例 >

XORP CLICK 可用配置文件

章晗日
2023-12-01

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"
  }  
 }
}

转载于:https://www.cnblogs.com/yangyh/archive/2010/09/10/1823456.html

 类似资料: