kodi
Switch>EN
Switch#CONF T
Enter
configuration commands, one per line. End with CNTL/Z.
Switch(config)#VLAN 2
Switch(config-vlan)#NAME PUSHTI
Switch(config-vlan)#EXIT
Switch(config)#VLAN 3
Switch(config-vlan)#NAME
SARIQ
Switch(config-vlan)#EXIT
Switch(config)#END
Switch#
%SYS-5-CONFIG_I: Configured
from console by console
Switch#
Switch#
Switch#
Switch#SHOW VLAN BRIEF
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
2
PUSHTI active
3 SARIQ active
1002 fddi-default active
1003
token-ring-default active
1004
fddinet-default active
1005 trnet-default active
Switch#
Switch#
Switch#CONF T
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#INTERFACE FA0/2
Switch(config-if)#SWITCHPORT MODE ACCES
Switch(config-if)#SWITCHPORT ACCES VLAN 2
Switch(config-if)#EXIT
Switch(config)#INTERFACE FA0/4
Switch(config-if)#SWITCHPORT MODE ACCES
Switch(config-if)#SWITCHPORT ACCES VLAN 3
Switch(config-if)#EXIT
Switch(config)#END
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#SHOW VLAN BRIEF
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/3, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24
2 PUSHTI active Fa0/2
3 SARIQ active Fa0/4
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Switch#
Switch#CONF T
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#INTERFACE FA0/5
Switch(config-if)#SWITCHPORT
MODE TRUNK
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
Switch#
%SYS-5-CONFIG_I: Configured from console by console