4. Capítulo Discusión
4.2 Determinación de factores que contribuyen a la explicación del crecimiento del
[Introduction]
Use “logging on” to enable log function, use “no logging on” to disable log function. [no] logging on
[Parameter] N/A [Default]
Log function is enabled [Command Modes]
[Usage Guide]
Enable log function
[Explanation of command execution echo]
set successfully! set fail!
[Example]
Enable log function logging on
[Related command] Command Description
Logging console enable output direction of log console logging monitor enable output direction of log monitor logging file enable output direction of log file logging time-stamp Set time stamp of log information logging rate set output speed of log
show logging show log information
3.78. logging rate
[Introduction]
Set sending speed of log information, use “no” to restore default setting. logging rate <1-65535>
no logging rate [Parameter]
<1-1000> Log number of every second send [Default]
Not limit sending speed of log [Command Modes]
Global configuration mode and privileged user [Usage Guide]
Set send speed of log information [Explanation of command execution echo]
· set successfully!
·set fail!
[Example]
Set every second to send 100 item logs most. Raisecom(config)# logging rate 100
[Related command] Command Description
Logging console Enable output direction of log console logging monitor Enable output direction of log monitor logging file Enable output direction of log file logging time-stamp Set time stamp of log information show logging Show log information
3.79. logging time-stamp
[Introduction]
logging time-stamp { standard | relative-start | null } [no] logging time-stamp
[Parameter]
date-time Absolute time after startup relative-start relative time of system enabled null not add time stamp
[Default]
Use date-time [Command Modes]
Global configuration mode and privileged user [Usage Guide]
Use this command to set time stamp information of system using. Date-time mmm-dd-yyyy hh-mm-ss
Relative time hh-mm-ss
[Explanation of command execution echo]
set successfully! set fail!
[Example]
Enable log relative time
Raisecom(config)#logging time-stamp relative-start
[Related command] Command Description
Logging console Enable output direction of log console logging monitor Enable output direction of log monitor logging file Enable output direction of log file logging rate Set output speed of log
show logging show log information
3.80. logout
[Introduction]
Use “logout” to exit login state. logout
[Parameter] N/A [Command Modes]
Privileged EXEC and privileged user [Usage Guide]
When finish configuring system, use this command to exit login state, if other user want to configure switch again in console, it need to login afresh.
[Explanation of command execution echo] N/A
[Example]
Raisecom#logout
[Related command] N/A
3.81. loopback-detection
[Introduction]
Start/close the loopback-detection on designated port.
loopback-detection { enable | disable } port-list { portlist | all } [Parameter]
enable enable loopbak-detection function. disable disable loopback detection function.
portlist physical port number, range from 1-26, use “, ”and“-”to set the input of different ports;
all all the ports; [Default]
Enable the loopback-detection for all the ports. [Command Modes]
Global configuration mode; privileged user (priority 15). [Usage Guide]
User with priority 15 can use this command. [Explanation of command execution echo]
Failed to set loopback-detection on port X! Set successfully
Set unsuccessfully
[Example]
start the loopback-detection function for port 6~10
Raisecom(config)# loopback-detection enable port-list 6-10
start the loopback-detection function for all the ports.
Raisecom(config)# loopback-detection enable port-list all
Close the loopback-detection function for port 7~9
Raisecom (config)# loopback-detection disable port-list 7-9
Close the loopback-detection function for all the ports Raisecom (config)# loopback-detection disable port-list all [Related command]
command description show loopback-detection Show the state information of all the ports
3.82. loopback-detection hello-time
[Introduction]
Set the hello time of loopback-detection (the time interval of sending loopback-detection packet). Use no command to recover the default setting. loopback-detection hello-time <1-65535>
no loopback-detection hello-time [Parameter]
1-65535 time interval of loopback-detection, second as the unit. [Default]
The loopback detection packets will be sent every 4 seconds. [Command Modes]
Global configuration mode; privileged user (priority 15). [Usage Guide]
Only the privileged user with priority 15 can use this command. [Explanation of command execution echo]
Set successfully
[Example]
set the loopback-detection interval to 3 seconds.
Raisecom(config)# loopback-detection hello-time 3
recover the loopback-detection interval to default setting.
Raisecom (config)# no loopback-detection hello-time
[Related command]
command description show loopback-detection Show state of port loopback-detection.
3.83. loopback-detection destination-address
[Introduction]
Set the mac type of loopback-detection, it could be unit cast , multicast or broadcast address, and the mac aging time will be zero. The default loopback-detection mac is broadcast.
loopback-detection destination-address [ mac-address vlan vlan-id ] [Parameter]
mac-address configure the target MAC address. vlan-id VLAN ID;
[Default]
Broadcast address. [Command Modes]
Global configuration mode; privileged user(priority 15). [Usage Guide]
only the privileged user with priority 15 can use this command. [Explanation of command execution echo]
Failed to set loopback-detection destination address! Set successfully
[Example]
Set the loopback-detection packet to broadcasting packet.
Raisecom(config)# loopback-detection destination-address
Recover the loopback-detection packet to particular MAC.
Raisecom (config)# loopback-detection destination-address 1234.1234.1234
vlan 1
[Related command]
command description show loopback-detection Show the status of loopback-detection
3.84. loopback-detection down-time
[Introduction]
When the loop is detected on a switch, the relative port will be shutdown, and this time will decide the shutdown time.
loopback-detection down-time {<0-65534> | infinite} [Parameter]
<0-65534> time when the state of loopback port is “down”, second as the unit, 0 stands for do not shutdown the port which has loop;
infinite stands for shutdown the relative port and will not recover automatically [Default]
Infinite. [Command Modes]
Physical Physical port configuration mode; privileged user( priority 15). [Usage Guide]
only the user with priority 15 can use this command. [Explanation of command execution echo]
Set unsuccessfully on port X! Set successfully
[Example] N/A
[Related command]
command description show loopback-detection Show state of port loopback-detection
3.85. mac-access-list
[Introduction]
Set MAC access control list, use “no” command to delete. [Command format]
mac-access-list <0-399> (deny|permit) (ip|arp|rarp|any|HHHH) (HHHH.HHHH.HHHH | any) (HHHH.HHHH.HHHH | any)
[Parameter]
0-399 The number of MAC access control list,range from 0 to 399 permit: permit access if conditions are matched.
deny deny access if conditions are matched
Protocol: protocol type in the frame head which is denoted by name or numerical value. The protocol type can be ip, arp, rarp, any, and the number value is from 0-0xFFFF. If the value is set to any or 0, it stands for all the protocols.
[Default] N/A [Command Modes]
Global configuration mode; privileged user. [Usage Guide]
Use this command to define a MAC ACL, parameter permit | deny is used to set the switch whether to permit or deny the access of the packet. This command is only used to set the filter rule, generally speaking, and it should be applied to physical port or VLAN to be effective.
[Explanation of command execution echo]
Set successfully Set unsuccessfully!
[Example]
mac-access-list 10 deny any 1234.1234.1234 1111.2222.3344
[Related command]
command description no mac-access-list
({0-399}|all)
Delete all MAC access control list show mac-access-list
[{0-399}]
3.86. mac-address-table aging-time
[Introduction]
Set aging time of MAC address,use “no”command to recover to default configuration.
mac-address-table aging-time {0 | time} [schedule-list list-no] no mac-address-table aging-time [schedule-list list-no] [Parameter]
aging-time aging time;
0 the mac address will not be aged;
time aging time, unit is second, range from 3-765;
schedule-list set the starting time, ending time, time interval of periodical task. list-no range from <0-99>;
[Default]
Aging time is 300 second. [Command Modes]
Global configuration mode, privileged user. [Usage Guide]
Only users whose priority is 15 can use the command. [Explanation of command execution echo]
SUCCESS!
This operation failed !
[Example]
Set aging time of MAC address is 500 second.
Raisecom(config)# mac-address-table aging-time 500
Set forbid MAC address to age
Raisecom(config)# mac-address-table aging-time 0
Resume default value of MAC address aging time.
Raisecom(config)# no mac-address-table aging-time
[Related command] Command Description
show aging-time Show aging time of MAC address
3.87. mac-address-table learning
[Introduction]
Enable and disable MAC address study function of physical port.
mac-address-table learning {enable | disable} port-list {all | port-number} [schedule-list list-no]
[Parameter]
enable enable study function disable disable study function port-list physical port list all all the physical ports
port-number the number of port, range from 1 to 26; use comma to separate, ie: 1,85,23;
schedule-list set the starting time, ending time, time interval of periodical task list-no range from <0-99>;
[Default]
[Command Modes]
Global configuration mode, privileged user. [Usage Guide]
Only users whose priority is 15 can use the command. [Explanation of command execution echo]
Set successfully
Set port XX unsuccessfully! The input port list is wrong!
[Example]
Disable MAC address study function of port 5,10
Raisecom(config)#mac-address-table learning disable port-list 5,10
Enable MAC address study function of port 5,10
Raisecom(config)#mac-address-table learning enable port-list 5,10
[Related command]
Command Description show interface port Show one or all port state.