SSH Server enabled. Port: 22
Protocol Levels: Versions 1 and 2.
RSA key was generated.
DSA key was generated.
SSH Public Key Authentication is disabled.
Active Incoming Sessions.
Ip Address User Name Idle Time Session Time
--------------- --------------- ------------ ------------
192.168.10.20 boss 00:00:00 00:06:06
console#
Ajouter un utilisateur
console(config)#username boss password toto level 15
Note : level Enter access level 1 for Read Access or 15 for Read/Write Access.
Configuration d'un VLAN
enable
configure
# Setup your basic vLAN database
vlan database
vlan XX
exit
# a few optional / misc config settings
sntp unicast client enable
sntp server time.nist.gov
clock timezone -6 minutes 0
# Give your switch an IP and assign it to your vLAN above
ip address 10.10.10.10 255.255.255.0
ip default-gateway 10.10.10.1
ip address vlan XX
ip name-server 192.168.1.100
ip name-server 192.168.1.101
# Optional Enable http/https server to connect via web-GUI
ip https server
# Set a Management Username / Password
username xxxxxxx password xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx level 15 encrypted
# Pick a port to Set as the Management Port
# Configured to connect to a Cisco Catalyst 3560G
interface ethernet 1/g1
description 802.1Q C3560G
spanning-tree disable
switchport mode general
switchport general pvid XX
switchport general allowed vlan add XX
switchport general allowed vlan remove 1
exit
exit
If youre happy with your settings so far, go ahead and save:
To clear that trunk port you should be able to use the following command on the specific interface.
no switchport mode
autre ex :
no spanning-tree portfast
Divers
Some definitions for PowerConnect switchport mode
trunk: all packets transmitted are tagged. untagged received traffic is dropped. tagged received traffic is dropped if it is not tagged in one of the member vlans.
access: all packets are tranmitted untagged. untagged received traffic is accepted and switched in the ports define vlan. tagged received traffic is dropped.
general: can be configured to trasmit tagged or untagged traffic per vlan. untagged received traffic is accepted and switch in th defined PVID. tagged received traffic is dropped if it is not in one of the ported tagged vlans.
Aggregates the three ports into a static LAG. Static LAGs do not
use LACP and are defined in the CLI by setting the channel-
group mode to mode on.
The 1 for the channel-group number
only has meaning within the switch and is used to differentiate
up to 18 unique channel-groups. For each LAG created, you will
need to choose a number from 1-18, for up to the maximum of
18 groups. The internal ports that connect to the servers do not
support link aggregation groups.