Configuration
Configuration
Switch(config)#vtp
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet1/0/2 (99), with Switch GigabitEthernet0/2 (1).
Switch(config)#vtp do
Switch(config)#vtp domain aait
Changing VTP domain name from NULL to aait
Switch(config)#vtp p
Switch(config)#vtp password 123
Setting device VLAN database password to 123
Switch(config)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet1/0/2 (99), with Switch GigabitEthernet0/2 (1).
Switch(config)#inter
Switch(config)#interface gig1/0/6
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/6, changed state
to down
Switch(config-if)#sw
Switch(config-if)#switchport tr
Switch(config-if)#switchport trunk al
Switch(config-if)#switchport trunk allowed vl
Switch(config-if)#switchport trunk allowed vlan 20
Switch(config-if)#sw
Switch(config-if)#switchport tr
Switch(config-if)#switchport trunk n
Switch(config-if)#switchport trunk native vl
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet1/0/2 (99), with Switch GigabitEthernet0/2 (1).
Switch(config-if)#exit
Switch(config)#
Switch(config)#inter
Switch(config)#interface gig1/0/7
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/7, changed state
to down
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#interface range gigabitEthernet 1/0/3-5
Switch(config-if-range)#int
Switch(config-if-range)#?
arp Set arp type (arpa, probe, snap) or timeout
bandwidth Set bandwidth informational parameter
cdp Global CDP configuration subcommands
channel-group Etherchannel/port bundling configuration
channel-protocol Select the channel protocol (LACP, PAgP)
delay Specify interface throughput delay
description Interface specific description
exit Exit from interface configuration mode
hold-queue Set hold queue depth
ip Interface Internet Protocol config commands
ipv6 IPv6 interface subcommands
mdix Set Media Dependent Interface with Crossover
no Negate a command or set its defaults
power Power configuration
service-policy Configure QoS Service Policy
shutdown Shutdown the selected interface
spanning-tree Spanning Tree Subsystem
speed Configure speed operation.
storm-control storm configuration
switchport Set switching mode characteristics
tx-ring-limit Configure PA level transmit ring limit
Switch(config-if-range)#sw
Switch(config-if-range)#switchport mod
Switch(config-if-range)#switchport mode tr
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/3, changed state
to down
Switch(config-if-range)#sw
Switch(config-if-range)#switchport tr
Switch(config-if-range)#switchport trunk all
Switch(config-if-range)#switchport trunk allowed vl
Switch(config-if-range)#switchport trunk allowed vlan 10,20,30
Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/3, changed state
to down
Switch(config-if-range)#sw
Switch(config-if-range)#switchport tr
Switch(config-if-range)#switchport trunk n
Switch(config-if-range)#switchport trunk native vl
Switch(config-if-range)#switchport trunk native vlan 99