Configure Egress Tunnel Shaping

About this task

Perform this procedure to configure Egress Tunnel Shaping on a logical interface.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Enter Global Configuration mode:

    enable

    configure terminal

  3. Enable SPBM globally:

    spbm

  4. Enter IS-IS Router Configuration mode:

    router isis

  5. Create a global SPBM instance:

    spbm <1-100>

  6. Create a nickname for the global SPBM instance:

    spbm <1-100> nick-name x.xx.xx

  7. Add the backbone VLANs to the SPBM instance and set the primary VLAN:

    spbm <1-100> b-vid {vlan-id[-vlan-id][,...]} primary <1-4059>

  8. Exit IS-IS Router Configuration mode:

    exit

  9. Enter IS-IS Router Configuration mode:

    router isis

  10. Configure the system name:

    sys-name WORD<0-255>

  11. Configure the global router type:

    is-type l1

  12. Configure the manual area:

    manual-area xx.xxx.xxx…xxxx

  13. Exit IS-IS Router Configuration mode:

    exit

  14. Create two SPBM Backbone VLANs that correspond to those configured in the previous step using the following command twice:

    vlan create <1-4059> type spbm-bvlan

  15. Enable IS-IS globally:

    router isis enable

  16. Remove the brouter port from all VLANs:

    vlan members remove <1-4059> {slot/port[/sub-port][-slot/port[/sub-port]][,...]} {

  17. Enter Interface Configuration mode:

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

  18. Configure a brouter port:

    brouter port {slot/port[/sub-port]} vlan <1-4059> subnet {A.B.C.D/X} mac-offset <MAC-offset>

  19. Exit Interface Configuration mode:

    exit

  20. Enter IS-IS Router Configuration mode:

    router isis

  21. Configure the IP tunnel source address:

    ip-tunnel-source-address {A.B.C.D}

  22. Exit IS-IS Router Configuration mode:

    exit

  23. Create a logical IS-IS interface and enter Logical Interface Configuration mode:

    logical-intf isis <1–255> dest-ip {A.B.C.D} name WORD <1–64> [mtu <750-9000>]

  24. Create an IS-IS circuit and interface:

    isis

  25. Enable the SPBM instance:

    isis spbm <1-100>

  26. Enable the IS-IS circuit and interface:

    isis enable

  27. Configure the Egress Tunnel Shaper:

    egress-shaping-rate <1-1000>

  28. Exit Logical Interface Configuration mode:

    exit

Variable Definitions

Use the data in the following table to use the vlan members command.

Variable

Value

remove <1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Use the data in the following table to use the spbm command.

Variable

Value

<1-100>

Specifies the Shortest Path Bridging MAC (SPBM) instance ID. Creates the SPBM instance. Only one SPBM instance is supported.

Use the data in the following table to use the spbm command to create a system nickname for an SPBM instance.

Variable Value

<1-100>

Specifies the Shortest Path Bridging MAC (SPBM) instance ID. Creates the SPBM instance.Only one SPBM instance is supported.

nick-name x.xx.xx

Specifies the system nickname (2.5 bytes in the format ).

Use the data in the following table to use the spbm command to assign Backbone VLANs to the SPBM instance.

Variable Value

<1-100>

Specifies the Shortest Path Bridging MAC (SPBM) instance ID. Creates the SPBM instance. Only one SPBM instance is supported.

b-vid {vlan-id[-vlan-id][,...]}

Specifies the VLANs to add to the Shortest Path Bridging MAC (SPBM) instance as Backbone VLANs (B-VLANs). Sets the IS-IS SPBM instance data VLANs.

primary <1-4059>

Specifies the primary B-VLAN by VLAN ID.

Use the data in the following table to use the sys-name command.

Variable Value

WORD<0-255>

Specifies the system name.

Use the data in the following table to use the is-type command.

Variable Value

l1

Configures the router type as Level 1 Intermediate-System-to-Intermediate-System (IS-IS).

Use the data in the following table to use the manual-area command.

Variable Value

xx.xxxx.xxxx...xxxx

Configures the manual area in a size up to 13 octets. The current release supports one area. For Intermediate-System-toIntermediate-System (IS-IS) to operate, you must configure at least one area.

Use the data in the following table to use the vlan create command.

Variable Value

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

type spbm-bvlan

Specifies the VLAN type as the backbone VLAN (B-VLAN) for Shortest Path Bridging MAC (SPBM).

Use the data in the following table to use the interface GigabitEthernet command.

Variable Value

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Use the data in the following table to use the brouter port command.

Variable Value
{slot/port[/sub-port]}

Identifies a single slot and port. If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

vlan <1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

subnet <A.B.C.D/X>

Assigns an IP address and mask for the management port.

mac-offset <MAC-offset>

Specifies a number by which to offset the MAC address from the chassis MAC address. This ensures that each IP address has a different MAC address. If you omit this variable, a unique MAC offset is automatically generated. Different hardware platforms support different ranges. To see which range is available on the switch, use the CLI command completion Help.

Use the data in the following table to use the ip-tunnel-source-address command.

Variable Value

{A.B.C.D}

Specifies the IS-IS IPv4 tunnel source address.

The following table defines parameters for the logical-intf command.

Variable Value

isis <1–255>

Specifies the ISIS logical interface ID.

dest-ip {A.B.C.D}

Specifies the destination IP address for the logical interface.

name WORD <1–64>

Specifies the administratively-assigned name of this logical interface, which can be up to 64 characters.

mtu <750–9000>
Note: Exception: only supported onXA1400 Series

Specifies the Maximum Transmission Unit (MTU) size for each packet. Default mtu value is 1950.

Use the data in the following table to use the egress-shaping-rate command.

Variable

Value

<1-1000>

Specifies the shaper bandwidth in Mbps.

Egress Tunnel Shaping Configuration Example

The following is an example of an Egress Tunnel Shaping configuration.

SPBM Configuration

Switch> enable
Switch# config terminal
Switch(config)# vlan members remove 1 1/8
Switch(config)# spbm
Switch(config-isis)# router isis
Switch(config-isis)# spbm 1
Switch(config-isis)# spbm 1 nick-name 1.11.40
Switch(config-isis)# spbm 1 b-vid 2,3 primary 2
Switch(config-isis)# exit
Switch(config)# router isis
Switch(config-isis)# sys-name XA1400
Switch(config-isis)# is-type l1
Switch(config-isis)# manual-area c0.2000.0000.00
Switch(config-isis)# exit
Switch(config)# vlan create 2 type spbm-bvlan
Switch(config)# vlan create 3 type spbm-bvlan

Fabric Extend Configuration

Switch(config)# router isis enable
Switch(config)# interface GigabitEthernet 1/8
Switch(config-if)# brouter port 1/8 vlan 2500 subnet 192.0.2.1/255.255.255.0 mac-offset 0
Switch(config-if)# exit
Switch(config)# router isis
Switch(config-isis)# ip-tunnel 192.0.2.1
Switch(config-isis)# exit

Egress Tunnel Shaping Configuration

Switch(config)# logical-intf isis 1 dest-ip 192.0.2.2 name "bang"
Switch(config-isis-1)# isis
Switch(config-isis-1)# isis spbm 1
Switch(config-isis-1)# isis enable
Switch(config-isis-1)# egress-shaping-rate 500
Switch(config-isis-1)# exit