undo redirect

Function

The undo redirect command cancels the configuration.

Format

undo redirect

Parameters

None

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

A traffic behavior supports only one redirect configuration. Before configuring a new redirect command, delete the existing redirect configuration.

The undo redirect command can be used to delete the redirect configuration.

  • redirect vpn-group <vpn-group-name>
  • redirect lsp public <dest-ipv4-address> [ <nexthop-address> | interface { <interface-name> | <interface-type> <interface-number> } | secondary ]
  • redirect mldp-p2mp-tunnel <mldp-p2mp-tunnel-name>
  • redirect to interface { <interface-name> | <interface-type> <interface-number> } [ route-forward ]
  • redirect ip-nexthop <ip-address> vpn <vpn-name> [ nqa <nqa-test-administer-name> <name-of-nqa-test-instance> ] [ routing-filter { default-routing | blackhole-routing } * ]
  • redirect ip-nexthop <ip-address> nqa <nqa-test-administer-name> <name-of-nqa-test-instance> [ routing-filter { default-routing | blackhole-routing } * ] [ deny ] [ pri-type common ] [ public-network ]
  • redirect ip-nexthop <ip-address> [ routing-filter { default-routing | blackhole-routing } * ] [ deny ] [ pri-type common ] [ public-network ]
  • redirect ip-nexthop <ip-address> interface { <interface-name> | <interface-type> <interface-number> } [ route-forward ] [ pri-type common ]
  • redirect ip-nexthop <ip-address> interface { <interface-type> <interface-number> | <interface-name> }
  • redirect ip-nexthop <ip-address> nqa <nqa-test-administer-name> <name-of-nqa-test-instance> [ routing-filter { default-routing | blackhole-routing } * ] [ deny ] [ pri-type common ]
  • redirect ip-nexthop <ip-address> [ routing-filter { default-routing | blackhole-routing } * ] [ deny ] [ pri-type common ]
  • redirect ip-nexthop <ip-address> vpn <vpn-name>
  • redirect ip-nexthop <ip-address> interface { <interface-name> | <interface-type> <interface-number> } [ pri-type common ]
  • redirect ip-nexthop <ip-address> vpn <vpn-name> [ routing-filter { default-routing | blackhole-routing } * ]
  • redirect ip-nexthop <ip-address>

Example

# In traffic behavior g1, cancel the configuration.
<HUAWEI> system-view
[~HUAWEI] traffic behavior g1
[*HUAWEI-behavior-g1] undo redirect
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >