|
|
2
Use the protocol-filtering command to enable protocol filtering on the Catalyst 6000 family switch. Use the no form of this command to disable protocol filtering.
protocol-filteringSyntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Modes
Global configuration mode.
Examples
This example shows how to enable the protocol filtering feature:
Router(config)#protocol-filteringRouter(config)#
Related Commands
show protocol-filtering
switchport protocol
Use the real command to identify a real server that is a member of the server farm and to enter real server configuration submode. From here, you can configure the real server attributes. Use the no form of this command to remove the real server from the SLB configuration.
real ip-address
Syntax Description
ip-address IP address of the real server.
Defaults
This command has no default setting.
Command Modes
Global configuration mode.
Examples
This example shows how to enter real server configuration submode:
Router-config# real 1.2.3.4 Router(config-if)#
This example shows how to remove a real server from the SLB configuration:
Router-config# no real 1.2.3.4 Router(config-if)#
Related Commands
reassign
retry
weight
maxconns
faildetect numconns (refer to Cisco IOS documentation)
inservice (refer to Cisco IOS documentation)
Use the reassign command to define the number of consecutive number of SYNs for a new connection that will go unanswered before the connection is attempted to a different real server. Use the no form of this command to change the maximum number of connections to the default value.
reassign threshold
Syntax Description
threshold Number of unanswered TCP SYNs that will be directed to a real server before the connection is reassigned to a different real server; valid values are from 1 to 4.
Defaults
The default threshold is 3.
Command Modes
Real server configuration submode.
Usage Guidelines
If you do not specify the threshold, the default value of the reassignment threshold is used.
Examples
This example shows how to define the reassignment threshold:
Router(config-if)# reassign 4 Router(config-if)#
This example shows how to revert to the default value:
Router(config-if)# no reassign Router(config-if)#
Related Commands
real
retry
maxconns
weight
faildetect numconns (refer to Cisco IOS documentation)
inservice (refer to Cisco IOS documentation)
Use the remote command command to execute a switch command directly on the RP without having to log into the switch first.
remote command command
Syntax Description
command Command to be executed.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Usage Guidelines
This command does not support command completion for the command to execute remotely, but you can use shortened forms of the command (for example, entering sh for show).
Examples
This example shows how to execute the switch command from the RP:
Router#remote command show calendarSwitch-sp#13:55:01 Pacific Mon Dec 6 1999Router#
Use the remote login command to access the switch console.
remote loginSyntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Modes
Privileged EXEC mode.
Usage Guidelines
When you execute the remote login command, the prompt changes to Switch-sp#.
Examples
This example shows how to perform a remote login to the switch console:
Console (enable)#remote loginSwitch-sp#
Related Commands
debug earl
debug ehsa
debug l2-mgr events
debug ltl
debug mls rp
debug pagp
debug spanning-tree backbonefast
debug spanning-tree switch
debug spanning-tree uplinkfast
Use the reset command to leave the proposed new VLAN database but remain in VLAN configuration mode, and reset the proposed new database to be identical to the VLAN database currently implemented.
resetSyntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Modes
VLAN configuration mode.
Examples
This example shows how to cause the proposed new VLAN database to be abandoned and reset to the current VLAN database:
Router(vlan)#resetRESET completed.Router(vlan)#
Use the retry command to define the amount of time that must elapse before a connection is attempted to a failed server. Use the no form of this command to change the connection reassignment threshold and client threshold to the default values.
retry retry-value
Syntax Description
retry-value Amount of time, in seconds, that must elapse after the detection of a server failure before a new connection is attempted to the server; valid values are from 1 to 3600.
Defaults
The default retry timer is 60.
Command Modes
Real server configuration submode.
Examples
This example shows how to define the retry timer:
Router(config-if)# retry 145 Router(config-if)#
This example shows how to revert to the default value:
Router(config-if)# no retry Router(config-if)#
Related Commands
real
weight
maxconns
faildetect numconns (refer to Cisco IOS documentation)
inservice (refer to Cisco IOS documentation)
Use the show bootflash: command to display information about the bootflash: file system.
show bootflash: [all | chips | filesys] [ | {begin | exclude | include} expression]
Syntax Description
all (Optional) Keyword to display all possible Flash information. chips (Optional) Keyword to display Flash chip information. filesys (Optional) Keyword to display file system information. | begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
User EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display image information:
Router>show bootflash:-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name1 .. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c6msfc-boot-mz2 .. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halleyRouter>
This example shows how to display file system status information:
Router>show bootflash: filesys-------- F I L E S Y S T E M S T A T U S --------Device Number = 0DEVICE INFO BLOCK: bootflashMagic Number = 6887635 File System Vers = 10000 (1.0)Length = 1000000 Sector Size = 40000Programming Algorithm = 39 Erased State = FFFFFFFFFile System Offset = 40000 Length = F40000MONLIB Offset = 100 Length = C628Bad Sector Map Offset = 3FFF8 Length = 8Squeeze Log Offset = F80000 Length = 40000Squeeze Buffer Offset = FC0000 Length = 40000Num Spare Sectors = 0Spares:STATUS INFO:WritableNO File Open for WriteComplete StatsNo Unrecovered ErrorsNo Squeeze in progressUSAGE INFO:Bytes Used = 917CE8 Bytes Available = 628318Bad Sectors = 0 Spared Sectors = 0OK Files = 2 Bytes = 917BE8Deleted Files = 0 Bytes = 0Files w/Errors = 0 Bytes = 0Router>
This example shows how to display all bootflash information:
Router>show bootflash: all-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name1 .. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c6msfc-boot-mz2 .. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halley6456088 bytes available (9534696 bytes used)-------- F I L E S Y S T E M S T A T U S --------Device Number = 0DEVICE INFO BLOCK: bootflashMagic Number = 6887635 File System Vers = 10000 (1.0)Length = 1000000 Sector Size = 40000Programming Algorithm = 39 Erased State = FFFFFFFFFile System Offset = 40000 Length = F40000MONLIB Offset = 100 Length = C628Bad Sector Map Offset = 3FFF8 Length = 8Squeeze Log Offset = F80000 Length = 40000Squeeze Buffer Offset = FC0000 Length = 40000Num Spare Sectors = 0Spares:STATUS INFO:WritableNO File Open for WriteComplete StatsNo Unrecovered ErrorsNo Squeeze in progressUSAGE INFO:Bytes Used = 917CE8 Bytes Available = 628318Bad Sectors = 0 Spared Sectors = 0OK Files = 2 Bytes = 917BE8Deleted Files = 0 Bytes = 0Files w/Errors = 0 Bytes = 0Router>
Use the show bootvar command to display BOOT environment variable information.
show bootvar [ | {begin | exclude | include} expression]
Syntax Description
| begin (Optional) Keyword to specify the output display begins with the line that matches the expression. | exclude (Optional) Keyword to specify the output display excludes lines that match the expression. | include (Optional) Keyword to specify the output display includes lines that match the specified expression. expression Expression in the output to use as a reference point.
Defaults
This command has no default setting.
Command Modes
User EXEC mode.
Usage Guidelines
When you specify an expression, remember that it is case sensitive. For example, if you enter | exclude output, the lines that contain "output" are not displayed, but the lines that contain "Output" are displayed.
Examples
This example shows how to display BOOT environment variable information:
Router#show bootvarBOOT variable = sup:msfc,1;CONFIG_FILE variable does not existBOOTLDR variable does not existConfiguration register is 0x0Router#
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Jul 20 15:30:22 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.