######################################
# CONFIGURACION DE SWITCS 3Com #
######################################
#entrar por telnet, sin usuario.
# modos
< switch> = modo user
[switch] = modo config
# entrar a modo ROOT
switch# super
# para ver la configuracion
< switch> display current-configuration
#User privilege level is 3, and only those commands can be used
#whose level is equal or less than this.
#Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
# Mostrar estado de interface " X "
switch# display interface Ethernet 1/0/13
# entrar a modo configuracion general
switch# system-view
# entrar a modo configuracion interfaz " X "
[switch]# interface Ethernet 1/0/13
# Salir de la interfaz
switch# Ctrl + Z
# vuelve al config general
# el ? muestra los posibles comandos para modo de configuracion de interfaz
[switch-Ethernet1/0/13] ?
Ethernet interface view commands:
am Access management
apply Specify profile configuration
arp Add static ARP entry
bpdu-drop Drop BPDU packets
broadcast-suppression Specify the broadcast storm control
description Specify interface description
dhcp DHCP packet rate limit
dhcp-snooping DHCP snooping
display Display current system information
dldp Specify configuration information of DLDP
dot1x Specify 802.1X configuration information
duplex Status of duplex
enable Enable function
flow-control Flow control command
flow-interval Set interval of interface statistic
garp Generic Attribute Registration Protocol
gvrp GARP VLAN Registration Protocol
igmp IGMP command
igmp-snooping IGMP snooping
ip IP packet
jumboframe Jumboframe command
lacp Configure LACP Protocol
line-rate Limit the rate of the outbound or inbound packets of
the interface
link-delay Set port link-detect delay time
lldp Link Layer Discovery Protocol(802.1ab)
loopback Specify loopback of current port
loopback-detection Detect if loopback exists
mac-address Specify configuration about mac-address
mac-address-mapping Specify MAC-address VLAN mapping configuration
information
mac-authentication Specify MAC authentication configuration information
mdi Specify mdi type
mirrored-to Mirror the packets
mirroring-group Specify mirroring-group
mirroring-port Specify mirroring port
monitor-port Specify monitor port
multicast Specify multicast configuration information
multicast-source-deny Multicast source port deny
multicast-suppression Specify the multicast storm control
ndp Neighbor discovery protocol
ntdp Specify NTDP configuration information
packet-filter Filter packets based on acl
ping Ping function
poe Power over Ethernet
port Specify Port link-type characteristics
port-security Specify port-security configuration information
priority Specify priority
queue-scheduler Specify queue scheduling mode and parameters
quit Exit from current command view
return Exit to User View
rmon Specify RMON
save Save current configuration
shutdown Shut down this interface
speed Specify speed of current port
stp Spanning tree protocol
tracemac Trace MAC function
tracert Trace route function
traffic-limit Limit the rate of the packets
traffic-priority Specify new priority of the packets
traffic-remark-vlanid Remark vlan ID of the packets
undo Negate a command or set its defaults
unicast-suppression Specify the unicast storm control
virtual-cable-test Display virtual cable test information
vlan-vpn Specify VLAN VPN (Virtual Private Net) information
voice Specify voice vlan
wred Enter wred parameter configuration information
[switch-Ethernet1/0/13]
# Ejemplo de baja de interfaz completa.
# Interfaz antes de bajar
interface Ethernet1/0/5
duplex full
speed 100
port access vlan 50
description conexión con servidor de datacenter
# Entrar a modo config
System View: return to User View with Ctrl+Z.
# parametros de configuracion para bajar todas las configs a esta interfaz
[switch] int eth 1/0/5
[switch-Ethernet1/0/5] undo duplex
[switch-Ethernet1/0/5] undo speed
[switch-Ethernet1/0/5] undo port acces vlan
[switch-Ethernet1/0/5] undo desccription
[switch-Ethernet1/0/5] shutdown
[switch-Ethernet1/0/5]
el comando undo se usa para denegar lo que ponemos. Por ejemplo en el primer caso donde dice
undo duplex = baja o borra el duplex de la interfaz que estemos parados
undo speed = baja o borra la velocidad que tiene la interfaz
shutdown = apaga la boca o interfaz del switch, de modo que si alguien conecta algo esta boca no da link.
etc etc etc.
# una vez que terminamos la interfaz deberia quedar asi:
#
interface Ethernet1/0/5
shutdown
#
###########################################################
No hay comentarios:
Publicar un comentario