CISCO交换机命令全集加说明3( 五 )


[C] Console Settings
[S] System
[N] Network Management
[P] Port Configuration
[A] Port Addressing
[D] Port Statistics Detail
[M] Monitoring
[V] Virtual LAN
[R] Multicast Registration
[F] Firmware
[I] RS-232 Interface
[U] Usage Summaries
[H] Help
[K] Command Line

[X] Exit Management Console

Enter Selection:
Related Commands
None
modem (dialin)
Use the modem dialin line configuration command to enable auto-answer dial-in on a port. Use the no modem dialin command to disable dial-in.
modem dialin
no modem dialin
Syntax Description
This command has no additional arguments or keywords.

Default
No modem dial-in is enabled.
Command Mode
Line configuration
Example
This example shows how to enable auto-answer dial-in.
hostname(config-line)# modem dialin
Related Commands
autobaud
databits
line console
modem (init-string)
parity
show (line)
show (terminal)
stopbits
terminal
modem (init-string)
Use the modem init-string line-configuration command to configure the modem initialization string. Use the no modem init-string command to delete the modem initialization string.
modem init-string init-string
no modem init-string
Syntax Description
init-string The initalization string provided by your modem manufacturer.

Default
No initialization string is sent to the modem.
Command Mode
Line configuration
Example
This example shows how to configure a Hayes-compatible modem to reset to defaults and to set the verbosity level to terse.
hostname(config-line)# modem init-string "Z V0"
Usage Guidelines
A default initialization string is provided by your modem manufacturer. Do not include the AT prefix or end-of-line suffix in your string.
Related Commands
autobaud
databits
line console
modem (dialin)
parity
stopbits
terminal
monitor-port
Use the monitor-port global configuration command to enable port monitoring. Use the no monitor-port command to disable monitoring.
monitor-port
no monitor-port
Syntax Description
This command has no arguments or keywords.
Default
No ports are monitored.
Command Mode
Global configuration
Usage Guidelines
Before you enable port monitoring, ensure that your capture list has one or more ports listed and a monitor port assigned. To add ports to the capture list, use the monitor-port monitored command. To assign a monitor port, use the monitor-port port command.
Example
This example shows how to enable port monitoring.
hostname(config)# monitor-port
Related Commands
monitor-port (monitored)
monitor-port (port)
show (port monitor)
monitor-port (monitored)
Use the monitor-port monitored global configuration command to add ports to the monitoring capture list. Use the no monitor-port monitored command to delete ports from the list.
monitor-port monitored [module/port]
no monitor-port monitored [module/port]
Syntax Description
module Interface number from 0 to 2.
port Port interface number ranging from 1 to 27:1 to 25 Ethernet (fixed)26, 27 Fast Ethernet (fixed)

Default
No ports are monitored.
Command Mode
Global configuration
Usage Guidelines
Use the arguments module/port for switched ports and modules only. If you do not specify the list of ports to add or delete in the no command form, all ports are deleted.

Example
This example shows how to add port 26 to the capture list.
hostname(config)# monitor-port monitored 0/26

This example shows how to delete port 2 from the capture list.
hostname(config)# no monitor-port monitored 0/2

This example shows how to delete all ports from the capture list.
hostname(config)# no monitor-port monitored
Related Commands
monitor-port
monitor-port (port)
monitor-port (port)
Use the monitor-port port global configuration command to specify the port to which monitored frames are sent. Use the no monitor-port port command to clear the monitor port.

推荐阅读