二层模拟实验gyx2

更新时间:2024-01-28 12:51:01 阅读量: 教育文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

2013-07-05 13:14:26 @5-LINKUPDOWN:Fa0/24 changed state to up

RACK7-S2126>conf t

^ % Invalid input detected at '^' marker.

RACK7-S2126>en 12 4 Password:

RACK7-S2126# RACK7-S2126# RACK7-S2126#

RACK7-S2126#conf t

Enter configuration commands, one per line. End with CNTL/Z. RACK7-S2126(config)# RACK7-S2126(config)# RACK7-S2126(config)# RACK7-S2126(config)# RACK7-S2126(config)#

RACK7-S2126(config)#wlan 10

% Invalid input detected at '^' marker.

RACK7-S2126(config)#vllan an1 10

2013-07-05 13:18:47 @5-CONFIG:Configured from outband

RACK7-S2126(config-vlan)#interface rangg e fastethernet vlan

% Invalid input detected at '^' marker.

RACK7-S2126(config-vlan)#end

2013-07-05 13:20:10 @5-CONFIG:Configured from outband RACK7-S2126#sh van lan

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

^ shvan ^ Fa0/22,Fa0/23,Fa0/24 10 VLAN0010 active

RACK7-S2126#vlan 10

^ % Invalid input detected at '^' marker.

RACK7-S2126#conf t

Enter configuration commands, one per line. End with CNTL/Z. RACK7-S2126(config)#vlan 10

2013-07-05 13:21:32 @5-CONFIG:Configured from outband

RACK7-S2126(config-vlan)#interface range fastetherney 0/ f0 F0/5

% Invalid input detected at '^' marker.

RACK7-S2126(config-vlan)# RACK7-S2126#com n

Enter configuration commands, one per line. End with CNTL/Z. RACK7-S2126(config)# RACK7-S2126(config)# RACK7-S2126(config)# RACK7-S2126(config)#

RACK7-S2126(config)#interface range fastethernet F0/1-5 2013-07-05 13:23:09 @5-CONFIG:Configured from outband

Interface range not validated - command rejected

RACK7-S2126(config)#interface range fastethernet F0/1-5 0/1-5 2013-07-05 13:24:15 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#switchport mode access

2013-07-05 13:24:43 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#switchport access c vlan 10 2013-07-05 13:24:55 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#eixt

% Invalid input detected at '^' marker.

RACK7-S2126(config-if-range)#exit

2013-07-05 13:25:10 @5-CONFIG:Configured from outband RACK7-S2126(config)#v; lan 20

2013-07-05 13:25:17 @5-CONFIG:Configured from outband RACK7-S2126(config-vlan)#exit

2013-07-05 13:25:20 @5-CONFIG:Configured from outband RACK7-S2126(config)#interface range fastEthernet 0/6-10

^ % ^ 2013-07-05 13:25:36 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#switchport mode access

2013-07-05 13:25:49 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#switchport access vlan 20

2013-07-05 13:26:02 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#exit

2013-07-05 13:26:06 @5-CONFIG:Configured from outband RACK7-S2126(config)#vlan 20 30

2013-07-05 13:26:15 @5-CONFIG:Configured from outband RACK7-S2126(config-vlan)#interface range fas

% Invalid input detected at '^' marker.

RACK7-S2126(config-vlan)#interface range fa exit 2013-07-05 13:26:52 @5-CONFIG:Configured from outband RACK7-S2126(config)#interface range fastEthernet 0/11-19 2013-07-05 13:27:23 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#switchport mode access

2013-07-05 13:27:30 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#w switchport access vlan 30 2013-07-05 13:27:40 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#exit

2013-07-05 13:27:43 @5-CONFIG:Configured from outband RACK7-S2126(config)#show vlan

% Invalid input detected at '^' marker.

RACK7-S2126(config)#eix xit

2013-07-05 13:27:52 @5-CONFIG:Configured from outband RACK7-S2126#show vlan

VLAN Name Status Ports ---- -------------------------------- --------- -------------------------------

1 default active Fa0/20,Fa0/21,Fa0/22 Fa0/23,Fa0/24

10 VLAN0010 active Fa0/1 ,Fa0/2 ,Fa0/3 Fa0/4 ,Fa0/5

20 VLAN0020 active Fa0/6 ,Fa0/7 ,Fa0/8 Fa0/9 ,Fa0/10

