Appendix A: Commands Used in This Book

This appendix provides all the different commands used in this book and their meanings. Use this as a study aid and as a desk reference.

The following list includes the commands used in this book for the IOS-based switches.

Command

Meaning

Chapter

auto qos voip

Enables auto-qos on an interface

Chapter 9

class-map

Matches traffic to a class

Chapter 9

custom-queue-list
list_ number

Assigns the custom queue to an interface

Chapter 9

Ctrl+Shift+6, then X

Used as an escape sequence

Chapter 2

duplex

Sets the duplex of an interface, with half- or full- duplex

Chapter 2

enable secret
password

Sets the encrypted enable password of the switch

Chapter 2

hostname

Assigns a name to the Catalyst switch

Chapter 2

interface

Used to select an interface

Chapter 3

interface ethernet
module/port

Used to identify or set parameters on an interface on the switch

Chapter 2

interface
fastethernet module/
port

Displays or changes parameters on the FastEthernet interfaces

Chapter 2

ip address

Assigns an IP address to the switch

Chapter 2

ip cef

Enables Cisco Express Forwarding

Chapter 7

mls qos trust

Ensures that the CoS of the incoming frame is trusted

Chapter 9

no debug all(undebug
all)

Disables all debugging

Chapter 10

no spantree

Turns off spanning tree for a VLAN

Chapter 4

policy-map

Sets the policy for matched traffic

Chapter 9

port-channel mode

Enables an EtherChannel bundle

Chapter 5

priority-group
list_number

Assigns the priority list to an interface

Chapter 9

priority-list
list_number

Creates the priority queue parameters

Chapter 9

queue-list
list_number

Creates the custom queue parameters

Chapter 9

service-policy

Applies the policy to an interface

Chapter 9

show buffers

Displays the systems buffers

Chapter 10

show flash

Displays the contents of flash memory

Chapter 10

show ip cef

Displays the CEF interface conditions

Chapter 7

show mac-address-table

Displays the contents of the CAM

Chapter 10

show processes

Displays information about current system processes

Chapter 10

show run

Displays the running-config of the switch

Chapter 2

show spanning-tree

Used to view spanning tree information on a VLAN

Chapters 4 and 5

show spanning-tree
uplink- fast

Shows the UplinkFast parameters

Chapter 5

show tcam

Displays data about the Tertiary CAM activity

Chapter 10

show version

Displays the operating system version

Chapter 10

show vtp counters

Shows the switches' VTP configuration

Chapter 3

shutdown

Disables a particular interface

Chapter 2

spanning-tree

Turns on spanning tree for a VLAN

Chapter 4

spanning-tree cost

Configures a cost for an interface

Chapter 5

spanning-tree priority

Configures the priority for an interface

Chapter 5

spanning-tree start-
forwarding

Enables PortFast on an interface

Chapter 5

standby ip

Creates the HSRP address and enables HRP on an interface

Chapter 9

standby preempt

Enables active preempting on an interface

Chapter 9

standby track

Enables interface tracking related to an HSRP interface

Chapter 9

switchport

Sets the characteristics of the interface, including VLAN membership and trunk configurations

Chapter 3

vlan

Sets VLAN information

Chapter 3

vlan database

Enters VLAN configuration mode

Chapter 3

vtp

Changes the VTP mode to server, transparent, or client; sets the domain name and password

Chapter 3

wrr-queue bandwidth

Sets queue thresholds in weighted round robin queuing

Chapter 9

wrr-queue cos-map

Establishes the class of service queues

Chapter 9

The following list includes commands used for configuring the 4000 series switch in this book.

Command

Meaning

Chapter

clear mls entry
destination ip_
addr_spec source
ip_addr_ spec flow
protocol src_port
dst_port [all]

Allows all MLS entries to be cleared in addition to allowing specific entries to be terminated

Chapter 7

clear trunk

Clears VLANs from a trunked port

Chapter 3

Ctrl+C

Used as a break sequence

Chapter 2

Ctrl+Shift+6, then X

Used as an escape sequence

Chapter 2

show spantree
uplinkfast

Shows the UplinkFast parameters and statistics

Chapter 5

interface vlan #

Enables interface configuration mode for the specified VLAN interface

Chapter 6

ip cgmp proxy

Enables CGMP on the specified interface on routers

Chapter 8

ip igmp join-group
group_ address

Makes the router become an active member of the specified multicast group

Chapter 8

ip igmp version
(2|1)

Applied to the interface and used to change the version of IGMP used on that interface

Chapter 8

ip multicast ttl-
threshold ttl

Applied to all border interfaces to enforce the scope or boundary of the IP multicast network

Chapter 8

ip multicast-routing

Enables IP multicast forwarding on the router

Chapter 8

ip pim dense-mode

Enables PIM dense mode operation on the interface

