Beruflich Dokumente
Kultur Dokumente
Router#
dir
WORD Directory or file name
flash: Directory or file name
nvram: Directory or file name
delete
WORD File to be deleted
flash: File to be deleted (fort ex: vlan.dat)
erase
startup-config Erase contents of configuration memory
reload
vlan database Configure VLAN database
Router#
show
interfaces Interface status and configuration
Ethernet, Fast, ... etc ... Ethernet IEEE 802.3, etc ...
switchport Show interface switchport information
trunk Show interface trunk information
Vlan Catalyst Vlans
<1-1005> Vlan interface number
port-security ?????
interface ... etc ...
running-config Current operating configuration
startup-config Contents of startup configuration
ip IP information
interface IP interface status and configuration
brief Brief summary of IP ...
Switch#
show
vtp VTP information
counters VTP statistics
password VTP password
status VTP domain status
spanning-tree Spanning tree topology
active Report on active interfaces only
vlan VLAN Switch Spanning Trees
WORD vlan range, example: 1,3-5,7,9-11
Switch#
configure terminal Enter config. mode from the terminal
spanning-tree Spanning Tree Subsystem
mode Spanning tree operating mode
pvst Per-Vlan spanning tree mode
rapid-pvst Per-Vlan rapid spanning tree mode
portfast Spanning tree portfast options
default Enable portfast ... on all access ports
vlan VLAN Switch Spanning Tree
WORD vlan range, example: 1,3-5,7,9-11
priority Set the bridge priority ...
<0-61440> bridge priority in increments of 4096
root Configure switch as root
primary Configure this switch as primary root ...
secondary Configure switch as secondary root
Etapes:
Router(config)#router ?
eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
ospf Open Shortest Path First (OSPF)
rip Routing Information Protocol (RIP)
Router(config)#router rip
Router(config-router)
> auto-summary Enter Address Family command mode
> default-information Control distribution of default information
originate Distribute a default route
> distance Define an administrative distance
<1-255> Administrative distance
> exit Exit from routing protocol configuration mode
> network Enable routing on an IP network
A.B.C.D Network number
> no Negate a command or set its defaults
> passive-interface Suppress routing updates on an interface
Ethernet ... IEEE 802.3
FastEthernet ... FastEthernet IEEE 802.3
GigabitEthernet ... GigabitEthernet IEEE 802.3z
Loopback .... Loopback interface
Serial .... Serial
Vlan .... Vlan interface
default ..... Suppress routing updates on all interfaces
> redistribute Redistribute info from another routing protocol
connected Connected
eigrp Enhanced Interior Gateway Routing Protocol
<1-65535> Autonomous system number
metric Metric for redistributed routes
<0-16> Default metric
transparent Transparently redistribute metric
ospf Open Shortest Path First (OSPF)
<1-65535> ... Process ID
match ... Redistribution of OSPF routes
external ... Redistribute OSPF external routes
internal ... Redistribute OSPF internal routes
nssa-external ... Redistribute OSPF NSSA external routes
metric ... Metric for redistributed routes
rip Routing Information Protocol (RIP)
metric Metric for redistributed routes
<0-16> Default metric
transparent Transparently redistribute metric
static Static routes
metric Metric for redistributed routes
<0-16> Default metric
transparent Transparently redistribute metric
> timers Adjust routing timers
basic Basic routing protocol update timers
<0-4294967295> Interval between updates
<1-4294967295> Invalid
<0-4294967295> Holddown
<1-4294967295> Flush
> version Set routing protocol version
<1-2> version
Commandes 6 / 11
Router(config)#router ospf ?
<1-65535> Process ID
Router(config-router) ?
> area ... OSPF area parameters
> default-information Control distribution of default information
originate Distribute a default route
> distance Define an administrative distance
<1-255> Administrative distance
> exit Exit from routing protocol configuration mode
> log-adjacency-changes Log changes in adjacency state
detail Log all state changes
> network Enable routing on an IP network
A.B.C.D Network number
A.B.C.D OSPF wild card bits
area Set the OSPF area ID
<0-4294967295> OSPF area ID as a decimal value
A.B.C.D OSPF area ID in IP address format
> no Negate a command or set its defaults
> passive-interface Suppress routing updates on an interface
Ethernet IEEE 802.3
FastEthernet .... FastEthternet IEEE 802.3
GigabitEthernet ... GigabitEthernet IEEE 802.3
Loopback ... Loopback interface
Serial ... Serial
Vlan ... Vlan interface
default .... Suppress routing updates on all interfaces
> redistribute Redistribute info from another routing protocol
connected Connected
eigrp ... Enhanced Interior Gateway Routing Protocol
metric ... Metric for redistributed routes
ospf ... Open Shortest Path First (OSPF)
rip .... Routing Information Protocol (RIP)
static ... Static routes
> router-id router-id for this OSPF process
A.B.C.D OSPF router-id in IP address format
Commandes 7 / 11
Router(config)#router eigrp ?
<1-65535> Autonomous system number
Router(config-router) ?
> auto-summary Enable auto. network number summarization
> distance Define an administrative distance
eigrp IP-EIGRP distance
<1-255> Distance for internal routes
<1-255> Distance for external routes
> exit Exit from routing protocol configuration mode
> metric Modify IGRP routing metrics and parameters
weights Modify IGRP coefficients
<0-8> Type Of Service (Only TOS 0 supported)
<0-256> K1 ... K2 .... K3 .... K4 .... K5
> network Enable routing on an IP network
A.B.C.D Network number
A.B.C.D EIGRP wild card bits
> no Negate a command or set its defaults
> passive-interface Suppress routing updates on an interface
Ethernet IEEE 802.3
FastEthernet .... FastEthternet IEEE 802.3 GigabitEthernet ...
GigabitEthernet IEEE 802.3
Loopback ... Loopback interface
Serial ... Serial
Vlan ... Vlan interface
default .... Suppress routing updates on all interfaces
> redistribute Redistribute info from another routing protocol
connected Connected
eigrp ... Enhanced Interior Gateway Routing Protocol
metric ... Metric for redistributed routes
ospf ... Open Shortest Path First (OSPF)
rip .... Routing Information Protocol (RIP)
static ... Static routes
> variance Control load balancing variance
<1-128> Metric variance Multiplier
Commandes 8 / 11
Encapsulation
Router(config)#
username
xxxx User name
password etc... Specify the password for the user
(sub)interface serial xx/xx(.yyy)
multipoint Treat as a multipoint link
point-to-point Treat as a point-to-point link
bandwidth Set bandwidth informational parameter
Router(config-if)#
encapsulation
hdlc Serial HDLC synchronous
Router(config-if)#
ppp quality percentage (optional) specifies the link quality … (range 1 to 100)
-----------------------------------------------------------------------------------------------------------------------------------------------
Router(config-if)#
compress
predictor (optional) using predictor compression algorithm
stac (optional) using Stacker (LZS) compression algorithm
SHOW
Router#
Commandes 9 / 11
show
interfaces … for all interfaces
interfaces serial … about a serial interface
frame-relay
lmi show frame relay lmi statistics
map Frame-Relay map table
pvc show frame relay pvc statistics
<16-1022> DLCI
interface show frame relay information on one interface
Serial xx/xx Serial
<16-1022> DLCI
access-lists List access lists
<1-199> ACL number
WORD ACL name
DEBUG - UNDEBUG
debug
ppp debugs ppp
packet
negotiation
error
authentication
compression
cbcp
frame-relay Frame Relay
lmi LMI packet exchanges with service provider
undebug all turns off all debugging displays
clear
frame-relay Clear Frame Relay information
inarp Clear inverse ARP entries from the map table
SECURITY
Router(config)
service Modify use of network based services
password-encryption Encrypt system passwords
enable Modify enable password parameters
password Assign the privileged level password
secret … etc … Assign the privileged level secret
Router(config-line)#
no password
transport or no transport Define transport protocols for line
input or output Define which … to use when ...
all All protocols
none No protocols
ssh TCP/IP SSH protocol
telnet TCP/IP Telnet protocol
ACCESS LIST
Router(config)#
username
xxxx User name
password etc... Specify the password for the user
Router(config)#
access-list ou no access-list Add (or delete) an access list entry
<1-99> IP standard access list
<100-199> IP extended access list
permit Specify packets to forward
deny Specify packets to reject
ip Any Internet Protocol (icmp / tcp / udp)
tcp Transmission Control Protocol
eigrp Cisco's EIGRP routing protocol
ospf OSPF routing protocol
host A single source host
xxx... yyy ... Source address & Wildcard bits
any Any source host
host A single destination host
xxx... yyy ... Destination address & Wildcard bits
any Any destination host
eq Match only packets on a given port number
gt Match only packets with a greater port number
lt Match only packets with a lower port number
neq Match only packets not on a given port number
range Match only packets in the range of port numbers
<0-65535> Port number
ftp File Transfer Protocol (21)
pop3 Post Office Protocol v3 (110)
smtp Simple Mail Transport Protocol (25)
telnet Telnet (23)
www World Wide Web (HTTP, 80)
remark Access list entry comment
R2(config)#
ip
access-list Named access-list
standard or extended Standard or Extended Access List
<1-99> Standard IP access-list number
WORD Access-list name
Router(config-if)#
ip
access-group Specify access control for packets
<1-199> IP access list (standard or extended)
WORD Access-list name
in inbound packets
out outbound packets
Router(config-line)#
access-class Filter connections based on an IP access list
<1-199> IP access list
WORD Access-list name
in Filter incoming connections
out Filter outgoing connections
Commandes 11 / 11