Documente Academic
Documente Profesional
Documente Cultură
vlan 5 (global command to create Vlan 5 and put the user into Vlan configuration mode)
name Test_Vlan (Vlan mode command to name a Vlan)
shutdown vlan 5 (global command that has the same effect as the “shutdown” Vlan mode command in Vlan 5)
switchport mode access (interface mode command that hard sets the interface into access mode)
switchport mode trunk (interface mode command that hard sets the interface into trunk mode)
switchport mode dynamic desirable (interface mode command that causes the interface to prefer trunking)
switchport mode dynamic auto (interface mode command that causes the interface to accept negotiation)
switchport access vlan 5 (interface mode command that sets the interface to being in access Vlan 5)
switchport trunk encapsulation dot1q (interface mode command that sets the trunk encapsulation to dot1q)
switchport trunk encapsulation isl (interface mode command that sets the trunk encapsulation to ISL)
switchport trunk encapsulation auto (interface mode command to enable trunk attempted autonegotiation)
switchport trunk native vlan 5 (interface mode command to specify the untagged Vlan on a trunk link as 5)
switchport nonegotiate (interface mode command that disables Vlan trunk negotiation)
switchport voice vlan 6 (defines Vlan 6 as being Vlan tagged on an access port to enable phone traffic)
switchport trunk allowed vlan add 5 (interface mode command that adds Vlan 5 to an existing trunk)
switchport trunk allowed vlan all (interface mode command that allows all Vlans on a trunk)
switchport trunk allowed vlan except 5 (interface mode command that allows all Vlans except 5 on a trunk)
switchport trunk allowed vlan remove 5 (interface mode command that removes Vlan 5 from a trunk)
switchport trunk allowed vlan 1-3,5 (interface mode command that allows Vlans 1-3 and 5 on a trunk)
show interfaces Gi1/0/1 switchport (lists administrative switchport information about the Gi1/0/1 interface)
show interfaces Gi1/0/1 trunk (lists trunk-related information about the Gi1/0/1 interface)
show vlan brief (lists a shorter, more summarized list of Vlan-related information for the device)
show vlan summary (lists a summarization of Vlan configuration details for the device)
show vlan id 5 (lists more detailed information specific to Vlan 5)
show vlan 5 “ “
show vlan name Test_Vlan (lists more detailed information about the Vlan named “Test_Vlan”)
VTP Commands
vtp domain tgfn (global command that specifies the VTP domain name as ‘tgfn’)
vtp password Nebraska01 (global command the specifies the VTP password as ‘Nebraska01’)
vtp mode server (global command that sets the VTP status as server)
vtp mode client (global command that sets the VTP status as client)
vtp mode transparent (global command that changes VTP mode to transparent)
vtp version 2 (global command to change the default VTP version from 1 to 2)
vtp pruning (global command to tell the VTP server to use VTP pruning on all switch links)
shutdown vlan 5 (global command that administratively disables Vlan 5)
show vtp status (displays the status of the current VTP domain)
show vtp password (displays the VTP password that’s currently set)
Etherchannel Commands
channel-group 1 mode on (interface command that creates EtherChannel 1 and forcibly puts the port into it)
channel-group 1 mode auto (interface command that creates EtherChannel 1 and enables active PAgP)
channel-group 1 mode desirable (interface command that creates EtherChannel 1 and enables passive PAgP)
channel-group 1 mode active (interface command that creates EtherChannel 1 and enables active LAcP)
channel-group 1 mode passive (interface command that creates EtherChannel 1 and enables passive LAcP)
show etherchannel summary (shows information regarding EtherChannel config and channels)
PPP/PPPoE Commands
interface dialer 1 (global command that creates PPP or PPPoE Dialer interface 1)
ip address negotiated (interface command that allows the user of PPP IPCP to discover an IP address)
mtu 1420 (interface command to define the MTU size for outbound packets)
encapsulation ppp (interface command that sets the encapsulation to PPP)
ppp chap hostname router.local (interface command that tells an interface to use a different hostname)
ppp chap password IsAwesome! (interface command that specifies the CHAP handshake password)
dialer pool 4 (interface command that references the dialer pool to use)
pppoe-client dial-pool-number (interface command to add the interface to a dialer interface pool)
pppoe enable (interface command to enable the PPPoE feature)
mac-address 0008.4526.9127 (interface command to specify a different MAC address for Layer 2 use)
show interfaces tunnel 1 (displays the status of tunnel interface ‘1’)
show interfaces dialer 1 (displays the status of dialer interface ‘1’)
show interfaces virtual-access 1 (displays the status of virtual access interface ‘1’)
show interfaces virtual-access 1 configuration (displays the IOS configuration or virtual access interface ‘1’)
show pppoe session interface Serial 0/1/0 (displays a brief status of PPPoE on the Serial 0/1/0 interface)
show pppoe session (displays the status of any active PPPoE sessions)
HSRP Commands
standby 5 ip 10.0.1.1 (interface command that enables HSRP on group number ‘5’ with shared IP ’10.0.1.1’)
standby 5 priority 110 (interface command that specifies the HSRP group ‘5’ priority as ‘110’)
standby 5 preempt (interface command that sets preemption for HSRP group ‘5’)
standby 5 name Vlan_5_Failover (interface command that sets HSRP group ‘5’ with a descriptive name)
standby version 2 (interface command that sets the HSRP version used for all groups to 2)
show standby (lists all details about HSRP status on interfaces, including counters)
show standby brief (lists line-item-style details about HSRP status on interfaces)
SNMP Commands
snmp-server community SMNP_Read RO ipv6 SNMP_BLOCK
o (specifies the SNMP read-only community string as ‘SNMP_Read’, and binds the SNMP_BLOCK IPv6 ACL)
snmp-server community SNMP_Write RW (specifies the SNMP write community string as ‘SNMP_Write’)
snmp-server location 123 S. 11th St. (sets the text to describe the physical location as the street address)
snmp-server contact Caleb Huggenberger (sets the text for the PoC for the equipment)
snmp-server host 192.168.1.1 version 2c SNMP_READ (sets the SNMP trap server IP, version, and string)
snmp-server host 192.168.1.1 informs version 2c SNMP_READ (same as above, except for inform packets)
snmp-server enable traps (enables the SNMP server to send traps and informs to all previously declared hosts)
show snmp community (shows a brief output of each configured community string)
show snmp contact (shows the contents of the ‘snmp-server contact’ string)
show snmp location (shows the contents of the ‘snmp-server location’ string)
show snmp host (shows the ‘snmp-server host’ parameters currently configured)
show snmp (shows a summary of the SNMP configuration present)
show snmp user (shows a short list of all the SNMP v3 users and their parameters)
show snmp group (shows a brief summary of the SNMP user group settings)
IP SLA Commands
ip sla 1 (global command to define IP SLA action number ‘1’)
icmp-echo 192.168.1.1 (IP SLA command to define an ICMP PING to 192.168.1.1)
icmp-echo 192.168.1.1 source-ip 192.168.0.1 (same as the above, but use a source IP address of 192.168.0.1)
frequency 60 (IP SLA command to set the execution interval to 60 seconds)
history filter all (IP SLA command to keep all historical data for the probe)
history buckets-kept 10 (IP SLA command to set the number of historical buckets of data to keep)
history enhanced interval 60 buckets 5 (IP SLA command for enhanced retention, 60 seconds and 5 buckets)
history lives-kept 1 (IP SLA command to enable keeping of historical data for the operation)
ip sla restart 1 (global command to restart IP SLA operation number ‘1’)
show ip sla summary (lists a line-item-style readout of the IP SLA operations configured)
show ip sla statistics 1 (lists statistics and historical data for IP SLA operation ‘1’)
show ip sla history 2 (lists the history buffer for IP SLA operation ‘2’)
show ip sla enhanced-history distribution-statistics 3 (displays any enhanced history for IP SLA operation 3)
SPAN Commands
monitor session 1 source interface Gi1/0/1 both (enables SPAN ‘1’ on Gi1/0/1 for inbound and outbound)
monitor session 2 source vlan 3 tx (enables SPAN ‘2’ on Vlan3 for outbound)
monitor session 3 destination interface Gi1/0/2 (enables SPAN ‘3’ to go to Gi1/0/2 for monitored traffic)
show monitor session 1 (shows information for the config on SPAN session ‘1’)
show monitor session all (shows information for the config on all SPAN sessions)
show monitor detail (lists more detailed output for SPAN port configuration)