F5命令行配置配置手册
- 格式:docx
- 大小:33.45 KB
- 文档页数:11
BIG-IP 系统命令
bigstart Restarts the SNMP agent bigsnmpd.
bigtop Displays real-time statistics.
Config Configures the IP address, network mask, and gateway on the management (MGMT) port.
Use this command at the BIG-IP system prompt prior to licensing the the BIG-IP system,
and do not confuse it with the bigpipe config command or the BIG-IP Configuration utility.
halt Shuts down the BIG-IP software application.
hostname Displays the name you have given to the BIG-IP system.
printdb Prints the values of one or more entries in the bigdbTM database.
reboot Reboots the BIG-IP system.
ssh and scp Access command line interfaces on other SSH-enabled devices, and copy files to or from a
BIG-IP system.
自定义Bigpipe shell名称
输入bigpipe shell进入shell模式,然后输入:
bp> shell prompt
bp> shell prompt BIG-IP>
系统Shell名称将变成:
BIG-IP>
Bigpipe Shell逃避特性
在F5的Bigpipe Shell Prompt模式下,无法执行Linux的命令集,这个时候可以使用此特性避开此限制,在Linux命令前加”!”.
BIG-IP>!ls //查看目录
BIG-IP>!ifconfig //查看接口配置
BIG-IP网络组件
• Interfaces
• Routes
• Self IP addresses
• Packet Filters
• Trunks (802.3ad Link Aggregation)
• Spanning Tree Protocol (STP)
• VLANs and VLAN groups
• ARP
配置Packet Filtering
命令: bigpipe packet filter
你可以定义一个包过滤规则来提供访问控制,速率shaping,审计.
配置路由
命令:route (
F5的Show Tech
[root@XXXX:Standby] config # qkview
Getting systemwide backup configuration files.
Getting AOM information.
Getting last 175 lines of log files.
Getting last 175 lines of gzipped log files.
Getting md5 sum information.
Getting core file list.
Getting Public Certificate information.
Getting tmctl information.
completed... 6 of 161 checks produced no data
Diagnostic information has been saved in file /var/tmp/-tech.out
Please send this file to **************.
BIP-IP帮助
BIG-IP>pool help //查看pool帮助
BIP-IP Bigtop命令
[root@ISAG-2:Standby] config # bigtop conn
bigtop - display real-time statistics
-bytes display counts in bytes (vs bits)
-pkts display counts in packets (vs bits)
-reqs display counts in requests (vs connections)
-vips
-nodes
-once print once and exit
-delay
-scroll disable full-screen mode
-nosort disable sorting
-conn sort by connection count (vs byte count)
-delta sort by count since last sample (vs total)
-n print IP address and services in numeric format
-vname display virtual servers by name (vs IP address)
-help, -h print this message
日志文件系统
To change the size of the log file
1. Access the BIG-IP system prompt.
2. Stop the BIG-IP system or put the system into a safe condition such as standby
mode using the bigstart stop command.
3. Type the following command:
resize-logFS
This command prompts you for the desired file size in gigabytes.
4. At the prompt, type an integer. The minimum allowed value is 1, and the maximum allowed value is 10.
A prompt appears that allows you to confirm the specified file size.
5. Type Y.
A message appears, notifying you of the need for the BIG-IP system to perform a
reboot, followed by a prompt, which allows you to permit the reboot operation.
Note: Prior to rebooting, the BIG-IP system verifies that the integer you typed in step
3 is within the allowed range, and checks to ensure that enough disk space exists for
the specified size.
6. Type Y.
A confirmation prompt appears.
7. Type Y.
The system displays messages indicating that the reboot operation is about to occur.
8. Wait for the reboot operation to finish.
When the system becomes available again, the newly-specified disk space for the log
file will be in effect.
WARNING
Do not delete the files: /shared/.LoopbackLogFS and /shared/LogFS_README,
because this action deletes all of your log files.
启用/禁用虚拟服务或虚拟地
To enable or disable a virtual server
To enable or disable a virtual server, use the appropriate command syntax:
bp> virtual
To enable or disable a virtual address, use the appropriate command syntax:
bp> virtual address
从服务中移出单个的Node
You can remove an individual node from service, or return an individual node to
service from the bigpipe shell command line.
To remove an individual node from service, use the following command:
bp> node
To return an individual node to service, use this command:
bp> node
查看修改F5系统配置文件
BIG-IP系统包含许多配置文件,存放着必需的信息.你可以使用你喜爱的文件编辑器来编辑或者查看这些文件,当你没有条件使用浏览器时,有时候修改配置文件很有必要.这就需要F5的无浏览器配置模式和命令行配置模式
Important:
在你编辑完 bigip.conf or bigip_base.conf 重启 MCPD service之前, 你必须运行
bigpipe load 确保 MCPD service 使用的是当前的配置数据
BIG-IP system configuration 常用文件
alert.conf Stores definitions of SNMP traps (system default alerts).