共享一个CISCO未公开的命令“if-con”

王朝other·作者佚名  2008-05-19
宽屏版  字体: |||超大  

On Cisco 7500 you can connect you to the VIP boards for VIP commands (memory, cpu, etc.)

Router#if-con 2 con

Entering CONSOLE for VIP2 2

Type "^C^C^C" or "if-quit" to end this session

VIP-Slot2

VIP-Slot2?

Exec commands:

clear Reset functions

disable Turn off privileged commands

disconnect Disconnect an existing network connection

enable Turn on privileged commands

exit Exit from the EXEC

help Description of the interactive help system

lock Lock the terminal

login Log in as a particular user

logout Exit from the EXEC

name-connection Name an existing network connection

ping Send echo messages

resume Resume an active network connection

set Set system parameter (not config)

show Show running system information

systat Display information about terminal lines

terminal Set terminal line parameters

traceroute Trace route to destination

where List active connections

VIP-Slot2en

VIP-Slot2#sh ver

Cisco Internetwork Operating System Software

IOS (tm) VIP Software (SVIP-DW-M), Version 12.0(7), RELEASE SOFTWARE (fc1)

Copyright (c) 1986-1999 by cisco Systems, Inc.

Compiled Wed 13-Oct-99 22:05 by phanguye

Image text-base: 0x60010920, data-base: 0x60224000

ROM: System Bootstrap, Version 11.1(11368) [pgreenfi 17], INTERIM SOFTWARE

VIP-Slot2 uptime is 10 minutes

System restarted by power-on

Running default software

cisco VIP2 (R4700) processor (revision 0x02) with 8192K bytes of memory.

Processor board ID 00000000

R4700 processor, Implementation 33, Revision 1.0 (512KB Level 2 Cache)

4 Ethernet/IEEE 802.3 interface(s)

1 FastEthernet/IEEE 802.3 interface(s)

Configuration register is 0x0

VIP-Slot2#?

Exec commands:

cd Change current directory

clear Reset functions

clock Manage the system clock

configure Enter configuration mode

copy Copy from one file to another

debug Debugging functions (see also 'undebug')

delete Delete a file

dir List files on a filesystem

disable Turn off privileged commands

disconnect Disconnect an existing network connection

enable Turn on privileged commands

exit Exit from the EXEC

help Description of the interactive help system

lock Lock the terminal

login Log in as a particular user

logout Exit from the EXEC

more Display the contents of a file

name-connection Name an existing network connection

no Disable debugging functions

ping Send echo messages

pwd Display current working directory

reload Halt and perform a cold restart

resume Resume an active network connection

send Send a message to other tty lines

set Set system parameter (not config)

setup Run the SETUP command facility

show Show running system information

systat Display information about terminal lines

terminal Set terminal line parameters

test Test subsystems, memory, and interfaces

traceroute Trace route to destination

undebug Disable debugging functions (see also 'debug')

where List active connections

write Write running configuration to memory, network, or terminal

VIP-Slot2#

======= 2003-05-08 13:36:00 您在来信中写道:=======

network,您好!

You can identify your VIP2 model using the show diag command and observing either of the following output:

1.SRAM and DRAM memory

2.EEPROM value

Identifying the VIP2 Model Using show diag command and SRAM and DRAM Memory Output

Observe the memory configurations in the "Controller Memory Size" row to determine your VIP2 model, as follows:

Table 4 VIP2 Memory Configurations

VIP SRAM Memory DRAM Memory

VIP2-10 512 KB SRAM 8 MB DRAM

VIP2-15 1 MB SRAM 8 MB DRAM

VIP2-20 1 MB SRAM 16 MB DRAM

VIP2-40 2 MB SRAM 32 MB or 64 MB DRAM

--------------------------------------------------------------------------------

Note The VIP2-50 is a different motherboard, and in the show diag output you will see "VIP2 R5K controller".

--------------------------------------------------------------------------------

In the following example, observing the "Controller Memory Size" row of the show diag output shows a VIP2-40 installed.

doc-7507#show diag

Slot 0:

Physical slot 0, ~physical slot 0xF, logical slot 0, CBus 0

Microcode Status 0x4

Master Enable, LED, WCS Loaded

Board is analyzed

Pending I/O Status: None

EEPROM format version 1

VIP2 controller, HW rev 2.13, board revision A0

Serial number: 19430823 Part number: 73-1684-05

Test history: 0x00 RMA number: 00-00-00

Flags: cisco 7000 board; 7500 compatible

EEPROM contents (hex):

0x20: 01 15 02 0D 01 28 7D A7 49 06 94 05 00 00 00 00

0x30: 50 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00

Slot database information:

Flags: 0x4 Insertion time: 0x2064 (8w5d ago)

Controller Memory Size: 32 MBytes DRAM, 2048 KBytes SRAM

PA Bay 0 Information:

Fast-Ethernet PA, 1 ports, 100BaseTX-ISL

EEPROM format version 1

HW rev 1.04, Board revision B0

Serial number: 16749501 Part number: 73-1688-05

--Boot log begin--

Cisco Internetwork Operating System Software

IOS (tm) VIP Software (SVIP-DW-M), Version 12.1(6)E, EARLY DEPLOYMENT RELEASE S)

TAC Support: http://www.cisco.com/cgi-bin/ibld/view.pl?i=support

Copyright (c) 1986-2001 by cisco Systems, Inc.

Compiled Fri 16-Mar-01 22:16 by eaarmas

Image text-base: 0x60010940, data-base: 0x60380000

--Boot log end--

Identifying the VIP2 Model Using show diag command and EEPROM Value Output

Another method to determine your VIP model is to check the contents of the address in EEPROM in the show diag output. The values corresponding to each VIP type are shown in the table below:

Table 5 Distinguishing VIP2 Models Based on Show Diag Output

VIP2 EEPROM Value

VIP2-10, VIP2-15, VIP2-20, VIP2-40 0x15

VIP2-50 0x1E

Observing the "EEPROM contents (hex)" contents of the show diag output, the following example shows a VIP2-50 installed:

Router#show diag 10

Slot 10:

Physical slot 10, ~physical slot 0x5, logical slot 10, CBus 0

Microcode Status 0x4

Master Enable, LED, WCS Loaded

Board is analyzed

Pending I/O Status: None

EEPROM format version 1

VIP2 R5K controller, HW rev 2.02, board revision D0

Serial number: 17090200 Part number: 73-2167-05

Test history: 0x00 RMA number: 00-00-00

Flags: cisco 7000 board; 7500 compatible

EEPROM contents (hex):

0x20: 01 1E 02 02 01 04 C6 98 49 08 77 05 00 00 00 00

0x30: 68 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00

Slot database information:

Flags: 0x4 Insertion time: 0x18C0 (00:29:13 ago)

Controller Memory Size: 32 MBytes DRAM, 4096 KBytes SRAM

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有