30 VLAN0030 active Fa0/11,Fa0/12,Fa0/13 Fa0/14,Fa0/15,Fa0/16 Fa0/17,Fa0/18,Fa0/19

RACK7-S2126#

^ ^ RACK7-S2126#

RACK7-S2126#s sh run

System software version : 1.66(3) Build Sep 7 2006 Rel

Building configuration...

Current configuration : 1347 bytes !

version 1.0 !

hostname RACK7-S2126 vlan 1 !

vlan 10 !

vlan 20 !

vlan 30 !

enable secret level 14 5 &t>H.Y*TquC,tZ[VrvD+S(\\Ws=G1X)sv enable secret level 15 5 (65j9=G1YU7R:>H.\\9u_;C,t__U0

interface fastEthernet 0/1 switchport access vlan 10 !

interface fastEthernet 0/2 switchport access vlan 10 --More-- ! interface fastEthernet 0/3 switchport access vlan 10 !

interface fastEthernet 0/4 switchport access vlan 10 !

interface fastEthernet 0/5 switchport access vlan 10 !

interface fastEthernet 0/6 switchport access vlan 20 !

interface fastEthernet 0/7 switchport access vlan 20 !

interface fastEthernet 0/8 switchport access vlan 20 !

interface fastEthernet 0/9 switchport access vlan 20 --More-- !

interface fastEthernet 0/10 switchport access vlan 20 !

interface fastEthernet 0/11 switchport access vlan 30 !

interface fastEthernet 0/12 switchport access vlan 30 !

interface fastEthernet 0/13 switchport access vlan 30 !

interface fastEthernet 0/14 switchport access vlan 30 !

interface fastEthernet 0/15 switchport access vlan 30 !

interface fastEthernet 0/16 switchport access vlan 30 --More-- !

interface fastEthernet 0/17 switchport access vlan 30 !

interface fastEthernet 0/18 switchport access vlan 30 !

interface fastEthernet 0/19 switchport access vlan 30 ! end

RACK7-S2126# RACK7-S2126#

RACK7-S2126#cofn t

% Invalid input detected at '^' marker.

^

RACK7-S2126#i conf t

Enter configuration commands, one per line. End with CNTL/Z. RACK7-S2126(config)#int ran g0 f0/23 - 23 4

^ % Invalid input detected at '^' marker.

RACK7-S2126(config)#sw, int ran f0/23 - 24 0/23 - 240/23 - 24 sh rn un

^ % Invalid input detected at '^' marker.

RACK7-S2126(config)# do end

2013-07-05 13:32:36 @5-CONFIG:Configured from outband RACK7-S2126#shj r run

System software version : 1.66(3) Build Sep 7 2006 Rel

Building configuration...

Current configuration : 1347 bytes !

version 1.0 !

hostname RACK7-S2126 vlan 1 !

vlan 10 !

vlan 20 !

vlan 30 !

enable secret level 14 5 &t;C,tZ[quH.Y*T enable secret level 15 5 (651u_;CYU-8U0H !

interface fastEthernet 0/1 switchport access vlan 10 !

interface fastEthernet 0/2 switchport access vlan 10 --More-- ! interface fastEthernet 0/3 switchport access vlan 10 !

interface fastEthernet 0/4 switchport access vlan 10 !

interface fastEthernet 0/5 switchport access vlan 10 !

interface fastEthernet 0/6 switchport access vlan 20 !

interface fastEthernet 0/7 switchport access vlan 20 !

interface fastEthernet 0/8 switchport access vlan 20 !

interface fastEthernet 0/9 switchport access vlan 20 --More-- !

interface fastEthernet 0/10 switchport access vlan 20 !

interface fastEthernet 0/11 switchport access vlan 30 !

interface fastEthernet 0/12 switchport access vlan 30 !

interface fastEthernet 0/13 switchport access vlan 30 !

interface fastEthernet 0/14 switchport access vlan 30 !

interface fastEthernet 0/15 switchport access vlan 30 !

interface fastEthernet 0/16 switchport access vlan 30 --More-- !

interface fastEthernet 0/17 switchport access vlan 30 !

interface fastEthernet 0/18 switchport access vlan 30

!

interface fastEthernet 0/19 switchport access vlan 30 ! end

RACK7-S2126# RACK7-S2126#

RACK7-S2126#sh ver

System description : Red-Giant Gigabit Intelligent Switch(S2126G) By Ruijie Network System uptime : 0d:0h:27m:1s System hardware version : 3.3

System software version : 1.66(3) Build Sep 7 2006 Rel

System BOOT version : RG-S2126G-BOOT 03-03-02 System CTRL version : RG-S2126G-CTRL 03-11-02 Running Switching Image : Layer2

RACK7-S2126# RACK7-S2126#

RACK7-S2126#sh run

System software version : 1.66(3) Build Sep 7 2006 Rel

Building configuration...

Current configuration : 1347 bytes !

version 1.0 !

hostname RACK7-S2126 vlan 1 !

vlan 10 !

vlan 20 !

vlan 30 !

enable secret level 14 5 &t,1u_;Cqu-8U0H enable secret level 15 5 (65.Y*T7YU,tZ[V/\\9+S(\\W&__1X)sv' !

interface fastEthernet 0/1

switchport access vlan 10 !

interface fastEthernet 0/2 switchport access vlan 10 --More-- ! interface fastEthernet 0/3 switchport access vlan 10 !

interface fastEthernet 0/4 switchport access vlan 10 !

interface fastEthernet 0/5 switchport access vlan 10 !

interface fastEthernet 0/6 switchport access vlan 20 !

interface fastEthernet 0/7 switchport access vlan 20 !

interface fastEthernet 0/8 switchport access vlan 20 !

interface fastEthernet 0/9 switchport access vlan 20 --More-- !

interface fastEthernet 0/10 switchport access vlan 20 !

interface fastEthernet 0/11 switchport access vlan 30 !

interface fastEthernet 0/12 switchport access vlan 30 !

interface fastEthernet 0/13 switchport access vlan 30 !

interface fastEthernet 0/14 switchport access vlan 30 !

interface fastEthernet 0/15 switchport access vlan 30 !

interface fastEthernet 0/16 switchport access vlan 30 --More-- !

interface fastEthernet 0/17 switchport access vlan 30 !

interface fastEthernet 0/18 switchport access vlan 30 !

interface fastEthernet 0/19 switchport access vlan 30 ! end

RACK7-S2126# RACK7-S2126#

RACK7-S2126#conf t

Enter configuration commands, one per line. End with CNTL/Z. RACK7-S2126(config)#int f0/23

2013-07-05 13:33:22 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#switchport mode trunk

2013-07-05 13:33:24 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#int f0/23 4

2013-07-05 13:33:26 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#switchport mode trunk

2013-07-05 13:33:27 @5-CONFIG:Configured from outband RACK7-S2126(config-if)# RACK7-S2126(config-if)#

RACK7-S2126(config-if)#ex exit

2013-07-05 13:33:29 @5-CONFIG:Configured from outband RACK7-S2126(config)#

RACK7-S2126(config)#port-security int add gg aggregatePort ?

<1-6> Aggregate port interface number

RACK7-S2126(config)#int aggregatePort 1

2013-07-05 13:33:45 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#switchport mode trunk

2013-07-05 13:33:48 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#uint r int ran f0/23 - 23 4

% Invalid input detected at '^' marker.

on int gigabitEthernet 1 ^

RACK7-S2126(config-if)#int ran f0/23 - 24

^ % Invalid input detected at '^' marker.

RACK7-S2126(config-if)#int ran f0/23 int f0/23 2013-07-05 13:34:03 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#port-group 1

2013-07-05 13:34:05 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#int 0 f0/24

2013-07-05 13:34:08 @5-CONFIG:Configured from outband RACK7-S2126(config-if)#p p port-group 24

% Invalid input detected at '^' marker.

RACK7-S2126(config-if)#port-group 24 1

2013-07-05 13:34:14 @5-CONFIG:Configured from outband RACK7-S2126(config-if)# RACK7-S2126(config-if)# RACK7-S2126(config-if)#end

2013-07-05 13:34:15 @5-CONFIG:Configured from outband RACK7-S2126#sh run

System software version : 1.66(3) Build Sep 7 2006 Rel

Building configuration...

Current configuration : 1545 bytes !

version 1.0 !

hostname RACK7-S2126 vlan 1 !

vlan 10 !

vlan 20 !

vlan 30 !

enable secret level 14 5 &t,1u_;Cqu-8U0H enable secret level 15 5 (65aeh`@YU'dfimL\\9{bcknA__zyglow !

interface aggregatePort 1 switchport mode trunk

^ !

interface fastEthernet 0/1 switchport access vlan 10 --More-- !

--More-- interface fastEthernet 0/2 --More-- switchport access vlan 10 !

interface fastEthernet 0/3 switchport access vlan 10 !

interface fastEthernet 0/4 switchport access vlan 10 !

interface fastEthernet 0/5 switchport access vlan 10 !

interface fastEthernet 0/6 switchport access vlan 20 !

interface fastEthernet 0/7 switchport access vlan 20 !

interface fastEthernet 0/8 switchport access vlan 20 !

interface fastEthernet 0/9

--More-- switchport access vlan 20 !

interface fastEthernet 0/10 switchport access vlan 20 !

interface fastEthernet 0/11 switchport access vlan 30 !

interface fastEthernet 0/12 switchport access vlan 30 !

interface fastEthernet 0/13 switchport access vlan 30 !

interface fastEthernet 0/14 switchport access vlan 30 !

interface fastEthernet 0/15

switchport access vlan 30 !

interface fastEthernet 0/16

--More-- switchport access vlan 30 !

interface fastEthernet 0/17 switchport access vlan 30 !

interface fastEthernet 0/18 switchport access vlan 30 !

interface fastEthernet 0/19 switchport access vlan 30 !

interface fastEthernet 0/23 port-group 1

switchport mode trunk !

interface fastEthernet 0/24 port-group 1

switchport mode trunk ! end

RACK7-S2126#

RACK7-S2126#sh run

System software version : 1.66(3) Build Sep

Building configuration...

Current configuration : 1545 bytes !

version 1.0 !

hostname RACK7-S2126 vlan 1 !

vlan 10 !

vlan 20 !

vlan 30 !

7 2006 Rel enable secret level 14 5 &t.Y*T7+qutZ[V/,rvS(\\W&-s1X)sv'~ enable secret level 15 5 (65sv'~1YU*T7+.t\\9[V/,|7__\\W&-/- !

interface aggregatePort 1 switchport mode trunk !

interface fastEthernet 0/1 switchport access vlan 10 --More--

RACK7-S2126#sh sh run int Interface : AggregatePort 1 Description : AdminStatus : up OperStatus : up Hardware : - Mtu : 1500

LastChange : 0d:0h:0m:0s AdminDuplex : Auto OperDuplex : Full AdminSpeed : Auto OperSpeed : 100

FlowControlAdminStatus : Off FlowControlOperStatus : Off Priority : 0

Broadcast blocked :DISABLE Unknown multicast blocked :DISABLE Unknown unicast blocked :DISABLE

RACK7-S2126#sh int aggregatePort 1

Interface : AggregatePort 1 Description : AdminStatus : up OperStatus : up Hardware : - Mtu : 1500

LastChange : 0d:0h:0m:0s AdminDuplex : Auto OperDuplex : Full AdminSpeed : Auto OperSpeed : 100

FlowControlAdminStatus : Off FlowControlOperStatus : Off

int add f ggregatePort 1

Priority : 0

Broadcast blocked :DISABLE Unknown multicast blocked :DISABLE Unknown unicast blocked :DISABLE

RACK7-S2126# RACK7-S2126# RACK7-S2126# RACK7-S2126# RACK7-S2126# RACK7-S2126# RACK7-S2126# RACK7-S2126# RACK7-S2126#'

^ % Invalid input detected at '^' marker.

RACK7-S2126#

RACK7-S2126#co co conf t

Enter configuration commands, one per line. End with CNTL/Z. RACK7-S2126(config)#int tan ran ran f0/1 - 22

^ % Invalid input detected at '^' marker.

RACK7-S2126(config)#interface range f0/1 -22

^ % Invalid input detected at '^' marker.

RACK7-S2126(config)#interface range f0/1 -22 astEthernet 0/1 1 - 22 2013-07-05 13:39:54 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#switchport port-security s 2013-07-05 13:40:09 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)#switchport port-security ma ,x ?

aging Port-security aging commands ip-address Secure ip address mac-address Secure mac address maximum Max secure addrs violation Security Violation Mode

RACK7-S2126(config-if-range)#switchport port-security mac ximum 2 2013-07-05 13:40:19 @5-CONFIG:Configured from outband

RACK7-S2126(config-if-range)#switchport port-security maximum 2 violation restrict

2013-07-05 13:40:29 @5-CONFIG:Configured from outband RACK7-S2126(config-if-range)# RACK7-S2126(config-if-range)# RACK7-S2126(config-if-range)# RACK7-S2126(config-if-range)# RACK7-S2126(config-if-range)# RACK7-S2126(config-if-range)# RACK7-S2126(config-if-range)# RACK7-S2126(config-if-range)# Press RETURN to get started!

RACK7-S2126>show running-config

% Invalid input detected at '^' marker.

RACK7-S2126>en 14 Password:

RACK7-S2126#show running-config

System software version : 1.66(3) Build Sep 7 2006 Rel

Building configuration...

Current configuration : 4193 bytes !

version 1.0 !

hostname RACK7-S2126 vlan 1 !

vlan 10 !

vlan 20 !

vlan 30 !

enable secret level 14 5 &tNq&#Z1quOrJ%(8rvp]K*.tsxB^\enable secret level 15 5 (65hl&-8YUein'.t\\9fjo+/7__gkE,1u !

interface aggregatePort 1 switchport mode trunk !

^ interface fastEthernet 0/1 switchport access vlan 10

--More-- switchport port-security

--More-- switchport port-security violation restrict --More-- RACK7-S2126#c en1 13 4 RACK7-S2126#show vlan

VLAN Name Status Ports ---- -------------------------------- --------- -------------------------------

1 default active Fa0/20,Fa0/21,Fa0/22 Fa0/23,Fa0/24 Ag1

10 VLAN0010 active Fa0/1 ,Fa0/2 ,Fa0/3 Fa0/4 ,Fa0/5 ,Fa0/23 Fa0/24 Ag1

20 VLAN0020 active Fa0/6 ,Fa0/7 ,Fa0/8 Fa0/9 ,Fa0/10,Fa0/23 Fa0/24 Ag1

30 VLAN0030 active Fa0/11,Fa0/12,Fa0/13 Fa0/14,Fa0/15,Fa0/16 Fa0/17,Fa0/18,Fa0/19 Fa0/23,Fa0/24 Ag1

RACK7-S2126#show con

Enter configuration commands, one per line. End with CNTL/Z. RACK7-S2126(config)# RACK7-S2126(config)#

RACK7-S2126(config)#hostname S2126

2013-07-05 13:56:18 @5-CONFIG:Configured from outband S2126(config)#show runex

% Invalid input detected at '^' marker.

S2126(config)# S2126(config)# S2126(config)#^Z S2126# S2126# S2126#

S2126#show running-config

^

System software version : 1.66(3) Build Sep 7 2006 Rel

Building configuration...

Current configuration : 4187 bytes !

version 1.0 !

hostname S2126 vlan 1 !

vlan 10 !

vlan 20 !

vlan 30 !

enable secret level 14 5 &t-/-aehqu~1'dfirv.t{bcks,|7zygl enable secret level 15 5 (65'dfimYUt{bckn\\97zyglo__-aeh`@ !

interface aggregatePort 1 switchport mode trunk !

interface fastEthernet 0/1 switchport access vlan 10

--More-- switchport port-security switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/2 switchport access vlan 10 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/3 switchport access vlan 10 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/4 switchport access vlan 10

switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 --More-- ! interface fastEthernet 0/5 switchport access vlan 10 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/6 switchport access vlan 20 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/7 switchport access vlan 20 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/8 switchport access vlan 20

--More-- switchport port-security switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/9 switchport access vlan 20 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/10 switchport access vlan 20 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/11 switchport access vlan 30 switchport port-security

switchport port-security violation restrict

switchport port-security maximum 2 --More-- !

interface fastEthernet 0/12 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/13 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/14 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/15 switchport access vlan 30

--More-- switchport port-security switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/16 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/17 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/18 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 --More-- !

interface fastEthernet 0/19 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/20 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/21 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/22 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 --More-- !

interface fastEthernet 0/23 port-group 1

switchport mode trunk !

interface fastEthernet 0/24 port-group 1

switchport mode trunk ! end

S2126#

interface fastEthernet 0/19 switchport access vlan 30 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/20 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/21 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 !

interface fastEthernet 0/22 switchport port-security

switchport port-security violation restrict switchport port-security maximum 2 --More-- !

interface fastEthernet 0/23 port-group 1

switchport mode trunk !

interface fastEthernet 0/24 port-group 1

switchport mode trunk ! end

S2126#

本文来源:https://www.bwwdw.com/article/d5lw.html

Top