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


monitor-port port module/port
no monitor-port port
Syntax Description
module Interface number between 0 and 2.
port Port interface number ranging from 1 to 27:1 to 25 Ethernet (fixed)26, 27 Fast Ethernet (fixed)Port channel

Default
No monitor port is defined.
Command Mode
Global configuration
Usage Guidelines
Use the arguments module/port for switched ports and modules only. One or more ports must be listed in the port capture list for frame monitoring to occur.
Example
This example shows how to set port 1 to receive monitored frames.
hostname(config)# monitor-port port 0/1
Related Commands
monitor-port
monitor-port (monitored)
multicast-store-and-forward
Use the multicast-store-and-forward global configuration command to set multicast traffic forwarding to store-and-forward mode. Use the no multicast-store-and-forward command to set multicast traffic forwarding to the method specified by the switching-mode command.
multicast-store-and-forward
no multicast-store-and-forward
Syntax Description
This command has no arguments or keywords.
Default
Store-and-forward switching for multicast traffic is disabled.
Command Mode
Global configuration
Example
This example shows how to set the multicast traffic forwarding to store-and-forward.
hostname(config)# multicast-store-and-forward

This example shows how to set the multicast traffic forwarding to the method specified by the switching-mode command.
hostname(config)# no multicast-store-and-forward
Related Command
switching-mode
network-port
Use the network-port global configuration command to set a network port. Use the no network-port command to clear a network port.
network-port module/port
no network-port
Syntax Description
module Module number from 0 to 2. Use the module argument only for switched modules.
port Port number from 1 to 27. Use the port argument only for switched ports.

Default
A network port does not exist.
Command Mode
Global configuration
Usage Guidelines
When you configure a port as a network port, the following restrictions apply:
?It does not learn addresses.

?It is the only destination for unknown address packets.
Example
The following example shows how to set port 2 as a network port.
hostname(config)# network-port 0/2
Related Command
show (port system)
pagp-port-priority
Use the pagp-port-priority interface configuration command to specify the Port Aggregation Protocol (PAgP) hot-standby priority for a single Fast Ethernet port.
pagp-port-priority priority
Syntax Description
priority Number from 0 to 255.

Default
The default priority is 128.
Command Mode
Interface configuration
Usage Guidelines
This command has the following restrictions:
?It is valid only at the physical port interface level and applicable only to a single-switched, Fast Ethernet port.
?It is not functional when bridge groups are enabled.
Example
The following example shows how to set the PAgP priority for Fast Ethernet port A to 100:
hostname(config)# interface fastethernet 0/26
hostname(config-if)# pagp-port-priority 100
Related Commands
port-channel (mode)
show (interfaces)
port-channel (preserve-order)
port-channel (template-port)
parity
Use the parity line-configuration command to set the parity of the port.
parity {none odd even mark space}
Syntax Description
none No parity.
odd Odd parity.
even Even parity.
mark Mark parity.
space Space parity.

Default
The default is no parity.
Command Mode
Line configuration
Example
The following example shows how to set the parity of an Ethernet port to odd:
hostname(config-line)# parity odd
Related Commands
autobaud
databits
line console
modem (dialin)
show (line)
show (terminal)
stopbits
terminal
password-thresh
Use the password-thresh line configuration command to limit the number of incorrect password attempts to the switch. Use the no password-thresh command to allow unlimited incorrect password attempts.

推荐阅读