Forum Discussion
Hamish
Apr 03, 2012Cirrocumulus
BigIP LTM and Nexus 7k NX-OS
Does anyone out there run BigIP (Viprion) connected to Cisco Nexus 7k switches? Do you use vPC's? Or just 1:1 port-channels? Any problems? (Sorry, we're looking at this in de...
sorry i am wrong.
[root@ve1023:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
log local0. "\[HTTP::host\]: [HTTP::host]"
log local0. "\[HTTP::uri\]: [HTTP::uri]"
HTTP::header replace Host "www.abc.com"
HTTP::uri "/abc"
virtual bar102
}
}
[root@ve1023:Active] config b virtual bar102 list
virtual bar102 {
snat automap
pool foo102
destination 1.1.1.1:80
ip protocol 6
rules myrule102
profiles {
http {}
tcp {}
}
vlans none enable
}
[root@ve1023:Active] config b rule myrule102 list
rule myrule102 {
when HTTP_REQUEST {
log local0. "\[HTTP::host\]: [HTTP::host]"
log local0. "\[HTTP::uri\]: [HTTP::uri]"
}
}
[root@ve1023:Active] config curl -I http://172.28.19.79
HTTP/1.1 404 Not Found
Date: Thu, 15 Mar 2012 14:34:10 GMT
Server: Apache/2.2.3 (CentOS)
Content-Type: text/html; charset=iso-8859-1
[root@ve1023:Active] config cat /var/log/ltm
Mar 15 07:40:03 local/tmm info tmm[4797]: Rule myrule : [HTTP::host]: 172.28.19.79
Mar 15 07:40:03 local/tmm info tmm[4797]: Rule myrule : [HTTP::uri]: /
Mar 15 07:40:03 local/tmm info tmm[4797]: Rule myrule102 : [HTTP::host]: www.abc.com
Mar 15 07:40:03 local/tmm info tmm[4797]: Rule myrule102 : [HTTP::uri]: /abc
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects