User manual

no security
G
Disable IP security function switch(config)#no security
no security http
G
Disable IP security of HTTP server switch(config)#no security http
no security telnet
G
Disable IP security of telnet server switch(config)#no security telnet
3.2.4 Port Commands Set
Table 3.4: Port Commands Set
Commands Level Description Example
interface fastEthernet
[Portid]
G
Choose the port for modification. switch(config)#interface fastEthernet 2
duplex
[full | half]
I
Use the duplex configuration
command to specify the duplex
mode of operation for Fast
Ethernet.
switch(config)#interface fastEthernet 2
switch(config-if)#duplex full
speed
[10|100|1000|auto]
I
Use the speed configuration
command to specify the speed
mode of operation for Fast
Ethernet., the speed can’t be set to
1000 if the port isn’t a giga port..
switch(config)#interface fastEthernet 2
switch(config-if)#speed 100
no flowcontrol
I
Disable flow control of interface switch(config-if)#no flowcontrol
security enable
I
Enable security of interface switch(config)#interface fastEthernet 2
switch(config-if)#security enable
no security
I
Disable security of interface switch(config)#interface fastEthernet 2
switch(config-if)#no security
bandwidth type all
I
Set interface ingress limit frame
type to “accept all frame”
switch(config)#interface fastEthernet 2
switch(config-if)#bandwidth type all
bandwidth type broadcast-multicast-
flooded-unicast
I
Set interface ingress limit frame
type to “accept broadcast,
multicast, and flooded unicast
frame”
switch(config)#interface fastEthernet 2
switch(config-if)#bandwidth type broadcast-
multicast-flooded-unicast
bandwidth type broadcast-multicast
I
Set interface ingress limit frame
type to “accept broadcast and
multicast frame”
switch(config)#interface fastEthernet 2
switch(config-if)#bandwidth type broadcast-
multicast
bandwidth type broadcast-only
I
Set interface ingress limit frame
type to “only accept broadcast
frame”
switch(config)#interface fastEthernet 2
switch(config-if)#bandwidth type broadcast-only
bandwidth in
[Value]
I
Set interface input bandwidth. Rate
Range is from 100 kbps to 102400
kbps or to 256000 kbps for giga
ports,
and zero means no limit.
switch(config)#interface fastEthernet 2
switch(config-if)#bandwidth in 100
bandwidth out
[Value]
I
Set interface output bandwidth.
Rate Range is from 100 kbps to
102400 kbps or to 256000 kbps for
giga ports,
and zero means no limit.
switch(config)#interface fastEthernet 2
switch(config-if)#bandwidth out 100
show bandwidth
I
Show interfaces bandwidth control switch(config)#interface fastEthernet 2
switch(config-if)#show bandwidth
state
[Enable | Disable]
I
Use the state interface
configuration command to specify
the state mode of operation for
Ethernet ports. Use the disable
form of this command to disable
the port.
switch(config)#interface fastEthernet 2
switch(config-if)#state Disable
41 Chapter3