H3C wireless configuration

switch wlan function

wlan enable open
undo wlan enable close wlan function

Enter the global configuration view

Use the wlan global-configuration command to enter the global configuration view.
The effective configuration of an AP depends on the configuration with the highest priority among the AP, AP group, and global configuration. The priorities from high to low are AP view configuration, AP group view configuration, and global view configuration. If the configuration with high priority does not exist, the AP uses the configuration with low priority. If there is no AP configuration, use the default value in the view with the lowest priority.

Set up the dialing control list of the dialing access group

The dialer-rule command is used to set the dialer control list of the dialer access group, so as to set the conditions for the DCC calls of the dialer access group to occur. Use the undo dialer-rule command to cancel this setting.
By configuring the dial-up control list, you can filter various packets passing through the dial-up interface. According to whether the packet meets the pass (permit) or deny (deny) condition of the dialer ACL control list
If a dialer interface cannot find the corresponding dialer-rule according to the configured dialer-group, DCC discards the packet as an Uninteresting packet.

dial interface view

dialer-group group-number Enter the number view.
The dialer-group command is used to place the interface in a dialer access group (Dialer Access Group). The dialer rule of the dialer access group is specified by dialer-rule. Use the undo dialer-group command to remove an interface from a dialer access group.

A DCC interface can only belong to one dialer access group, and repeated configuration of the dialer-group command will overwrite the previous configuration.

Control the sending function of ICMP destination unreachable packets

Use the ip unreachables enable command to enable the device to send ICMP destination unreachable packets.
Use the undo ip unreachables enable command to disable the device from sending ICMP destination unreachable packets.
The function of sending ICMP destination unreachable message is to discard the message and send an ICMP destination unreachable error message to the source end if a destination unreachable error occurs after the device receives an IP data message.

The device will send the destination unreachable message when the following conditions are met:
1. When the device forwards the message, if it does not find the corresponding forwarding route in the routing table, and there is no default route in the routing table, it will send " Network unreachable" ICMP error message;
2. When the device receives a data message with a local destination address, if the device does not support the transport layer protocol used by the data message, it will send a "protocol unreachable" ICMP error message to the source 3.
When the device receives a data packet whose destination address is local and whose transport layer protocol is UDP, if the port number of the packet does not match the process being used, it will send a "port unreachable" ICMP error report to the source 4.
If the source end uses "strict source routing" to send packets, when the intermediate device finds that the next device specified by the source route is not on the network directly connected to it, it will send "source station routing failure" to the source end.
5. When the device is forwarding the message, if the MTU of the forwarding interface is smaller than the length of the message, but the message is set to be non-fragmentable, it will send a message "Fragmentation is required but no segmentation is set" to the source . Chipbit" ICMP error message.

Controls the sending function of ICMP timeout packets of the device.

The ip ttl-expires enable command is used to enable the device to send ICMP expired packets.
Use the undo ip ttl-expires enable command to disable the device from sending ICMP time-out packets.
The ICMP overtime packet sending function is to discard the packet and send an ICMP timeout error packet to the source if a timeout error occurs after the device receives the IP data packet.

The device will send an ICMP timeout message when the following conditions are met:
1. After the device receives the IP data message, if the destination of the message is not local and the TTL field of the message is 1, it will send a "TTL timeout" ICMP error message 2.
After the device receives the first fragment of the IP data packet whose destination address is local, it starts the timer. If the timer times out before all the fragmented packets arrive, it will send an ICMP error report of "reassembly timeout" arts.
It should be noted that after disabling the function of sending ICMP timeout packets, the device will no longer send "TTL timeout" ICMP error packets, but "reassembly timeout" ICMP error packets will still be sent normally.

Set load sharing mode

The ip load-sharing mode command is used to configure the load sharing mode.
Use the undo ip load-sharing mode command to restore the default.
(Independent mode)
1. ip load-sharing mode { per-flow [ algorithm algorithm-number [ seed seed-number ] [ shift shift-number ] | [ dest-ip | dest-port | ip-pro | src-ip | src-port ] * | tunnel { inner | outer } ] } { global | slot slot-number }
2. undo ip load-sharing mode [ per-flow tunnel ] { global | slot slot-number }
(IRF mode)
1 、ip load-sharing mode { per-flow [ algorithm algorithm-number [ seed seed-number ] [ shift shift-number ] | [ dest-ip | dest-port | ip-pro | src-ip | src-port ] * | tunnel { inner | outer } ] } { chassis chassis-number slot slot-number | global }
2. undo ip load-sharing mode [ per-flow tunnel ] { chassis chassis-number slot slot-number | global }
Load balancing is performed flow by flow based on the source IP address, destination IP address, source port, destination port, and IP protocol number of the packet.

Configure the access point when accessing the 4G network

The apn command is used to configure the access point when accessing the 4G network.
The undo apn command is used to delete the access point when accessing the 4G network.

dynamic: dynamic access point, the access point name is assigned by the operator during dial-up negotiation.
static apn: Specifies the access point name provided by the operator, a string of 1 to 100 characters, whether case-sensitive or not depends on the operator.

Specifies the 4G Modem parameter template used by the interface

The apn-profile apply command is used to specify the 4G Modem parameter template used by the interface.
Use the undo apn-profile apply command to restore the default.
After the apn-profile apply command is configured, the 4G Modem will use the dial-up parameters configured in the 4G Modem parameter template to negotiate with the carrier's core network equipment.
When the backup 4G Modem parameter template is configured, the 4G Modem will use the backup parameter template for dialing if the dial-up fails using the main parameter template. Regardless of whether the backup parameter template is successfully dialed, the main parameter template is still used for dialing the next time.
The configuration of this command will take effect in the next dial-up and will not affect the current dial-up result.

Create a 4G Modem parameter template

The apn-profile command is used to create a 4G Modem parameter profile.
Use the undo apn-profile command to delete a 4G Modem parameter profile.
When the 4G Modem parameter template is associated with a 4G interface, the configuration of the parameter template will take effect. When you need to delete a 4G parameter profile, you must first delete all associations with 4G interfaces.

Switching the SNMP Agent function

The snmp-agent command is used to enable the SNMP Agent function.
Use the undo snmp-agent command to disable the SNMP Agent function.
SNMP is a network management standard protocol widely used in TCP/IP networks. This protocol can support network management systems to monitor devices connected to the network for any management concerns. SNMP adopts the polling mechanism and provides the most basic function set, which is suitable for small, fast and low-cost environments. Moreover, SNMP is carried by User Datagram Protocol (UDP) messages, so it is supported by most devices and guarantees Management information is transmitted at any two points, making it easy for administrators to retrieve information at any node on the network for troubleshooting.

snmp-agent local-engineid Configure the SNMP engine ID of this device

Guess you like

Origin blog.csdn.net/PanJWei/article/details/128291141