Command Line Reference
IP Unicast Routing
VRF
5 min
show vrf brief show vrf brief \[command] show vrf brief \[purpose] display vrf related configuration information \[view] system view \[use cases] sonic# show vrf brief + + + + \| vrf name | vni | src mac | +============+=======+===========+ \| 100 | | | + + + + \| 101 | | | + + + + \| 200 | 2000 | | + + + + vrf mgmt vrf mgmt \[command] vrf mgmt \[purpose] configure management port vrf \[view] system configuration view \[use cases] sonic# configure terminal sonic(config)# interface mgmt 0 sonic(config mgmt 0)# vrf mgmt vrf vrf vrfname \[command] vrf vrfname \[purpose] add vrf \[parameter] parameter description vrfname vrf name, length 1 11 \[view] system configuration view \[use cases] sonic# configure terminal sonic(config)# vrf 123 ip route ip route \[command] ip route a b c d/m a b c d \[purpose] add vrf routes \[parameter] parameter description a b c d/m ip address a b c d ip address \[view] vrf view \[use cases] sonic# configure terminal sonic(config)# vrf 123 sonic(config vrf)# ip route 10 0 0 0/24 20 0 0 2
