执行命令redirect interface interface-type interface-number [ track { nqa admin-name test-name | ip-route ip-address { mask | mask-length } [ weak ] | ipv6-route ipv6-address mask-length } ] [ discard ],将符合流分类的报
ip route 目标网络的地址&掩码 下一跳的地址&掩码 或者接口 指的是目标网络的子网掩码目的网络的子网掩码 ,不是本地的
并非所有路由规则条目都可以用route 显示,route 只显示主路由表中的信息,而NAT路由信息以及和主路由表以外的其他路由表信息必须使用 ip route 工具单独管理和查看。 D.1. route (linux-ip.net):http://linux-ip.net/html/tools-route.html IP route IP route是用于 IP 管理的 iproute2 工具套件的另一部分,...
配置0SPF引入外部路由 [Huawei-ospf-100]import-route {bgp | direct | static | isis [process-id-isis] ospf [process-id-ospf]} 在OSPF视图下,引入BGP路由/直连路由/静态路由/IS-S路由/OSPF其他进程路由。 思考题 1、C ;2、CD
使用display ospf [ process-id ] migp-routing [ ip-address [ mask | mask-length ] ] [ interface interface-type interface-number ] [ nexthop nexthop-address ]命令查看OSPF的MIGP路由表信息。 使用display ospf [ process-id ] routing命令查看OSPF路由信息。 使用display ospf [ process-id ] brief...
interface Vlanif20 ip address 10.1.4.6 255.255.255.252 # interface Vlanif50 ip address 10.1.3.1 255.255.255.0 # interface10GE1/0/1port link-type access port default vlan 20 # interface10GE1/0/2port link-type access port default vlan 50 # ip route-static 0.0.0.0 0.0.0.0 10.1.4.5 # ...
import-route static 静态路由,是引入的你在设备上配置的静态路由。 OSPF单区域配置: ospf 1 进入ospf视图1代表进程号 area 0 创建区域并进入OSPF区域视图,输入要创建的区域ID,骨干区域即区域0 network +IP +匹配码 display ospf interface 命令查看OSPF接口通告是否正确、 display ospf peer 查看OSPF邻居状态 displa...
route ospf 63 (出现在network命令前,进程号一般为63) ip dhcp excluded-address<low address> [high address] (‘low address’不可省略,‘high address’可省略) ip dhcp pool<地址池名> 【DHCP下】network<地址池地址> <地址池正子网掩码> Default-router<缺省网关地址> ...
network-admin network-operator 【参数】 vpn-instance vpn-instance-name:显示指定VPN的信息。vpn-instance-name表示MPLS L3VPN的VPN实例名称,为1~31个字符的字符串,区分大小写。如果未指定本参数,则显示公网的信息。 ip-address:目的IP地址,点分十进制格式。 mask-length:网络掩码长度,取值范围为0~32。 mask:...
network-operator 【参数】 ingress-port interface-type interface-number:指定设备计算等价路由选路信息时的报文入接口。interface-type interface-number为接口类型和接口编号。 packet-format { ipv4oe dest-ip ip-address [src-ip ip-address ] | ipv6oe dest-ipv6 ipv6-address [ src-ipv6 ipv6-address ]...