Chapter 4 Packet Collection for SteelCentral : VACL Configuration Examples

VACL Configuration Examples
You can use a VLAN access control lists (VACLs), which are used to mirror ports, for cases when your switch supports only a limited number of in-use SPAN ports. This section includes the following examples:
  • VACL Port Mirroring Configuration on Cisco 6500 Running CatOS
  • VACL Port Mirroring Configuration on Cisco Catalyst 6500 Running Cisco IOS Software
  • VACL configuration varies based upon device and software version number. For details, see the documentation specific to your device and software version.
    VACL Port Mirroring Configuration on Cisco 6500 Running CatOS
    The following example shows VACL port mirroring configuration for a Cisco Catalyst 6500 running CatOs. Apply the configuration to the switch only; there is no MSFC component. Connect the capture port where the NetShark or the NetExpress are monitoring interfaces to trunk ports.
    To configure VACL port mirroring on a Cisco Catalyst 6500 running CatOs
    1.
    > set security acl ip SteelCentralMonitor permit any any capture
    > show security acl info SteelCentralMonitor editbuffer
    2.
    > commit security acl SteelCentralMonitor
    3.
    > set security acl map SteelCentralMonitor vlan1,vlan2,vlan3
    4.
    > set security acl capture-ports 5/3
    > show security acl capture-ports
    VACL Port Mirroring Configuration on Cisco Catalyst 6500 Running Cisco IOS Software
    The following example shows VACL port mirroring configuration for Cisco Catalyst 6500 running Cisco IOS software. Apply the configuration to the switch only; there is no MSFC component.
    To configure VACL port mirroring on a Cisco Catalyst 6500 running Cisco IOS software
    1.
    Switch# configure terminal
    Switch(config)# ip access-list SteelCentralMonitor
    Switch(config-access-list)# permit ip any any
    Switch(config-access-list)# exit
    Switch(config)#
    2.
    Switch(config)# interface GE5/3
    Switch(config-if)# no ip address
    Switch(config-if)# switchport
    Switch(config-if)# switchport mode trunk
    Switch(config-if)# switchport trunk encapsulation dot1q
    3.
    Switch(conf)# vlan access-map <map-name-seq#>
    Switch(conf-map_name)#
    4.
    Switch(conf-map_name)# match ip address SteelCentralMonitor
    Switch(conf-map_name)# action forward
    or
    Switch \(conf-map_name)# action forward capture
    Depending on Cisco IOS rev
    Switch(conf-map_name)# exit
    5.
    Switch (conf)# vlan filter map_name vlan-list 1-10,15,16...
    6.
    Switch (conf)# interface GE5/3
    Switch (config-if)# switchport capture