switchport access vlan 40
interface FastEthernet0/47
switchport access vlan 40
interface FastEthernet0/48
switchport access vlan 40
interface GigabitEthernet0/1
switchport mode trunk
interface GigabitEthernet0/2
switchport mode trunk
interface VLAN1
ip address 10.1.30.1 255.255.0.0
no ip directed-broadcast
no ip route-cache
ip default-gateway 10.1.0.1
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
end
bluestudy3_B#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
40 jiben 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,
Fa0/25, Fa0/26, Fa0/27, Fa0/28,
Fa0/29, Fa0/30, Fa0/31, Fa0/32,
Fa0/33, Fa0/34, Fa0/35, Fa0/36,
Fa0/37, Fa0/38, Fa0/39, Fa0/40,
Fa0/41, Fa0/42, Fa0/43, Fa0/44,
Fa0/45, Fa0/46, Fa0/47, Fa0/48
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
40 enet 100040 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
bluestudy3_B#
推荐阅读
- 小米4Win10怎么样 小米4Win10测评
- Catalyst 3550系列交换机
- 基于IP的下一代运营网络的发展与研究
- 基于NGN的IONE综合业务接入网
- Catalyst5500交换机VLAN设置
- 二 Cisco交换机综合实例
- 思科Catalyst3750交换机作为千兆位Linux集群互联
- Catalyst2900-XLand3500-XL Cisco交换机口令的恢复
- CiscoCatalyst交换机密码恢复策略
- CISCOCatalyst系列交换机的数据监控