Chapter 8

ip pim rp-address
ip_address
group_access_list_
number [override]

Manually configures an RP address on a multicast router

Chapter 8

ip pim send-rp-
announce type number\
scope ttl group_list
access_list_number

Assigns specific multicast group addresses to an RP. The RP can then only announce that it knows multicast groups permitted by the access list specified

Chapter 8

ip pim send-rp-
discovery scope ttl

Configures RP Mapping Agent and allows the router to discover all RPs and group assignments

Chapter 8

ip pim sparse-dense-
mode

Enables PIM sparse-dense mode operation on the interface

Chapter 8

ip pim sparse-mode

Enables PIM sparse mode operation on the interface

Chapter 8

mac-address

Sets a specific MAC address on an interface

Chapter 6

mls rp ip

Enables MLS on an external router, both global and interface specific

Chapter 7

mls rp management-
interface

Assigns the interface to the MLS-RP. This allows MLSP updates to use this interface

Chapter 7

mls rp vlan-id
vlan_id_ number

Assigns the interface the proper VLAN number

Chapter 7

mls rp vtp-domain
domain_ name

Assigns the interface to the VTP domain

Chapter 7

mtrace

Displays the forwarding path based on group membership or the RPF

Chapter 8

ping

Used for testing reachability

Chapter 8

session

Connects the CLI to a session on a route processor module

Chapter 6

set cgmp enable

Used on Catalyst switches to enable CGMP

Chapter 8

set enablepass

Configures the enable password on a set-based device

Chapter 2

set interface sco

Assigns an IP address to the management interface of the set-based switch

Chapter 2

set ip route

Configures a default route on a set-based switch

Chapter 6

set mls agingtime
agingtime

Sets the MLS aging time value to the specified value

Chapter 7

set mls agingtime
fast fastagingtime
pkt_threshold

Allows the fast aging time and packet threshold to be set

Chapter 7

set mls enable

Enables MLS on Catalyst switches. For most switches, this is set to on by default.

Chapter 7

set password

Configures the usermode password on a set- based device

Chapter 2

set port channel

Creates an EtherChannel bundle

Chapter 5

set port duplex

Sets the duplex of a port

Chapter 2

set port speed

Sets the speed of a port

Chapter 2

set qos map

Sets the class of service mappings on a port

Chapter 9

set spantree

Turns spanning tree off or on for a VLAN

Chapter 4

set spantree backbonefast

Enables BackboneFast for a switch

Chapter 5

set spantree fwddelay

Changes the forward delay time on a switch

Chapter 5

set spantree hello

Changes the BPDU hello time on a switch

Chapter 5

set spantree maxage

Sets how long a BPDU that is received will stay valid until another BPDU is received

Chapter 5

set spantree portcost

Sets the STP port cost

Chapter 5

set spantree portfast

Enables PortFast on a port

Chapter 5

set spantree portpri

Sets the STP port priority

Chapter 5

set spantree portvlanpri

Configures links to forward only certain VLANs

Chapter 5

set spantree root

Makes a set-based switch a root bridge

Chapter 5

set spantree uplinkfast

Enables UplinkFast on a port

Chapter 5

set system name

Assigns a name to the Catalyst switch

Chapter 2

set trunk

Configures trunking on a port

Chapter 3

set vlan

Creates a VLAN and also assigns a port to a VLAN

Chapter 3

set vtp domain

Sets the VTP domain name

Chapter 3

set vtp mode

Sets the VTP mode of the switch

Chapter 3

set vtp passwd

Sets the optional VTP password

Chapter 3

show config

Shows the configuration of the 5000 series switch

Chapters 2 and 6

show mls

Shows MLS information on a switch

Chapter 7

show mls entry

Provides MLS entry data on the MLS-SE

Chapter 7

show mls rp

Provides global MLS information

Chapter 7

show mls rp interface
interface

Provides interface-specific MLS information

Chapter 7

show mls rp vtp-
domain domain_name

Provides MLS information for the VTP domain

Chapter 7

show module

Shows the module and numbers of cards in the switch

Chapter 6

show port capabilities slot/
port

Shows the configuration of individual ports

Chapter 5

show port channel

Shows the status of an EtherChannel bundle

Chapter 5

show spantree

Shows the state of the STP per VLAN

Chapters 4 and 5

show vlan

Shows the configured VLANs

Chapter 3

show vtp domain

Shows the VTP domain configurations

Chapter 3

show vtp domain

Provides VTP domain information on the switch

Chapter 7



CCNP. Building Cisco Multilayer Switched Networks Study Guide (642-811)
CCNP: Building Cisco Multilayer Switched Networks Study Guide (642-811)
ISBN: 078214294X
EAN: 2147483647
Year: 2002
Pages: 174
Authors: Terry Jack

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net