administration - system setting - L2 and l3 mode
security - tcp/udp services - enable - ssh service - apply
vlan port 2,3,4
ADV#show vlan
Vlan Name Ports Type Authorization
---- ----------------- --------------------------- ------------ -------------
1 1 gi1-28,Po1-8 Default Required
ADV#show interfaces status
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi2 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi3 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi4 1G-Copper Full 1000 Enabled Off Up Disabled On
gi5 1G-Copper Full 1000 Enabled Off Up Disabled On
gi6 1G-Copper -- -- -- -- Down -- --
gi7 1G-Copper -- -- -- -- Down -- --
gi8 1G-Copper -- -- -- -- Down -- --
gi9 1G-Copper -- -- -- -- Down -- --
gi10 1G-Copper -- -- -- -- Down -- --
gi11 1G-Copper -- -- -- -- Down -- --
gi12 1G-Copper -- -- -- -- Down -- --
gi13 1G-Copper -- -- -- -- Down -- --
gi14 1G-Copper -- -- -- -- Down -- --
gi15 1G-Copper -- -- -- -- Down -- --
gi16 1G-Copper -- -- -- -- Down -- --
gi17 1G-Copper -- -- -- -- Down -- --
gi18 1G-Copper -- -- -- -- Down -- --
gi19 1G-Copper -- -- -- -- Down -- --
gi20 1G-Copper -- -- -- -- Down -- --
gi21 1G-Copper -- -- -- -- Down -- --
gi22 1G-Copper -- -- -- -- Down -- --
gi23 1G-Copper -- -- -- -- Down -- --
gi24 1G-Copper -- -- -- -- Down -- --
gi25 1G-Copper -- -- -- -- Down -- --
gi26 1G-Copper -- -- -- -- Down -- --
gi27 1G-Combo-C -- -- -- -- Down -- --
gi28 1G-Combo-C -- -- -- -- Down -- --
Flow Link
Ch Type Duplex Speed Neg control State
-------- ------- ------ ----- -------- ------- -----------
Po1 -- -- -- -- -- Not Present
Po2 -- -- -- -- -- Not Present
Po3 -- -- -- -- -- Not Present
Po4 -- -- -- -- -- Not Present
Po5 -- -- -- -- -- Not Present
Po6 -- -- -- -- -- Not Present
Po7 -- -- -- -- -- Not Present
Po8 -- -- -- -- -- Not Present
ADV#configure terminal
ADV(config)#vlan database
ADV(config-vlan)#vlan 10
ADV(config-vlan)#exit
ADV(config)#interface vlan 10
ADV(config-if)#ip address 192.168.10.1 255.255.255.0
-----------------------------------------------------
ADV#copy running-config startup-config
Overwrite file [startup-config].... (Y/N)[N] ?Y
Copy succeeded
-------------------------------
product and un product
ADV#config terminal
ADV(config)#interface GigabitEthernet 5
ADV(config-if)#switchport protected-port
ADV(config-if)#exit
ADV(config)#exit
ADV#copy running-config
% missing mandatory parameter
ADV#copy running-config startup-config
Overwrite file [startup-config].... (Y/N)[N] ?Y
Copy succeeded
ADV#configure terminal
ADV(config)#interface GigabitEthernet 5
ADV(config-if)#no switchport protected-port
-----------------------------------------------------
config vlan
ADV(config)#vlan database
ADV(config-vlan)#vlan 10
ADV(config-vlan)#exit
ADV(config)#interface vlan 10
ADV(config-if)#19-Jul-2012 18:01:50 %COPY-I-FILECPY: Files Copy - source URL running-config destination URL flash://startup-config, aggregated (1)
19-Jul-2012 18:01:53 %COPY-N-TRAP: The copy operation was completed successfully, aggregated (1)
ADV(config-if)#exit
ADV(config)#exit
ADV#show vlan
Vlan Name Ports Type Authorization
---- ----------------- --------------------------- ------------ -------------
1 1 gi1-28,Po1-8 Default Required
10 10 static Required
ADV#configure terminal
ADV(config)#interface GigabitEthernet 2
ADV(config-if)#switchport mode access
ADV(config-if)#switchport access vlan 10
ADV(config-if)#19-Jul-2012 18:06:35 %LINK-I-Up: Vlan 10
ADV(config-if)#
-----------------------------------------------------------------
exit vlan
ADV(config)#interface gi5
ADV(config-if)#no switchport access vlan
--------------------------------------------------------------------------
security - tcp/udp services - enable - ssh service - apply
vlan port 2,3,4
ADV#show vlan
Vlan Name Ports Type Authorization
---- ----------------- --------------------------- ------------ -------------
1 1 gi1-28,Po1-8 Default Required
ADV#show interfaces status
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
gi1 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi2 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi3 1G-Copper Full 1000 Enabled Off Up Disabled Off
gi4 1G-Copper Full 1000 Enabled Off Up Disabled On
gi5 1G-Copper Full 1000 Enabled Off Up Disabled On
gi6 1G-Copper -- -- -- -- Down -- --
gi7 1G-Copper -- -- -- -- Down -- --
gi8 1G-Copper -- -- -- -- Down -- --
gi9 1G-Copper -- -- -- -- Down -- --
gi10 1G-Copper -- -- -- -- Down -- --
gi11 1G-Copper -- -- -- -- Down -- --
gi12 1G-Copper -- -- -- -- Down -- --
gi13 1G-Copper -- -- -- -- Down -- --
gi14 1G-Copper -- -- -- -- Down -- --
gi15 1G-Copper -- -- -- -- Down -- --
gi16 1G-Copper -- -- -- -- Down -- --
gi17 1G-Copper -- -- -- -- Down -- --
gi18 1G-Copper -- -- -- -- Down -- --
gi19 1G-Copper -- -- -- -- Down -- --
gi20 1G-Copper -- -- -- -- Down -- --
gi21 1G-Copper -- -- -- -- Down -- --
gi22 1G-Copper -- -- -- -- Down -- --
gi23 1G-Copper -- -- -- -- Down -- --
gi24 1G-Copper -- -- -- -- Down -- --
gi25 1G-Copper -- -- -- -- Down -- --
gi26 1G-Copper -- -- -- -- Down -- --
gi27 1G-Combo-C -- -- -- -- Down -- --
gi28 1G-Combo-C -- -- -- -- Down -- --
Flow Link
Ch Type Duplex Speed Neg control State
-------- ------- ------ ----- -------- ------- -----------
Po1 -- -- -- -- -- Not Present
Po2 -- -- -- -- -- Not Present
Po3 -- -- -- -- -- Not Present
Po4 -- -- -- -- -- Not Present
Po5 -- -- -- -- -- Not Present
Po6 -- -- -- -- -- Not Present
Po7 -- -- -- -- -- Not Present
Po8 -- -- -- -- -- Not Present
ADV#configure terminal
ADV(config)#vlan database
ADV(config-vlan)#vlan 10
ADV(config-vlan)#exit
ADV(config)#interface vlan 10
ADV(config-if)#ip address 192.168.10.1 255.255.255.0
-----------------------------------------------------
ADV#copy running-config startup-config
Overwrite file [startup-config].... (Y/N)[N] ?Y
Copy succeeded
-------------------------------
product and un product
ADV#config terminal
ADV(config)#interface GigabitEthernet 5
ADV(config-if)#switchport protected-port
ADV(config-if)#exit
ADV(config)#exit
ADV#copy running-config
% missing mandatory parameter
ADV#copy running-config startup-config
Overwrite file [startup-config].... (Y/N)[N] ?Y
Copy succeeded
ADV#configure terminal
ADV(config)#interface GigabitEthernet 5
ADV(config-if)#no switchport protected-port
-----------------------------------------------------
config vlan
ADV(config)#vlan database
ADV(config-vlan)#vlan 10
ADV(config-vlan)#exit
ADV(config)#interface vlan 10
ADV(config-if)#19-Jul-2012 18:01:50 %COPY-I-FILECPY: Files Copy - source URL running-config destination URL flash://startup-config, aggregated (1)
19-Jul-2012 18:01:53 %COPY-N-TRAP: The copy operation was completed successfully, aggregated (1)
ADV(config-if)#exit
ADV(config)#exit
ADV#show vlan
Vlan Name Ports Type Authorization
---- ----------------- --------------------------- ------------ -------------
1 1 gi1-28,Po1-8 Default Required
10 10 static Required
ADV#configure terminal
ADV(config)#interface GigabitEthernet 2
ADV(config-if)#switchport mode access
ADV(config-if)#switchport access vlan 10
ADV(config-if)#19-Jul-2012 18:06:35 %LINK-I-Up: Vlan 10
ADV(config-if)#
-----------------------------------------------------------------
exit vlan
ADV(config)#interface gi5
ADV(config-if)#no switchport access vlan
--------------------------------------------------------------------------
0 Comments