1. Foreword
The configuration register is a 16-bit virtual register that specifies the order in which to start the router, interrupt parameters, and set the console baud rate. The value of the register is usually expressed in hexadecimal.
The configuration Command Config register allows you to change the value of the configuration register.
2. Start Order
Configure the last 4 bits of the register, specifying the location of the boot file that the router must use when it starts:
R>l 0x0000 d
the bound hostNote:The above command sets a port on the switch to bind a specific MAC address, so that only this host can use the network, if the NIC of the host is changed or another PC wants to use the network via this port, it will not be available unless the MAC address bound to the port is deleted or modified.Note:The preceding functions are applicable to Cisco 2950, 3550, 4500, and 6500 series switches.2. solution 2-Expanded access list based o
The introduction of vlan of a Huawei switch and three VMPS modes. In the explanation of vlan of a Huawei switch, there are three VMPS modes (but User Registration Tool, namely URT, only supports open mode ). How to configure dynamic vlan and VMPS of a CATALYST 4500 series switch? This article takes cisco ios 12.2 (31) SGA as an example.
1. Introduction to VMPS:
VMPS is short for the Huawei vlanMembership Policy Server. as its name implies, it is a cen
)# Delete the MAC address of the bound host
Note: The preceding command sets a port on the vswitch to bind a specific MAC address so that only the host can use the network, if the NIC of the host is changed or another PC wants to use the network via this port, it will not be available unless the MAC address bound to the port is deleted or modified.
Note: The above functions are applicable to Cisco 2950, 3550, 4500, and 6500 series switches.
2. solutio
This article discusses how to use PDB to debug Python without convenient ide tools. Program Source code example For example, there is a program to simulate tax calculation :#! /Usr/bin/Python Def debug_demo (VAL ): If Val Print "Level 1"Print 0Elif Val Print "Level 2"Print (Val-1600) * 0.05Elif Val Print "Level 3"Print (Val-3500) * 0.10 + (3500-1600) * 0.05Else:Print "Level 4"Print (Val-6500) * 0.20 + (6500-3500) * 0.10 + (3500-1600) * 0.05#~ Def debug_demoIf _ name _ = "_ main __":The debug_
average salary of all employees without changing the query results of the preceding statement. What should I do? It is difficult to query using common SQL statements, but using OLAP functions is very simple, as shown in the following SQL:
Select
Row_number () over () as serial number,
Row_number () over (partition by dept order by salary) as department number,
Name as name,
Dept as department,
Salary as salary,
AVG (salary) over (partition by dept) as average salary,
AVG (salary) over
scenario: P1 and P2 are located on each selfish network, each with its own NAT/FW, And the NAT/FW deployed by the ISP exists, this is a typical multi-layer NAT/FW situation. NA and NB indicate the NAT/FW of P1 and P2 respectively, and NC indicates the NAT/FW of ISP. In this case, for P1 and P2, there are three different IP addresses and ports. See table 1.Table 1 three different IP addresses/ports of P1 and P2IP address/port \ node P1, P2 P1 P2Private Network Address/port 10.0.0.1: 4321 10.1.1.
Socket Communication Process
Define variable -- get Winsock version -- load Winsock database -- initialize -- create socket -- set socket options -- close socket -- uninstall Winsock database -- release all resourcesThe entire program architecture is divided into two parts: the Server Client.Server socket program processSocket () → BIND () → listen → accept () → Recv ()/send () → closesocket ()Client:Socket → connect () → send ()/Recv () → closesocket ()Server code:# Include # Pragma co
Take the Cisco 2950 vswitch as an example. log on to the vswitch and enter the management password to enter the configuration mode. Then, run the following command:
Switch # config Terminal
# Enter the Configuration Mode
Switch (config) # interface fastethernet 0/1
# Enter the specific port configuration mode
Switch (config-If) # switchport port-secruity
# Configure port security mode
Switch (config-If) switchport port-security Mac-address MAC (MAC address of the host)
(Config-If) No switchport
security level, the security of Cisco routers is not higher than that of soft routers. Cisco uses Nat in the pix, which is basically the same as using NAT in its own IOS. Even so, Cisco routers are doing well in resisting DoS attacks, mainly because Cisco's IOS is not only an operating system, but also a routing/security software. This integration method is not only more concise than the software routing products that work on windows, but also enables fast updates whenever Cisco discovers a new
you still concerned about these things?Me: I often read some work books. Because my friends in my teenage years are on the assembly line and go back every year for the Chinese New Year, I hope I can have more common languages with them and understand their lives.Interviewer: Well, what is your expected monthly salary? Before tax? Don't eat.A: 4500 to 5500B: 3800 to 4500C: 4500 to 5500
Me: 4000 to
How to take up the rounding up to 500 increments
Conditions:
With 500 progression,
Rule: If it is now 4200, then automatically make it 4500, if it is now 4700, then become 5000;4500 or 5000 this same, please
------to solve the idea----------------------
$d = Array (4200, 4700, 5000, 4500);foreach ($d as $v) { printf ("%d:%d\n", $v, Ceil ($v/500) *500);}
4,200:4,5004,700:5,0005,000:5,0004,500:4,500
----
IntroducedWe have developed a tax calculator, after entering the salary, printing the tax payable.A tax calculation formula:
Taxable income = Salary amount-Various social insurance costs-starting point (3500 yuan)
Taxable amount = Taxable income x tax Rate-Calculator deduction
Each of the social insurance costs we set in this procedure is 0, do not consider.The tax rate and the Calculator deduction number corresponding table:
Taxable
Income amount
Tax r
denied.RootBinDaemonAdmLpSyncShutdownHaltMailNewsUucpoperatorGamesNobodyThis means: The default is to deny the user name under this file, and /etc/vsftpd/ftpusers the user in this file is also rejected!So root is not logged in.can also be added in the configuration file:userlist_deny=no1.userlist_deny=no so the user name in the user_list is allowed,But the /etc/vsftpd/ftpusers is still forbidden.The 2./etc/vsftpd/ftpusers file is controlled by this configuration file: vim/etc/pam.d/vsftpdSpeci
This paper mainly explains the process of estimating the current scene temperature in the white balance algorithm.The principle of color temperature calculation is not complicated, but to do well, or to do a good job of every step, this requires a lot of testing, and the algorithm is constantly improved.First, let's talk about the process briefly:1. Take a frame of image data and divide it into MXN blocks, assuming it is 25x25, and count the basic information of each block (the number of white p
semicolon (;), and \ r \ n means to enter a return line.
We have solved the PHP code start, terminator and code variable flags and equations, and other input problems, can now be specific to the production of the. php file operation. To make the program look like, we preset the contents of the. php file that is about to be generated: username (Dark Horse), login password (blackhorse), age (28), Revenue (4500). Here is the complete code to generate t
(SALARY) over () as full average wage from employ; The results of the query are as follows: Ordinal department ordinal name Department salary department average wage total salary 1 1 Zhang three marketing department 4000 4500 4000 2 2 Dick Marketing Department 5000 4500 4000 3 3 Harry Marketing department (NULL) 4500 4000 4 1 Zhaohong Tec
Calculation of level seven tax
Problem description: As of September 1, 2011, China's adjusted personal income tax collection method, starting point for 3500 yuan,
The excess portion is calculated at level 7 below:
1 over 0 to 1500 tax rate 3% calculating quickly deduction number 0
2 part of the tax rate of more than 1500 to 4500 yuan 10% calculating quickly deduction number 105
3 part of the tax rate of more than
)
# Remove the MAC address of the binding host
Attention:
The above command sets a port on the switch to bind a specific MAC address. So only this host can use the network, if the host's network card has been replaced or other PCs want to use the network through this port is not available, unless you delete or modify the port binding on the MAC address to normal use.
Attention:
The above functions apply to Cisco 2950, 3550, 4500, 6500 series Swit
= salary * 1.15WHERE salary >= andSalary This example, in fact, is very easy to see the problem, because the execution of these two conditional statements is separate operation, so there will be jitter, that is, after the first condition is executed, his salary becomes the condition that meets the second condition, it will be modified again.For example, the wages of passers-by IS 5000, after the first modification, it becomes 4500, it is clear that t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.