By Gary A. Donahue
Book Price: $44.99 USD
£31.99 GBP
PDF Price: $35.99
Cover | Table of Contents | Colophon
speed and duplex interface commands in IOS.2950(config-if)#duplex half
Duplex can not be set until speed is set to non-auto value
speed command. If the interface has
previously been configured, you can return it to auto-negotiation with
the auto keyword:2950(config-if)#speed ?
10 Force 10 Mbps operation
100 Force 100 Mbps operation
auto Enable AUTO speed configuration
auto, full, or half:2950(config-if)#duplex ?
auto Enable AUTO duplex configuration
full Force full duplex operation
half Force half-duplex operation
write erase followed by a reload will not clear the VLAN database on
these switches. Configuring through the VLAN database is a throwback
to older models that offered no other way to manage VLANs. All newer
switches (including those with a VLAN database) offer the option of
configuring the VLANs through the normal IOS CLI. Switches like the
6500, when running in native IOS mode, only support IOS commands for
switch configuration.set vlan command:Switch1-CatOS# (enable)set vlan 10 name Lab-VLAN
VTP advertisements transmitting temporarily stopped,
and will resume after the command finishes.
Vlan 10 configuration successful
show vlan
command:Switch1-CatOS# (enable)sho vlan
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
1 default active 7 1/1-2
2/1-2
3/5-48
6/1-48
10 Lab-VLAN active 112
show interface capabilities, or the CatOS
command show port
capabilities:Switch1-CatOS#sho port capabilities
Model WS-X6K-SUP2-2GE
Port 1/1
Type 1000BaseSX
Auto MDIX no
AuxiliaryVlan no
Broadcast suppression percentage(0-100)
Channel yes
COPS port group 1/1-2
CoS rewrite yes
Dot1q-all-tagged yes
Dot1x yes
Duplex full
Fast start yes
Flow control receive-(off,on,desired),send-(off,on,desired)
Inline power no
Jumbo frames yes
Link debounce timer yes
Link debounce timer delay yes
Membership static,dynamic
Port ASIC group 1/1-2
QOS scheduling rx-(1p1q4t),tx-(1p2q2t)
Security yes
SPAN source,destination
Speed 1000
Sync restart delay yes
ToS rewrite DSCP
3550-IOS(config-if)#switchport mode trunk
Command rejected: An interface whose trunk encapsulation is "Auto" can not be
configured to "trunk" mode.
trunk
encapsulation is an unfortunate choice for the command
because, as you now know, 802.1Q does not encapsulate frames like
ISL does. Still, you must follow Cisco's syntax.) Once you've chosen
a trunking protocol, you are free to declare the port a
trunk:interface GigabitEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk
switchport mode access.switchport trunk allowed
command. These are the options for this command:3550-IOS(config-if)#switchport trunk allowed vlan ?
vlan 10 name IT ! vlan 20 name Personnel ! vlan 30 name Accounting ! vlan 40 name Warehouse1 ! vlan 50 name Warehouse2 ! vlan 60 name Shipping ! vlan 70 name MainOffice ! vlan 80 name Receiving ! vlan 90 name Lab ! vlan 100 name Production
vtp domain command:3550-IOS(config)#vtp domain GAD-Lab Changing VTP domain name from NULL to GAD-Lab 3550-IOS(config)# 1w4d: %DTP-5-DOMAINMISMATCH: Unable to perform trunk negotiation on port Fa0/20 because of VTP domain mismatch.
set vtp domain
command:Switch1-CatOS# (enable)set vtp domain GAD-Lab
VTP domain GAD-Lab modified
set port channel, and the commands to view
channels include
auto in PAgP and
passive in LACP), and an active
mode (desirable in PAgP and
active in LACP). Alternatively,
you can set the mode to on, thus
forcing the creation of the EtherChannel. The available protocols
and modes are outlined in .
desirable makes sense.
When connecting a Cisco switch to a non-Cisco device such as a
Solaris machine, use the
show interface
f0/15 command shows the input and output rates to be very
low (both are around 1,000 bits per second and 2–3 packets per
second):3550-IOS#sho int f0/15
FastEthernet0/15 is up, line protocol is up (connected)
Hardware is Fast Ethernet, address is 000f.8f5c.5a0f (bia 000f.8f5c.5a0f)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:10, output 00:00:00, output hang never
Last clearing of "show interface"