09-17-2002
Cisco ISO basic command
hi,I am describeing basic command about cisco Ios .my english not well,so that has error on the article ,I hope that you give directions to me.
A. Check command for basic router
show version
show processes
show protocols
show mem
show ip route
show startup-config
show running-config
show flash
show interfaces
B. configure command for basic router
enter£ºconfig terminal/memory/network
be often used command when configure networking£ºcopy and load
1£® identification £ºhostname
2£® start identification £ºbanner
3£® interface£ºinterface number
4£® password£ºline 0 6
login
passwd password
enable password/secret password
5£® interfac£º
1£©configure interface
interface number
clock rate £¨64000£©
bandwidth £¨default 56£©
media-type
early-token release
ring-speed 16
no shutdown
write memory
2£©check interface
show interfaces
show controllers
6£® configure interface
1£© way of loading
boot system flash IOS-filename
boot system tftp IOS-filename tftp-address
boot system rom
2£© configure Register value
config-register 0x2102
7£® showing neighbor router
show cdp interface
show cdp neighbors [detail]
show cdp entry routerA !
8£® IP Address configure
Ip ad dress
Ip host hostname address
Ip name-server sever1,sever2
Ip domain-lookup nsap
Show hosts
Ping hostname/ip address
Trace hostname/ip address
D¡¢ IP router
1£® static router
ip routing
ip route
2£® default router
ip default-network network number
3£® dynamic router
1£© RIP configure
Router rip
Network number
Show ip route
Show ip protocol
Debug ip
2£© OSPF configure
Router ospf
Redistribute other router protocol
Network !
Area range
Area default-cost
Ip ospf priority number
Ip ospf cost
Show ip ospf database
3£© BGP configure
Router bgp
Redistribute
Network
Aggregate-address summary-only
Neighbor remote-as
E¡¢ flux cortrol
1£© passiveness interface
passive interface
2£© default router
ip default
3£© static router
ip route nbsp
4£©ACL list
( all) access-list {permit|deny} [ established]
access-list {permit|deny} IP/TCP
access-group in|out
distribute-list in|out interface
4£© Null 0 interface
Ip route address mask null 0
E¡¢ configure net
1£© PPP
Ppp pap sent-usename
Ppp chap hostname
Ppp chap password
2£©X.25
encapsulation x25 [dce]
x25 address
x25 map
x25 pvc pvc
ip switching
x25 ro! ute x.121
2£© FrameRelay
Frame-relay local-dlci IP
Frame-relay map
Frame-relay lmi-type ansi
6 More Discussions You Might Find Interesting
1. Tips and Tutorials
A
at : execute commands at a specified time/date.
awk: a scripting language, especially useful for manipulating text and automation.
B
bash : invokes the Bourne Again Shell (standard on most boxes).
batch: execute comands when load permits.
bc : interactive C-like calcultor (integers... (6 Replies)
Discussion started by: binhnx2000
6 Replies
2. UNIX for Advanced & Expert Users
Hi All,
I am connected to a cisco router and I want to know the hostname of this router.
I connect as telnet <IPADDRESS>
and the prompt shows
vpnaccess-bristol>
But I want to know the full hostname of the router how can i do that.
When i type the hostname command the following... (3 Replies)
Discussion started by: rahulrathod
3 Replies
3. Shell Programming and Scripting
We have two files with results of two commands of cisco:
one file; showintstatus, have the following format:
Gi2/6 servidorlij connected 176 full 1000 10/100/1000BaseTsecond file; showmacaddrestable, have the following format:
* 162 0021.9b8d.073e dynamic Yes 0 ... (1 Reply)
Discussion started by: robonet
1 Replies
4. Red Hat
Hello Everyone,
Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
I came across the %V switch in the date command which displays the ISO week number, with Monday as first day of week (01..53).
for Saturday, Jun 30 2012, the % V option comes up as 26. I've tried to read up on this but i'm unable to comprehend how this value is calculated.
Is... (2 Replies)
Discussion started by: Irishboy24
2 Replies
6. IP Networking
Is there an easy way to stack Cisco 2960-S and Cisco 2960X switches? If you have no idea, follow this:
1. Stacking is not supported on switches running the LAN Lite image. All switches in the stack must be running the LAN Base image.
2. In a mixed stack of Catalyst 2960-X and Catalyst 2960-S... (0 Replies)
Discussion started by: Ayaerlee
0 Replies
LEARN ABOUT REDHAT
snmpnetstat
SNMPNETSTAT(1) Net-SNMP SNMPNETSTAT(1)
NAME
snmpnetstat - show network status using SNMP
SYNOPSIS
snmpnetstat [common arguments] [-a] [-n] host
snmpnetstat [common arguments] [-iors] [-n] host
snmpnetstat [common arguments] [-i] [-n] [-I interface] host [interval]
snmpnetstat [common arguments] [-a] [-n] [-P protocol] host
DESCRIPTION
The snmpnetstat command symbolically displays the values of various network-related information retrieved from a remote system using the
SNMP protocol. There are a number of output formats, depending on the options for the information presented. The first form of the com-
mand displays a list of active sockets. The second form presents the values of other network-related information according to the option
selected. Using the third form, with an interval specified, snmpnetstat will continuously display the information regarding packet traffic
on the configured network interfaces. The fourth form displays statistics about the named protocol.
The hostname specification may be either a host name or an internet address specified in "dot notation".
The version 1 and version 2c community specifies the community name for the transaction with the remote system.
The options have the following meaning:
-a With the default display, show the state of all sockets; normally sockets used by server processes are not shown.
-i Show the state of all of the interfaces.
-o Show an abbreviated interface status, giving octets in place of packets. This is useful when enquiring virtual interfaces (such as
Frame-Relay circuits) on a Cisco router.
-I interface
Show information only about this interface; used with an interval as described below.
-n Show network addresses as numbers (normally snmpnetstat interprets addresses and attempts to display them symbolically). This
option may be used with any of the display formats.
-P protocol
Show statistics about protocol, which is either a well-known name for a protocol or an alias for it. Some protocol names and
aliases are listed in the file /etc/protocols. A null response typically means that there are no interesting numbers to report.
The program will complain if protocol is unknown or if there is no statistics routine for it.
-s Show per-protocol statistics.
-r Show the routing tables. When -s is also present, show routing statistics instead.
The default display, for active sockets, shows the local and remote addresses, protocol, and the internal state of the protocol. Address
formats are of the form ``host.port'' or ``network.port'' if a socket's address specifies a network but no specific host address. When
known the host and network addresses are displayed symbolically according to the data bases /etc/hosts and /etc/networks, respectively. If
a symbolic name for an address is unknown, or if the -n option is specified, the address is printed numerically, according to the address
family. For more information regarding the Internet ``dot format,'' refer to inet(3N). Unspecified, or ``wildcard'', addresses and ports
appear as ``*''.
The interface display provides a table of cumulative statistics regarding packets transferred, errors, and collisions. The network
addresses of the interface and the maximum transmission unit (``mtu'') are also displayed.
The routing table display indicates the available routes and their status. Each route consists of a destination host or network and a
gateway to use in forwarding packets. The flags field shows the state of the route (``U'' if ``up''), whether the route is to a gateway
(``G''), whether the route was created dynamically by a redirect (``D''), and whether the route has been modified by a redirect (``M'').
Direct routes are created for each interface attached to the local host; the gateway field for such entries shows the address of the outgo-
ing interface. The interface entry indicates the network interface utilized for the route.
When snmpnetstat is invoked with an interval argument, it displays a running count of statistics related to network interfaces. This dis-
play consists of a column for the primary interface and a column summarizing information for all interfaces. The primary interface may be
replaced with another interface with the -I option. The first line of each screen of information contains a summary since the system was
last rebooted. Subsequent lines of output show values accumulated over the preceding interval.
SEE ALSO
snmpcmd(1), iostat(1), vmstat(1), hosts(5), networks(5), protocols(5), services(5).
BUGS
The notion of errors is ill-defined.
4.2 Berkeley Distribution 21 Aug 2000 SNMPNETSTAT(1)