cisco 2960g ip&mac&port绑定(2)

Switch#
Switch#
Switch#sh access-list
Standard IP access list IP01
    10 permit 200.73.91.56
Standard IP access list IP32
    10 permit 200.73.91.62
Switch#sh int g0/1
GigabitEthernet0/1 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is 0022.0d5d.ec81 (bia 0022.0d5d.ec81)
  Description: x4(rhe5,x4200)
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 1000 bits/sec, 1 packets/sec
  5 minute output rate 1000 bits/sec, 2 packets/sec
     492917 packets input, 273364397 bytes, 0 no buffer
     Received 22837 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog(??), 20 multicast, 0 pause input
     0 input packets with dribble condition detected
     901449 packets output, 267242819 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 PAUSE output
     0 output buffer failures, 0 output buffers swapped out
 
Switch#
Switch#sh ip int g0/1
GigabitEthernet0/1 is up, line protocol is up
  Inbound  access list is IP01
Switch#
Switch#sh ip int g0/48
GigabitEthernet0/48 is up, line protocol is up
  Inbound  access list is not set
Switch#
Switch#sh int g0/1 ?
  accounting      Show interface accounting
  capabilities    Show interface capabilities information
  controller      Show interface status, configuration and controller status
  counters        Show interface counters
  crb             Show interface routing/bridging info
  dampening       Show interface dampening info
  debounce        Show interface debounce time info
  description     Show interface description
  etherchannel    Show interface etherchannel information
  fair-queue      Show interface Weighted Fair Queueing (WFQ) info
  flowcontrol     Show interface flowcontrol information
  irb             Show interface routing/bridging info
  mac-accounting  Show interface MAC accounting info
  mpls-exp        Show interface MPLS experimental accounting info
  mtu             Show interface mtu
  precedence      Show interface precedence accounting info
  private-vlan    Show interface private vlan information
  pruning         Show interface trunk VTP pruning information
  random-detect   Show interface Weighted Random Early Detection (WRED) info
  rate-limit      Show interface rate-limit info
  stats           Show interface packets & octets, in & out, by switching path
  status          Show interface line status
  summary         Show interface summary
  switchport      Show interface switchport information
  transceiver     Show interface transceiver
  trunk           Show interface trunk information
  vlan            Show interface vlan information
  |               Output modifiers
  <cr>
Switch#
Switch#sh vlan
 
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi0/47
5    VLAN0005                         active    Gi0/1, Gi0/2, Gi0/3, Gi0/4, Gi0/5, Gi0/6, Gi0/7, Gi0/8, Gi0/9, Gi0/10
                                                Gi0/11, Gi0/12, Gi0/13, Gi0/14, Gi0/15, Gi0/16, Gi0/17, Gi0/18, Gi0/19
                                                Gi0/20, Gi0/21, Gi0/22, Gi0/23, Gi0/24, Gi0/25, Gi0/26, Gi0/27, Gi0/28
                                                Gi0/29, Gi0/30, Gi0/31, Gi0/32, Gi0/33, Gi0/34, Gi0/35, Gi0/36, Gi0/37
                                                Gi0/38, Gi0/39, Gi0/40, Gi0/41, Gi0/42, Gi0/43, Gi0/44, Gi0/45, Gi0/46
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup
 
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
5    enet  100005     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 tr    101003     1500  -      -      -        -    -        0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trnet 101005     1500  -      -      -        ibm  -        0      0
 
Remote SPAN VLANs
------------------------------------------------------------------------------
 
Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------
Switch#
Switch(config)#int g0/9
Switch(config-if)#?
Interface configuration commands:
  arp                     Set arp type (arpa, probe, snap) or timeout
  auto                    Configure Automation
  bandwidth               Set bandwidth informational parameter
  carrier-delay           Specify delay for interface transitions
  cdp                     CDP interface subcommands
  channel-group           Etherchannel/port bundling configuration
  channel-protocol        Select the channel protocol (LACP, PAgP)
  dampening                Enable event dampening
  default                 Set a command to its defaults
  delay                   Specify interface throughput delay
  description             Interface specific description
  dot1x                   Interface Config Commands for IEEE 802.1X
  down-when-looped        Force looped interface down
  duplex                  Configure duplex operation.
  ethernet                Ethernet interface parameters
  exit                    Exit from interface configuration mode
  flowcontrol             Configure flow operation.
  help                    Description of the interactive help system
  hold-queue              Set hold queue depth
  ip                      Interface Internet Protocol config commands
  keepalive               Enable keepalive
  lacp                    LACP interface subcommands
  link                    Configure Link
  load-interval           Specify interval for load calculation for an interface
  logging                 Configure logging for interface
  mac                     MAC interface commands
  macro                   Command macro
  max-reserved-bandwidth  Maximum Reservable Bandwidth on an Interface
  mdix                    Set Media Dependent Interface with Crossover
  mls                     mls interface commands
  mvr                     MVR per port configuration
  no                      Negate a command or set its defaults
  pagp                    PAgP interface subcommands
  priority-queue          Priority Queue
  queue-set               Choose a queue set for this queue
  rmon                    Configure Remote Monitoring on an interface
  service-policy          Configure QoS Service Policy
  shutdown                Shutdown the selected interface
  snmp                    Modify SNMP interface parameters
  source                  Get config from another source
  spanning-tree           Spanning Tree Subsystem
  speed                   Configure speed operation.
  srr-queue               Configure shaped round-robin transmit queues
  storm-control           storm configuration
  switchport              Set switching mode characteristics
  timeout                 Define timeout values for this interface
  transmit-interface      Assign a transmit interface to a receive-only interface
  tx-ring-limit           Configure PA level transmit ring limit
  udld                    Configure UDLD enabled or disabled and ignore global UDLD setting
Switch(config)#
Switch(config)#exit
Switch#

你可能感兴趣的:(职场,休闲,端口绑定)